@kudzujs/core 0.16.26 → 0.16.27
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 +14 -1
- package/framework/build.mjs +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Kudzu compiles ordinary React-shaped TypeScript and TSX into complete static HTM
|
|
|
14
14
|
|
|
15
15
|
> Experimental `0.16.x`: the compiler API and supported TSX surface may change.
|
|
16
16
|
|
|
17
|
-
**Current release: [0.16.
|
|
17
|
+
**Current release: [0.16.27](https://github.com/kudzujs/kudzu/releases/tag/v0.16.27).** Write reusable components, native event handlers, and pure collection expressions; Kudzu specializes supported source into static content and direct browser updates.
|
|
18
18
|
|
|
19
19
|
- [Documentation](https://kudzujs.cloud/docs)
|
|
20
20
|
- [Installation guide](https://kudzujs.cloud/docs#install)
|
|
@@ -130,6 +130,19 @@ A static sibling outside an enhanced-navigation group ships no JavaScript merely
|
|
|
130
130
|
because another page is interactive. Shared layout effects or explicit navigation
|
|
131
131
|
groups have their own lifetime; native anchors remain the default.
|
|
132
132
|
|
|
133
|
+
## Verify
|
|
134
|
+
|
|
135
|
+
A successful build validates supported source and emits deployable outputs; it
|
|
136
|
+
does not verify browser behavior or accessibility. Check visible DOM and relevant
|
|
137
|
+
interactions, labels, status updates, keyboard focus, and responsive layouts in a
|
|
138
|
+
browser as needed. Binding comments and inert templates mean raw HTML string
|
|
139
|
+
matches or tag stripping are not reliable checks of rendered text.
|
|
140
|
+
|
|
141
|
+
Keep checks bounded and report concise counts and failing paths rather than
|
|
142
|
+
repeatedly dumping minified artifacts. A missing tool or truncated response is
|
|
143
|
+
not a pass. After source changes, rerun affected checks. Optional compiler/artifact
|
|
144
|
+
reports and their limits are documented under [Build output](https://kudzujs.cloud/docs#build).
|
|
145
|
+
|
|
133
146
|
## How It Works
|
|
134
147
|
|
|
135
148
|
```text
|
package/framework/build.mjs
CHANGED
|
@@ -64,7 +64,10 @@ export async function buildWithSession(project, { changedFiles, quiet = false, m
|
|
|
64
64
|
await promoteOutput(stagedOutput, outputDirectory, backupOutput)
|
|
65
65
|
addTiming(project.timings, "writeMs", promoteStarted)
|
|
66
66
|
project.buildCache = retainCache ? cache : undefined
|
|
67
|
-
if (!quiet)
|
|
67
|
+
if (!quiet) {
|
|
68
|
+
console.log(`Built ${pageCount} page(s), ${behaviorCount} interactive page(s) into dist/`)
|
|
69
|
+
console.log("Browser behavior and accessibility need verification: https://kudzujs.cloud/docs#build")
|
|
70
|
+
}
|
|
68
71
|
return explanationRoute ? explanation : inspection ? createInspectionReport(inspectionData) : result
|
|
69
72
|
} catch (error) {
|
|
70
73
|
const normalized = normalizeDiagnosticError(error, root)
|