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]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
154049662e
commit
804a09efed
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Entry point: @intecion/ipal-kit/starter
|
||||
*
|
||||
* The building blocks of `ipal-kit create` (docs/project-starter.md): the answers schema, the variant and
|
||||
* placeholder transforms, the bundle and the renderer — Node built-ins only, no Payload. Use them to script
|
||||
* your own generator or to check a reference tree; the command itself is `pnpm dlx @intecion/ipal-kit create`.
|
||||
*/
|
||||
export { flagsFromAnswers, STARTER_TOPICS, validateAnswers } from '../modules/starter/answers.js'
|
||||
export type { AnalyticsTool, ContentCollection, StarterAnswers } from '../modules/starter/answers.js'
|
||||
export { bundleFlags, collectBundle, packBundle, unpackBundle } from '../modules/starter/bundle.js'
|
||||
export type { StarterBundle } from '../modules/starter/bundle.js'
|
||||
export { CREATE_USAGE, localEnv, normalizeDomain, parseCreateArgs, runCreateCli } from '../modules/starter/cli.js'
|
||||
export {
|
||||
fontExport,
|
||||
renderAgentsMd,
|
||||
renderDecisions,
|
||||
renderDesignMd,
|
||||
renderDoctorConfig,
|
||||
renderI18nConfig,
|
||||
renderTokens,
|
||||
rewriteFonts,
|
||||
rewritePackageJson,
|
||||
} from '../modules/starter/generate.js'
|
||||
export type { SiteContext } from '../modules/starter/generate.js'
|
||||
export { lockfileWithoutPlugin } from '../modules/starter/lockfile.js'
|
||||
export { ALWAYS_SKIPPED, assertManifest, fileRole, matchGlob } from '../modules/starter/manifest.js'
|
||||
export type { FileRole, StarterManifest } from '../modules/starter/manifest.js'
|
||||
export { askAnswers } from '../modules/starter/prompts.js'
|
||||
export { placeholderValues, renderSite } from '../modules/starter/render.js'
|
||||
export { secretFindings } from '../modules/starter/secrets.js'
|
||||
export { applyPlaceholders, applyVariants, leftoverFakes, variantFlags } from '../modules/starter/text.js'
|
||||
export type { StarterFlags } from '../modules/starter/text.js'
|
||||
Reference in New Issue
Block a user