Files
moments/ui/package.json
rob thijssen 8e11d02e90
Some checks failed
deploy / Build prerendered web (push) Failing after 2m13s
deploy / Deploy web to oolon (push) Has been skipped
deploy / Build api + worker (static musl) (push) Successful in 6m35s
deploy / Deploy moments-worker to frootmig (push) Successful in 54s
deploy / Deploy moments-api to nikola (push) Successful in 56s
ci: move pnpm build-script allowlist to pnpm-workspace.yaml
CI's newer pnpm warns "the pnpm field in package.json is no longer read"
and still failed build-web with ERR_PNPM_IGNORED_BUILDS. The settings moved
to pnpm-workspace.yaml in pnpm 10+. Put onlyBuiltDependencies (esbuild,
@swc/core) and ignoredBuiltDependencies (react-vertical-timeline-component)
there and drop the dead package.json field. Verified with a cold
`pnpm install --frozen-lockfile`: postinstalls run, no error, lockfile
unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X7zF7Kf4JqDwa6M8Qgge9M
2026-06-25 13:47:59 +03:00

38 lines
1.1 KiB
JSON

{
"name": "moments-ui",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && VITE_API_BASE= vite build && pnpm run prerender",
"prerender": "VITE_API_BASE=\"${VITE_API_BASE:-https://rob.tn/api/v1}\" vite build --ssr src/entry-server.tsx --outDir dist-server --emptyOutDir && node run-prerender.mjs",
"preview": "vite preview",
"lint": "tsc --noEmit"
},
"dependencies": {
"@tanstack/react-query": "^5.62.0",
"bootstrap": "^5.3.3",
"rc-slider": "^11.1.7",
"react": "^19.0.0",
"react-bootstrap": "^2.10.6",
"react-bootstrap-icons": "^1.11.4",
"react-dom": "^19.0.0",
"react-markdown": "^9.0.1",
"react-router-dom": "^7.14.2",
"react-vertical-timeline-component": "^3.6.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@types/node": "^25.9.3",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react-vertical-timeline-component": "^3.3.6",
"@vitejs/plugin-react-swc": "^3.7.2",
"typescript": "~5.7.0",
"vite": "^6.0.0"
}
}