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 Jul 17, 2024
1 parent c02b366 commit d130fd4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 18 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
26 changes: 12 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/typespec-apiview": "0.4.9",
"@azure-tools/typespec-autorest": "0.44.0",
"@azure-tools/typespec-azure-core": "0.44.0",
"@azure-tools/typespec-azure-portal-core": "0.44.0",
"@azure-tools/typespec-azure-resource-manager": "0.44.0",
"@azure-tools/typespec-azure-rulesets": "0.44.0",
"@azure-tools/typespec-client-generator-cli": "0.9.3",
"@azure-tools/typespec-client-generator-core": "0.44.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.58.1",
"@typespec/http": "0.58.0",
"@typespec/openapi": "0.58.0",
"@typespec/openapi3": "0.58.0",
"@typespec/rest": "0.58.0",
"@typespec/versioning": "0.58.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 d130fd4

Please sign in to comment.