@prosekit/preact 0.7.5 → 0.7.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 +19 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @prosekit/preact
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@prosekit/preact)
|
|
4
|
+
|
|
5
|
+
[Preact](https://preactjs.com/) bindings for [ProseKit](https://prosekit.dev), the toolkit for building rich text editors on the web. Provides the components and hooks for wiring a ProseKit editor into your Preact app.
|
|
6
|
+
|
|
7
|
+
> **Note:** This package is bundled into the main [`prosekit`](https://www.npmjs.com/package/prosekit) package. Most users should install `prosekit` and import from `prosekit/preact` instead of depending on this package directly.
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
See the [Preact guide](https://prosekit.dev/frameworks/preact) on [prosekit.dev](https://prosekit.dev).
|
|
12
|
+
|
|
13
|
+
## Sponsors
|
|
14
|
+
|
|
15
|
+
<p align="center"><a href="https://github.com/sponsors/ocavue"><img src="https://cdn.jsdelivr.net/gh/ocavue/sponsors/sponsorkit/sponsors.svg" alt="My Sponsors"></a></p>
|
|
16
|
+
|
|
17
|
+
## License
|
|
18
|
+
|
|
19
|
+
[MIT](https://github.com/prosekit/prosekit/blob/master/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosekit/preact",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Preact components and utilities for ProseKit",
|
|
7
7
|
"author": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@prosemirror-adapter/core": "^0.5.3",
|
|
76
76
|
"@prosemirror-adapter/preact": "^0.5.3",
|
|
77
|
-
"@prosekit/core": "^0.12.
|
|
78
|
-
"@prosekit/
|
|
79
|
-
"@prosekit/
|
|
77
|
+
"@prosekit/core": "^0.12.3",
|
|
78
|
+
"@prosekit/web": "^0.8.6",
|
|
79
|
+
"@prosekit/pm": "^0.1.18"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"preact": ">= 10.11.0"
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"preact": "^10.29.2",
|
|
91
|
-
"tsdown": "^0.22.
|
|
91
|
+
"tsdown": "^0.22.1",
|
|
92
92
|
"typescript": "~6.0.3",
|
|
93
|
-
"vitest": "^4.1.
|
|
93
|
+
"vitest": "^4.1.8",
|
|
94
94
|
"vitest-browser-preact": "^1.0.0",
|
|
95
95
|
"@prosekit/config-ts": "0.0.0",
|
|
96
|
-
"@prosekit/config-vitest": "0.0.0",
|
|
97
96
|
"@prosekit/config-tsdown": "0.0.0",
|
|
97
|
+
"@prosekit/config-vitest": "0.0.0",
|
|
98
98
|
"@prosekit/testing": "0.0.0"
|
|
99
99
|
},
|
|
100
100
|
"scripts": {
|