@contentbit/react 1.0.0-rc.2 → 2.0.0-next.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.
- package/README.md +4 -2
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @contentbit/react
|
|
2
2
|
|
|
3
|
-
Headless React renderer for
|
|
3
|
+
Headless React renderer for documents written with the typed Markdown blocks of
|
|
4
|
+
[contentbit](https://contentbit.dev), the SEO content check for agents. Typed
|
|
5
|
+
blocks are opt-in.
|
|
4
6
|
|
|
5
7
|
```tsx
|
|
6
8
|
import { defineBlockComponent, defineBlockComponents, ContentBlocks } from '@contentbit/react'
|
|
@@ -24,4 +26,4 @@ and reject misspelled component-map keys.
|
|
|
24
26
|
available through the shadcn registry, where files are copied into your app:
|
|
25
27
|
`pnpm dlx shadcn@latest add @contentbit/generic-pack`.
|
|
26
28
|
|
|
27
|
-
Docs: [
|
|
29
|
+
Docs: [render documents](https://contentbit.dev/docs/guides/renderers)
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentbit/react",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Headless React renderer for
|
|
3
|
+
"version": "2.0.0-next.0",
|
|
4
|
+
"description": "Headless React renderer for documents written with contentbit's typed Markdown blocks.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
6
|
+
"contentbit",
|
|
7
7
|
"headless",
|
|
8
8
|
"markdown",
|
|
9
9
|
"react",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@contentbit/core": "
|
|
35
|
+
"@contentbit/core": "2.0.0-next.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@testing-library/react": "^16.3.
|
|
39
|
-
"@types/react": "^19.
|
|
40
|
-
"happy-dom": "^
|
|
41
|
-
"react": "^19.
|
|
42
|
-
"react-dom": "^19.
|
|
38
|
+
"@testing-library/react": "^16.3.3",
|
|
39
|
+
"@types/react": "^19.3.3",
|
|
40
|
+
"happy-dom": "^21.0.4",
|
|
41
|
+
"react": "^19.3.1",
|
|
42
|
+
"react-dom": "^19.3.1",
|
|
43
43
|
"typescript": "^5.9.3",
|
|
44
|
-
"vitest": "^
|
|
45
|
-
"zod": "^4.
|
|
46
|
-
"@contentbit/blocks": "
|
|
44
|
+
"vitest": "^5.1.2",
|
|
45
|
+
"zod": "^4.6.7",
|
|
46
|
+
"@contentbit/blocks": "2.0.0-next.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": "^19.0.0"
|