Skip to content

Commit

Permalink
Update packagejson and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeharder authored and timotheeguerin committed Aug 8, 2024
1 parent 27a9398 commit 775d38d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_reusable-eng-tools-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}.x

- run: npm ci
- run: npm install --no-package-lock
shell: pwsh

- run: npm ls -a
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/npm-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ steps:
- script: npm --version --loglevel info
displayName: npm --version

- script: npm ci
displayName: npm ci
- script: npm install --no-package-lock
displayName: npm install --no-package-lock

- script: npm ls -a
displayName: npm ls -a
Expand Down
3 changes: 3 additions & 0 deletions eng/pipelines/typespec-validation-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
vmImage: $(OSVmImage)

steps:
- script: git -c user.name="azure-sdk" -c user.email="[email protected]" merge -Xours origin/main
displayName: git merge origin/main

- template: /eng/pipelines/templates/steps/npm-install.yml

- pwsh: |
Expand Down
5 changes: 4 additions & 1 deletion eng/pipelines/typespec-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ jobs:
vmImage: ubuntu-22.04

steps:
- script: git -c user.name="azure-sdk" -c user.email="[email protected]" merge -Xours origin/main
displayName: git merge origin/main

- template: /eng/pipelines/templates/steps/npm-install.yml

- pwsh: |
$(Build.SourcesDirectory)/eng/scripts/TypeSpec-Validation.ps1 -GitClean -Verbose
$(Build.SourcesDirectory)/eng/scripts/TypeSpec-Validation.ps1 -GitClean -BaseCommitish HEAD~2 -Verbose
displayName: Validate Impacted Specs
ignoreLASTEXITCODE: true
27 changes: 12 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.9",
"@azure-tools/typespec-autorest": "0.45.0",
"@azure-tools/typespec-azure-core": "0.45.0",
"@azure-tools/typespec-azure-portal-core": "0.45.0",
"@azure-tools/typespec-azure-resource-manager": "0.45.0",
"@azure-tools/typespec-azure-rulesets": "0.45.0",
"@azure-tools/typespec-client-generator-cli": "0.9.4",
"@azure-tools/typespec-client-generator-core": "0.45.0",
"@azure-tools/typespec-liftr-base": "0.4.0",
"@azure-tools/typespec-autorest": "next",
"@azure-tools/typespec-azure-core": "next",
"@azure-tools/typespec-azure-portal-core": "next",
"@azure-tools/typespec-azure-resource-manager": "next",
"@azure-tools/typespec-client-generator-core": "next",
"@azure-tools/typespec-azure-rulesets": "next",
"@azure/avocado": "^0.8.4",
"@typespec/compiler": "0.59.0",
"@typespec/http": "0.59.0",
"@typespec/openapi": "0.59.0",
"@typespec/openapi3": "0.59.0",
"@typespec/rest": "0.59.0",
"@typespec/versioning": "0.59.0",
"@typespec/compiler": "next",
"@typespec/http": "next",
"@typespec/openapi": "next",
"@typespec/openapi3": "next",
"@typespec/rest": "next",
"@typespec/versioning": "next",
"azure-rest-api-specs-eng-tools": "file:eng/tools",
"oav": "^3.3.7",
"prettier": "~3.2.5",
Expand Down

0 comments on commit 775d38d

Please sign in to comment.