Commit Graph

7 Commits

Author SHA1 Message Date
medievalshell 2fded7bc79 feat: interactive JSON / JSON5 mode selector at build time
Lets the operator pick between strict JSON (legacy) and JSON5 for every
configuration file consumed by Nitro and the renderer.

- scripts/configure-json.mjs: interactive prompt (JSON5 recommended),
  with --if-missing and --non-interactive flags for CI use
- package.json: yarn configure / prestart / prebuild hooks
- vite.config.mjs: reads .nitro-build.json (or NITRO_JSON_MODE env) and
  injects the compile-time constant __NITRO_JSON_MODE__ via define
- src/bootstrap.ts: routes client-mode.json parsing through the
  selected mode
- .gitignore: ignore the per-deployment .nitro-build.json
- README: full usage and override section
- public/configuration assets regenerated by the updated prebuild flow

The renderer side (@nitrots/utils JsonParser) is updated in the
companion Nitro_Render_V3 commit on the dev branch.
2026-05-18 20:38:26 +02:00
Lorenzune 3c9a599505 Add secure configuration bootstrap flow 2026-04-25 13:29:48 +02:00
DuckieTM 8456f5edc8 Update README.md 2026-03-02 14:36:16 +01:00
DuckieTM f1a17b0fe2 Fix yarn link command formatting in README
Corrected the yarn link command formatting in the README.
2026-03-02 14:27:55 +01:00
DuckieTM e6c669ebe9 Fix README linking command syntax 2026-03-02 14:26:48 +01:00
DuckieTM f085444b13 Update installation instructions in README.md 2026-03-02 14:22:04 +01:00
DuckieTM 7feb10ab15 🆙 Init V3 2026-01-31 09:10:52 +01:00