ultimate-jekyll-manager 1.6.7 → 1.6.8
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/CHANGELOG.md +7 -0
- package/CLAUDE.md +4 -0
- package/dist/assets/css/core/_lazy-loading.scss +6 -0
- package/dist/defaults/CLAUDE.md +3 -0
- package/docs/test-framework.md +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
14
14
|
- `Fixed` for any bug fixes.
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
|
+
---
|
|
18
|
+
## [1.6.8] - 2026-06-07
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **Lazy loading animation flash.** Elements with `data-lazy="@class animation-*"` were briefly visible before the IntersectionObserver fired, causing a jarring flash (visible → disappear → fade-in). Added CSS rule to hide these elements from initial paint so they smoothly animate in.
|
|
23
|
+
|
|
17
24
|
---
|
|
18
25
|
## [1.6.5] - 2026-06-04
|
|
19
26
|
|
package/CLAUDE.md
CHANGED
|
@@ -43,6 +43,10 @@ The only things that ARE safe to run inside UJM itself:
|
|
|
43
43
|
4. `npm run build` — production build (`UJ_BUILD_MODE=true`)
|
|
44
44
|
5. `npm run deploy` — build + `npu sync --message='Deploy'`
|
|
45
45
|
6. `npm test` (or `npx mgr test`) — runs framework + project test suites
|
|
46
|
+
- `npx mgr test pages/home` — run a specific test by path (relative to `test/`)
|
|
47
|
+
- `npx mgr test ujm:pages/home` — run only framework tests matching a path
|
|
48
|
+
- `npx mgr test project:custom-test` — run only consumer project tests matching a path
|
|
49
|
+
- Prefix with `TEST_EXTENDED_MODE=true` for tests that hit real external APIs
|
|
46
50
|
|
|
47
51
|
### For Framework Development (This Repository)
|
|
48
52
|
|
|
@@ -12,6 +12,12 @@ img[data-lazy] {
|
|
|
12
12
|
height: auto; // Maintain aspect ratio
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
// Hide elements with pending animation classes to prevent flash
|
|
16
|
+
// (visible → disappear → fade-in) when IntersectionObserver fires
|
|
17
|
+
[data-lazy*="animation-"] {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
15
21
|
// Hide video/audio elements until loaded to prevent ugly native controls showing during shimmer
|
|
16
22
|
[data-lazy-load-container].lazy-loading video,
|
|
17
23
|
[data-lazy-load-container].lazy-loading audio {
|
package/dist/defaults/CLAUDE.md
CHANGED
|
@@ -28,6 +28,9 @@ npm start # dev: clean → setup → bundle exec gulp serve (Jekyll +
|
|
|
28
28
|
npm run build # production build (UJ_BUILD_MODE=true): clean → setup → full gulp pipeline → _site/
|
|
29
29
|
npm run deploy # build → `npu sync --message='Deploy'` (publishes _site/)
|
|
30
30
|
npx mgr test # run framework + project test suites (build / page / boot layers)
|
|
31
|
+
npx mgr test pages/home # run a specific test by path (relative to test/)
|
|
32
|
+
npx mgr test ujm:pages/home # run only framework tests matching a path
|
|
33
|
+
npx mgr test project:custom-test # run only consumer project tests matching a path
|
|
31
34
|
npx mgr audit # HTML validation + spellcheck + optional Lighthouse
|
|
32
35
|
npx mgr install dev # use LOCAL ultimate-jekyll-manager source (to test framework edits)
|
|
33
36
|
npx mgr install live # restore the published ultimate-jekyll-manager from npm
|
package/docs/test-framework.md
CHANGED
|
@@ -37,6 +37,26 @@ npx mgr test --reporter json # machine-readable __UJM_TEST__ events
|
|
|
37
37
|
|
|
38
38
|
`npm test` works too — added to consumer `package.json#scripts.test` on `npx mgr setup`.
|
|
39
39
|
|
|
40
|
+
### Filtering tests
|
|
41
|
+
|
|
42
|
+
Pass a path (relative to `test/`) as a positional argument to run specific tests:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
# Run a single test file
|
|
46
|
+
npx mgr test pages/home
|
|
47
|
+
|
|
48
|
+
# Run only UJM framework tests
|
|
49
|
+
npx mgr test ujm:pages/home
|
|
50
|
+
|
|
51
|
+
# Run only consumer project tests
|
|
52
|
+
npx mgr test project:custom-test
|
|
53
|
+
|
|
54
|
+
# Combine with extended mode
|
|
55
|
+
TEST_EXTENDED_MODE=true npx mgr test pages/boot-test
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The filter matches against the test file path. `ujm:` and `project:` prefixes scope the filter to framework-only or project-only tests respectively. Without a prefix, both are searched.
|
|
59
|
+
|
|
40
60
|
## Layers
|
|
41
61
|
|
|
42
62
|
| Layer | Runs in | Use for |
|