wealth/packages/island
Amiram_se bbf84069c9 feat(island,apps): island asset plugin writes hashed fonts and icon sprite
Add withIslandAssets (island tools/asset-plugin) per ADR 0008. On next dev
and next build it builds the svgo sprite from src/icons and copies the
Yekan Bakh fonts into the app's public/ under content-hashed names, puts
their paths in env (NEXT_PUBLIC_ISLAND_*) and serves them with an
immutable Cache-Control. Files are written in headers(), which only Next
calls, because Nx's next plugin also evaluates the config from the
workspace root.

- island env (setEnv/getEnv); Icon reads the sprite path from it
- icon-sprite-plugin becomes icon-name-extraction (IconName type only);
  the committed sprite.svg is removed
- bull and bear register the plugin, validate the paths, pass them to
  island through their bootstraps, and add an optional CDN origin for fonts
- gitignore the generated files; Nx build outputs include them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 11:58:56 +04:00
..
src feat(island,apps): island asset plugin writes hashed fonts and icon sprite 2026-10-05 11:58:56 +04:00
.babelrc feat: scaffold 2026-10-02 18:19:11 +04:00
eslint.config.mjs feat: scaffold 2026-10-02 18:19:11 +04:00
package.json feat(island,apps): island asset plugin writes hashed fonts and icon sprite 2026-10-05 11:58:56 +04:00
tsconfig.json feat: scaffold 2026-10-02 18:19:11 +04:00
tsconfig.lib.json feat: libs, tools 2026-10-02 19:42:11 +04:00