-
-
Notifications
You must be signed in to change notification settings - Fork 25
chore: hoist cli tools to root level #224
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
Conversation
"rollup": "^4.16.2", | ||
"rollup-plugin-copy": "^3.5.0", | ||
"typescript": "^5.4.5" | ||
"rollup-plugin-copy": "^3.5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also move rollup-plugin-copy
to the root? It's used in a bunch of the packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Prerequisites checklist
What is the purpose of this pull request?
In this PR, I’ve hoisted CLI-related packages to the root level and bumped their versions to the latest. This is a follow-up to eslint/js#650.
The following packages have been hoisted:
typescript
mocha
c8
rollup
These packages are only used in CLI tools, so it would be safe to hoist them.
Some of the packages include major version updates, but the breaking changes are limited to updated Node.js version requirements, so it’s safe to upgrade them.
What changes did you make? (Give an overview)
I’ve hoisted CLI-related packages to the root level and bumped their versions to the latest.
The benefit of hoisting packages to the root level is well described in eslint/js#650
Related Issues
Reference: eslint/js#650
Is there anything you'd like reviewers to focus on?