From e94c57301bb866268ab1dce6813dd7fef8d23972 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 17 Sep 2025 23:46:20 +0200 Subject: [PATCH] meta: add .npmrc with ignore-scripts=true MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Michaƫl Zasso Reviewed-By: Ruben Bridgewater Reviewed-By: Chengzhong Wu Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli --- .gitignore | 1 + .npmrc | 1 + 2 files changed, 2 insertions(+) create mode 100644 .npmrc diff --git a/.gitignore b/.gitignore index 90ebce4cb67..81659fe018a 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ !.nycrc !.yamllint.yaml !.configurations/ +!/.npmrc # === Rules for root dir === /core diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000000..97b895e2f96 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +ignore-scripts=true