From 28a7729be1a505df88717f61ebe3a51cde35dce6 Mon Sep 17 00:00:00 2001 From: Phil Allen Date: Tue, 21 Apr 2026 15:22:18 -0700 Subject: [PATCH] Update .npmrc to disallow running install scripts --- .npmrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index 8c8d2b239b..826d585f24 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,5 @@ registry=https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/ -always-auth=true \ No newline at end of file +always-auth=true + +# Disable postinstall scripts. Allowlist exceptions with npm trust: https://docs.npmjs.com/cli/v11/commands/npm-trust +ignore-scripts=true