based on Pnpm + nx + biome,example for monorepo and the dependence graph as follows:
- install vscode biome extension
- requires at least
Node 18.18.0
andPnpm 8
- run
pnpm i
to install dependencies
build all of sub projects in parallel.
pnpm build
run app/react-18 in dev:
pnpm run web:dev
use watch with nx, commmand would be like
nx watch --all -- nx run \$NX_PROJECT_NAME:build
eg: nx watch --projects=@mono/react --includeDependentProjects -- nx run @mono/react:esm
run nx graph
,you'll see graph like as follows: