Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pnpmPublic

feat: add npm version management for publish command#10092

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
ryo-manba wants to merge10 commits intopnpm:main
base:main
Choose a base branch
Loading
fromryo-manba:feat/npm-version-management

Conversation

@ryo-manba
Copy link
Member

@ryo-manbaryo-manba commentedOct 14, 2025
edited
Loading

Fixes#9812 (comment)

Added support for specifying npm version inpnpm-workspace.yaml to enable features like OIDC publishing that require specific npm versions.

# pnpm-workspace.yamlnpmVersion:"10.2.3"

When running pnpm publish, the specified npm version is automatically downloaded, cached to$PNPM_HOME/.tools/npm/{version}/, and used for publishing.

lishaduck reacted with rocket emoji
@ryo-manbaryo-manba marked this pull request as ready for reviewOctober 17, 2025 00:01
Copy link
Member

@zkochanzkochan left a comment

Choose a reason for hiding this comment

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

We probably need to use the devEngines.packageManager field for this. But then pnpm will fail to run because it will tell that another package manager should be used... We could probably have an array of package managers. So, both pnpm and npm.

ryo-manba reacted with thumbs up emoji
@ryo-manba
Copy link
MemberAuthor

Sounds good, that approach should also fix#9924.
I'll give it a try.

louis-bompart added a commit to coveo/ui-kit that referenced this pull requestOct 29, 2025
@ryo-manbaryo-manba marked this pull request as draftNovember 17, 2025 16:01
}

manifest[dependenciesFieldName]??={}
manifest[dependenciesFieldName]![packageManagerName]=`packageManager:${versionToUse}`

Check warning

Code scanning / CodeQL

Prototype-polluting assignment Medium

This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
Loading
.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@zkochanzkochanzkochan requested changes

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support OIDC publishing ("trusted publishing")

2 participants

@ryo-manba@zkochan

[8]ページ先頭

©2009-2025 Movatter.jp