Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.11 KB

File metadata and controls

41 lines (29 loc) · 1.11 KB

Lerna monorepo for Typescript codebase with tsconfig-paths + Lerna + symlinks

The example shows how you can manage monorepo using Lerna monorepo package managing tool. In this example you can figure out how to:

  • Setup Lerna for Typescript codebase
  • Setup custom aliases on the server and the client
  • Make aliases work together with Jest

The example shows how to handle all cases from above based only on the tsconfig-paths + Lerna + symlinks solution.

More detail you can find here.

Monorepo consists of 3 packages:

Install it and run:

Development:

yarn
cd packages/app
yarn dev

Production:

yarn
yarn app:build
cd packages/app
yarn start

Read more in the article.