-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
chore: remove netlify-cli from devDependencies #7216
Conversation
@@ -18378,12 +14879,7 @@ typedarray@^0.0.6: | |||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" | |||
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== | |||
|
|||
typescript@^3.9.10: |
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.
This is the major motivation for this change.
The 3600 lines of lock file being removed is also a huge gain.
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.
Spectacular - let’s fast track this if possible!
✅ [V2]
To edit notification comments on pull requests, go to your Netlify site settings. |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-7216--docusaurus-2.netlify.app/ |
Size Change: +5 B (0%) Total Size: 799 kB ℹ️ View Unchanged
|
For reference, the node_modules size decreased from |
Motivation
Netlify-cli has an incredible bundle size bloat: https://twitter.com/SidaChen63/status/1512969887274004482
Furthermore, it pulls in
[email protected]
which under circumstances gets hoisted to the root and results in build errors. I hope this would fix it.Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Ran the
npx -p netlify-cli netlify dev
script locally; still works