Open davidzwa opened 1 year ago
Indeed. PRs welcome!
PR submitted as requested. Looking forward to hearing your thoughts
@anttiviljami could you provide me with an update on the PR?
Replied on the PR 👍
I know I'm coming a little late to the game on this. I was looking at this same issue - where do all those outdated package warnings come from - and they're all due to openapicmd using old packages. I don't have anything to add to the pull request. So, I'm expressing encouragement that a solution be found.
Hi, thank you for this nice package!
Optimization Request
I'd like to discuss the possibility of automatically upgrading packages using a Github Actions (GHA) integration like Mend Renovate. Personally I have a lot of positive experience with this approach. One requirement is that GHA does run tests to ensure that the upgraded package does not break.
Please let me know your thoughts, and share if you see alternative approaches or if the proposed path is not suitable for your repository (and what is the impediment).
Context
When installing it I was a bit suprised to notice that a lot of packages are included, among which many are also not supported anymore. From my understanding the
openapicmd
CLI tool has a lot of features, so from my point of view its important to keep it up-to-date.Expected result
When installing
openapi-client-axios-typegen
I was confronted with the fact that it only accepted JSON input. It was throwing (unclear) errors when I programatically called it with.yaml
/.yml
input. Of course, that is not related to this package. It did mention in the README of said package thatopenapicmd typegen
was a tool for callingopenapi-client-axios-typegen
. However when installingopenapicmd
as a dev dependency, my node_modules increased by about 40 to 50 MB and I got a lot of deprecation warnings. That's a bit much for simply a yaml to json conversion.I guess I expected there to be yaml compatibility in
openapi-client-axios-typegen
usingts-yaml
orjs-yaml
. It could be true that this CLI tool does much more than that, maybe a package split is better?Installation output
This is the output when installing the CLI tool:
Total install size (Windows): 134 MB
And this is the list of (in-)direct dependencies: