-
Notifications
You must be signed in to change notification settings - Fork 653
[rush-lib] Update [dot]npmrc #5296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@microsoft/rush", | ||
| "comment": "Remove default .npmrc setting", | ||
| "type": "none" | ||
| } | ||
| ], | ||
| "packageName": "@microsoft/rush" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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/ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 There was originally some reason why this was needed, maybe for Azure DevOps? I will ask some other maintainers about it at Rush Hour tomorrow.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I think the problem is like this: 1. Person A has no 2. Person B is working in some other repository, where they are instructed to configure a private registry in their 3. Next, Person B clones the monorepo and runs 4. Thus, for Person B, 5a. Person B asks for on call support. Person A tries to reproduce the error, but "it works fine for me" (because they are missing the - OR - 5b. Person B "fixes" the problem by running The core problem is that Of course, having the wrong default in
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@L-Qun The problem you're describing here, it only happens when someone is creating a new monorepo, right?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @octogonz Creating a new subspace |
||
|
|
||
| # Optionally provide an authentication token for the above registry URL (if it is a private registry): | ||
| # //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.