This project demonostrates how to use lerna, nextjs, rollup, typescript and jest to build a mono repository.
Objectives
- Reuse react components and packages in multiple applications.
- Test individual packages inside the monorepo.
- Import external packages and use them in both /packages and /applications directories.
- Reuse as much codes and configurations as possible.
- Auto publish all packages to public npm registery (in both es module and commonjs format)
- Auto deploy applications to production environment with github actions.
- Tree-shakable test