Separate tasks for updates that shouldn't/should break things.
This commit is contained in:
parent
93b45c8bba
commit
221b071ff7
6
Makefile
6
Makefile
@ -14,7 +14,7 @@ else
|
||||
ESC_DOLLAR = \$$
|
||||
endif
|
||||
|
||||
npgoals := clean cleanrel cleanweb cleanfull withtests tag $(foreach i,1 2 3 4,bump$(i)) beta stable web update
|
||||
npgoals := clean cleanrel cleanweb cleanfull withtests tag $(foreach i,1 2 3 4,bump$(i)) beta stable web update updatehard
|
||||
ifneq "$(filter $(npgoals),$(MAKECMDGOALS))" ""
|
||||
.NOTPARALLEL :
|
||||
endif
|
||||
@ -322,3 +322,7 @@ web : index.html distready
|
||||
update :
|
||||
npm install --save-dev $(shell node tools/unpinned.js)
|
||||
npm shrinkwrap --dev
|
||||
|
||||
updatehard :
|
||||
npm install --save-dev $(shell node tools/unpinned.js latest)
|
||||
npm shrinkwrap --dev
|
||||
|
||||
@ -6,6 +6,6 @@ console.log(
|
||||
Object.keys(pkg.devDependencies).filter(
|
||||
name => /^\^/.test(pkg.devDependencies[name])
|
||||
).map(
|
||||
name => `${name}@latest`
|
||||
name => `${name}@${process.argv[2] || pkg.devDependencies[name]}`
|
||||
).join(' ')
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user