Closed mikecann closed 6 years ago
Hi @mikecann, Thanks for the issue. I think this is a great little helper method and I'd be happy to accept a pull request to add it :)
Thanks!
Hi Kent,
Id love to do a PR, not exactly sure when im going to find time, but ill try :)
Hey guys.
Firstly thanks for all the hard work, this is a great tool.
I thought you or others might find this helpful when dealing with multi-package situations (think lerna or yarn workspaces) which are becoming more and more popular these days.
In your root package-scripts.js:
This then makes all your sub-package scripts available at the top level.
So now you can just type
yarn start client.build
oryarn start server.test
without having to cd in there first.Obviously this assumes that you are running nps on all your sub-packages too.
Probably this could be vastly improved to: