luckyufei / tsnode-work

use to learn nodejs write in ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

use to learn nodejs write in ts

License:MIT License


Languages

Language:JavaScript 71.4%Language:TypeScript 22.5%Language:Shell 3.8%Language:CSS 1.6%Language:HTML 0.6%Language:Smarty 0.1%Language:Less 0.0%Language:Dockerfile 0.0%Language:Python 0.0%Language:C 0.0%Language:CoffeeScript 0.0%Language:PHP 0.0%Language:LiveScript 0.0%Language:Ruby 0.0%