Skip to content

Commit

Permalink
fix: update dependencies to support @wordpress/scripts (#104)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Updates dependencies for compatibility with WordPress 6.6.*, but breaks JS in WordPress 6.5.* and below. If you need support for WP 6.5.*, please do not upgrade to this new major version.

* chore: refactor for newspack-scripts dependency updates

* chore: update composer

* fix: peer dependencies

* chore: update newspack-scripts to v5.6.0-alpha.3

* chore: update newspack-scripts to v5.6.0-alpha.4

* chore: remove unnecessary prettier config file

* chore: update newspack-scripts to v5.6.0-alpha.7

* fix: update phpcs.xml

* chore: bump newspack-scripts to v5.5.2
  • Loading branch information
dkoo authored Aug 2, 2024
1 parent 5844853 commit e9691b8
Show file tree
Hide file tree
Showing 7 changed files with 19,051 additions and 45,665 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.11.1
lts/*
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@
"classmap": [
"./includes"
],
"files": ["./includes/constants.php"]
"files": [
"./includes/constants.php"
]
},
"config": {
"platform": {
"php": "8.0"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
}
Loading

0 comments on commit e9691b8

Please sign in to comment.