@piercebarney/whs-eleventy 2026.9.27 → 2026.9.28

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/lib/compliance.js CHANGED
@@ -186,6 +186,13 @@ const CHECKS = {
186
186
  const toml = read("netlify.toml") || "";
187
187
  if (!/for = "\/site\.webmanifest"[\s\S]*?application\/manifest\+json/.test(toml))
188
188
  return { status: FAIL, note: "site.webmanifest not served as application/manifest+json" };
189
+ if (!has("_site/site.webmanifest"))
190
+ return {
191
+ status: FAIL,
192
+ note:
193
+ "netlify.toml declares site.webmanifest's header, but the file " +
194
+ "doesn't exist in the built output",
195
+ };
189
196
  const fontFiles = walk(path.join(ROOT, "static")).filter((f) => /\.(woff2?|ttf|otf)$/.test(f));
190
197
  if (fontFiles.length && !grepSrc(/@font-face/, [".css"]).length)
191
198
  return { status: FAIL, note: `${fontFiles.length} font file(s) but no @font-face` };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piercebarney/whs-eleventy",
3
- "version": "2026.9.27",
3
+ "version": "2026.9.28",
4
4
  "description": "The web house style's Eleventy + Netlify tooling — the compliance sweep, the infra doctor, the link/CSP integrity check, and the a11y scan, shared by every project on the stack.",
5
5
  "bin": {
6
6
  "whs": "cli.js"
@@ -21,6 +21,25 @@ enforced, new *opt-in* chapters/capabilities, tooling-only changes — is
21
21
 
22
22
  ---
23
23
 
24
+ ## 2026-09-28 [non-breaking]
25
+
26
+ ### packages/whs-eleventy
27
+
28
+ `assets` in `lib/compliance.js` reported `PASS` for `site.webmanifest` based
29
+ solely on `netlify.toml` declaring a header rule for it — never checking
30
+ whether the file itself existed in the built output. A project could pass
31
+ having only declared the rule, never having actually generated the file (it's
32
+ produced at build time by `scripts/icons.js`), and the `PASS` message gave no
33
+ sign anything was missing — the same silent-pass class as the
34
+ `styling`/`brand-source`/`domain-tests` fix documented under 2026-09-23. No
35
+ `feedback/` file this time: found and fixed live in this conversation while
36
+ reviewing a real project's `/audit/` page work, not filed by an adopting
37
+ session. Fixed in `8773e26`: now also checks `_site/site.webmanifest` exists,
38
+ the same way `sitemap-robots` and `privacy` already check their own built-output
39
+ files in this file.
40
+
41
+ ---
42
+
24
43
  ## 2026-09-27 [non-breaking]
25
44
 
26
45
  ### templates/eleventy-netlify
package/standard/core.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Web project house style — CORE (stack-agnostic)
2
2
 
3
- **Version:** 2026-09-27 · **Status:** active
3
+ **Version:** 2026-09-28 · **Status:** active
4
4
 
5
5
  This is the stack-agnostic contract every web project follows, regardless of
6
6
  framework, host, or CSS system. It says **what** must be true, with concrete
@@ -1467,7 +1467,7 @@ governs it and follow that chapter — the slugs are the index (a `<script>` →
1467
1467
  - production-url: https://example.com
1468
1468
  - content-type: tool # tool | article (article => feeds)
1469
1469
  - publishing-rate: ~5 pages/week
1470
- - standard-version: 2026-09-27 # recommended — enables standard-version drift tracking (#compliance)
1470
+ - standard-version: 2026-09-28 # recommended — enables standard-version drift tracking (#compliance)
1471
1471
  ```
1472
1472
 
1473
1473
  If the section is absent, the assistant's first action is to run the flow above