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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user