зеркало из 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/
|
||||
always-auth=true
|
||||
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"
|
||||
|
||||
- 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
|
||||
displayName: "Install dependencies"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
|
||||
"rushVersion": "5.35.2",
|
||||
"pnpmVersion": "5.13.5",
|
||||
"rushVersion": "5.38.0",
|
||||
"pnpmVersion": "5.16.0",
|
||||
"pnpmOptions": {},
|
||||
"nodeSupportedVersionRange": ">=8.9.4 <15.0.0",
|
||||
// Disabling this during migration of other repos as it is causing issues.
|
||||
|
|
Загрузка…
Ссылка в новой задаче