2.0.0 • Published 3 years ago
package-based-sharedd v2.0.0
Tutorial: Package-based Monorepo
Source code for the package-based monorepo tutorial on the Nx docs:
- Tutorial: https://nx.dev/getting-started/package-based-repo-tutorial
- Video: https://youtu.be/hzTMKuE3CDw
What's inside?
The example contains two simple packages (is-even and is-odd) and demonstrates how to locally link these packages by leveraging npm workspaces.
How to run it
Install all dependencies using npm install. You can then run commands Like
npx nx build is-evento run the build for just theis-evenpackagenpx nx run-many --target=buildto run thebuildtarget for all packages in the workspaces- you can use
npx nx graphto visualize the structure