Parses the H2 sections (In progress / Next / Later) into roadmap_items rows. Maps In-progress → beta (actively built, tested with pilots) and Next/Later → exploring with a target hint. Idempotent: skips entirely if the table is already populated, so admin edits are never overwritten. content/roadmap.md stays in the repo as the seed source. Once admin starts editing via /admin, the DB is the source of truth. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
38 lines
1,000 B
JSON
38 lines
1,000 B
JSON
{
|
|
"name": "project-bifrost",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint . && prettier --check .",
|
|
"test": "vitest run",
|
|
"db:migrate": "node scripts/migrate.js",
|
|
"db:seed": "node scripts/seed.js",
|
|
"db:seed:roadmap": "node scripts/seed-roadmap.js",
|
|
"db:setup": "node scripts/migrate.js && node scripts/seed.js && node scripts/seed-roadmap.js"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/node": "^8.3.0",
|
|
"astro": "^4.16.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^11.3.0",
|
|
"marked": "^12.0.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^7.6.11",
|
|
"typescript": "^5.6.3",
|
|
"vitest": "^2.1.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": ["better-sqlite3", "esbuild", "sharp"]
|
|
}
|
|
}
|