-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update wordpress monorepo (#57217)
* fix(deps): update wordpress monorepo * Fixes yarn warnings about peer dependencies * Fix tests that require jsdom environment * Use `sass:math` * Update @automattic/isolated-block-editor * Dedupe packages * Mount ShortcutProvider to avoid useShortcut crash * Resolve TODO related to wordpress styles * Declare types for wp/keyboard-shortcuts * Remove comments Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Sergio Cinos <[email protected]> Co-authored-by: Noah Allen <[email protected]> Co-authored-by: Jarda Snajdr <[email protected]>
- Loading branch information
1 parent
0cedfbb
commit 5d22490
Showing
32 changed files
with
1,333 additions
and
1,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ logFilters: | |
# react-autosize-textarea: https://github.com/buildo/react-autosize-textarea/issues/149 | ||
# react-dates: https://github.com/airbnb/react-dates/issues/2105 | ||
# react-with-direction: https://github.com/airbnb/react-with-direction/issues/20 | ||
- pattern: "calypso@workspace:client provides react (p06893) with version 17.0.2, which doesn't satisfy what @automattic/isolated-block-editor and some of its descendants request" | ||
- pattern: "calypso@workspace:client provides react (pe6f5d) with version 17.0.2, which doesn't satisfy what @automattic/isolated-block-editor and some of its descendants request" | ||
level: discard | ||
|
||
# Depends on | ||
|
@@ -33,7 +33,7 @@ logFilters: | |
# react-autosize-textarea: https://github.com/buildo/react-autosize-textarea/issues/149 | ||
# react-dates: https://github.com/airbnb/react-dates/issues/2105 | ||
# react-with-direction: https://github.com/airbnb/react-with-direction/issues/20 | ||
- pattern: "calypso@workspace:client provides react-dom (p39753) with version 17.0.2, which doesn't satisfy what @automattic/isolated-block-editor and some of its descendants request" | ||
- pattern: "calypso@workspace:client provides react-dom (pb67b8) with version 17.0.2, which doesn't satisfy what @automattic/isolated-block-editor and some of its descendants request" | ||
level: discard | ||
|
||
# Depends on | ||
|
@@ -47,13 +47,13 @@ logFilters: | |
# airbnb-prop-types: https://github.com/airbnb/prop-types/issues/73 | ||
# react-dates: https://github.com/airbnb/react-dates/issues/2105 | ||
# react-with-direction: https://github.com/airbnb/react-with-direction/issues/20 | ||
- pattern: "wp-calypso@workspace:. provides react (pe19ec) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request" | ||
- pattern: "wp-calypso@workspace:. provides react (pc457e) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request" | ||
level: discard | ||
|
||
# Depends on | ||
# react-dates: https://github.com/airbnb/react-dates/issues/2105 | ||
# react-with-direction: https://github.com/airbnb/react-with-direction/issues/20 | ||
- pattern: "wp-calypso@workspace:. provides react-dom (pf9495) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request" | ||
- pattern: "wp-calypso@workspace:. provides react-dom (pdf37b) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request" | ||
level: discard | ||
|
||
# Depends on | ||
|
@@ -71,6 +71,13 @@ logFilters: | |
- pattern: "wp-calypso@workspace:. provides react-dom (pff688) with version 17.0.2, which doesn't satisfy what @automattic/components and some of its descendants request" | ||
level: discard | ||
|
||
# `postinstall` script fails (https://github.com/pmndrs/react-spring/issues/1668) | ||
# Fixed in https://github.com/yarnpkg/berry/pull/3661, we need for a new yarn release. | ||
# Work around it by disabling scripts for this package (see `dependenciesMeta` in `package.json`). The workaround can be removed | ||
# once we have a Yarn version with the fix. | ||
- pattern: '@react-spring/core@npm:9.3.0 [3ac30] lists build scripts, but its build has been explicitly disabled through configuration.' | ||
level: discard | ||
|
||
nodeLinker: node-modules | ||
|
||
packageExtensions: | ||
|
@@ -119,38 +126,33 @@ packageExtensions: | |
'@types/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].3': | ||
'@wordpress/[email protected].6': | ||
peerDependencies: | ||
redux: '*' | ||
react: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react-native: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react-native: '*' | ||
'@wordpress/[email protected]': | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/block-library@5.0.1': | ||
'@wordpress/block-editor@8.0.1': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/[email protected].0': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/[email protected].0': | ||
'@wordpress/[email protected].3': | ||
peerDependencies: | ||
react: '*' | ||
redux: '*' | ||
|
@@ -160,144 +162,126 @@ packageExtensions: | |
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
'@wordpress/components@16.0.0': | ||
'@wordpress/components@18.0.0': | ||
peerDependencies: | ||
'@wordpress/data': '*' | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
'@wordpress/components@17.0.0': | ||
'@wordpress/components@19.0.1': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
redux: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].6': | ||
peerDependencies: | ||
react: '*' | ||
react-native: '*' | ||
redux: '*' | ||
'@wordpress/[email protected].3': | ||
'@wordpress/[email protected].6': | ||
peerDependencies: | ||
react: '*' | ||
react-native: '*' | ||
redux: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].0': | ||
'@wordpress/[email protected].3': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].7': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
reakit-utils: '*' | ||
redux: '*' | ||
'@wordpress/editor@11.0.2': | ||
'@wordpress/editor@12.0.4': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].7': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
reakit-utils: '*' | ||
redux: '*' | ||
react-native: '*' | ||
'@wordpress/[email protected]': | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/[email protected].1': | ||
'@wordpress/[email protected].2': | ||
peerDependencies: | ||
'@babel/core': '*' | ||
react: '*' | ||
react-dom: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
redux: '*' | ||
react: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
reakit-utils: '*' | ||
react-native: '*' | ||
redux: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react-native: '*' | ||
'@wordpress/[email protected]': | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
redux: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
redux: '*' | ||
reakit-utils: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].1': | ||
'@wordpress/[email protected].4': | ||
peerDependencies: | ||
postcss: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].7': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
reakit-utils: '*' | ||
redux: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
redux: '*' | ||
'@wordpress/scripts@18.0.1': | ||
'@wordpress/scripts@19.1.0': | ||
peerDependencies: | ||
'@babel/core': '*' | ||
react: '*' | ||
react-dom: '*' | ||
'@wordpress/[email protected].2': | ||
'@wordpress/[email protected].5': | ||
peerDependencies: | ||
react: '*' | ||
react-dom: '*' | ||
react-native: '*' | ||
reakit-utils: '*' | ||
redux: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react-native: '*' | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react-native: '*' | ||
'@wordpress/[email protected]': | ||
'@wordpress/[email protected]': | ||
peerDependencies: | ||
react: '*' | ||
redux: '*' | ||
|
@@ -321,13 +305,18 @@ packageExtensions: | |
peerDependenciesMeta: | ||
webpack: | ||
optional: true | ||
'@automattic/isolated-block-editor@2.4.1': | ||
'@automattic/isolated-block-editor@2.6.0': | ||
peerDependencies: | ||
# '@wp-g2/create-styles': '*' | ||
react: '*' | ||
react-dom: '*' | ||
redux: '*' | ||
react-native: '*' | ||
dependencies: | ||
# Note: isolated block editor already declares this as a dev dep, but since | ||
# an eslint plugin is a proper dependency, it doesn't think the dev dep exists. | ||
# Can be removed once https://github.com/Automattic/isolated-block-editor/pull/88 | ||
# is merged and released. | ||
eslint: '*' | ||
[email protected]: | ||
peerDependencies: | ||
react: '*' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.