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
Catalogs Tracking Issue #7072
Comments
A question from someone who has not contributed to pnpm in the past and is very excited for this feature How would I go about contributing to this, if I can? |
Hey @JasonMan34, thanks for the offer to help! I'm focusing on this more extensively over the next few days. I'll give a heads up here if there are any tasks that could use assistance.
Would you want to help code review? Extra eyes always helps code quality. |
Sure absolutely, glad to help any way I can :) |
Very excited to see progress on this feature! Maintaining version consistency across a monorepo is a painful chore. |
This is indeed the main reason why I migrated accounts.js to yarn v4. The integrated |
anywhere to see the progress on this or any UFG issues, excited to see this and hope it can land soon! |
for anyone watching this, I happened to make a similar utility before learning about catalogs: https://github.com/NullVoxPopuli/defrag difference tho is that you don't change anything about your package.json entries. |
If this is the case, it would be best to ship it before v9 is out. |
This is a tracking issue for the implementation of RFC: Catalogs — Shareable dependency version specifiers. All pull requests and commits related to the initial implementation of this feature will reference this issue number.
Tasks
catalog:
andcatalog:default
specifiers.catalog:<name>
specifiers.pnpm add
command should addcatalog:
specifiers if possible.pnpm update
command should be able to update dependencies specified through catalogs. This will likely require updatingpnpm-workspace.yaml
.There will likely need to be alockfileVersion
increase in thepnpm-lock.yaml
file.Improvements
These would be good to have, but not required.
pnpm-workspace.yaml
. We don't do this forpackage.yaml
either, but hopefully we can carry over whatever solution lands there.Tests
pnpm-workspace.yaml
causes the lock file to not be up to date.Rollout
pnpm catalog migrate
command or an externalpnpm dlx @pnpm/catalog-migrate
command.The text was updated successfully, but these errors were encountered: