-
Notifications
You must be signed in to change notification settings - Fork 121
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 to yarn.lock + update dependencies #688
Conversation
bpierre
commented
Dec 18, 2019
- Update dependencies (fix a security alert).
- Remove WebpackMonitor (unmaintained, little benefit on the gallery).
- Replace the webpack UglifyJS plugin by the Terser plugin (the UglifyJS plugin is now unmaintained).
- Move to yarn.lock files.
- Prettier: formatting change.
Also: - Remove WebpackMonitor (unmaintained + little benefit on the gallery) - Replace the webpack UglifyJS plugin by the Terser plugin (the UglifyJS plugin has been deprecated).
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!
package.json
Outdated
"rollup-plugin-visualizer": "^1.1.1", | ||
"rollup-plugin-sizes": "^1.0.1", | ||
"rollup-plugin-uglify": "^6.0.4", | ||
"rollup-plugin-url": "^3.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.
It looks like there are also deprecation warnings for rollup-plugin-url
and rollup-plugin-node-resolve
; should we update those as well?
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.
Oh yes I didn’t see that! I thought yarn outdated
or yarn upgrade-interactive
would show that, but it seems that no command shows the deprecated status of dependencies − apart from running yarn info | grep deprecated
on them individually… are you doing this manually, or do you know a secret command? 😄
Edit 😆 :
alias check-deprecated-modules="cat package.json | jq '(.dependencies+.devDependencies) | keys | .[]' | xargs -I {} sh -c 'yarn info --json {} | jq \".data.name,.data.deprecated\"'"
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.
are you doing this manually, or do you know a secret command?
I just see the warnings during install :).