From 23c71062917e4fe8d75b29458560c7bd9fb091b1 Mon Sep 17 00:00:00 2001 From: Lincoln <778157949@qq.com> Date: Tue, 5 Aug 2025 21:10:19 +0800 Subject: [PATCH 1/3] Update [dot]npmrc --- .../rush-lib/assets/rush-init/common/config/rush/[dot]npmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/rush-lib/assets/rush-init/common/config/rush/[dot]npmrc b/libraries/rush-lib/assets/rush-init/common/config/rush/[dot]npmrc index 43f783886e9..1534451b8c0 100644 --- a/libraries/rush-lib/assets/rush-init/common/config/rush/[dot]npmrc +++ b/libraries/rush-lib/assets/rush-init/common/config/rush/[dot]npmrc @@ -24,7 +24,7 @@ # # Explicitly specify the NPM registry that "rush install" and "rush update" will use by default: -registry=https://registry.npmjs.org/ +# registry=https://registry.npmjs.org/ # Optionally provide an authentication token for the above registry URL (if it is a private registry): # //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} From ba65f8c7672b83028bd74bbf304fbab61510ae60 Mon Sep 17 00:00:00 2001 From: qun <778157949@qq.com> Date: Tue, 5 Aug 2025 21:23:35 +0800 Subject: [PATCH 2/3] rush change --- .../@microsoft/rush/patch-1_2025-08-05-13-22.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json diff --git a/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json b/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json new file mode 100644 index 00000000000..4b1e3d865aa --- /dev/null +++ b/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Remove default .npmrc setting", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} \ No newline at end of file From 27157261a06ce8555b3fbc385d0eb858cf146245 Mon Sep 17 00:00:00 2001 From: Lincoln <778157949@qq.com> Date: Thu, 7 Aug 2025 00:39:07 +0800 Subject: [PATCH 3/3] Update common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json Co-authored-by: Ian Clanton-Thuon --- common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json b/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json index 4b1e3d865aa..7cb06e55e35 100644 --- a/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json +++ b/common/changes/@microsoft/rush/patch-1_2025-08-05-13-22.json @@ -2,7 +2,7 @@ "changes": [ { "packageName": "@microsoft/rush", - "comment": "Remove default .npmrc setting", + "comment": "Remove the public NPM registry from the `.npmrc` generated during `rush init`. The public registry is the default, and including it in the repo's default `.npmrc` will override the user's default registry.", "type": "none" } ],