Files
ipal-kit/reference/starter.manifest.json
T
Radosław SmolińskiandClaude Opus 5.5 804a09efed Project starter: ipal-kit create <domain> generates a new site from the reference site
- bin `ipal-kit` (subcommand `create`): the architecture questions (or --answers JSON),
  rendering from reference/ through starter.manifest.json (placeholders, @starter:if variants,
  //: alternatives, demo dropped), answers into AGENTS.md "Project decisions" and ipal-doctor.json,
  local .env with a fresh PAYLOAD_SECRET, install from the shipped lockfile, ipal-skills,
  ipal-tokens, generate:types/importmap, typecheck, ipal-doctor when shipped, secret check,
  first commit
- @intecion/ipal-kit/starter: the building blocks (renderSite, validateAnswers, applyVariants,
  collectBundle, lockfileWithoutPlugin, secretFindings …)
- build:starter packs reference/ into dist/starter/template.json.gz (90 KB);
  starter:gate in prepublishOnly: site from the packed tarball, frozen install, seed, build,
  targeted SEED_ONLY seed in production mode, full seed refused, pnpm start checks
- D15: plugin dependencies pinned exactly (nodemailer 10.3.1)
- reference/: @starter:if markers (runs as before), manifest generate/variants/rewrite
- docs: project-starter.md, AGENT.md, ipal-setup, ipal-site, ipal-reference (+ api.md),
  README, PROGRAMISTA §2, CHANGELOG, docs/README, reference index

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 15:50:44 +01:00

76 lines
2.5 KiB
JSON

{
"$comment": "How `ipal-kit create` turns this reference site into a new project (docs/project-starter.md). reference/ is the only hand-edited tree; the starter keeps no template files of its own. Paths are relative to reference/. Roles: drop = left out; generate = written by the starter from the owner's answers; template = copied with the placeholders below replaced; keep = copied as is (and must hold no fake value). variants = whole files that exist only with a flag on. In-file variants: `// @starter:if <flag>` … `// @starter:else` … `// @starter:endif` ({/* */} in TSX, # in env files, <!-- --> in Markdown); inside a kept block a `//: ` / `#: ` line is uncommented — that is how this site carries code it does not run itself. Flags: src/modules/starter/answers.ts (flagsFromAnswers).",
"schema": 1,
"placeholders": {
"{{domain}}": "example-studio.pl",
"{{dbBase}}": "example-studiopl",
"{{siteName}}": "Example Studio",
"{{issuer}}": "Example Studio",
"{{projectName}}": "example-studiopl-web",
"{{mcpName}}": "example-studio-site",
"{{serverUrl}}": "https://example-studio.pl",
"{{formRecipient}}": "[email protected]",
"{{businessType}}": "ProfessionalService",
"{{agencyName}}": "Example Agency",
"{{agencyUrl}}": "https://agency.example"
},
"drop": [
".agents/**",
".env",
".next/**",
"README.md",
"e2e/**",
"media/**",
"node_modules/**",
"playwright-report/**",
"playwright.config.ts",
"src/payload-types.ts",
"src/seed/demo.ts",
"src/seed/media.ts",
"src/seed/showcase.ts",
"test-results/**"
],
"generate": [
"DESIGN.md",
"ipal-doctor.json",
"src/design/tokens.ts",
"src/i18n.config.ts"
],
"template": [
"package.json",
"AGENTS.md",
"docs/DEPLOY.md",
".env.example",
"src/payload.config.ts",
"src/instrumentation.ts",
"src/lib/content.ts",
"src/db.ts",
"src/seed/base.ts"
],
"variants": {
"src/collections/Posts.ts": "posts",
"src/collections/CaseStudies.ts": "caseStudies",
"src/collections/entryFields.ts": "collections"
},
"keep": [
"**"
],
"rewrite": {
"package.json": {
"dependencies.@intecion/ipal-kit": "<exact released version>",
"dependenciesMeta": null,
"scripts.seed:demo": null,
"scripts.test:e2e": null,
"devDependencies.@playwright/test": null
}
},
"pages": {
"drop": [
"bloki"
],
"keep": [
"design"
]
}
}