-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move ts-node to devDependencies #735
Comments
You mean making ts-node a peerDependency? |
yeah, sorry for typo |
any updates on this issue? it's a bit annoying to have ts-node always installed when it doesn't get used by any of my dependencies |
hey, sorry missed the last response. AFAIK, npm installs peerDependencies by default unless you do Maybe we could remove |
This issue has been linked to a new work item: W-14179298 |
Closed by #794 |
Describe the bug
For some reason ts-node is included in regular dependencies, which results in annoying warning while using oclif with yarn:
To Reproduce
Steps to reproduce the behavior:
npx oclif generate mynewcli
yarn install
(optionally)Expected behavior
Since the actual code anyway is built to JS, there is no reason to mark
ts-node
as a regular dependency. It is only used in development and testing... maybe I'm missing somethingScreenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: