mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
Revert "tools: install npm PowerShell scripts on Windows"
This reverts commit c39f15cafd.
PR-URL: https://github.com/nodejs/node/pull/52897
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
1 parent
ff1f55ad5e
commit
b7d80802cc
2 files changed
-14
No files matched your search
@@ -88,10 +88,8 @@
|
||||
Description="!(loc.npm_Description)">
|
||||
<ComponentRef Id="NpmCmdScript"/>
|
||||
<ComponentRef Id="NpmBashScript"/>
|
||||
<ComponentRef Id="NpmPowerShellScript"/>
|
||||
<ComponentRef Id="NpxCmdScript"/>
|
||||
<ComponentRef Id="NpxBashScript"/>
|
||||
<ComponentRef Id="NpxPowerShellScript"/>
|
||||
<ComponentRef Id="NpmConfigurationFile"/>
|
||||
<ComponentRef Id="SetInstallDirPermission" />
|
||||
<ComponentGroupRef Id="NpmSourceFiles"/>
|
||||
@@ -226,10 +224,6 @@
|
||||
<File Id="npm.sh" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npm"/>
|
||||
</Component>
|
||||
|
||||
<Component Id="NpmPowerShellScript">
|
||||
<File Id="npm.ps1" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npm.ps1"/>
|
||||
</Component>
|
||||
|
||||
<Component Id="NpxCmdScript">
|
||||
<File Id="npx.cmd" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npx.cmd"/>
|
||||
</Component>
|
||||
@@ -238,10 +232,6 @@
|
||||
<File Id="npx.sh" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npx"/>
|
||||
</Component>
|
||||
|
||||
<Component Id="NpxPowerShellScript">
|
||||
<File Id="npx.ps1" KeyPath="yes" Source="$(var.NpmSourceDir)\bin\npx.ps1"/>
|
||||
</Component>
|
||||
|
||||
<Directory Id="NodeModulesFolder" Name="node_modules">
|
||||
<Directory Id="NpmFolder" Name="npm">
|
||||
<Component Id="NpmConfigurationFile">
|
||||
|
||||
@@ -435,10 +435,6 @@ if not defined nonpm (
|
||||
if errorlevel 1 echo Cannot copy npx && goto package_error
|
||||
copy /Y ..\deps\npm\bin\npx.cmd %TARGET_NAME%\ > nul
|
||||
if errorlevel 1 echo Cannot copy npx.cmd && goto package_error
|
||||
copy /Y ..\deps\npm\bin\npm.ps1 %TARGET_NAME%\ > nul
|
||||
if errorlevel 1 echo Cannot copy npm.ps1 && goto package_error
|
||||
copy /Y ..\deps\npm\bin\npx.ps1 %TARGET_NAME%\ > nul
|
||||
if errorlevel 1 echo Cannot copy npx.ps1 && goto package_error
|
||||
)
|
||||
|
||||
if not defined nocorepack (
|
||||
|
||||
Reference in new issue
Block a user