Merulan CDK
The Merulan CDK defines Products and Workspaces in TypeScript. It compiles their declarations into a plan that you can review before changing a Workspace.
Set up access
Set up a Workspace repository with the CLI to get a compatible, pinned CDK dependency. CDK compilation runs locally. Sign in when you publish a Product or install a plan.
How the CDK works
Use defineProduct to declare Product resources and defineWorkspace to select exact Product releases. compileWorkspacePlan resolves the declarations and returns a plan with a hash. Compiling a plan does not install it. The CDK reference owns exact types and arguments.
First call
Run merulan workspace plan --dir . in a Workspace repository, then review the selected Product releases and plan hash. Compose a Workspace shows how to add a Product to the declaration.
Start a repository
The repository setup guide creates a Workspace declaration under src/workspaces/ and Product source under src/products/. Building with Merulan continues through authoring, installation, and later changes.
Reference
- CDK reference gives TypeScript contracts.
- Workspace explains Product releases and installation.