- routing/scripts/build-glyphs.mjs: maintainer shell (Usage/Exit codes/ collect-then-write — a missing/invalid source exits 1 with the kind named and nothing written); recolors currentColor → #EB8008 in-memory and injects a full-bleed #1A1A1A plate (stroke="none" — it must not inherit the root's orange stroke); the committed SVGs are THE single source and stay untouched - sharp 0.35.5 as a routing devDependency (maintainer-only, zero runtime deps); 'glyphs' script added - 8× 256×256 PNGs committed (web/public/glyphs/) — the chat turn-card's sendPhoto URL rides the Worker's static handler; two render bugs fixed en route: density multiplied the explicit size attrs into 2048² (dropped), and the plate inherited the root stroke (orange frame — stroke="none") - SVG sources verified unchanged after the run
17 lines
391 B
JSON
17 lines
391 B
JSON
{
|
|
"name": "@araharah/routing",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "node test/runner.mjs",
|
|
"typecheck": "tsc --noEmit",
|
|
"fixtures": "node scripts/fetch-route-fixtures.mjs",
|
|
"corpus": "node scripts/route-corpus.mjs",
|
|
"glyphs": "node scripts/build-glyphs.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"sharp": "^0.35.5",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|