Skip to content

Add 'rush-pnpm up' support for catalogs#5585

Open
benkeen wants to merge 1 commit intomicrosoft:mainfrom
benkeen:main
Open

Add 'rush-pnpm up' support for catalogs#5585
benkeen wants to merge 1 commit intomicrosoft:mainfrom
benkeen:main

Conversation

@benkeen
Copy link
Contributor

@benkeen benkeen commented Jan 31, 2026

Addresses: #5578

Right now, when you update packages in a Rush/pnpm repo using rush-pnpm up, it updates the catalog entries in common/temp/pnpm-workspace.yaml, but doesn't update Rush's actual catalog, stored in pnpm-config.json, so the update command doesn't fully work. This has been supported since pnpm@10.12.0. This PR enhances it to update the pnpm-config file too.

I also updated it to fix a small issue where JsonFile.save could throw an error due to an undefined $schema property.

Besides the tests, I've ran manual checks with our own Rush repo to confirm the catalog is getting updated properly.

@benkeen
Copy link
Contributor Author

benkeen commented Feb 5, 2026

Howdy @iclanton, @dmichon-msft - don't suppose either of you have context or time to look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

1 participant