The unit's ExecStart named src/index.ts, so every start depended on the host
having Node 22.18 or newer for native type stripping. A deploy onto a host with
Node 20 met ERR_UNKNOWN_FILE_EXTENSION, exited in under a second, and was
restarted 464 times over fifteen hours with nothing anywhere going red.
api/tsconfig.json now emits to api/dist. The source keeps its explicit .ts import
specifiers, which is what makes `node --watch src/index.ts` work in development;
rewriteRelativeImportExtensions turns them into .js on the way out, so what runs
in production is ordinary ESM that any Node from 20.18 up will start.
`pnpm build` builds shared, then api, then web. `pnpm dev` is unchanged.
deploy/ is tracked rather than ignored: the unit files are the thing an operator
copies to /etc/systemd/system, and the alert unit added next has to live
somewhere a deploy can find it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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>
Add lnurl list/detail routes, OG fixtures, i18n strings, and the write/
index client flows so the site surfaces the new mint type end to end.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire discovery and probing for LNURL mints, add rate-limited POST /api/index
for user submissions, and optionally announce confirmed state to relays.
Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce lnurl as a first-class mint type with probe/announcement fields
and shared helpers the API and web can both rely on.
Co-authored-by: Cursor <cursoragent@cursor.com>
Capture the NIP kind contract and wire-level NOTES so indexing and probing
can follow observed LNURL mint behavior rather than outdated assumptions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add many new language packs with RTL support, refresh brand assets, and harden review rendering with tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add SearchAction and optional Product JSON-LD, per-page OG images/alts, and document the og build and cache headers.
Co-authored-by: Cursor <cursoragent@cursor.com>