@valbuild/next 0.55.2 → 0.57.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 +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -228,7 +228,7 @@ In client components you can access your content with the `useVal` hook:
|
|
|
228
228
|
// ./src/app/page.tsx
|
|
229
229
|
"use client";
|
|
230
230
|
import { NextPage } from "next";
|
|
231
|
-
import { useVal } from "
|
|
231
|
+
import { useVal } from "./val/val.client";
|
|
232
232
|
import contentVal from "./content.val";
|
|
233
233
|
|
|
234
234
|
const Page: NextPage = () => {
|
|
@@ -379,7 +379,7 @@ You can use the `ValRichText` component to render content.
|
|
|
379
379
|
"use client";
|
|
380
380
|
import { ValRichText } from "@valbuild/next";
|
|
381
381
|
import contentVal from "./content.val";
|
|
382
|
-
import { useVal } from "
|
|
382
|
+
import { useVal } from "./val/val.client";
|
|
383
383
|
|
|
384
384
|
export default function Page() {
|
|
385
385
|
const content = useVal(contentVal);
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"next",
|
|
9
9
|
"react"
|
|
10
10
|
],
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.57.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"typecheck": "tsc --noEmit",
|
|
14
14
|
"test": "jest"
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"exports": true
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@valbuild/core": "~0.
|
|
49
|
-
"@valbuild/react": "~0.
|
|
50
|
-
"@valbuild/server": "~0.
|
|
51
|
-
"@valbuild/ui": "~0.
|
|
48
|
+
"@valbuild/core": "~0.57.0",
|
|
49
|
+
"@valbuild/react": "~0.57.0",
|
|
50
|
+
"@valbuild/server": "~0.57.0",
|
|
51
|
+
"@valbuild/ui": "~0.57.0",
|
|
52
52
|
"client-only": "^0.0.1",
|
|
53
53
|
"server-only": "^0.0.1"
|
|
54
54
|
},
|