Scope @microsoft to @microsoft/fluid- in .npmrc (#341)
This commit is contained in:
Родитель
1c72cfd99c
Коммит
185e72f389
4
.npmrc
4
.npmrc
|
@ -22,8 +22,8 @@ always-auth=false
|
|||
@tiny:registry=https://packages.wu2.prague.office-int.com
|
||||
@tiny:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -15,9 +15,8 @@ Prerequisites: [Node (with npm)](https://nodejs.org) installed
|
|||
2. Add registry to the our scopes (globally per-user)
|
||||
|
||||
```text
|
||||
npm config set @prague:registry https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
npm config set @chaincode:registry https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
npm config set @component:registry https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
npm config set @microsoft/fluid-:registry https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
npm config set @fluid-example:registry https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
```
|
||||
|
||||
3. Auth with VSTS using vsts-npm-auth (Windows only, Linux/Mac instructions
|
||||
|
@ -34,10 +33,10 @@ NOTE:
|
|||
|
||||
* You can add the registry setting to your project only instead of globally.
|
||||
Just add the follow to your .npmrc in the root of your NPM package:
|
||||
```
|
||||
@prague:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
@chaincode:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
@component:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
|
||||
```text
|
||||
@microsoft/fluid-:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
@fluid-example:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
```
|
||||
|
||||
Then run vsts-npm-auth in the same directory with no argument.
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,5 +10,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,8 +10,8 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-example:always-auth=true
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
always-auth=true
|
||||
|
|
|
@ -10,5 +10,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,5 +10,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
@chaincode:registry=https://packages.wu2.prague.office-int.com
|
||||
@container:registry=https://packages.wu2.prague.office-int.com
|
||||
@component:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@ms:registry=https://packages.wu2.prague.office-int.com
|
||||
always-auth=true
|
||||
|
|
|
@ -10,5 +10,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -6,7 +6,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-example:always-auth=true
|
||||
|
|
|
@ -10,5 +10,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -10,5 +10,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -10,7 +10,7 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -6,8 +6,8 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
|
|
|
@ -6,8 +6,8 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
|
|
|
@ -22,8 +22,8 @@ always-auth=false
|
|||
@tiny:registry=https://packages.wu2.prague.office-int.com
|
||||
@tiny:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
@chaincode:registry=https://packages.wu2.prague.office-int.com
|
||||
@container:registry=https://packages.wu2.prague.office-int.com
|
||||
@component:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@ms:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
always-auth=true
|
|
@ -7,5 +7,5 @@
|
|||
//offnet.pkgs.visualstudio.com/_packaging/prague/npm/:_password=${NPM_TOKEN}
|
||||
//offnet.pkgs.visualstudio.com/_packaging/prague/npm/:email=npm requires email to be set but doesn't use the value
|
||||
; end auth token
|
||||
@microsoft:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
@microsoft/fluid-:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
always-auth=true
|
||||
|
|
|
@ -4,5 +4,5 @@ always-auth=false
|
|||
//packages.wu2.prague.office-int.com/:_password="Ym9oZW1pYQ=="
|
||||
//packages.wu2.prague.office-int.com/:username=prague
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
//offnet.pkgs.visualstudio.com/_packaging/prague/npm/:_password=${NPM_TOKEN}
|
||||
//offnet.pkgs.visualstudio.com/_packaging/prague/npm/:email=npm requires email to be set but doesn't use the value
|
||||
; end auth token
|
||||
@microsoft:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
@microsoft/fluid-:registry=https://offnet.pkgs.visualstudio.com/_packaging/prague/npm/registry/
|
||||
always-auth=true
|
||||
|
|
|
@ -22,8 +22,8 @@ always-auth=false
|
|||
@tiny:registry=https://packages.wu2.prague.office-int.com
|
||||
@tiny:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft:always-auth=true
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:always-auth=true
|
||||
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:always-auth=true
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//packages.wu2.prague.office-int.com/:email=mdaumi@microsoft.com
|
||||
//packages.wu2.prague.office-int.com/:always-auth=true
|
||||
|
||||
@microsoft:registry=https://packages.wu2.prague.office-int.com
|
||||
@microsoft/fluid-:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-example:registry=https://packages.wu2.prague.office-int.com
|
||||
@fluid-internal:registry=https://packages.wu2.prague.office-int.com
|
||||
@yo-fluid:registry=https://packages.wu2.prague.office-int.com
|
||||
|
|
Загрузка…
Ссылка в новой задаче