Prune command: add option for all packages as scopes #10267
nightknighto
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
turbo prune
command doesn't have an option to specify all packages.Non-goals
No response
Background
I have a monorepo with turborepo. I am trying to make a dockerized workflow of testing all the packages. Each package has
npm test
, and I run all tests from the root. In the Dockerfile, I want to copy all package.json files of all the monorepo into the image, npm install, then copy the rest of the project.turbo prune
command is great with the--docker
flag, however it forces to specify a scope. I need all packages, so I am forced to write the names of all packages in the command. I would love a way for it to automatically do it for all packages.Proposal
Any of these works:
1- Add a special value for scope:
all
,.
2- Add a flag:
--all
These should be equivalent to specifying all packages as context.
Beta Was this translation helpful? Give feedback.
All reactions