Skip to content

Commit

Permalink
Update wordpress monorepo (#34093)
Browse files Browse the repository at this point in the history
* Update wordpress monorepo
* Replace old hack for palette and gradient settings.
  They're replacing useSetting with useSettings. But now there's also a hook we can use.
* Add pnpmfile hack to avoid unnecessary `@ariakit/test` dep

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
  • Loading branch information
3 people authored Nov 13, 2023
1 parent 14e49bc commit 2e7ebcb
Show file tree
Hide file tree
Showing 93 changed files with 1,760 additions and 1,576 deletions.
6 changes: 6 additions & 0 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ function fixDeps( pkg ) {
pkg.peerDependencies.react = '^18';
}

// Unnecessary dep, should be a dev dep.
// https://github.com/WordPress/gutenberg/pull/56091
if ( pkg.name === '@wordpress/components' && pkg.dependencies[ '@ariakit/test' ] ) {
delete pkg.dependencies[ '@ariakit/test' ];
}

// Turn @wordpress/eslint-plugin's eslint plugin deps into peer deps.
// https://github.com/WordPress/gutenberg/issues/39810
if ( pkg.name === '@wordpress/eslint-plugin' ) {
Expand Down
Loading

0 comments on commit 2e7ebcb

Please sign in to comment.