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

fix(catalogs): preserve existing semver ranges when adding packages with--save-catalog#9762

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 merge1 commit intopnpm:main
base:main
Choose a base branch
Loading
fromryo-manba:fix-catalog-semver-preservation

Conversation

ryo-manba
Copy link

When adding a package with--save-catalog to multiple projects in a workspace, the existing catalog entry's semver range (e.g.,^1.0.1) was being replaced with a fixed version (e.g.,1.0.1).

This fix checks for existing catalog entries before updating them.

Fixes#9759

…ith --save-catalogWhen adding a package with `--save-catalog` to multiple projects in a workspace,the existing catalog entry's semver range (e.g., `^1.0.1`) was being replacedwith a fixed version (e.g., `1.0.1`).This fix checks for existing catalog entries before updating them, ensuring thatcatalog entries maintain their version flexibility across all projects in theworkspace.Fixespnpm#9759
@welcomeWelcome
Copy link

welcomebot commentedJul 15, 2025

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

@ryo-manbaryo-manba marked this pull request as draftJuly 16, 2025 12:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@zkochanzkochanAwaiting requested review from zkochanzkochan is a code owner

At least 1 approving review is required 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.

pnpm add replaces semver range of catalog dependency with fixed version when installed in multiple projects
1 participant
@ryo-manba

[8]ページ先頭

©2009-2025 Movatter.jp