@bladeberg/editor 0.2.1 → 0.2.2
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 +1 -1
- package/README.npm.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npm install @bladeberg/editor react react-dom
|
|
|
16
16
|
|
|
17
17
|
That's it. The Gutenberg runtime is **bundled inside the package** — you won't hit WordPress dependency hell.
|
|
18
18
|
|
|
19
|
-
**Requirements:** React 18, a modern browser, and a bundler that supports ESM (`import`).
|
|
19
|
+
**Requirements:** React 18 or 19, a modern browser, and a bundler that supports ESM (`import`).
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
package/README.npm.md
CHANGED
|
@@ -16,7 +16,7 @@ npm install @bladeberg/editor react react-dom
|
|
|
16
16
|
|
|
17
17
|
That's it. The Gutenberg runtime is **bundled inside the package** — you won't hit WordPress dependency hell.
|
|
18
18
|
|
|
19
|
-
**Requirements:** React 18, a modern browser, and a bundler that supports ESM (`import`).
|
|
19
|
+
**Requirements:** React 18 or 19, a modern browser, and a bundler that supports ESM (`import`).
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bladeberg/editor",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Headless BladeBerg block editor — the Gutenberg editor for SPA/mobile frontends talking to a Laravel backend.",
|
|
5
5
|
"license": "GPL-2.0-or-later",
|
|
6
6
|
"type": "module",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"prepublishOnly": "vite build --config vite.npm.config.js"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"react": "^18.2.0",
|
|
48
|
-
"react-dom": "^18.2.0"
|
|
47
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
48
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@automattic/isolated-block-editor": "2.30.0",
|