Skip to content

Commit

Permalink
upgrade to pnpm 9.5.0 (#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Jul 9, 2024
1 parent c2d5b70 commit f276ded
Show file tree
Hide file tree
Showing 6 changed files with 4,114 additions and 3,247 deletions.
8 changes: 4 additions & 4 deletions eng/pipelines/ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ steps:
TestProxy: true
templateRoot: azure-sdk-tools
- task: NodeTool@0
displayName: "Install Node.js 16.x"
displayName: "Install Node.js 18.x"
inputs:
versionSpec: "16.x"
versionSpec: "18.x"
- task: UsePythonVersion@0
displayName: "Use Python 3.11"
inputs:
versionSpec: 3.11

- script: npm install -g pnpm@8.3.1
displayName: Install pnpm 8.3.1
- script: npm install -g pnpm@9.5.0
displayName: Install pnpm 9.5.0

- script: npm install -g autorest
displayName: Install autorest
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ extends:
OnlyGenerateTypespec: ${{ parameters.UseTypeSpecNext }}
AutorestInitializationSteps:
- task: NodeTool@0
displayName: "Install Node.js 16.x"
displayName: "Install Node.js 18.x"
inputs:
versionSpec: "16.x"
versionSpec: "18.x"
- task: UsePythonVersion@0
displayName: "Use Python 3.11"
inputs:
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ extends:
AutorestTestFolder: "$(Build.SourcesDirectory)/packages/autorest.python/test/"

steps:
- script: npm install -g pnpm@8.3.1
displayName: Install PNPM 8.3.1
- script: npm install -g pnpm@9.5.0
displayName: Install PNPM 9.5.0

- script: npm install -g @azure-tools/cadl-ranch
displayName: Install cadl ranch
Expand Down
2 changes: 1 addition & 1 deletion eng/scripts/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def copy(src: Path, dest: Path) -> None:

def main(update_to_latest_typespec: bool, build_artifacts_path: Path) -> None:
# Install global dependencies
call("npm install -g pnpm@8.3.1")
call("npm install -g pnpm@9.5.0")
call("npm install -g autorest")
call("npm install -g @typespec/compiler")

Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "pnpm@8.13.1",
"packageManager": "pnpm@9.5.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"watch": "tsc --build ./tsconfig.ws.json --watch",
Expand All @@ -19,10 +19,6 @@
"fix-version-mismatch": "syncpack fix-mismatches",
"change": "chronus"
},
"engines": {
"node": ">=16.0.0",
"pnpm": ">=7.5.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/autorest.python.git"
Expand Down
Loading

0 comments on commit f276ded

Please sign in to comment.