@keenmate/web-components-devkit 1.0.0-rc05 → 1.0.0-rc07

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.
@@ -4,7 +4,7 @@
4
4
  # redefined there wins, with a make "overriding recipe" warning). Per-developer
5
5
  # overrides (container runner, image name, port) go in .makefile.env.
6
6
 
7
- .PHONY: help setup dev kill-port build build-examples preview-examples package publish-dry publish publish-rc clean check-version check-vars doctor sync test test-e2e test-e2e-ui test-e2e-headed test-e2e-install image-build image-run image-stop image-clean
7
+ .PHONY: help setup dev kill-port build build-examples preview-examples package publish-dry publish publish-rc clean check-version check-vars doctor check-pages sync test test-e2e test-e2e-ui test-e2e-headed test-e2e-install image-build image-run image-stop image-clean
8
8
 
9
9
  -include .makefile.env
10
10
  DOCKER_RUNNER ?= {{RUNNER}}
@@ -91,6 +91,9 @@ check-vars: ## Validate component-variables.manifest.json against the CSS
91
91
  doctor: ## Check this repo against the Keenmate component standard
92
92
  npx kmwc doctor
93
93
 
94
+ check-pages: ## Load every example page at 1440/390/320px: errors, undefined elements, overflow
95
+ npx kmwc check-pages
96
+
94
97
  sync: ## Regenerate devkit-owned files (Dockerfile, nginx.conf, Makefile, …)
95
98
  npx kmwc sync
96
99
 
@@ -27,6 +27,8 @@ locally — every local fork is how they drifted apart.
27
27
  `.table-compact`, …) — don't restyle them per page; `kmwc-native` opts an
28
28
  element out. Log lines take the kit tones (`.log-line--ok|info|warn|err|muted`,
29
29
  `--action`, timeline cells `.log-line__time` …) — don't colour them per page.
30
+ `<kbd>`, `<mark>`, field widths (`.w-xs` … `.w-lg`) and `.push-end` are kit
31
+ too — no inline styles for them.
30
32
  If a second component needs a pattern, it belongs in the devkit.
31
33
  - **Example pages are fragments:** no `<html>`/`<head>`/`<header>` — start with
32
34
  `<meta name="kmwc:title" content="…">`, the devkit layout adds the rest. Shared text
@@ -46,4 +48,7 @@ locally — every local fork is how they drifted apart.
46
48
  otherwise published with it).
47
49
  - Before finishing: `npx kmwc doctor` must pass — it runs the devkit checks,
48
50
  checks the `npm pack` file list for dev-only files, and runs the rulebook's
49
- `*.checks.sh` suites.
51
+ `*.checks.sh` suites. A rulebook failure that is a real architectural decision
52
+ goes into `VALIDATION-NOTES.md` under a `## C-XX-N — …` heading (deferrals
53
+ don't count). After changing a page, `npx kmwc check-pages` loads every page at
54
+ desktop and phone widths and reports errors and horizontal overflow.