Replies: 2 comments
-
This works: I do agree it would be nice to assume from the catalog, though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@alii That's great! It's better than nothing! What would be nice is if you got a prompt saying "Hey, I see this pkg is defined in the catalog(s), would you like to use the version from there?" Or something. Thanks for quick reply! 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I can't find any info on this but if, in a monorepo,
catalogs
are used, thenadd
should pick up if the target package is already in the root catalog and add that, or at least there should be a flag that allows checking for the root catalog (possibly even selecting it if there are multiple versions across different catalogs).Right now, one must manually go into the local package.json and add the dependency with "catalog:" etc.
Beta Was this translation helpful? Give feedback.
All reactions