Commit Graph

29 Commits

Author SHA1 Message Date
ea5b4a955d fix: remove apk upgrade from Dockerfile base stage
apk upgrade hangs on slow/unreliable Alpine mirrors and is not needed
for a build. node:20-alpine is sufficiently up to date.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:24:52 -05:00
3e536a0a0e fix: exclude prisma.config.ts from TS compilation, use datasource.url
prisma.config.ts is a Prisma CLI config file, not part of the Next.js
app — exclude it from tsconfig to prevent type errors. Also revert the
migrate.adapter block (not a valid PrismaConfig key in 7.5) back to
datasource.url which is the correct CLI config for db push.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:17:17 -05:00
e7560bedff fix: correct PrismaLibSQL -> PrismaLibSql export name
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:14:12 -05:00
aeee0fb598 fix: exclude libsql packages from webpack bundling
@libsql/client and libsql contain native bindings and non-JS assets
(README.md, LICENSE) that webpack cannot parse. Mark them as server
external packages so Next.js requires them at runtime instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:01:06 -05:00
a692b99d31 chore: update package-lock.json for libsql adapter dependencies
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:53:33 -05:00
fcc04915c2 fix: migrate to Prisma 7 driver adapter (libsql) for SQLite
Prisma 7 removed support for `url` in schema.prisma datasources and the
`engineType = "library"` native binary engine. All connections now go
through a driver adapter.

- Remove engineType and url from schema.prisma (no longer supported)
- Configure prisma.config.ts with migrate.adapter using @libsql/client
- Instantiate PrismaClient with PrismaLibSQL adapter in src/lib/prisma.ts
- Add @libsql/client and @prisma/adapter-libsql dependencies
- Remove PRISMA_CLIENT_ENGINE_TYPE from Dockerfile (obsolete)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:49:58 -05:00
042c45d9dd fix: restore DATABASE_URL in schema.prisma for Prisma 7 runtime client
Prisma 7's prisma.config.ts only configures the CLI, not the runtime
PrismaClient. Without url in the datasource block, the generated client
defaults to engineType "client" (WASM) which requires an adapter,
causing next-auth adapter errors on OAuth callback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:46:01 -05:00
3b743d81d4 docker 2026-03-12 23:34:19 -05:00
e6f4f6c092 auth drive 2026-03-12 23:29:00 -05:00
8b4a18e29d auth fix 2026-03-12 23:20:49 -05:00
f5a1361fd3 ignore 2026-03-12 23:09:48 -05:00
0e50256844 login 2026-03-12 23:05:28 -05:00
2827d00941 env2 2026-03-12 22:59:53 -05:00
f0a2f081a7 env 2026-03-12 22:58:27 -05:00
286ac00361 database 2026-03-12 22:53:56 -05:00
cbbaf747bf maybe? 2026-03-12 20:30:36 -05:00
13f53badc3 again? 2026-03-12 20:27:11 -05:00
e007d54fb3 claude ftw 2026-03-12 20:13:55 -05:00
0801592eb9 more proxy 2026-03-12 20:11:08 -05:00
f5e3a1e870 no turbo again 2026-03-12 20:02:25 -05:00
1d7c564c4a no turbo 2026-03-12 19:59:59 -05:00
7886d60827 more 2026-03-12 19:49:59 -05:00
ebc0c61da4 routes fix 2026-03-12 19:47:28 -05:00
6b0190de81 more fixes 2026-03-12 19:18:01 -05:00
5de0f52af7 prisma fixes 2026-03-12 19:15:56 -05:00
7d7c34bcb1 docker fixes 2026-03-12 19:12:44 -05:00
ce5eb2343d docker update 2026-03-12 19:00:31 -05:00
jason
2743b6ddf1 prisma fix 2026-03-12 17:30:36 -05:00
jason
4982e5392e initial commit 2026-03-12 17:09:22 -05:00