mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-10-02 05:24:34 +08:00
* Add pnpm-workspace.yaml to allow esbuild build scripts pnpm 10+ blocks all dependency build scripts by default unless explicitly approved via allowBuilds or onlyBuiltDependencies in pnpm-workspace.yaml. esbuild (transitive dependency of vitest -> vite) has a postinstall script that downloads a platform-specific native binary. Without this config, pnpm install exits non-zero with [ERR_PNPM_IGNORED_BUILDS], breaking any downstream packaging (AUR, Nix, Docker) or local setup using pnpm >=10. Refs: #1195 * fix(build): declare pnpm workspace root * fix(build): harden pnpm workspace policies --------- Co-authored-by: Clay Good <hi@claygood.com>
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "@fission-ai/openspec-website",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Documentation site for OpenSpec, built with Fumadocs and deployable to Cloudflare Pages.",
|
|
"scripts": {
|
|
"sync:docs": "node scripts/sync-docs.mjs",
|
|
"build": "pnpm run sync:docs && fumadocs-mdx && next build",
|
|
"dev": "pnpm run sync:docs && next dev",
|
|
"start": "serve out",
|
|
"types:check": "pnpm run sync:docs && fumadocs-mdx && next typegen && tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@orama/orama": "^3.1.18",
|
|
"beautiful-mermaid": "^1.1.3",
|
|
"fumadocs-core": "^16.12.1",
|
|
"fumadocs-mdx": "^15.2.1",
|
|
"fumadocs-ui": "^16.12.1",
|
|
"lucide-react": "^1.27.0",
|
|
"next": "16.2.12",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.3.1",
|
|
"@types/mdx": "^2.0.14",
|
|
"@types/node": "^26.1.2",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.4",
|
|
"postcss": "^8.5.25",
|
|
"serve": "^14.2.6",
|
|
"tailwindcss": "^4.3.1",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild"
|
|
],
|
|
"overrides": {
|
|
"postcss": "^8.5.22",
|
|
"sharp": "^0.35.3",
|
|
"brace-expansion@<=5.0.8": ">=5.0.9 <6",
|
|
"fast-uri@<3.1.5": "^3.1.5"
|
|
}
|
|
}
|
|
}
|