Skip to content

Questions about catalogs #8409

Answered by zkochan
mmellado asked this question in Q&A
Aug 12, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I get an error from PNPM saying my pnpm-worspace.yaml file has an indentation issue. This problem is resolved by removing the @ sign from the catalog declaration, but I'm unsure if this would still work since the name of the package is not listed under the same name in my package and my catalog.

You need to use quotes. E.g.:

catalog:
  "@myorg/react": ^18.3.1

I'm curious if catalogs will properly manage the version replacement of my packages when they are published.

It will: https://pnpm.io/catalogs#publishing

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@douglasg14b
Comment options

Answer selected by mmellado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants