@contentrail/editor 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.md +4 -5
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -21,22 +21,21 @@ Does **not** depend on `@contentrail/publisher` or `@contentrail/cloudflare` at
21
21
 
22
22
  ## Install
23
23
 
24
- > **Not on the public npm registry yet.** See `docs/PUBLISHING.md`.
25
-
26
- ### Monorepo (current)
24
+ ### Monorepo
27
25
 
28
26
  ```sh
29
27
  pnpm install
30
28
  pnpm --filter @contentrail/editor build
31
29
  ```
32
30
 
33
- ### Intended after first public `0.1.0` release
31
+ ### From npm (upcoming `0.2.0` after authorized publish)
34
32
 
35
33
  ```sh
36
- pnpm add @contentrail/editor preact
34
+ pnpm add @contentrail/editor@0.2.0 preact
37
35
  ```
38
36
 
39
37
  Import styles: `import "@contentrail/editor/styles.css"`.
38
+ Schemas validated through `@contentrail/core` require Zod **`^4.6.7`**.
40
39
 
41
40
  ## UI stack
42
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentrail/editor",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Schema-driven ContentRail editor UI and API client (browser-safe).",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "dependencies": {
30
30
  "read-excel-file": "9.3.14",
31
- "@contentrail/core": "0.1.0"
31
+ "@contentrail/core": "0.2.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "preact": "^10.26.0"
@@ -39,9 +39,9 @@
39
39
  "preact": "^10.26.9",
40
40
  "preact-render-to-string": "^6.5.13",
41
41
  "typescript": "5.9.3",
42
- "zod": "3.25.76",
43
- "@contentrail/cloudflare": "0.1.0",
44
- "@contentrail/publisher": "0.1.0"
42
+ "zod": "4.6.7",
43
+ "@contentrail/cloudflare": "0.2.0",
44
+ "@contentrail/publisher": "0.2.0"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",