@hagicode/hagilight-core 0.20.0 → 0.20.1-dev.193.1.fb8173e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ The footer brand block shows one decorative HagiCode avatar beside the headline.
|
|
|
45
45
|
|
|
46
46
|
A site with a strict `img-src` policy must allow `https://img-gen.hagicode.com` for the cat fan. Without it the fan fails and the default stays.
|
|
47
47
|
|
|
48
|
-
**Pool refresh.** The pool is the `pool` object in `assets/footer/manifest.json`: `album`, `maxBytes` (40 KiB) and `entries` (`key`, `bytes`). To change it, take keys from the album's `index.json`, keep 12 to 200 unique keys each at or under `maxBytes`, audit each one as text-free, current and private-data free, and update the list. Then run `
|
|
48
|
+
**Pool refresh.** The pool is the `pool` object in `assets/footer/manifest.json`: `album`, `maxBytes` (40 KiB) and `entries` (`key`, `bytes`). To change it, take keys from the album's `index.json`, keep 12 to 200 unique keys each at or under `maxBytes`, audit each one as text-free, current and private-data free, and update the list. Then run `pnpm test`: `test/footer-imagery.test.mjs` fails on a missing file, a size or dimension mismatch, an entry over the cap, or a pool outside 12 to 200. The vendored default is `source.objectKey` in the same manifest.
|
|
49
49
|
|
|
50
50
|
## Root transit (explicit opt-in)
|
|
51
51
|
|
|
@@ -116,7 +116,7 @@ request query into that link; automatic forwarding requires scripting.
|
|
|
116
116
|
Run `node --test test/root-transit.test.mjs` after building for URL/timer checks,
|
|
117
117
|
and `node test/root-transit-browser.mjs` for the minimal-consumer, responsive,
|
|
118
118
|
no-script, reduced-motion, base and history checks.
|
|
119
|
-
The latter also runs through `
|
|
119
|
+
The latter also runs through `pnpm run test:viewport`. To compare a locally built
|
|
120
120
|
reference without changing it, set `HAGILIGHT_TRANSIT_REFERENCE_DIR` to the
|
|
121
121
|
official site's `dist` directory. Matching 1440/375 px captures at 625/1,250 ms
|
|
122
122
|
are written to `HAGILIGHT_ARTIFACT_DIR` (default `/tmp/hagilight-root-transit`),
|
package/package.json
CHANGED