/lerna-starter

Starter project for a Lerna/TypeScript monorepo.

Primary LanguageTypeScriptMIT LicenseMIT

lerna-starter

Travis Build Status codecov Commitizen friendly code style: prettier types: TypeScript lerna

Starter project for a Lerna/TypeScript monorepo.

Features

Installation

This project is setup as a GitHub repository template, but really is designed to use Pollinate to generate a new project directly from GitHub using a simple schema.

$ npx pollinate https://github.com/jedmao/lerna-starter.git [options]

Options

All options are optional. Imagine that!

Refer to Pollinate docs for the various ways in which you can provide options.

author

Use the Name <email> (url) format, where email and url are optional. This is for the author field in package.json.

name

Typically the name of the monorepo project, but falls back to the org if not provided.

See org/name resolution for more information.

org

If provided, must match a GitHub organization or username to which you have access. If not provided, it falls back to the name.

See org/name resolution for more information.

description

Included in your core package.json and README.md.

org/name resolution

Though optional, you must provide at least one of the following options: org, name. They will be used in tandem to construct your GitHub path and npm package name.

GitHub path

  • /{{ org or name }}/{{ name or org }}

npm package name

  • @{{ name or org }}/core

This README will self destruct 💣

The moment you pollinate. 🌺🐝