reference/ is one complete client site on the plugin (made-up company, pl/en, MongoDB, every library block and template, token standard light/dark, forms, consent, SEO/GEO, enforced CSP, 2FA, base + demo seeds, Coolify runbook, smoke tests). It uses the plugin as file:.. (injected) and is not shipped. - docs/agent/reference-site/INDEX.md (generated by scripts/reference-index.mjs, kept current by test/referenceIndex.test.ts) - AGENT.md section and pointers in ipal-site, ipal-setup, ipal-reference, ipal-upgrade, ipal-block; release steps in PROGRAMISTA §8.1b - CI: reference (fast) on every push, reference-full on main; doctor steps wired, commented until ipal-doctor ships Co-Authored-By: Claude Opus 5.5 <[email protected]>
55 lines
1.9 KiB
JSON
55 lines
1.9 KiB
JSON
{
|
|
"$comment": "How `ipal-kit create` turns this reference site into a new project. reference/ is the only hand-edited tree; the starter keeps no template files of its own. Paths are relative to reference/. Rules: keep = copied as is; drop = left out; template = copied with the placeholders below replaced. In-file variants: `// @starter:if <flag>` … `// @starter:endif` ({/* */} in TSX). The fake values are unique strings, so the generator fails if one is left in a file it does not map.",
|
|
"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"
|
|
},
|
|
"drop": [
|
|
"src/seed/demo.ts",
|
|
"src/seed/showcase.ts",
|
|
"src/seed/media.ts",
|
|
"media/**",
|
|
".env",
|
|
"node_modules/**",
|
|
".next/**",
|
|
"test-results/**",
|
|
"playwright-report/**",
|
|
"src/payload-types.ts",
|
|
"next-env.d.ts",
|
|
"README.md"
|
|
],
|
|
"template": [
|
|
"package.json",
|
|
"AGENTS.md",
|
|
"DESIGN.md",
|
|
"docs/DEPLOY.md",
|
|
".env.example",
|
|
"ipal-doctor.json",
|
|
"src/payload.config.ts",
|
|
"src/instrumentation.ts",
|
|
"src/lib/content.ts",
|
|
"src/db.ts"
|
|
],
|
|
"keep": ["**"],
|
|
"rewrite": {
|
|
"package.json": {
|
|
"dependencies.@intecion/ipal-kit": "<exact released version>",
|
|
"dependenciesMeta": null,
|
|
"scripts.seed": "payload run src/seed/index.ts",
|
|
"scripts.seed:demo": null
|
|
},
|
|
"src/seed/index.ts": "SEED_LAYER defaults to base; the demo imports are removed",
|
|
"AGENTS.md": "the block between <!-- starter:decisions --> and <!-- /starter:decisions --> is replaced with the answers to the starter's questions"
|
|
},
|
|
"pages": {
|
|
"drop": ["bloki"],
|
|
"keep": ["design"]
|
|
}
|
|
}
|