Unpublish npm-shrinkwrap.json (#1079)
This commit is contained in:
parent
6119dbb08e
commit
9b51349ce3
|
@ -318,7 +318,7 @@ module.exports = function(grunt) {
|
||||||
});
|
});
|
||||||
|
|
||||||
patchFile({
|
patchFile({
|
||||||
fileName: 'npm-shrinkwrap.json',
|
fileName: 'package-lock.json',
|
||||||
version: version
|
version: version
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
0
npm-shrinkwrap.json → package-lock.json
generated
0
npm-shrinkwrap.json → package-lock.json
generated
|
@ -25,7 +25,7 @@ npm run build
|
||||||
grunt test
|
grunt test
|
||||||
|
|
||||||
# Add build files to git
|
# Add build files to git
|
||||||
git add --force dist/ bower.json npm-shrinkwrap.json package.json
|
git add --force dist/ bower.json package-lock.json package.json
|
||||||
git commit -m "Release new version"
|
git commit -m "Release new version"
|
||||||
git tag v$1
|
git tag v$1
|
||||||
git push
|
git push
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
|
|
||||||
# clear shrinkwrapped node_modules
|
# clear shrinkwrapped node_modules
|
||||||
rm npm-shrinkwrap.json
|
rm package-lock.json
|
||||||
rm -rf node_modules/
|
rm -rf node_modules/
|
||||||
|
|
||||||
# abort if tests fail
|
# abort if tests fail
|
||||||
|
@ -16,9 +16,6 @@ npm install
|
||||||
# build and test
|
# build and test
|
||||||
npm test
|
npm test
|
||||||
|
|
||||||
# shrinkwrap production and dev dependencies
|
|
||||||
npm shrinkwrap --dev
|
|
||||||
|
|
||||||
# Add build files to git
|
# Add build files to git
|
||||||
git add npm-shrinkwrap.json
|
git add package-lock.json
|
||||||
git commit -m "Update npm dependencies and shrinkwrap"
|
git commit -m "Update npm dependencies and package lock"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user