Skip to content

Moves named catalog deps to unnamed #7

@scamden

Description

@scamden

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions