Commit Graph
6 Commits
Author SHA1 Message Date
adrianbonpin 61067e6ef3 fix(web): make apps/web self-describing for the Railpack build (#1)
Dokploy builds only the `apps/web` build path, so Railpack never sees the
root `bun.lock`. `apps/web/package.json` also had no `packageManager` field,
so Railpack fell back to npm — with no lockfile in scope, `npm install` died
with:

    npm error Cannot read properties of null (reading 'edgesOut')

Reproduced locally with the same toolchain Railpack uses (node 22.23.2 /
npm 10.9.8) against `apps/web/package.json` alone.

- Pin `packageManager: bun@1.3.14` in apps/web/package.json (matching the repo
  root) so Railpack selects bun.
- Commit a standalone `apps/web/bun.lock`, generated with bun 1.3.14, so
  `bun install --frozen-lockfile` has a lockfile in the build context.

Verified by copying only package.json + bun.lock into a clean linux/amd64
container (matching the builder) and running `bun install --frozen-lockfile`:
693 packages installed.

Also corrects the design doc, which claimed the root `bun.lock` would ensure
resolution — that is false for a subdirectory build path, and nothing
documented the need for a standalone lockfile.
2026-09-20 18:08:49 +08:00
adrianbonpin af13853a61 build: use bun for installs and pin better-auth core deps (#2) 2026-08-18 18:05:55 +00:00
adrianbonpin ec2c21115b fix(auth): pin better-auth packages to exact 1.6.22 (#1) 2026-08-18 17:29:35 +00:00
adrianbonpin 4cf8a42742 fix: add zod as direct dependency for bun workspace resolution 2026-06-28 05:44:46 +08:00
adrianbonpin a63cc52108 fix: upgrade better-auth to v1.6.22 for api-key plugin compatibility 2026-06-28 05:41:45 +08:00
adrianbonpin cd72b7a948 refactor: convert to bun workspaces monorepo
- Move web app into apps/web/
- Create packages/shared/ with shared types
- Create plugins/decky-vault/ scaffold
- Root package.json manages workspaces only
2026-06-28 05:20:28 +08:00