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 = \$$
|
ESC_DOLLAR = \$$
|
||||||
endif
|
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))" ""
|
ifneq "$(filter $(npgoals),$(MAKECMDGOALS))" ""
|
||||||
.NOTPARALLEL :
|
.NOTPARALLEL :
|
||||||
endif
|
endif
|
||||||
@ -322,3 +322,7 @@ web : index.html distready
|
|||||||
update :
|
update :
|
||||||
npm install --save-dev $(shell node tools/unpinned.js)
|
npm install --save-dev $(shell node tools/unpinned.js)
|
||||||
npm shrinkwrap --dev
|
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(
|
Object.keys(pkg.devDependencies).filter(
|
||||||
name => /^\^/.test(pkg.devDependencies[name])
|
name => /^\^/.test(pkg.devDependencies[name])
|
||||||
).map(
|
).map(
|
||||||
name => `${name}@latest`
|
name => `${name}@${process.argv[2] || pkg.devDependencies[name]}`
|
||||||
).join(' ')
|
).join(' ')
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user