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
+13
-5
@@ -34,6 +34,11 @@
|
||||
"types": "./dist/exports/seed.d.ts",
|
||||
"default": "./dist/exports/seed.js"
|
||||
},
|
||||
"./starter": {
|
||||
"import": "./dist/exports/starter.js",
|
||||
"types": "./dist/exports/starter.d.ts",
|
||||
"default": "./dist/exports/starter.js"
|
||||
},
|
||||
"./templates": {
|
||||
"import": "./dist/exports/templates.js",
|
||||
"types": "./dist/exports/templates.d.ts",
|
||||
@@ -78,6 +83,7 @@
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"bin": {
|
||||
"ipal-kit": "bin/ipal-kit.mjs",
|
||||
"ipal-skills": "bin/ipal-skills.mjs",
|
||||
"ipal-blocks": "bin/ipal-blocks.mjs",
|
||||
"ipal-tokens": "bin/ipal-tokens.mjs"
|
||||
@@ -93,6 +99,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
|
||||
"build:starter": "node scripts/build-starter.mjs",
|
||||
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
||||
"build:types": "tsc --outDir dist --rootDir ./src",
|
||||
"clean": "rimraf {dist,*.tsbuildinfo}",
|
||||
@@ -107,8 +114,9 @@
|
||||
"lint": "eslint ./src ./test",
|
||||
"lint:fix": "eslint ./src ./test --fix",
|
||||
"prepare": "pnpm build",
|
||||
"prepublishOnly": "pnpm clean && pnpm build && pnpm test:int",
|
||||
"prepublishOnly": "pnpm clean && pnpm build && pnpm build:starter && pnpm test:int && pnpm starter:gate",
|
||||
"reference:index": "node scripts/reference-index.mjs",
|
||||
"starter:gate": "node scripts/starter-gate.mjs",
|
||||
"test": "pnpm test:int && pnpm test:e2e",
|
||||
"test:e2e": "playwright test",
|
||||
"test:int": "vitest run",
|
||||
@@ -116,10 +124,10 @@
|
||||
"typecheck": "tsc --noEmit -p . && tsc -p test"
|
||||
},
|
||||
"dependencies": {
|
||||
"lucide-react": "^0.400.0",
|
||||
"nodemailer": "^10.2.1",
|
||||
"server-only": "^0.0.1",
|
||||
"slugify": "^1.6.6"
|
||||
"lucide-react": "0.400.0",
|
||||
"nodemailer": "10.3.1",
|
||||
"server-only": "0.0.1",
|
||||
"slugify": "1.6.9"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@clocklimited/payload-2fa": "^3.0.0-0",
|
||||
|
||||
Reference in New Issue
Block a user