Skip to content

Sample repo using lerna with TypeScript project references

Notifications You must be signed in to change notification settings

rosskevin/learn-a

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lerna monorepo + yarn workspaces + typescript project references + tsc -b

Features

Building both cjs and esm

  • yarn build will build the cjs (incremental builds using tsc -b) to lib/cjs in each project
  • yarn build:esm will build the esm (non-incremetal) to lib/esm in each project

Setting up this repo

> git clone https://github.com/rosskevin/learn-a.git
> git checkout build-cjs-esm
> cd learn-a
> yarn install
> lerna bootstrap
> yarn clean:build && yarn build && yarn bundle

About

Sample repo using lerna with TypeScript project references

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%