aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-08-05 13:06:18 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-08-06 13:36:30 +0200
commitf7e7e14a6934845655d1c073681467527ca03c47 (patch)
tree880585a4766102635c9fa969cbc8f5c841283c79 /build
parent74af51279419b2f901cfbacbbecd47136b3d7569 (diff)
downloadjquery-ui-f7e7e14a6934845655d1c073681467527ca03c47.tar.gz
jquery-ui-f7e7e14a6934845655d1c073681467527ca03c47.zip
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
Diffstat (limited to 'build')
-rw-r--r--build/release-test.js2
1 files changed, 1 insertions, 1 deletions
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