project-bifrost-platform/package.json
Arlind 9d0326e3ea fix(deploy): use pnpm 11 allowBuilds key; drop dead package.json pnpm field
pnpm 11 ignores both package.json's pnpm.onlyBuiltDependencies and the
pnpm-workspace.yaml onlyBuiltDependencies key — it reads the build allow-list
from `allowBuilds` (as written by `pnpm approve-builds`). Switch to that so
`pnpm install` compiles better-sqlite3/esbuild/sharp automatically on deploy,
and remove the now-ignored package.json field that emitted a warning.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 15:07:39 +02:00

38 lines
1.1 KiB
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:seed:demo": "node scripts/seed-demo.js",
"db:seed:production": "node scripts/seed-production.js",
"db:setup": "node scripts/migrate.js && node scripts/seed.js && node scripts/seed-roadmap.js && node scripts/seed-demo.js",
"db:setup:production": "node scripts/migrate.js && node scripts/seed-production.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"
}
}