Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions common/config/rush/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@
# It is NOT recommended to store authentication tokens in a text file on a lab machine, because
# other unrelated processes may be able to read that file. Also, the file may persist indefinitely,
# for example if the machine loses power. A safer practice is to pass the token via an
# environment variable, which can be referenced from .npmrc using ${} expansion. For example:
#
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
#
# environment variable, which can be referenced from .npmrc using ${} expansion.

# 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}
registry=https://packagefeedproxy.microsoft.io/npm/
omit-lockfile-registry-resolved=true

# Change this to "true" if your registry requires authentication for read-only operations:
always-auth=false
12 changes: 3 additions & 9 deletions common/config/rush/.npmrc-publish
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@
# It is NOT recommended to store authentication tokens in a text file on a lab machine, because
# other unrelated processes may be able to read the file. Also, the file may persist indefinitely,
# for example if the machine loses power. A safer practice is to pass the token via an
# environment variable, which can be referenced from .npmrc using ${} expansion. For example:
#
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
#

# Explicitly specify the NPM registry that "rush publish" will use by default:
registry=https://registry.npmjs.org/
# environment variable, which can be referenced from .npmrc using ${} expansion.

# Provide an authentication token for the above registry URL:
# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
always-auth=true
registry=https://packagefeedproxy.microsoft.io/npm/
Loading