Skip to content

This is a awesome boilerplate for a monorepository in Typescript using LernaJS.

License

Notifications You must be signed in to change notification settings

Stefano31/ts-mono

Repository files navigation

Monorepository

This is a awesome boilerplate for a monorepository in Typescript using LernaJS.

The goal is to solve quickly these points:

  • Have a templater for generating a new package inside the monorepository (zero thinkings, only coding)
  • Have a linter that checks your code
  • Have a standard for your commits
  • Have a fast builder for your packages
  • Have an omogenous documentation
  • Have a base for Docker
  • Have a tool for testing
  • Have a common configurations (jest, tsup, etc) shared between other packages
  • Have debugger configurated for VS code

Let's fork and try it! Any suggest is welcome!

Requirements

Only docker.

Tools

Package common-config

This package contains shared configurations between the other packages inside the monorepository.

Commands

Before start to use the commands make sure give the following permit

chmod +x dc-run.sh

Setup

./dc-run npm run setup

Create new package

./dc-run npm run plop library

Build

./dc-run npm run build

Test

./dc-run npm run test

Generate documentation

./dc-run npm run gen-doc

About

This is a awesome boilerplate for a monorepository in Typescript using LernaJS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published