Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30623c2

Browse filesBrowse files
Trotttargos
authored andcommitted
tools: improve update scripts
The --production flag has no effect in this situation. Remove it. Add --ignore-scripts as a precaution. PR-URL: #40644 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 51ac59b commit 30623c2
Copy full SHA for 30623c2

File tree

Expand file treeCollapse file tree

2 files changed

+2
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-3
lines changed
Open diff view settings
Collapse file

‎tools/update-babel-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-babel-eslint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ROOT="$PWD/../.."
1818
NPM="$ROOT/deps/npm/bin/npm-cli.js"
1919

2020
"$NODE" "$NPM" init --yes
21-
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-import-assertions@latest
21+
"$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock @babel/core @babel/eslint-parser @babel/plugin-syntax-import-assertions
2222

2323
# Use dmn to remove some unneeded files.
2424
"$NODE" "$NPM" exec -- dmn@2.2.2 -f clean
Collapse file

‎tools/update-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-eslint.sh
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ rm -rf node_modules/eslint node_modules/eslint-plugin-markdown
2020

2121
"$NODE" "$NPM" init --yes
2222

23-
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock eslint@latest
24-
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock eslint-plugin-markdown@latest
23+
"$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock eslint eslint-plugin-markdown
2524

2625
# Use dmn to remove some unneeded files.
2726
"$NODE" "$NPM" exec -- dmn@2.2.2 -f clean

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.