generator-lerna-typescript

Get started with Lerna using TypeScript

Usage no npm install needed!

<script type="module">
  import generatorLernaTypescript from 'https://cdn.skypack.dev/generator-lerna-typescript';
</script>

README

generator-lerna-typescript

NPM version

Get started with Lerna using TypeScript

Installation

First, install Yeoman and generator-lerna-typescript using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-lerna-typescript

Then generate your new project:

mkdir my-project
cd my-project
yo lerna-typescript

Your project will be generated with a sample package. Generate another new package whenever you want with:

yo lerna-typescript:package @myscope/my-new-package

Add a new class to one of your packages with:

yo lerna-typescript:classlib greeter my-new-hello-class

Build your project:

node_modules/.bin/lerna run build

Test your project:

npm test

License

ISC © Gary Bortosky