From d2bac82f2fe0d863b22e02e3eb232c450f80fe92 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Mon, 12 Oct 2020 11:59:53 +0000 Subject: [PATCH] Add wp-packages-update command to update WordPress packages. This ticket exposes the packages-update script implemented at https://github.com/WordPress/gutenberg/pull/19448 on WordPress core. By running "npm run wp-packages-update" all the WordPress packages are updated to the latest version. The command is very useful when updating the Gutenberg editor core exposes. Props isabel_brison. Fixes #51491. git-svn-id: https://develop.svn.wordpress.org/trunk@49129 602fd350-edb4-49c9-b593-d223f7449a82 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c71528b69c..6411949cb5 100644 --- a/package.json +++ b/package.json @@ -166,6 +166,7 @@ "env:pull": "node ./tools/local-env/scripts/docker.js pull", "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit", "test:php-composer": "node ./tools/local-env/scripts/docker.js run --rm phpunit php ./vendor/bin/phpunit", - "test:e2e": "node ./tests/e2e/run-tests.js" + "test:e2e": "node ./tests/e2e/run-tests.js", + "wp-packages-update": "wp-scripts packages-update" } }