Skip to content

Remove existing .npmrc when releasing to npm js#14343

Merged
chidozieononiwu merged 1 commit intoAzure:mainfrom
chidozieononiwu:AllowNpmJSAccess
Mar 4, 2026
Merged

Remove existing .npmrc when releasing to npm js#14343
chidozieononiwu merged 1 commit intoAzure:mainfrom
chidozieononiwu:AllowNpmJSAccess

Conversation

@chidozieononiwu
Copy link
Member

Packages impacted by this PR

  • All

Issues associated with this PR

Azure/azure-sdk-for-js#37076

Describe the problem that is addressed by this PR

  • When releasing to npmjs remove existing .npmrc in the repo that points to devOps feed

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the shared npm publishing pipeline template to ensure releases to the public npmjs registry aren’t affected by a repo-level .npmrc that points at an Azure DevOps feed (aligning with the npmjs release workflow described in the linked issue).

Changes:

  • Adds a pre-publish step (npmjs-only) to delete the repo-root .npmrc before invoking ESRP npm publishing.

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

chidozieononiwu added a commit to Azure/azure-sdk-for-js that referenced this pull request Mar 4, 2026
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#14343 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
chidozieononiwu added a commit to Azure/azure-sdk-for-rust that referenced this pull request Mar 4, 2026
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#14343 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
@chidozieononiwu chidozieononiwu merged commit 2fc7f14 into Azure:main Mar 4, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants