Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: install npm PowerShell scripts on Windows #52009

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

lukekarrys
Copy link
Member

npm 9.8.0 added PowerShell scripts that should be installed alongside the cmd and shell scripts on Windows.

All current versions of Node.js ship with npm@10 so this change should be safe to land.

I am not well versed in Windows development so I am not sure how this change should tested, and would like pointers on how to best to that.

I also want to add that there have been requests on the npm repo that PowerShell be made the default (npm/cli#6789). From my understanding, that is up to a user configuration but will now be possible by including these files. I plan to close that issue if this is merged unless there is follow-up work to somehow change the default which I think would need a different discussion.

Closes: #48471
Ref: npm/cli#6548

npm 9.8.0 added PowerShell scripts that should be installed alongside
the cmd and shell scripts on Windows.

Fixes: #48471
Refs: npm/cli#6548
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. install Issues and PRs related to the installers. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. windows Issues and PRs related to the Windows platform. labels Mar 7, 2024
@lpinca
Copy link
Member

lpinca commented Mar 8, 2024

@nodejs/platform-windows

@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 10, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 10, 2024
@nodejs-github-bot
Copy link
Collaborator

@StefanStojanovic
Copy link
Contributor

Hey @lukekarrys I worked on the Node.js MSI installer some time ago. I'll check this PR once I get some free cycles. I'll share my findings afterward.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Copy link
Contributor

@StefanStojanovic StefanStojanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukekarrys I've tried the installer locally. I've tried all the regular installation stuff - install, change, repair, etc. All cases worked as expected.

For me, this looks good, and thanks for adding it!

@nodejs-github-bot
Copy link
Collaborator

@lpinca lpinca added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 27, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 27, 2024
@nodejs-github-bot nodejs-github-bot merged commit 4d86020 into main Mar 27, 2024
67 checks passed
@nodejs-github-bot nodejs-github-bot deleted the npm-install-ps1-files branch March 27, 2024 20:39
@nodejs-github-bot
Copy link
Collaborator

Landed in 4d86020

@richardlau richardlau added lts-watch-v18.x PRs that may need to be released in v18.x. lts-watch-v20.x PRs that may need to be released in v20.x labels Mar 27, 2024
@targos targos added the baking-for-lts PRs that need to wait before landing in a LTS release. label Apr 25, 2024
@targos
Copy link
Member

targos commented Apr 25, 2024

Added baking-for-lts PRs that need to wait before landing in a LTS release. because of #52682

marco-ippolito pushed a commit that referenced this pull request May 2, 2024
npm 9.8.0 added PowerShell scripts that should be installed alongside
the cmd and shell scripts on Windows.

Fixes: #48471
Refs: npm/cli#6548
PR-URL: #52009
Reviewed-By: Luigi Pinca <[email protected]>
marco-ippolito pushed a commit that referenced this pull request May 3, 2024
npm 9.8.0 added PowerShell scripts that should be installed alongside
the cmd and shell scripts on Windows.

Fixes: #48471
Refs: npm/cli#6548
PR-URL: #52009
Reviewed-By: Luigi Pinca <[email protected]>
@aduh95 aduh95 added dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. and removed baking-for-lts PRs that need to wait before landing in a LTS release. lts-watch-v18.x PRs that may need to be released in v18.x. lts-watch-v20.x PRs that may need to be released in v20.x labels Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. dont-land-on-v18.x PRs that should not land on the v18.x-staging branch and should not be released in v18.x. install Issues and PRs related to the installers. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows - UNC Path Support via npm.ps1
7 participants