Phase 1.1: Monorepo Foundation
Section titled “Phase 1.1: Monorepo Foundation”Objective
Section titled “Objective”This phase creates the entire monorepo from scratch, including the shared package structure and a deployable Template site to validate the setup.
Part A: Monorepo Foundation
Section titled “Part A: Monorepo Foundation”- Action: Create root directory, initialize pnpm, configure workspace, and create
.gitignore. - Action: Create and initialize shared package structure.
- Action: Initialize Git repository and add remote.
- 🤖 Verification (Automated):
- Script will confirm that
monorepo/pnpm-workspace.yamlexists. - Script will confirm that
monorepo/.gitignoreexists.
- Script will confirm that
Part B: Template Sandbox Site
Section titled “Part B: Template Sandbox Site”- Action: Create the
TemplateAstro project and set its package name. - Action: Manually configure Astro, Svelte, and Tailwind dependencies and config files.
- Action: Run
pnpm installto resolve all dependencies. - 🤖 Verification (Automated):
- Script will run
pnpm --filter template-site buildto confirm the site can be built without errors.
- Script will run