@prezly/theme-kit-nextjs 4.5.0 → 5.0.0-alpha.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 +3 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -12,12 +12,13 @@ The package is built with [Typescript] on top of [Prezly SDK].
|
|
|
12
12
|
### npm
|
|
13
13
|
|
|
14
14
|
```Shell
|
|
15
|
-
npm install --save @prezly/theme-kit-core @prezly/theme-kit-nextjs
|
|
15
|
+
npm install --save @prezly/sdk @prezly/theme-kit-core @prezly/theme-kit-nextjs
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
#### peerDependencies
|
|
19
19
|
|
|
20
|
-
This library depends on `@prezly/theme-kit-core` package, which contains more helpers that are not specific to Next.
|
|
20
|
+
This library depends on `@prezly/theme-kit-core` package, which contains more helpers that are not specific to Next, as well as `@prezly/sdk`, which provides the communication with Prezly API and typings.
|
|
21
|
+
We will occasionally bump the minimum required SDK version to ensure compatibility with latest Prezly features.
|
|
21
22
|
|
|
22
23
|
This library is intended to be used with [Next.js] applications, so it also requires `next`, `react` and `react-dom` to work. These should already be installed if you have an existing [Next.js] app.
|
|
23
24
|
If you're starting from scratch, use [create-next-app] to quick-start the project.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prezly/theme-kit-nextjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha.0",
|
|
4
4
|
"description": "Data layer and utility library for developing Prezly themes with NextJS",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -40,23 +40,23 @@
|
|
|
40
40
|
"test": "jest"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@prezly/
|
|
43
|
+
"@prezly/sdk": "^11.x",
|
|
44
|
+
"@prezly/theme-kit-core": "^4.0.1-alpha || ^5.0.0-alpha",
|
|
44
45
|
"next": "^12.x || ^13.x",
|
|
45
46
|
"react": "^17.x || ^18.x",
|
|
46
47
|
"react-dom": "^17.x || ^18.x"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@prezly/sdk": "^11.11.0",
|
|
50
50
|
"@react-hookz/web": "^16.0.0",
|
|
51
51
|
"next-seo": "^5.4.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@prezly/theme-kit-core": "^
|
|
54
|
+
"@prezly/theme-kit-core": "^5.0.0-alpha.0",
|
|
55
55
|
"@sentry/nextjs": "7.49.0"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "ca922f943a78f113060d967c8cf0b073676be1de"
|
|
62
62
|
}
|