mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-01 04:54:42 +00:00
4f3750a8ab
Two regressions surfaced after the 1.2.2 release merge to main, both
in workflows that auto-trigger on push to main:
* Deploy to GitHub Pages — build failed with `pagefind: not found`
(exit 127) after Next.js prerendered all 241 routes. pagefind was
not declared in web/package.json; the local build only worked
because the project root had its own package.json with pagefind
as a devDep (the one we just gitignored in the previous commit).
Add `pagefind: ^1.5.2` to web/package.json devDependencies and
regenerate web/package-lock.json so `npm ci` in CI puts the
binary at web/node_modules/.bin/pagefind.
* Build ProxMenux Monitor AppImage — failed at the first step with
`mkdir: cannot create directory '/var/cache/proxmenux-build':
Permission denied`. The cache path was hardcoded to /var/cache/,
which is writable when the script runs as root (the .50 host
manual build) but not as the unprivileged GitHub Actions runner.
Switch to `${XDG_CACHE_HOME:-$HOME/.cache}/proxmenux-build/` —
works identically in both environments.
Verified locally: `cd web && npm ci && npm run build` produces 2804
files in out/, 231 pages indexed by pagefind, root redirect intact.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
88 lines
2.8 KiB
JSON
88 lines
2.8 KiB
JSON
{
|
|
"name": "my-v0-project",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"sync:scripts": "rm -rf public/scripts && rsync -a ../scripts/ public/scripts/",
|
|
"predev": "npm run sync:scripts",
|
|
"dev": "next dev",
|
|
"prebuild": "npm run sync:scripts",
|
|
"build": "next build && pagefind --site out --output-path public/pagefind && cp -r public/pagefind out/pagefind",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"index": "pagefind --site out --output-path public/pagefind && cp -r public/pagefind out/pagefind"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^3.9.1",
|
|
"@radix-ui/react-accordion": "^1.2.2",
|
|
"@radix-ui/react-alert-dialog": "^1.1.4",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.1",
|
|
"@radix-ui/react-avatar": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.1.3",
|
|
"@radix-ui/react-collapsible": "^1.1.2",
|
|
"@radix-ui/react-context-menu": "^2.2.4",
|
|
"@radix-ui/react-dialog": "^1.1.4",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
"@radix-ui/react-hover-card": "^1.1.4",
|
|
"@radix-ui/react-label": "^2.1.1",
|
|
"@radix-ui/react-menubar": "^1.1.4",
|
|
"@radix-ui/react-navigation-menu": "^1.2.3",
|
|
"@radix-ui/react-popover": "^1.1.4",
|
|
"@radix-ui/react-progress": "^1.1.1",
|
|
"@radix-ui/react-radio-group": "^1.2.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.2",
|
|
"@radix-ui/react-select": "^2.1.4",
|
|
"@radix-ui/react-separator": "^1.1.1",
|
|
"@radix-ui/react-slider": "^1.2.2",
|
|
"@radix-ui/react-slot": "latest",
|
|
"@radix-ui/react-switch": "^1.1.2",
|
|
"@radix-ui/react-tabs": "^1.1.2",
|
|
"@radix-ui/react-toast": "^1.2.4",
|
|
"@radix-ui/react-toggle": "^1.1.1",
|
|
"@radix-ui/react-toggle-group": "^1.1.1",
|
|
"@radix-ui/react-tooltip": "^1.1.6",
|
|
"autoprefixer": "^10.4.20",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "1.0.4",
|
|
"date-fns": "^2.30.0",
|
|
"embla-carousel-react": "8.5.1",
|
|
"fs": "latest",
|
|
"gray-matter": "^4.0.3",
|
|
"html-react-parser": "^3.0.0",
|
|
"input-otp": "1.4.1",
|
|
"lucide-react": "^0.454.0",
|
|
"mermaid": "^11.14.0",
|
|
"next": "15.5.15",
|
|
"next-intl": "^4.12.0",
|
|
"next-themes": "^0.4.4",
|
|
"path": "latest",
|
|
"react": "^19",
|
|
"react-dom": "^19",
|
|
"react-hook-form": "^7.54.1",
|
|
"react-markdown": "^9.0.0",
|
|
"react-resizable-panels": "^2.1.7",
|
|
"recharts": "2.15.0",
|
|
"remark": "latest",
|
|
"remark-breaks": "3.0.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-html": "latest",
|
|
"shiki": "^4.0.2",
|
|
"sonner": "^1.7.1",
|
|
"tailwind-merge": "^2.5.5",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"unified": "^11.0.0",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@types/node": "^22",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"pagefind": "^1.5.2",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5"
|
|
}
|
|
}
|