GitHunt
PA

paulmorar/monorepo-example

monorepo-example

This is an example of structuringa monorepo with nx and using pnpm with workspaces. In this repo package-one is a dependency of package-two and both can be published individually to npm.

Useful commands

Individual repo commands examples

pnpm nx test:unit package-one
pnpm nx test:unit package-two

Monorepo-wide commands

pnpm test:unit:all

pnpm test:unit:affected

pnpm nx graph

Languages

JavaScript100.0%

Contributors

MIT License
Created April 28, 2022
Updated April 28, 2022
paulmorar/monorepo-example | GitHunt