Skip to content

Commit

Permalink
Set packages to latest/next
Browse files Browse the repository at this point in the history
- Update typespec-ci.yml to ignore lockfile
  • Loading branch information
mikeharder committed Jun 20, 2023
1 parent eae8ca2 commit a576f5a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
11 changes: 9 additions & 2 deletions eng/pipelines/typespec-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,20 @@ jobs:
vmImage: ubuntu-22.04

steps:
- script: npm ci
displayName: npm ci
# Remove lockfile to update all packages to latest "next" version
- script: rm package-lock.json
displayName: rm package-lock.json

- script: npm install
displayName: npm install

- script: npm ls -a
displayName: npm ls -a
condition: succeededOrFailed()

- script: git restore package-lock.json
displayName: Revert package-lock.json

- template: templates/steps/typespec-ci.yml
parameters:
Folder: specification/contosowidgetmanager/Contoso.WidgetManager
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
"@azure-tools/cadl-azure-core": "0.26.0",
"@azure-tools/cadl-azure-resource-manager": "0.26.0",
"@azure-tools/cadl-providerhub": "0.26.0",
"@azure-tools/typespec-apiview": "0.4.4",
"@azure-tools/typespec-autorest": "0.31.0",
"@azure-tools/typespec-azure-core": "0.31.0",
"@azure-tools/typespec-azure-resource-manager": "0.31.0",
"@azure-tools/typespec-client-generator-core": "0.31.0",
"@azure-tools/typespec-providerhub": "0.31.0",
"@typespec/compiler": "0.45.2",
"@typespec/http": "0.45.0",
"@typespec/openapi": "0.45.0",
"@typespec/rest": "0.45.0",
"@typespec/versioning": "0.45.0",
"@azure-tools/typespec-autorest": "next",
"@azure-tools/typespec-azure-core": "next",
"@azure-tools/typespec-azure-resource-manager": "next",
"@azure-tools/typespec-client-generator-core": "next",
"@azure-tools/typespec-providerhub": "next",
"@typespec/compiler": "next",
"@typespec/http": "next",
"@typespec/openapi": "next",
"@typespec/rest": "next",
"@typespec/versioning": "next",
"@typespec/lint": "next",
"@azure/avocado": "^0.8.4",
"@types/prettier": "^2.7.2",
"prettier": "^2.8.8",
Expand Down

0 comments on commit a576f5a

Please sign in to comment.