From 66f46bdf9113e159bb4227db0deea95700d9a86c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 11 Oct 2023 13:46:05 -0700 Subject: [PATCH] Use url version spec for autorest.* packages (#2654) Co-authored-by: Patrick Hallisey --- eng/common/scripts/TypeSpec-Project-Generate.ps1 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/eng/common/scripts/TypeSpec-Project-Generate.ps1 b/eng/common/scripts/TypeSpec-Project-Generate.ps1 index 05a0e0bdfd..9f2c2804db 100644 --- a/eng/common/scripts/TypeSpec-Project-Generate.ps1 +++ b/eng/common/scripts/TypeSpec-Project-Generate.ps1 @@ -53,13 +53,6 @@ function NpmInstallForProject([string]$workingDirectory) { Copy-Item -Path $emitterPackageLock -Destination "package-lock.json" -Force } - $useAlphaNpmRegistry = (Get-Content $replacementPackageJson -Raw).Contains("-alpha.") - - if($useAlphaNpmRegistry) { - Write-Host "Package.json contains '-alpha.' in the version, Creating .npmrc using public/azure-sdk-for-js-test-autorest feed." - "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' - } - if ($usingLockFile) { Invoke-LoggedCommand "npm ci" }