2.8.0 • Published 2 years ago

@gb-lerna/cli v2.8.0

Weekly downloads
66
License
ISC
Repository
github
Last release
2 years ago

gb-lerna/cli

TypeScript latest

Create and maintain a Lerna monorepo with Typescript.

Installation

npm install -g @gb-lerna/cli

Create a new monorepo

mkdir sample-project
cd sample-project
git init
gb-lerna repo @sample/website
gb-lerna package @sample/api
gb-lerna package @sample/admin
gb-lerna module --kind values personnel @sample/admin
gb-lerna module --kind class student @sample/admin
npm install
lerna bootstrap
lerna add @sample/api --scope @sample/website
lerna add @sample/api --scope @sample/admin
npm test

Add another package to your project

cd your-app
gb-lerna package @sample/tools

Commands

repo|repository options <initialPackage>

create a new monorepo with initial package

Options:
  -i, --independent  version packages independently
  -h, --help         display help for command

package options <name>

create a new package

Options:
  -h, --help  display help for command

module options <name> scope

create a new class or funtions module

Optionally you can prepend a path to the name argument such as path/to/name.

Use --kind class to create a JavaScript class and test. Use --kind values (the default) to create a new module for exporting functions, objects or primitive values and a test for the module.

Options:
  -k, --kind <kind>  the kind of module (choices: "class", "values")
  --no-test          skip spec file
  -h, --help         display help for command

info options

print out a markdown table listing the packages in your monorepo.

Options:
  -v, --verbose  verbose output
  -h, --help     display help for command

options

Options:
  -V, --version                    output the version number
  -f, --force                      use force on schematics
  -d, --dryRun                     dry run only
  -h, --help                       display help for command

Commands:
  repo [options] [initialPackage]  create a new monorepo with initial package
  package <name>                   create a new package
  module [options] <name> [scope]  create a new class or module
  info [options]                   print information about your lerna repo
  help [command]                   display help for command
2.8.0

2 years ago

2.7.4

2 years ago

2.7.3

2 years ago

2.8.0-alpha.2

2 years ago

2.8.0-alpha.1

2 years ago

2.7.0-alpha.0

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

2.7.0

2 years ago

2.5.1

2 years ago

2.7.1

2 years ago

2.8.0-alpha.0

2 years ago

2.3.0

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.5.0-alpha.0

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0-alpha.1

3 years ago

2.0.0

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.7.0-alpha.0

3 years ago

2.0.0-alpha.0

3 years ago

1.6.0

3 years ago

1.6.0-alpha.1

3 years ago

1.6.0-alpha.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.4.0-alpha.4

3 years ago

1.4.0-alpha.1

3 years ago

1.4.0-alpha.2

3 years ago

1.4.0-alpha.3

3 years ago

1.4.0-alpha.0

3 years ago

1.3.0

3 years ago

1.3.0-beta.1

3 years ago

1.3.0-beta.0

3 years ago

1.3.0-alpha.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.1.0-alpha.3

3 years ago

1.1.0-alpha.2

3 years ago

1.1.0-alpha.1

3 years ago

1.1.0-alpha.0

3 years ago

1.0.0

3 years ago

1.0.0-alpha.1

3 years ago

1.0.0-alpha.0

3 years ago

0.7.0

3 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.5.0

4 years ago

0.6.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago