Skip to content

Commit b7d8080

Browse files
Revert "tools: install npm PowerShell scripts on Windows"
This reverts commit c39f15c. PR-URL: #52897 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent ff1f55a commit b7d8080

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

tools/msvs/msi/nodemsi/product.wxs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@
8888
Description="!(loc.npm_Description)">
8989
<ComponentRef Id="NpmCmdScript"/>
9090
<ComponentRef Id="NpmBashScript"/>
91-
<ComponentRef Id="NpmPowerShellScript"/>
9291
<ComponentRef Id="NpxCmdScript"/>
9392
<ComponentRef Id="NpxBashScript"/>
94-
<ComponentRef Id="NpxPowerShellScript"/>
9593
<ComponentRef Id="NpmConfigurationFile"/>
9694
<ComponentRef Id="SetInstallDirPermission" />
9795
<ComponentGroupRef Id="NpmSourceFiles"/>
@@ -226,10 +224,6 @@
226224
<File Id="npm.sh" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npm"/>
227225
</Component>
228226

229-
<Component Id="NpmPowerShellScript">
230-
<File Id="npm.ps1" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npm.ps1"/>
231-
</Component>
232-
233227
<Component Id="NpxCmdScript">
234228
<File Id="npx.cmd" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npx.cmd"/>
235229
</Component>
@@ -238,10 +232,6 @@
238232
<File Id="npx.sh" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npx"/>
239233
</Component>
240234

241-
<Component Id="NpxPowerShellScript">
242-
<File Id="npx.ps1" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npx.ps1"/>
243-
</Component>
244-
245235
<Directory Id="NodeModulesFolder" Name="node_modules">
246236
<Directory Id="NpmFolder" Name="npm">
247237
<Component Id="NpmConfigurationFile">

vcbuild.bat

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,10 +435,6 @@ if not defined nonpm (
435435
if errorlevel 1 echo Cannot copy npx && goto package_error
436436
copy /Y ..\deps\npm\bin\npx.cmd %TARGET_NAME%\ > nul
437437
if errorlevel 1 echo Cannot copy npx.cmd && goto package_error
438-
copy /Y ..\deps\npm\bin\npm.ps1 %TARGET_NAME%\ > nul
439-
if errorlevel 1 echo Cannot copy npm.ps1 && goto package_error
440-
copy /Y ..\deps\npm\bin\npx.ps1 %TARGET_NAME%\ > nul
441-
if errorlevel 1 echo Cannot copy npx.ps1 && goto package_error
442438
)
443439

444440
if not defined nocorepack (

0 commit comments

Comments
 (0)