Skip to content

Commit

Permalink
Update deps and pipelines to "next"
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder committed Aug 9, 2023
1 parent 2735b62 commit 9d5a96e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 15 deletions.
15 changes: 13 additions & 2 deletions eng/pipelines/typespec-validation-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,24 @@ jobs:
vmImage: $(OSVmImage)

steps:
- script: npm ci
displayName: npm ci
- script: git merge origin/main
displayName: git merge origin/main

# 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
condition: succeededOrFailed()

- pwsh: |
$(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 $(Build.SourcesDirectory) -GitClean
displayName: Validate All Specs
Expand Down
15 changes: 13 additions & 2 deletions eng/pipelines/typespec-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,24 @@ jobs:
vmImage: ubuntu-22.04

steps:
- script: npm ci
displayName: npm ci
- script: git merge origin/main
displayName: git merge origin/main

# 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
condition: succeededOrFailed()

- pwsh: |
$(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 `
$(Build.SourcesDirectory) `
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.4",
"@azure-tools/typespec-autorest": "0.33.0",
"@azure-tools/typespec-azure-core": "0.33.0",
"@azure-tools/typespec-azure-resource-manager": "0.33.0",
"@azure-tools/typespec-client-generator-core": "0.33.0",
"@azure-tools/typespec-providerhub": "0.33.0",
"@typespec/compiler": "0.47.0",
"@typespec/http": "0.47.0",
"@typespec/openapi": "0.47.0",
"@typespec/rest": "0.47.0",
"@typespec/versioning": "0.47.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/lint": "next",
"@typespec/openapi": "next",
"@typespec/rest": "next",
"@typespec/versioning": "next",
"@azure/avocado": "^0.8.4",
"@types/prettier": "^2.7.2",
"azure-rest-api-specs-eng-tools": "file:eng/tools",
Expand Down

0 comments on commit 9d5a96e

Please sign in to comment.