-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The --production flag has no effect in this situation. Remove it. Add --ignore-scripts as a precaution.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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@latest @babel/plugin-syntax-import-assertions@latest | ||
|
||
# Use dmn to remove some unneeded files. | ||
"$NODE" "$NPM" exec -- [email protected] -f clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ rm -rf node_modules/eslint node_modules/eslint-plugin-markdown | |
|
||
"$NODE" "$NPM" init --yes | ||
|
||
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock eslint@latest | ||
"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock eslint-plugin-markdown@latest | ||
"$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock eslint@latest | ||
"$NODE" "$NPM" install --global-style --no-bin-links --ignore-scripts --no-package-lock eslint-plugin-markdown@latest | ||
|
||
# Use dmn to remove some unneeded files. | ||
"$NODE" "$NPM" exec -- [email protected] -f clean | ||
|