- payload and every @payloadcms/* 3.94.1 in the plugin's dev dependencies, the reference site and the starter (peer range unchanged: ^3.90.2); react/react-dom 19.3.1; reference engines node >=22.23.5 <23 (Payload 3.94's minimum). - Overrides re-checked: dompurify and happy-dom still needed; mongoose (3.90–3.93) and undici (3.90–3.91) only on an older Payload; graphql-scalars no longer needed (GHSA-x8rm-f576-gq67 covers 1.24.1–2.0.0; Payload pins 1.22.2). Reference keeps dompurify + happy-dom; plugin root drops graphql-scalars. - ipal-doctor transitive-min: the mongoose fix names the Payload upgrade first. - nodemailer 10.6.1; dev: playwright 1.65.1, vitest 5.1.1, prettier 3.10.1, @swc/cli 0.8, rimraf 6 (clean uses --glob), cross-env 10, open 11, sort-package-json 4, @swc-node/register 1.12.1, vite-tsconfig-paths 6.1.1; reference tailwind 4.3.5, postcss 8.5.33. - Kept back: typescript 7, eslint 10, graphql 17, @types/node 26, lucide-react 1.x. - AGENT.md §4 item 12, ipal-setup, ipal-upgrade, README, PROGRAMISTA §1, forms.md, doctor.md; reference skills copy; CHANGELOG Unreleased. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Example Studio — the ipal-kit reference site
One complete client site on @intecion/ipal-kit that uses every convention in docs/agent/AGENT.md, kept
current with each plugin release. The company, people, numbers and texts are made up; example-studio.pl
is a placeholder domain.
- Agents copy patterns from here (index:
docs/agent/reference-site/INDEX.mdin the plugin package). - The project starter (
ipal-kit create) is generated from this folder;starter.manifest.jsonsays what it keeps, drops or turns into placeholders. - The plugin's CI builds it, seeds it and runs the smoke tests on every change (
.gitea/workflows/ci.yml).
Run it locally
pnpm --dir .. build # the plugin's dist (this site uses it as file:.., injected)
pnpm install --ignore-workspace # re-run after every plugin build (refreshes the injected copy)
cp .env.example .env # then fill PAYLOAD_SECRET; DATABASE_URI points at a local MongoDB
pnpm seed # demo + base content, every language
pnpm dev # http://localhost:3000/pl
Production check: pnpm build && pnpm payload run e2e/create-test-admin.ts && ALLOW_LOCAL_MEDIA=1 pnpm test:e2e
(Playwright starts the built site on port 3100 itself; another port: E2E_BASE_URL=http://localhost:3200, built with
the same NEXT_PUBLIC_SERVER_URL; a server you started yourself: E2E_REUSE_SERVER=1).
What is where
| Convention | Files |
|---|---|
| Languages | src/i18n.config.ts, src/proxy.ts |
| Data layer | src/lib/content.ts, src/lib/globals.ts |
| Pages, collections, globals | src/collections/, src/globals/, src/content.config.ts |
| Block library | src/blocks/configs.ts, src/blocks/registry.ts |
| Design tokens | src/design/tokens.ts → src/design/tokens.css, src/app/(frontend)/styles.css, DESIGN.md, /design |
| Layout, header, footer | src/app/(frontend)/[locale]/layout.tsx, src/components/layout/ |
| Routes, 404, forms action | src/app/(frontend)/[locale]/ |
| SEO / GEO / ops routes | src/app/sitemap.xml, robots.ts, manifest.ts, llms*.txt, md/, api/mcp, api/health, api/csp-report, indexnow-key.txt |
| Security headers, CSP | next.config.ts |
| Env validation | src/instrumentation.ts, .env.example |
| Seeds | src/seed/ (base.ts kept by the starter, demo.ts + showcase.ts + media.ts dropped) |
| Deploy | docs/DEPLOY.md |
| Smoke tests | e2e/, playwright.config.ts |
| Project decisions | AGENTS.md |