Clean up project scaffold #2

Closed
opened 2026-11-01 16:19:30 +01:00 by miko · 2 comments
Owner

Part of #1

What

Bring the scaffold in line with the decided stack before feature work starts.

Acceptance criteria

  • sass removed; styling is Tailwind 4 only (component classes such as .titlebar via @layer components)
  • prisma and @prisma/client on the same stable 7.x version (no RC), MariaDB adapter, initial schema.prisma with datasource only
  • LICENSE file (MIT); README mentions the licence
  • .env.example listing DATABASE_URL, UPLOAD_DIR, AUTH_SECRET, AUTH_AUTHENTIK_*, KATABA_ADMIN_GROUP, KATABA_AUTHOR_GROUP
  • Vitest configured with an npm test script and one passing sample test
  • npm run build and npm run lint pass

Vocabulary: GLOSSARY.md. Decisions: docs/adr/.

Part of #1 ## What Bring the scaffold in line with the decided stack before feature work starts. ## Acceptance criteria - [ ] `sass` removed; styling is Tailwind 4 only (component classes such as `.titlebar` via `@layer components`) - [ ] `prisma` and `@prisma/client` on the same stable 7.x version (no RC), MariaDB adapter, initial `schema.prisma` with datasource only - [ ] `LICENSE` file (MIT); README mentions the licence - [ ] `.env.example` listing `DATABASE_URL`, `UPLOAD_DIR`, `AUTH_SECRET`, `AUTH_AUTHENTIK_*`, `KATABA_ADMIN_GROUP`, `KATABA_AUTHOR_GROUP` - [ ] Vitest configured with an `npm test` script and one passing sample test - [ ] `npm run build` and `npm run lint` pass Vocabulary: `GLOSSARY.md`. Decisions: `docs/adr/`.
miko referenced this issue from a commit 2026-11-01 16:24:04 +01:00
Author
Owner

Implemented in 76113f2 on development: sass removed (Tailwind 4 via globals.css, .titlebar in @layer components); prisma/@prisma/client/@prisma/adapter-mariadb pinned to 7.10.1 with prisma.config.ts and a datasource-only schema (client generated on postinstall); MIT LICENSE + README note; .env.example; Vitest with npm test and a sample test. build, lint, typecheck and tests pass. Adapter instantiation is left for #4.

Implemented in 76113f2 on `development`: sass removed (Tailwind 4 via globals.css, .titlebar in @layer components); prisma/@prisma/client/@prisma/adapter-mariadb pinned to 7.10.1 with prisma.config.ts and a datasource-only schema (client generated on postinstall); MIT LICENSE + README note; .env.example; Vitest with `npm test` and a sample test. build, lint, typecheck and tests pass. Adapter instantiation is left for #4.
miko closed this issue 2026-11-01 16:27:18 +01:00
Author
Owner

Correction: after the history rewrite the commit is bef8142 (on development and master), not 76113f2.

Correction: after the history rewrite the commit is bef8142 (on development and master), not 76113f2.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MassiveDynamic/kataba#2
No description provided.