8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm ci
1 parent 0b340ab commit fc1259bCopy full SHA for fc1259b
Makefile
@@ -642,12 +642,8 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets
642
@cp $< $@
643
644
645
-run-npm-install = $(PWD)/$(NPM) install --production --no-package-lock
646
run-npm-ci = $(PWD)/$(NPM) ci
647
648
-tools/doc/node_modules/js-yaml/package.json:
649
- cd tools/doc && $(call available-node,$(run-npm-install))
650
-
651
gen-api = tools/doc/generate.js --node-version=$(FULLVERSION) \
652
--analytics=$(DOCS_ANALYTICS) $< --output-directory=out/doc/api
653
@@ -1074,8 +1070,7 @@ lint-md-build: tools/remark-cli/node_modules \
1074
1070
1075
1071
tools/doc/node_modules: tools/doc/package.json
1076
1072
ifeq ($(node_use_openssl),true)
1077
1078
- @touch $@
1073
+ cd tools/doc && $(call available-node,$(run-npm-ci))
1079
else
1080
@echo "Skipping tools/doc/node_modules (no crypto)"
1081
endif
@@ -1184,7 +1179,7 @@ LINT_CPP_FILES = $(filter-out $(LINT_CPP_EXCLUDE), $(wildcard \
1184
1179
ADDON_DOC_LINT_FLAGS=-whitespace/ending_newline,-build/header_guard
1185
1180
1186
1181
format-cpp-build:
1187
- cd tools/clang-format && $(call available-node,$(run-npm-install))
1182
+ cd tools/clang-format && $(call available-node,$(run-npm-ci))
1188
1183
1189
format-cpp-clean:
1190
$(RM) -r tools/clang-format/node_modules
vcbuild.bat
@@ -439,7 +439,7 @@ if not defined doc (
439
if exist "tools\doc\node_modules\unified\package.json" goto skip-install-doctools
440
SETLOCAL
441
cd tools\doc
442
-%npm_exe% install
+%npm_exe% ci
443
cd ..\..
444
if errorlevel 1 goto exit
445
ENDLOCAL