Skip to content

Commit

Permalink
Bundled Themes: Set legacy-peer-deps to true.
Browse files Browse the repository at this point in the history
While `npm install` was working without issue after [56531], `npm ci` was not. The latter expects dependencies in the `package-lock.json` to match those in `package.json` exactly.

Follow up to [56378], [56387], [56442], [56531[.

Fixes #59187. See #56658.

git-svn-id: https://develop.svn.wordpress.org/trunk@56532 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Sep 7, 2023
1 parent f66fe0e commit d480448
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 102 deletions.
1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwenty/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps = true
111 changes: 37 additions & 74 deletions src/wp-content/themes/twentytwenty/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwentyone/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps = true
Loading

0 comments on commit d480448

Please sign in to comment.