Jujulego / jill

Zero-config monorepo cli
MIT License
3 stars 1 forks source link
cli monorepo tasks

@jujulego/jill

Version Licence Language Quality Gate Status Coverage

Zero-config monorepo cli

Description

Jill uses the workspaces attribute of your root package.json manifest to build your workspaces dependency tree. That done it can offer you various utilities:

It supports both npm and yarn.

Hook scripts

Jill will run hook script like npm do, for both npm and yarn. As npm, when you type jill run test, it will first run pretest if it exists, then test and finally posttest.

This feature can be disabled using the --no-hooks option: jill run --no-hooks test.

Task expression syntax

Allows to instruct multiple tasks with the given orchestration. The orchestration is given by the following operators:

Examples:

Installation

Just install jill as a dev dependency:

npm install --save-dev @jujulego/jill

Or if you're using yarn

yarn add --dev @jujulego/jill

Configuration

Almost nothing ;)

To work, jill only needs the workspaces attribute (see npm workspaces or yarn workspace).

To build a workspaces, jill will try to run it's build script. If no build script is found, jill will just warn and continue.