mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-17 05:47:58 +08:00
Currently the client build is not reproducible since, each time you run `make build-client` the package lockfile is updated. This should be handled separately by `make gen-package-lock` when developers actually want to update the dependencies. `npm ci` installs dependencies directly from the lockfile without updating them, making builds reproducible.
21 lines
220 B
Makefile
21 lines
220 B
Makefile
.PHONY: clean
|
|
clean:
|
|
rm -rf node_modules
|
|
|
|
.PHONY: ci
|
|
ci:
|
|
npm ci client
|
|
|
|
.PHONY: install
|
|
install:
|
|
npm install client
|
|
|
|
.PHONY: build
|
|
build:
|
|
npm run build
|
|
|
|
# pass remaining commands through to npm run
|
|
%:
|
|
npm run $(*)
|
|
|