mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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
This commit is contained in:
parent
74af512794
commit
f7e7e14a69
@ -37,7 +37,7 @@ script( Release );
|
|||||||
|
|
||||||
// Ignores actual version installed, should be good enough for a test
|
// Ignores actual version installed, should be good enough for a test
|
||||||
if ( shell.exec( "npm ls --depth 0 | grep download.jqueryui.com" ).code === 1 ) {
|
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
|
// If AUTHORS.txt is outdated, this will update it
|
||||||
|
Loading…
Reference in New Issue
Block a user