-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- I'd be willing to implement this feature (contributing guide)
- This feature is important to have in this repository; a contrib plugin wouldn't do
Describe the user story
I have Docker image with my Node.js app. For performance and security reasons, I need:
- Install only
dependencies
, notdevDependnecies
. - Do not run scripts like
install
I found that I can use yarn workspaces focus --production
to install production
dependencies, but yarn workspaces focus
have no support for --mode=skip-build
.
Describe the solution you'd like
yarn workspaces focus --production --mode=skip-build
Describe the drawbacks of your solution
Do not see from my area of expertise.
Describe alternatives you've considered
My current solution is:
RUN yarn plugin import workspace-tools
RUN yarn install --mode=skip-build --immutable
RUN yarn workspaces focus --production
But it is slow.
leshkovichpvl, magnattic, hspak, sod, mario-jerkovic and 3 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request