meta: add .npmrc with ignore-scripts=true

If any depdencies actually need to run the scripts, the corresponding
script can add --no-ignore-scripts.

PR-URL: https://github.com/nodejs/node/pull/59914
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Joyee Cheung 2025-09-17 23:46:20 +02:00 committed by GitHub
parent 97e55f8ea2
commit f6f8eb7c25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@
!.nycrc !.nycrc
!.yamllint.yaml !.yamllint.yaml
!.configurations/ !.configurations/
!/.npmrc
# === Rules for root dir === # === Rules for root dir ===
/core /core

1
.npmrc Normal file
View File

@ -0,0 +1 @@
ignore-scripts=true