Skip to content
Discussion options

You must be logged in to vote

You can install dependencies using pnpm add with --filter

e.g. to add url-join to the web app and api package:

pnpm --filter=web --filter=@repo/api add url-join

If you want to move the version to a shared catalog (this is optional, sometimes you want to lock versions to specific apps/packages instead of sharing them), there does exist a codemod for it:

pnpx codemod pnpm/catalog

Replies: 1 comment 1 reply

Comment options

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

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