This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@gb-lerna/schematics

2.8.0 • Public • Published

gb-lerna/schematics

TypeScript latest

Some schematics for creating and maintaining a Lerna monorepo with Typescript.

Rather than using these schematics directly you might like to use the gb-lerna cli.

Installation

npm install -g lerna @angular-devkit/schematics-cli @gb-lerna/schematics

Create a new monorepo

mkdir sample-project
cd sample-project
schematics @gb-lerna/schematics:repo --packageName @sample/website --no-independent
schematics @gb-lerna/schematics:package --name @sample/api
schematics @gb-lerna/schematics:package --name @sample/admin
schematics @gb-lerna/schematics:module --name lol --packageName @sample/admin
lerna bootstrap
lerna add @sample/api --scope=@sample/website
lerna add @sample/api --scope=@sample/admin
npm install
npm run format
npm test -- --coverage

Add another package to your project

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

Add a class or values module to your project

cd your-app
schematics gb-lerna/schematics:module math @sample/tools --kind values

Schematics

schematics gb-lerna/schematics: --list-schematics
schematic purpose
eslint add eslint to your project
module add a new class or values module to a package
package add a new package to your monorepo
prettier add prettier to your project
repository (repo) create a new monorepo project

See also

Package Sidebar

Install

npm i @gb-lerna/schematics

Weekly Downloads

1

Version

2.8.0

License

ISC

Unpacked Size

26.9 kB

Total Files

33

Last publish

Collaborators

  • garyb432