Skip to content

Commit a93e9eb

Browse files
azure-sdkhallipr
andauthored
Use url version spec for autorest.* packages (Azure#37077)
Co-authored-by: Patrick Hallisey <[email protected]>
1 parent 544534f commit a93e9eb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

eng/common/scripts/TypeSpec-Project-Generate.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ function NpmInstallForProject([string]$workingDirectory) {
5353
Copy-Item -Path $emitterPackageLock -Destination "package-lock.json" -Force
5454
}
5555

56-
$useAlphaNpmRegistry = (Get-Content $replacementPackageJson -Raw).Contains("-alpha.")
57-
58-
if($useAlphaNpmRegistry) {
59-
Write-Host "Package.json contains '-alpha.' in the version, Creating .npmrc using public/azure-sdk-for-js-test-autorest feed."
60-
"registry=https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest@local/npm/registry/ `n`nalways-auth=true" | Out-File '.npmrc'
61-
}
62-
6356
if ($usingLockFile) {
6457
Invoke-LoggedCommand "npm ci"
6558
}

0 commit comments

Comments
 (0)