From f6f8eb7c25ed770f613bc435b48a10e15bb9d24c 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 90ebce4cb6..81659fe018 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 0000000000..97b895e2f9 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +ignore-scripts=true