-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Update yarn.lock #5811
Update yarn.lock #5811
Conversation
I noticed this yesterday too, but then forgot about it as I was deep in my (backend) PR and But I agree, we should probably update this file, as it seems it wasn't checked in last time packages were updated. |
I had changes to yarn.lock the other day in regards to fixing Storybook (#5783), but made sure it updated correctly. Just ensure with these changes that you can still view Storybook ( |
@citizen428 I actually thought it was always
You mean ➜ devto git:(rhymes/update-yarn-lockfile) yarn storybook
yarn run v1.21.1
$ start-storybook -p 6006 -c app/javascript/.storybook -s app/javascript/.storybook/assets
info @storybook/react v3.4.11
info
info => Loading static files from: /Users/rhymes/Development/devto/app/javascript/.storybook/assets .
info => Loading custom .babelrc
info => Loading custom addons config.
info => Loading custom webpack config (full-control mode).
webpack built 1f85e6ae6f8d02aec3e9 in 22575ms
info Storybook started on => http://localhost:6006/
info |
@rhymes, I have more experience with npm over yarn, but to me it makes sense to have it enabled all the time. |
I traced the optional check for integrity to this PR: see this discussion #296 (review) Basically we can't enable it by default, because it's broken under docker: rails/webpacker#1568 I'm going to add a note in |
# As the integrity check is currently broken under Docker with webpacker, | ||
# we can't enable this flag by default | ||
# see <https://github.com/thepracticaldev/dev.to/pull/296#discussion_r210635685> | ||
config.webpacker.check_yarn_integrity = ENV.fetch("YARN_INTEGRITY_ENABLED", "true") == "true" |
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.
👍 for inlining this.
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.
What type of PR is this? (check all applicable)
Description
I ran
yarn install --dev
on master as I often do on each breanch when switching for PR reviews and I noticed this time it updated the lock file, which makes me suspect it wasn't updated correctly in a previous PR.Try to do the same on your local master and see if the
yarn.lock
gets updated locally