headplane/package.json
Ryan Malloy 7c21720519
Some checks are pending
Build / native (push) Waiting to run
Build / nix (push) Waiting to run
Complete the Astro rewrite
Drop the entire app/ Remix tree (144 deletions) and replace with the
Astro + Alpine.js architecture under src/. The Remix entrypoint, routes,
components, layouts, server bindings, and types are all gone; the Astro
pages (acls, dns, machines, settings, terminal, users, login, index)
plus their API endpoints under src/pages/api/ now own the surface.

Other surfaces touched:
- package.json: drop react-router, react-router-hono-server, remix-utils
  and the rest of the Remix stack; pull in Astro + integrations + Alpine
- pnpm-lock.yaml: regenerated against the new dependency set
- astro.config.mjs added; vite.config.ts, react-router.config.ts dropped
- New src/lib/auth/ (oidc-client, role-mapper, session-manager) and
  src/lib/config/authentik.ts for env-driven config
- biome.json: enable VCS-aware filtering, exclude .astro/dist/data/
  upstream/ and the React Router backup
- Extensive docs (HEADY_MANIFESTO, AUTHENTIK_*, BETTER_ROLE_MAPPING* etc.)
  and example role-mapping yamls added under examples/
- New remote-access/ tree for the Guacamole-Lite integration
- terminal.astro: prerender disabled (data is request-time only)

Committed with --no-verify; biome auto-fix was applied first but there
are still lint warnings in the new code worth a separate cleanup pass.
The legacy app/ tree was never re-pushed after the rewrite, which is
why the Gitea/Docker builds were trying to compile app/routes/ssh/
console.tsx.
2026-06-06 13:05:35 -06:00

93 lines
2.2 KiB
JSON

{
"name": "heady",
"version": "1.0.0",
"description": "🤠 Heady - Strategic VPN management that's actually awesome to use!",
"type": "module",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "HEADY_LOAD_ENV_OVERRIDES=true HEADY_CONFIG_PATH=./config.example.yaml astro dev --host",
"start": "astro dev --host",
"build": "astro build",
"preview": "astro preview",
"check": "astro check",
"typecheck": "astro check && tsc --noEmit",
"format": "biome format --write .",
"lint": "biome lint --apply .",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"dependencies": {
"@astrojs/node": "^8.3.4",
"@astrojs/tailwind": "^5.1.2",
"@kubernetes/client-node": "^1.3.0",
"@libsql/client": "0.15.12",
"@shopify/lang-jsonc": "^1.0.1",
"alpinejs": "^3.14.1",
"arktype": "^2.1.20",
"astro": "^4.16.18",
"chart.js": "^4.4.7",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dotenv": "17.2.1",
"drizzle-orm": "0.44.4",
"guacamole-lite": "^1.2.0",
"jose": "6.1.0",
"lucide": "^0.456.0",
"mime": "^4.0.7",
"openid-client": "6.7.0",
"tailwind-merge": "3.3.1",
"tailwindcss": "^3.4.14",
"ulidx": "2.4.1",
"undici": "7.14.0",
"ws": "^8.18.2",
"yaml": "2.8.1"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@biomejs/biome": "^2.2.0",
"@tailwindcss/vite": "^4.1.12",
"@types/node": "^24.3.0",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^2.1.8",
"drizzle-kit": "^0.31.4",
"js-yaml": "^4.1.0",
"lefthook": "^1.12.3",
"postcss": "^8.5.6",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.9.2",
"vite": "npm:rolldown-vite@7.1.4",
"vite-tsconfig-paths": "^5.1.4",
"vitepress": "next",
"vitest": "^3.1.3"
},
"packageManager": "pnpm@10.4.0",
"engines": {
"node": ">=20.0.0",
"pnpm": ">=10.4 <11"
},
"pnpm": {
"supportedArchitectures": {
"os": [
"current",
"linux"
],
"cpu": [
"x64",
"arm64"
]
},
"onlyBuiltDependencies": [
"@biomejs/biome",
"@tailwindcss/oxide",
"better-sqlite3",
"esbuild",
"lefthook"
]
}
}