-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
Clean up dependencies #309
Conversation
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
package.json
Outdated
"v8-compile-cache": "^1.1.2", | ||
"webpack-addons": "^1.1.5", | ||
"yargs": "9.0.1", | ||
"yargs": "^9.0.1", |
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.
@shellscape which version was corrupted?
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.
I believe it was 8.x, but I can't recall for sure.
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.
prettier
has to be moved under devDependencies
"mkdirp": "^0.5.1", | ||
"p-each-series": "^1.0.0", | ||
"p-lazy": "^1.0.0", | ||
"prettier": "^1.5.3", | ||
"recast": "^0.14.4", |
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.
We don't use recast
inside the code? :O
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.
No, a recast object is passed around but it looks like it's created by jscodeshift (which has its own dependency on a different version of recast)
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.
Great! Thanks
@ematipico prettier is used in lib code, I think to format webpack configs that it outputs? |
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.
Let's update yargs and you're set 🎉
@billyjanitsch Thanks for your update. I labeled the Pull Request so reviewers will review it again. @ematipico Please review the new changes. |
Done! I also refreshed the package-lock.json, but I can revert that if you'd prefer. |
What kind of change does this PR introduce?
A general clean-up of dependencies.
Did you add tests for your changes? If relevant, did you update the documentation?
No, but I'm happy to if you'd like.
Summary
npm i global pkg
instead ofnpm i --global pkg
)Let me know if you'd like me to back out or further discuss any of the changes individually.
Does this PR introduce a breaking change?
No. These are intended not to have any behavioral effect on the CLI.
Other information