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

Moves named catalog deps to unnamed #7

Open
scamden opened this issue Feb 1, 2025 · 0 comments
Open

Moves named catalog deps to unnamed #7

scamden opened this issue Feb 1, 2025 · 0 comments

Comments

@scamden
Copy link

scamden commented Feb 1, 2025

make a dep with a named catalog
some package
"graphql": "catalog:graphql15",

with

catalogs:
  graphql15:
    graphql: ^15.3.0

run pnpx codemod pnpm/catalog

becomes

"graphql": "catalog:",

expected: should leave the named catalog

(Seems like this only reproduces if the named catalog comes after the default one in pnpm-worspace.yaml)

(It's also notable that I had one package referencing graphql not in a catalog and one referencing the named one)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant