Skip to content
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

Save package-lock.json file changes #13481

Merged
merged 1 commit into from
Jan 24, 2019
Merged

Save package-lock.json file changes #13481

merged 1 commit into from
Jan 24, 2019

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Jan 24, 2019

Description

I see these lock file changes when doing npm i locally. This hopefully fixes it for others, too.

@gziolo gziolo added the [Type] Code Quality Issues or PRs that relate to code quality label Jan 24, 2019
@gziolo gziolo self-assigned this Jan 24, 2019
@gziolo gziolo requested a review from a team January 24, 2019 13:42
@gziolo gziolo added this to the 5.0 (Gutenberg) milestone Jan 24, 2019
@@ -2427,6 +2427,7 @@
"@babel/runtime": "^7.0.0",
"@wordpress/api-fetch": "file:packages/api-fetch",
"@wordpress/data": "file:packages/data",
"@wordpress/deprecated": "file:packages/deprecated",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only line I expect. What's with all the others?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea why they show up :(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying again with node_modules removed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gziolo$ npm --version
6.7.0

This is probably why.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I can reproduce from master running the latest npm.

Since CI runs with the latest version, I think it's probably good to expect people to align.

- nvm install --latest-npm

Makes me wonder if we still need all the tedious processing of package-lock.json changes here:

https://github.com/WordPress/gutenberg/blob/master/bin/process-git-diff.js

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm/npm#17722 is still opened 🤷‍♂️

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they use their GitHub repository anymore.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -2427,6 +2427,7 @@
"@babel/runtime": "^7.0.0",
"@wordpress/api-fetch": "file:packages/api-fetch",
"@wordpress/data": "file:packages/data",
"@wordpress/deprecated": "file:packages/deprecated",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I can reproduce from master running the latest npm.

Since CI runs with the latest version, I think it's probably good to expect people to align.

- nvm install --latest-npm

Makes me wonder if we still need all the tedious processing of package-lock.json changes here:

https://github.com/WordPress/gutenberg/blob/master/bin/process-git-diff.js

@gziolo gziolo merged commit 996dab8 into master Jan 24, 2019
@gziolo gziolo deleted the fix/lock-file-updated branch January 24, 2019 15:57
daniloercoli added a commit that referenced this pull request Jan 24, 2019
…rnmobile/372-add-title-to-gutenberg-mobile

* 'master' of https://github.com/WordPress/gutenberg: (56 commits)
  Save package-lock.json file changes (#13481)
  Plugin: Deprecate gutenberg_add_responsive_body_class (#13461)
  Add speak messages to the feature toggle component. (#13385)
  Plugin: Deprecate gutenberg_kses_allowedtags (#13460)
  Plugin: Deprecate gutenberg_bulk_post_updated_messages (#13472)
  Plugin: Avoid calling deprecated gutenberg_silence_rest_errors (#13446)
  Plugin: Deprecate gutenberg_remove_wpcom_markdown_support (#13473)
  Fix: Categories block: add custom classes only to wrapper (#13439)
  is-shallow-equal: Use ES5 ruleset from eslint-plugin module (#13428)
  Update and Organize Contributors Guide per #12916 (#13352)
  Dismissible-notices: fix text overlapping icon (X) (#13371)
  Framework: Remove 5.0-merged REST API integrations (#13408)
  Plugin: Remove 5.0-merged block registration functions, integrations (#13412)
  Framework: Bump minimum required WP to 5.x (#13370)
  [Mobile] Improve keyboard hide button (#13415)
  Improve castError handling of non strings (#13315)
  Fix: File block add custom class (#13432)
  Consider making Fullscreen Mode effects visible only on larger screens (#13425)
  Update plugin version to 4.9.0 (#13436)
  DateTimePicker: fix prop warning for (#12933)
  ...
@mapk
Copy link
Contributor

mapk commented Jan 24, 2019

I've been getting the same problem. Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants