зеркало из https://github.com/Azure/autorest.git
Fix publishing due to npm 7 bug (#3846)
This commit is contained in:
Родитель
7647c172d2
Коммит
5c3787538a
|
@ -22,4 +22,4 @@
|
||||||
registry=https://registry.npmjs.org/
|
registry=https://registry.npmjs.org/
|
||||||
always-auth=true
|
always-auth=true
|
||||||
loglevel=debug
|
loglevel=debug
|
||||||
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
|
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
|
||||||
|
|
|
@ -6,7 +6,7 @@ steps:
|
||||||
displayName: "Install Node.js"
|
displayName: "Install Node.js"
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
npm install -g npm
|
npm install -g npm@6 # Seems to be an with npm 7 and publishing https://github.com/npm/cli/issues/2624.
|
||||||
npx @microsoft/rush install
|
npx @microsoft/rush install
|
||||||
displayName: "Install dependencies"
|
displayName: "Install dependencies"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
|
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
|
||||||
"rushVersion": "5.35.2",
|
"rushVersion": "5.38.0",
|
||||||
"pnpmVersion": "5.13.5",
|
"pnpmVersion": "5.16.0",
|
||||||
"pnpmOptions": {},
|
"pnpmOptions": {},
|
||||||
"nodeSupportedVersionRange": ">=8.9.4 <15.0.0",
|
"nodeSupportedVersionRange": ">=8.9.4 <15.0.0",
|
||||||
// Disabling this during migration of other repos as it is causing issues.
|
// Disabling this during migration of other repos as it is causing issues.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче