Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-10-30 08:24:05 +0300
committerRich Trott <rtrott@gmail.com>2021-11-08 22:47:53 +0300
commit04451d869cf83f3f34f569f5f9a6abc6490e740b (patch)
tree2f98ecac7bb18f9fa3d6be3e1527d4ac4d3e49b0 /tools/update-babel-eslint.sh
parente8d16eee26a785952f23a8b20e08e122d9b0aacb (diff)
tools: improve update scripts
The --production flag has no effect in this situation. Remove it. Add --ignore-scripts as a precaution. PR-URL: https://github.com/nodejs/node/pull/40644 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'tools/update-babel-eslint.sh')
-rwxr-xr-xtools/update-babel-eslint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/update-babel-eslint.sh b/tools/update-babel-eslint.sh
index f2cadbd2297..fa6c0b0ee41 100755
--- a/tools/update-babel-eslint.sh
+++ b/tools/update-babel-eslint.sh
@@ -18,7 +18,7 @@ ROOT="$PWD/../.."
NPM="$ROOT/deps/npm/bin/npm-cli.js"
"$NODE" "$NPM" init --yes
-"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-import-assertions@latest
+"$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock @babel/core @babel/eslint-parser @babel/plugin-syntax-import-assertions
# Use dmn to remove some unneeded files.
"$NODE" "$NPM" exec -- dmn@2.2.2 -f clean