From 72cb16f11a3241f99269f305b8dd7f841652e933 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Wed, 25 Feb 2026 14:32:18 -0800 Subject: [PATCH] Fix publishing. --- common/config/rush/.npmrc | 9 ++------- common/config/rush/.npmrc-publish | 6 ++---- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/common/config/rush/.npmrc b/common/config/rush/.npmrc index 43f78388..e07ed674 100644 --- a/common/config/rush/.npmrc +++ b/common/config/rush/.npmrc @@ -22,12 +22,7 @@ # # //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} # - -# Explicitly specify the NPM registry that "rush install" and "rush update" will use by default: 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} - -# Change this to "true" if your registry requires authentication for read-only operations: -always-auth=false +# This seemed to interfere with authentication for publishing: +# always-auth=false diff --git a/common/config/rush/.npmrc-publish b/common/config/rush/.npmrc-publish index 51acb920..ab748797 100644 --- a/common/config/rush/.npmrc-publish +++ b/common/config/rush/.npmrc-publish @@ -19,8 +19,6 @@ # //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} # -# Explicitly specify the NPM registry that "rush publish" will use by default: registry=https://registry.npmjs.org/ - -# Provide an authentication token for the above registry URL: -# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} +always-auth=true +//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}