10 Commits

Author SHA1 Message Date
luxick 62d6bd211b Fork FancyScribe as BrevyScribe with the datasheet transforms built in
CI / check (push) Has been cancelled
Print generic datasheets - every option a unit could take, the way the
official cards read - instead of a record of one particular list.

The three Python scripts that used to rewrite the .ros file before upload
are now transforms in src/transforms/, running in the browser between
DOMParser and the roster parser. Most of each script was machinery for
preserving the file byte for byte on the way back to disk; in the browser
the document is never serialised, so only the domain logic came across.

Because they run on the parsed document rather than the uploaded file,
flipping a transform off rebuilds from the original XML with no
re-upload. Saved rosters therefore hold the raw roster XML rather than
the parsed object, under new localStorage keys.

The scripts' output over four 11th-edition rosters is checked in as test
fixtures, so the port is measured against an independent implementation
that was verified by printing the cards; scripts/update-fixtures.mjs
refuses to overwrite those without --force.

Two parser call sites now use :scope> rather than repeating the scope
element's own name, which means the same thing in a browser and also
works under jsdom, where the old form matched nothing.

Also: served at the root rather than a GitHub Pages subpath, PostHog
analytics removed, and deploy/ carries an nginx site for
scribe.luxick.de plus an rsync deploy script.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-25 15:11:10 +02:00
NilsUeter 8a7cbf7f14 add oc to table, small calc fix, add biome 2025-04-07 19:25:39 +02:00
NilsUeter 4424356dbc add react-compiler 2025-04-05 19:08:30 +02:00
NilsUeter b07aa32f17 Better table 2025-04-05 19:02:40 +02:00
NilsUeter b586f59109 Add a short summary and two charts 2025-04-05 17:59:28 +02:00
NilsUeter 2ffc8ee5ef revert vite bump because of issues with jszip 2025-02-25 22:55:30 +01:00
dependabot[bot] 8839cb1252 Bump esbuild and vite
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.0 and updates ancestor dependency [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies need to be updated together.


Updates `esbuild` from 0.18.20 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2023.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.18.20...v0.25.0)

Updates `vite` from 4.5.9 to 6.2.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.2.0/packages/vite)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: indirect
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 21:53:52 +00:00
NilsUeter 5ec2743f3e bump deps 2025-02-25 18:36:11 +01:00
NilsUeter 2c49e646b4 save rosters in localStorage, better mobile support for 10th edition, add tailwind 2023-10-20 22:11:23 +02:00
NilsUeter 4007862149 first commit 2023-04-09 17:55:17 +02:00