Pass args into lerna exec command
问题 Goal I have yarn test , which is actually composed of two subcommands yarn test:root && yarn test:packages . Both run jest (but packages does it indirectly using lerna exec). I want to be able to type yarn test -t=Pattern from the terminal and have both sub-commands append -t=Pattern to the end. lerna exec -- "yarn test" doesnt seem to have a way to do this. Background I have a monorepo, that uses lerna exec to run yarn test on each lerna package. Given: "test": "yarn run test:packages $@ &&