← knowledge.oriz.in

Tests in parallel + master `pnpm install -r` is THE install command

rule ruletestsparallelinstallpnpmmonorepo

Tests in parallel + master `pnpm install -r` is THE install command

The rule

Every app and every package gets:

Master CI matrix-fans all suites in parallel.

The user always works from c:/D/oriz/ (the umbrella repo). Per-submodule pnpm install is forbidden — only pnpm install -r from master.

Install commands

Fresh clone:

git clone --recurse-submodules https://github.com/chirag127/workspace c:/D/oriz
cd c:/D/oriz
pnpm install -r

Update existing:

cd c:/D/oriz
git submodule update --init --recursive --remote
pnpm install -r

Why

Single source of truth for dependency graph + cross-package linking (workspace:* protocol). Per-submodule install creates parallel node_modules trees that drift. Always-master install keeps everything coherent.

How to apply

Cross-refs