Skip to content

rjoydip-zz/monorepo-starter

Repository files navigation

monorepo-starter

Build Status Build status lerna code style: prettier License PRs Welcome

Javascript monorepo project starter.

Features

Requirements

Install

$ git clone https://github.com/rjoydip/monorepo-starter.git
$ cd monorepo-starter
$ npm install

Structure

Inside monorepo.

monorepo-starter
└── packages
    ├── cli       # Project CLI
    └── core      # Core modules

Scripts

Existing npm scripts.

  • add Add a dependency to matched packages
  • boot Link local packages together and install remaining package dependencies
  • lerna:test
  • clean Remove the node_modules directory from all packages
  • ls List local packages
  • link Symlink together all packages that are dependencies of each other
  • global Install monorepo-starter CLI globally in local machine
  • cleanup Remove the node_modules directory from all packages and re-install them
  • test Used Jest Run an npm script in each package that contains that script
  • lint Used prettier and eslint for linting utility

CLI

$ npm run global
$ monorepo-starter
Welcome to lerna javascript monorepo project starter

License

MIT © Joydip Roy

Releases

No releases published

Packages

No packages published