From 924e1cfba782b5d6cf1b235ba10b356a06113401 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 3 Jun 2024 13:02:15 +0100 Subject: [PATCH] Scripts: Pin the @wordpress/scripts version to a version supported by WP 6.5 --- packages/create-block/lib/init-wp-scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-block/lib/init-wp-scripts.js b/packages/create-block/lib/init-wp-scripts.js index ca0101957f47f..531eb970d8925 100644 --- a/packages/create-block/lib/init-wp-scripts.js +++ b/packages/create-block/lib/init-wp-scripts.js @@ -16,7 +16,7 @@ module.exports = async ( { slug } ) => { info( 'Installing `@wordpress/scripts` package. It might take a couple of minutes...' ); - await command( 'npm install @wordpress/scripts --save-dev', { + await command( 'npm install @wordpress/scripts@27 --save-dev', { cwd, } );