Skip to content

Commit

Permalink
Update wordpress monorepo (#39302)
Browse files Browse the repository at this point in the history
* Update wordpress monorepo
* Add another Calypso package to the old-deps pnpmfile hack

---------

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Brad Jorsch <[email protected]>
  • Loading branch information
3 people committed Sep 9, 2024
1 parent f184f96 commit 4fd7c1a
Show file tree
Hide file tree
Showing 91 changed files with 1,327 additions and 1,952 deletions.
5 changes: 4 additions & 1 deletion .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
function fixDeps( pkg ) {
// Deps tend to get outdated due to a slow release cycle.
// So change `^` to `>=` and hope any breaking changes will not really break.
if ( pkg.name === '@automattic/social-previews' ) {
if (
pkg.name === '@automattic/social-previews' ||
pkg.name === '@automattic/page-pattern-modal'
) {
for ( const [ dep, ver ] of Object.entries( pkg.dependencies ) ) {
if ( dep.startsWith( '@wordpress/' ) && ver.startsWith( '^' ) ) {
pkg.dependencies[ dep ] = '>=' + ver.substring( 1 );
Expand Down
Loading

0 comments on commit 4fd7c1a

Please sign in to comment.