Skip to content

Commit

Permalink
Tools: Update packages (#451)
Browse files Browse the repository at this point in the history
* Tools: Update packages

This updates the wp-env & wp-scripts packages, along with the configuration changes necessary to get the environment working. This includes phpunit updates, and removing the custom RTLCSS build config now that wp-scripts provides that.

* Add missing eslint plugin

* Fix spacing lint issue
  • Loading branch information
ryelle authored Jun 12, 2024
1 parent 5d0e84b commit 6de7ec4
Show file tree
Hide file tree
Showing 13 changed files with 4,334 additions and 2,306 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ phpcs.xml.dist
!/source/wp-content/mu-plugins
!/source/wp-content/mu-plugins/theme-switcher.php
lighthouse.html
source/wp-content/tests/phpunit/.phpunit.result.cache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
20
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,21 @@
"composer/installers": "~1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^7.5.20",
"phpunit/phpunit": "9.6.*",
"wordpress-meta/pub": "1",
"wordpress-meta/wporg": "1",
"wordpress-meta/wporg-main": "1",
"wordpress-meta/handbook": "1",
"wordpress-meta/wporg-markdown": "1",
"wp-coding-standards/wpcs": "2.*",
"wp-phpunit/wp-phpunit": "^5.4",
"wp-phpunit/wp-phpunit": "6.*",
"wpackagist-plugin/gutenberg": "*",
"wpackagist-plugin/jetpack": "*",
"wpackagist-plugin/wordpress-importer": "*",
"wporg/wporg-repo-tools": "dev-trunk",
"wporg/wporg-mu-plugins": "dev-build",
"wporg/wporg-parent-2021": "dev-build",
"yoast/phpunit-polyfills": "^1.1"
"yoast/phpunit-polyfills": "2.*"
},
"scripts": {
"format": "phpcbf -p",
Expand Down
Loading

0 comments on commit 6de7ec4

Please sign in to comment.