yw-helper
v1.14.0
Published
A tool for quickly run scripts on yarn workspaces
Downloads
34
Readme
yw-helper
A tiny lib to make it easier to run commands on yarn workspaces
Install
npm install -g yw-helper
usage
Let's say you want to run the test
command inside a workspace named my-cool-workspace. You can run:
yw cool test
yw mcw test
mycool test
- Any other search term that matches your project name.
yw will find the closest match and will run the test script.
You can also run yw
and press enter to get a list of all your workspaces. Then, you can choose the correct one using autocomplete. After choosing a workspace, you will get a list of all the scripts inside the workspace. You can also choose run to run a custom script (something that is not in your list).
Example
https://github.com/Niryo/yw-helper/assets/8758348/dc597570-dc1e-4e88-b91e-495e02f624eb