Skip to content

Commit

Permalink
treewide: Delete obsolete npm options
Browse files Browse the repository at this point in the history
  • Loading branch information
nxhack committed May 8, 2023
1 parent 209d473 commit d36dee5
Show file tree
Hide file tree
Showing 130 changed files with 300 additions and 437 deletions.
4 changes: 1 addition & 3 deletions node-actions-on-google/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --ignore-scripts
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --ignore-scripts
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-alexa-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-arduino-firmata/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-argon2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-ask-sdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-authenticate-pam/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-autobahn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
3 changes: 0 additions & 3 deletions node-aws-crt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,12 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --no-save --no-package-lock --ignore-scripts
cd $(PKG_BUILD_DIR); \
$(MAKE_VARS) \
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
CMAKE_SYSTEM_NAME=Linux \
CMAKE_SYSTEM_VERSION=1 \
CMAKE_SYSTEM_PROCESSOR=$(ARCH) \
Expand Down Expand Up @@ -105,7 +103,6 @@ define Build/Compile
CROSS_COMPILE="$(OPTIMIZE_FOR_CPU)-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))-" \
TARGET_CROSS="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)" \
npm run install --no-save --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -delete || true
Expand Down
4 changes: 1 addition & 3 deletions node-aws-iot-device-sdk-v2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --ignore-scripts
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --ignore-scripts
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-aws-iot-device-sdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-aws-sdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-azure-event-hubs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --ignore-scripts
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --ignore-scripts
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-azure-iot-device-amqp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-azure-iot-device-http/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-azure-iot-device-mqtt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-azure-iot-device/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-azure-iothub/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --omit=optional --no-optional
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --omit=optional --no-optional
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-bcrypt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-bignum/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-binaryjs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-bleacon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-bleno/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
4 changes: 1 addition & 3 deletions node-bluetooth-hci-socket/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --build-from-source --target_arch=$(NODEJS_CPU)
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
8 changes: 2 additions & 6 deletions node-browserify/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ define Build/Compile
$(MAKE_FLAGS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
rm -f $(PKG_BUILD_DIR)/node_modules/.package-lock.json
find $(PKG_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down Expand Up @@ -92,9 +90,7 @@ define Host/Compile
$(HOST_MAKE_VARS) \
npm_config_nodedir=$(STAGING_DIR)/usr/ \
$(if $(CONFIG_NODEJS_NPM_KEEP_CACHE), npm_config_cache=$(NPM_CACHE_DIR)/host-npm-cache-$(PKG_NPM_NAME),npm_config_cache=$(TMP_DIR)/npm-cache-$(HOSTTMPNPM)) \
npm_config_tmp=$(TMP_DIR)/npm-tmp-$(HOSTTMPNPM) \
npm install --prefer-offline --no-audit --production --global-style --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-tmp-$(HOSTTMPNPM)
npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock
rm -rf $(TMP_DIR)/npm-cache-$(HOSTTMPNPM)
rm -f $(HOST_BUILD_DIR)/node_modules/.package-lock.json
find $(HOST_BUILD_DIR)/node_modules -type d -empty -print0 | xargs -0 rmdir || true
Expand Down
Loading

0 comments on commit d36dee5

Please sign in to comment.