Skip to content

Function: seedToolchain()

seedToolchain(root, projenSpecifier?): void

Install the toolchain a synth needs (projen, typescript, and the dbx-tools engine), seeding a package.json first when absent. bun reads its workspace config (workspaces/trustedDependencies) from the manifest, so there is no separate workspace file to seed - the engine writes pnpm-workspace.yaml at synth for the Databricks Apps platform. Idempotent: run it whenever the engine is missing, so a copied project with a .projenrc.ts but no node_modules/manifest can be brought up to a synth-ready state.

string

string = ...

void