Skip to content

Commit 7654878

Browse files
Migration to CFS (microsoft#377)
* Migration to CFS * Add NpmAuthenticate@0 task before the installation task
1 parent 7ad2a7a commit 7654878

13 files changed

+7179
-6437
lines changed

.npmrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
2+
3+
always-auth=true

azure-pipelines.yml

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ extends:
6060
inputs:
6161
versionSpec: '20.x'
6262
displayName: Install node 20.x
63+
- task: NpmAuthenticate@0
64+
inputs:
65+
workingFile: .npmrc
6366
- script: npm install
6467
displayName: npm install
6568
- script: npm run build

package-lock.json

+543-373
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/basic/.npmrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
2+
3+
always-auth=true

samples/basic/package-lock.json

+83-130
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/react/.npmrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
2+
3+
always-auth=true

0 commit comments

Comments
 (0)