Skip to content

Latest commit

 

History

History
67 lines (52 loc) · 1.57 KB

README.md

File metadata and controls

67 lines (52 loc) · 1.57 KB

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