Improve write-review flow and require Node 22.18 for native TS stripping.

Gate login, reveal the form after a rating, and wire inline Rate this mint; drop --experimental-strip-types.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
michilis
2026-08-24 21:52:11 +02:00
co-authored by Cursor
parent c74c7fc187
commit b95aab2bcd
35 changed files with 657 additions and 145 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ rating encoding, and the bugs this rebuild fixes.
## Requirements
- Node 20 or newer (uses `--experimental-strip-types`, so no build step for the API)
- Node 22.18 or newer (native TypeScript type stripping, so no build step for the API)
- pnpm 9 or newer
## Setup
@@ -759,7 +759,7 @@ Wants=network-online.target
Type=simple
User=cashumints
WorkingDirectory=/srv/cashumints/api
ExecStart=/usr/bin/node --experimental-strip-types src/index.ts
ExecStart=/usr/bin/node src/index.ts
Environment=NODE_ENV=production
Environment=PORT=8787
Environment=DB_PATH=/var/lib/cashumints/cashumints.db