monowork v0.0.1
monowork
A friendly yarn workspaces helper.
# install with npm
npm i -g monowork
# or with yarn
yarn add global monoworkUsage
create
Scaffolds a basic package setup at packages/<name> and then refreshes your monorepo root's package.json
to include the scripts from your new package.
If monowork.organizationName is provided in your monorepo root's package.json, then the name of your
new package's package.json becomes <organizationName>/<name>.
monowork create <name>refresh
Updates the monorepo root's package.json with scripts found from all monorepo packages. This is
useful for when you update a script in one of your packages and want to easily use it without
cd package/my-package first.
monowork refresh
--help
Gives you basic usage instructions.
monowork --helpConfiguration
Although monowork requires no configuration, it does allow you to provide a few options
to customize your usage. Options are specified in your monorepo's root package.json under
the "monowork" property.
// ./package.json
{
"monowork": {
"organizationName": "@foxy-shaman"
}
}