From f7e7e14a6934845655d1c073681467527ca03c47 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Thu, 5 Aug 2021 13:06:18 +0200 Subject: Build: Don't save temporary npm dependencies to package.json Past npm versions required the `--save` flag to save anything in `package.json` when installing packages but newer ones do this by default. Pass `--no-save` to restore the original behavior in the `release-test.js` script. Ref gh-1966 --- build/release-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build/release-test.js b/build/release-test.js index 2f3b7db92..083f1a6c5 100644 --- a/build/release-test.js +++ b/build/release-test.js @@ -37,7 +37,7 @@ script( Release ); // Ignores actual version installed, should be good enough for a test if ( shell.exec( "npm ls --depth 0 | grep download.jqueryui.com" ).code === 1 ) { - shell.exec( "npm install " + script.dependencies.join( " " ) ); + shell.exec( "npm install --no-save " + script.dependencies.join( " " ) ); } // If AUTHORS.txt is outdated, this will update it -- cgit v1.2.3