Skip to content

Function: needsToolchain()

needsToolchain(root): boolean

True when the synth TOOLCHAIN isn’t installed yet: no node_modules, or the dbx-tools engine / projen aren’t resolvable under it. Distinct from a full bootstrap (which keys off a MISSING .projenrc.ts): here the projenrc exists but its dependencies don’t - e.g. a copied project whose generated manifests and node_modules are gitignored. Seeding the toolchain (not scaffolding) makes it synth-ready without touching the hand-authored .projenrc.ts.

string

boolean