How to run something like pnpm install --recursive <monorepo-package>
#8682
-
I have a monorepo where one of the packages is My current dockerfile is something like: COPY . .
RUN pnpm install Is there a way to just install the dependencies for the I tried |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Also, you can read more about filtering here in the docs. The selector syntax is actually quite powerful. |
Beta Was this translation helpful? Give feedback.
pnpm --filter server... install
might be what you're looking for. Just append an ellipsis (...
) to the package name.Also, you can read more about filtering here in the docs. The selector syntax is actually quite powerful.