Files
ipal-kit/reference/src/blocks/configs.ts
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

37 lines
990 B
TypeScript

import { libraryBlocks, type LibraryBlocksOptions } from '@intecion/ipal-kit/blocks'
/**
* Every library block is on, because the reference site shows all of them (the Blocks showcase page).
* A client site turns on only what its site map needs (docs/block-library.md "Setup").
*/
export const blockOptions = {
contact: true,
cta: true,
// @starter:if collections
entryList: {
collections: [
// @starter:if posts
{ label: { en: 'Blog posts', pl: 'Wpisy' }, value: 'posts' },
// @starter:endif
// @starter:if caseStudies
{ label: { en: 'Case studies', pl: 'Realizacje' }, value: 'caseStudies' },
// @starter:endif
],
},
// @starter:endif
faq: true,
featureGrid: true,
gallery: true,
hero: true,
logos: true,
pricing: true,
richText: true,
stats: true,
steps: true,
team: true,
testimonials: true,
textMedia: true,
} satisfies LibraryBlocksOptions
export const pageBlocks = [...libraryBlocks(blockOptions)]