This is an example of a Javascript monorepo using pnpm and Turborepo.
- Install the dependencies -
pnpm install
- Run the development server -
pnpm run dev
- Run linter -
pnpm run lint
- Run the tests -
pnpm run test
- ???
- Profit! 🎊
The project is structured as follows:
├── apps
│ ├── rest-api
│ └── web-react
├── libs
│ └── utilities
├── packages
│ └── fancy-button
└── readme.md
apps
: Applications (e.g. web app, REST API, etc.).components
: Front-end components.configs
: Configuration files.libs
: Helpers, utilities, misc.