Skip to content

Commit

Permalink
Update JS api parser dependency (#5278)
Browse files Browse the repository at this point in the history
* Update JS api parser dependency
  • Loading branch information
praveenkuttappan authored Jan 31, 2023
1 parent a490f0c commit 4d506e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 1 addition & 5 deletions src/dotnet/APIView/apiview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variables:
PythonVersion: '3.10.9'
WebClientProjectDirectory: 'src/dotnet/APIView/APIViewWeb/Client'
WebProjectPath: 'src/dotnet/APIView/APIViewWeb/APIViewWeb.csproj'
NodeVersion: '12.x'
NodeVersion: '18.x'
BuildConfiguration: 'Release'
TypeScriptGeneratorDirectory: 'tools/apiview/parsers/js-api-parser'
GoParserPackagePath: 'src/go'
Expand Down Expand Up @@ -65,10 +65,6 @@ stages:
version: '$(GoVersion)'
displayName: "Use Go $(GoVersion)"

- script: |
npm install -g [email protected]
displayName: "Install npm 6.14.6"
- script: |
npm install
workingDirectory: $(WebClientProjectDirectory)
Expand Down
8 changes: 4 additions & 4 deletions tools/apiview/parsers/js-api-parser/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trigger:
- hotfix/*
paths:
include:
- tools/apiview/parsers/js-api-parserts-genapi
- tools/apiview/parsers/js-api-parser

pr:
branches:
Expand All @@ -19,11 +19,11 @@ pr:
- hotfix/*
paths:
include:
- tools/apiview/parsers/js-api-parserts-genapi
- tools/apiview/parsers/js-api-parser

variables:
NodeVersion: '16.x'
TypeScriptGeneratorDirectory: 'tools/apiview/parsers/js-api-parserts-genapi'
NodeVersion: '18.x'
TypeScriptGeneratorDirectory: 'tools/apiview/parsers/js-api-parser'
ArtifactName: 'apiview'
FeedRegistry: 'https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/'

Expand Down
5 changes: 3 additions & 2 deletions tools/apiview/parsers/js-api-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"js-tokens": "^6.0.0"
},
"devDependencies": {
"ts-node": "^8.10.2",
"typescript": "^3.9.7"
"@types/node": "^14.0.0",
"ts-node": "^10.0.0",
"typescript": "~4.8.0"
},
"scripts": {
"build": "tsc -p ."
Expand Down

0 comments on commit 4d506e0

Please sign in to comment.