@moku-labs/web 2.4.4 → 2.4.6
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 +3 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,11 +34,11 @@ Built on the [@moku-labs/core](https://github.com/moku-labs/core) micro-kernel
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
bun add @moku-labs/web preact preact-render-to-string
|
|
37
|
+
bun add @moku-labs/web @moku-labs/core @moku-labs/common preact preact-render-to-string
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
> [!NOTE]
|
|
41
|
-
> `preact`
|
|
41
|
+
> `@moku-labs/core` (`^1.7.1`), `@moku-labs/common` (`^0.3.4`), `preact` and `preact-render-to-string` (used by the SSG build) are **peer dependencies** — your app compiles its JSX against the same single `preact` instance the framework renders with, and shares one `core`/`common` instance with the rest of the Moku family. Most package managers install peers automatically, but declare them explicitly so *you* own the version: a second nested copy of preact silently breaks hooks and island hydration. `mermaid-isomorphic` is an **optional** peer, needed only for build-time Mermaid diagrams in `content` (see its [README](src/plugins/content/README.md#mermaid-diagrams)).
|
|
42
42
|
|
|
43
43
|
> [!NOTE]
|
|
44
44
|
> **Status: `1.x` — stable.** The architecture and public API are stable and follow [semver](https://semver.org) — breaking changes land only in a new major. The npm badge above tracks the current release.
|
|
@@ -262,6 +262,7 @@ Each plugin is small, single-purpose, and documented on its own. **Click a name
|
|
|
262
262
|
| [`deploy`](src/plugins/deploy/README.md) | node-only | Cloudflare Pages: `wrangler.jsonc` scaffolding, secret scrubbing, deploy |
|
|
263
263
|
| [`cli`](src/plugins/cli/README.md) | node-only | Developer CLI — `build` / `serve` / `preview` / `deploy` with the animated Velocity Panel UI (lockup + version banner, live phase tree, boxed panels, live pulse) |
|
|
264
264
|
| [`data`](src/plugins/data/README.md) | optional provider | Agnostic `page path → JSON` contract: `write()` on Node, `at()` in the browser, for DATA nav |
|
|
265
|
+
| [`collection`](src/plugins/collection/README.md) | optional provider | Agnostic `(collection, shard) → JSON` contract: `write()` on Node, `at()` in the browser, for on-demand collection reads |
|
|
265
266
|
| [`env`](src/plugins/env/README.md) | core | Multi-provider environment / secret injection, validated and frozen at `onInit` |
|
|
266
267
|
| [`log`](src/plugins/log/README.md) | core | Structured logging + an in-memory trace with an `expect()` DSL for testable workflows |
|
|
267
268
|
|
package/package.json
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
118
|
"@biomejs/biome": "2.4.16",
|
|
119
|
-
"@moku-labs/ci": "1.
|
|
119
|
+
"@moku-labs/ci": "1.3.0",
|
|
120
120
|
"@moku-labs/common": "0.3.4",
|
|
121
121
|
"@moku-labs/core": "1.7.1",
|
|
122
122
|
"@types/bun": "1.3.14",
|
|
@@ -139,5 +139,5 @@
|
|
|
139
139
|
"typescript-eslint": "8.58.0",
|
|
140
140
|
"vitest": "4.0.18"
|
|
141
141
|
},
|
|
142
|
-
"version": "2.4.
|
|
142
|
+
"version": "2.4.6"
|
|
143
143
|
}
|