Skip to content

opinionated scaffolder for adding a JavaScript package to an existing monorepo

License

Notifications You must be signed in to change notification settings

form8ion/add-package-to-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-package-to-monorepo

opinionated scaffolder for adding a JavaScript package to an existing monorepo

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Usage

MIT license npm Try @form8ion/add-package-to-monorepo on RunKit node

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

PRs Welcome Conventional Commits Commitizen friendly semantic-release Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test

About

opinionated scaffolder for adding a JavaScript package to an existing monorepo

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •