@bytesbrains/weblocks 0.6.0 → 0.6.1
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/CATALOG.md +1 -1
- package/CHANGELOG.md +9 -0
- package/README.md +3 -2
- package/catalog.json +1 -1
- package/package.json +3 -2
package/CATALOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @bytesbrains/weblocks — Block Catalog (v0.6.
|
|
1
|
+
# @bytesbrains/weblocks — Block Catalog (v0.6.1)
|
|
2
2
|
|
|
3
3
|
The AI composes a `SiteManifest` (`{ meta, design, blocks[] }`) using **only** the block types below, then the engine validates + renders it to static HTML. This file is generated from the code (`npm run emit:catalog`) — do not edit by hand.
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ follows [semantic versioning](https://semver.org): the **block catalog** and the
|
|
|
5
5
|
**`SiteManifest` shape** are the public contract — additive block/field changes
|
|
6
6
|
are minor, breaking changes to either are major.
|
|
7
7
|
|
|
8
|
+
## 0.6.1 — 2026-07-16
|
|
9
|
+
|
|
10
|
+
Docs only — no engine changes.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- A runnable **résumé example** (`npm run example:resume` → `resume-output.html`)
|
|
14
|
+
demonstrating the résumé pack + print-to-PDF end to end, and a README pointer
|
|
15
|
+
to it.
|
|
16
|
+
|
|
8
17
|
## 0.6.0 — 2026-07-16
|
|
9
18
|
|
|
10
19
|
A résumé/CV builder, hero image banners, and favicons. Additive and
|
package/README.md
CHANGED
|
@@ -298,8 +298,9 @@ typed schema (no raw-HTML field), consumes shared tokens, renders totally
|
|
|
298
298
|
npm install # dev deps only (typescript, @types/node)
|
|
299
299
|
npm run build # tsc → lib/
|
|
300
300
|
npm test # block definition-of-done + engine invariants
|
|
301
|
-
npm run example
|
|
302
|
-
npm run
|
|
301
|
+
npm run example # render a sample landing page → example-output.html
|
|
302
|
+
npm run example:resume # render a live résumé/CV → resume-output.html (try its Download-PDF)
|
|
303
|
+
npm run emit:catalog # regenerate catalog.json + CATALOG.md from code
|
|
303
304
|
```
|
|
304
305
|
|
|
305
306
|
Drive it end-to-end with a real model (dev harness — provider is env, not code):
|
package/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"package": "@bytesbrains/weblocks",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.1",
|
|
5
5
|
"description": "Block catalog for @bytesbrains/weblocks. Send this to the model as its API reference; it composes a SiteManifest ({ meta, design, blocks[] }) using ONLY these block types. The engine then validates and renders it.",
|
|
6
6
|
"blockTypes": [
|
|
7
7
|
"app-shell",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytesbrains/weblocks",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Block engine for AI-composable web apps — the AI composes a SiteManifest from a fixed block catalog; the engine validates and renders it to static HTML. Snap-together \"Lego\" web building blocks, shareable across repos.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"lib",
|
|
38
38
|
"!lib/**/*.test.js",
|
|
39
39
|
"!lib/**/*.test.d.ts",
|
|
40
|
-
"!lib/example
|
|
40
|
+
"!lib/example*",
|
|
41
41
|
"catalog.json",
|
|
42
42
|
"CATALOG.md",
|
|
43
43
|
"AGENT.md",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"emit:catalog": "node scripts/emit-catalog.mjs",
|
|
62
62
|
"test": "npm run build && node --test lib/*.test.js test/*.mjs",
|
|
63
63
|
"example": "tsc -p tsconfig.json && node lib/example.js",
|
|
64
|
+
"example:resume": "tsc -p tsconfig.json && node lib/example-resume.js",
|
|
64
65
|
"ai": "tsc -p tsconfig.json && node scripts/ai-run.mjs",
|
|
65
66
|
"prepare": "npm run build",
|
|
66
67
|
"prepublishOnly": "npm run build && npm run emit:catalog && npm test"
|