Skip to content

Commit adf5c95

Browse files
committed
improved up and update targets
1 parent 8016f77 commit adf5c95

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ SEMVER=prerelease --preid=beta
55
EXAMPLES=$(dir $(wildcard examples/*/package.json))
66

77
install:
8-
npm install
8+
npm ci
99
npm run build
10-
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm install && npm run link && npm run build) || exit $$?;)
10+
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm ci && npm run link && npm run build) || exit $$?;)
1111
.PHONY: install
1212

1313
update:
14-
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm update) || exit $$?;)
14+
npm ci
15+
npm run build
16+
$(foreach ex,$(EXAMPLES),(cd $(ex) && npm ci) || exit $$?;)
1517
.PHONY: update
1618

1719
up:

0 commit comments

Comments
 (0)