Skip to content

Commit df71f83

Browse files
KarishmaGhiyaCopilotjeremymeng
authored
update parser version and the path (Azure#37284)
- Parser version update from 2.0.9 to 2.0.10 - Path update from `dist/` to `dist/src/` --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jeremy Meng <jeremy.ymeng@gmail.com>
1 parent 042c3fe commit df71f83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/scripts/Generate-APIView-CodeFile.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (!(Test-Path -Path $ArtifactPath))
1212
}
1313

1414

15-
$apiviewParser = "@azure-tools/ts-genapi@2.0.5"
15+
$apiviewParser = "@azure-tools/ts-genapi@2.0.10"
1616
Write-Host "Installing $($apiviewParser)"
1717
npm install $apiviewParser --registry $NpmDevopsFeedRegistry
1818
$installedPath = npm ls @azure-tools/ts-genapi -p
@@ -34,5 +34,5 @@ foreach ($apiPkgFile in $apiFiles)
3434
$OutFileName = "$($FileName.split('_')[0])_js.json"
3535
$OutFilePath = Join-Path -Path $OutDirectory $OutFileName
3636
Write-Host "Converting api-extractor file $($apiFilePath) to APIview code file $($OutFilePath)"
37-
node ./dist/export.js $apiFilePath $OutFilePath
37+
node ./dist/src/export.js $apiFilePath $OutFilePath
3838
}

0 commit comments

Comments
 (0)