Commit 48c3029
committed
refactor: ISC-only map runtime — drop the 287 legacy JSON IR maps
The compact .isc sources are the sole map format now (dist shrinks
713MB → 26MB). Everything that loaded /maps/*.json moves to ISC:
worker + widget share mapStrategies() (ISC first), QuickBox/
MapPreview/ScriptMosaic preload ISC sources with parseIsc dependency
walks, the /api SSR routes read ISC via a filesystem-backed fetchFn.
The four .iml libraries (posix, unicode, var-Cyrl, var-kor) have no
ISC form and stay as the only compiled JSON fallback behind the ISC
strategies — without them every posix/unicode-dependent map
(bgnpcgn-deu, moct-kor, …) breaks. Browser-mode German e2e covers
the fallback path.
Tests migrate to ISC loaders; the ISC engine must now reproduce each
map's own embedded test vectors. Also clears pre-existing astro-check
errors (asciidoc convert cast, api-playground null narrowing).1 parent 86dbc33 commit 48c3029
302 files changed
Lines changed: 221 additions & 32198174 deletions
File tree
- e2e
- public/maps
- src
- components
- content/loaders
- lib
- pages/api
- transliterate
- scripts
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
165 | 179 | | |
166 | 180 | | |
167 | 181 | | |
| |||
0 commit comments