@form8ion/add-package-to-monorepo
v12.0.2
Published
opinionated scaffolder for adding a JavaScript package to an existing monorepo
Downloads
1,436
Readme
add-package-to-monorepo
opinionated scaffolder for adding a JavaScript package to an existing monorepo
Table of Contents
Usage
Installation
$ npm install @form8ion/add-package-to-monorepo --save-prod
Example
Import
import yargs from 'yargs';
import {hideBin} from 'yargs/helpers';
import {scaffold} from '@form8ion/add-package-to-monorepo';
Register with yargs
yargs(hideBin(process.argv))
.scriptName('form8ion-utils')
.usage('Usage: $0 <cmd> [args]')
.command('add-package', 'Add a JavaScript package to an existing monorepo', () => scaffold({
decisions: {},
overrides: {copyrightHolder: 'Foo Bar'}
}))
.help('h')
.alias('h', 'help')
.argv;
Contributing
Dependencies
$ nvm install
$ npm install
Verification
$ npm test