Tutorial: Integrated Monorepo
Source code for the integrated monorepo tutorial on the Nx docs:
- Tutorial: https://nx.dev/getting-started/integrated-repo-tutorial
- Video: https://youtu.be/weZ7NAzB7PM
What's inside?
Leverages the @nrwl/js Nx plugin to setup an integrated monorepo with two packages, is-even
and is-odd
.
How to run it
Install all dependencies using npm install
. You can then run commands Like
npx nx build is-even
to run the build for just theis-even
packagenpx nx run-many --target=build
to run thebuild
target for all packages in the workspaces- you can use
npx nx graph
to visualize the structure