jig

Installation

Documentation · Project home

Requirements

Run commands from the target repository’s root. Configure your Git identity for automatic merges. A repository signing setup is needed only when you opt into commitSigning: "repo".

From npm

Install @ygrishajev/jig from the public npm registry. No registry mapping or npm credentials are needed to install it.

Global installation

npm install --global @ygrishajev/jig
jig --help

Run jig init and jig run ../request.md from the target repository’s root.

Development dependency

Install in the target repository:

npm install --save-dev @ygrishajev/jig
npx jig --help

Use npx jig init and npx jig run ../request.md from that repository. npm scripts can invoke jig directly because npm adds local dependency binaries to PATH.

From source

git clone https://github.com/ygrishajev/jig.git
cd jig
npm ci
npm run install:local
jig --help

install:local builds, packs, and installs the package globally. You can also build with npm run build and invoke node /path/to/jig/dist/composition/main.js from the target repository. Contributor setup, including Git hooks, is in Contributing.

Continue with the quickstart.

See GitHub command setup for issue and PR access.