@keystatic/templates-nextjs 0.0.56 → 0.0.59
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/CHANGELOG.md +24 -0
- package/app/[slug]/page.tsx +4 -1
- package/app/layout.tsx +3 -5
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @keystatic/templates-nextjs
|
|
2
2
|
|
|
3
|
+
## 0.0.59
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`3a4a854`](https://github.com/Thinkmill/keystatic/commit/3a4a8546cb05cd9f4ea734c9aa1e2dafeb9e5d9e)]:
|
|
8
|
+
- @keystatic/core@0.5.45
|
|
9
|
+
- @keystatic/next@5.0.3
|
|
10
|
+
|
|
11
|
+
## 0.0.58
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`9a970dd`](https://github.com/Thinkmill/keystatic/commit/9a970dd727b84a467964e1d1e235c8a6f8e19624) Thanks [@emmatown](https://github.com/emmatown)! - Republish template
|
|
16
|
+
|
|
17
|
+
## 0.0.57
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#1404](https://github.com/Thinkmill/keystatic/pull/1404) [`e848667`](https://github.com/Thinkmill/keystatic/commit/e848667c8b3b46357b2b62d401e8be252b68e1aa) Thanks [@emmatown](https://github.com/emmatown)! - Update template to React 19
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`9a73371`](https://github.com/Thinkmill/keystatic/commit/9a73371c642da0770536076cb7f4e70a0fe496f6), [`c300a68`](https://github.com/Thinkmill/keystatic/commit/c300a68253a3ea95662aae19fdae880727da899a), [`4c4b0ef`](https://github.com/Thinkmill/keystatic/commit/4c4b0efa8ecfc45053dee992f7ceb8566c520ede), [`e848667`](https://github.com/Thinkmill/keystatic/commit/e848667c8b3b46357b2b62d401e8be252b68e1aa)]:
|
|
24
|
+
- @keystatic/core@0.5.44
|
|
25
|
+
- @keystatic/next@5.0.3
|
|
26
|
+
|
|
3
27
|
## 0.0.56
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/app/[slug]/page.tsx
CHANGED
|
@@ -4,7 +4,10 @@ import Markdoc from '@markdoc/markdoc';
|
|
|
4
4
|
import { reader } from '../reader';
|
|
5
5
|
import { markdocConfig } from '../../keystatic.config';
|
|
6
6
|
|
|
7
|
-
export default async function Post(
|
|
7
|
+
export default async function Post(props: {
|
|
8
|
+
params: Promise<{ slug: string }>;
|
|
9
|
+
}) {
|
|
10
|
+
const params = await props.params;
|
|
8
11
|
const { slug } = params;
|
|
9
12
|
|
|
10
13
|
const post = await reader.collections.posts.read(slug);
|
package/app/layout.tsx
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}: {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
}) {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export default function RootLayout({ children }: { children: ReactNode }) {
|
|
6
4
|
return (
|
|
7
5
|
<html lang="en">
|
|
8
6
|
<body>{children}</body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystatic/templates-nextjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@markdoc/markdoc": "^0.4.0",
|
|
12
|
-
"next": "^
|
|
13
|
-
"react": "^
|
|
14
|
-
"react-dom": "^
|
|
15
|
-
"@keystatic/core": "^0.5.
|
|
16
|
-
"@keystatic/next": "^5.0.
|
|
12
|
+
"next": "^15.1.6",
|
|
13
|
+
"react": "^19.0.0",
|
|
14
|
+
"react-dom": "^19.0.0",
|
|
15
|
+
"@keystatic/core": "^0.5.45",
|
|
16
|
+
"@keystatic/next": "^5.0.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/react": "^
|
|
19
|
+
"@types/react": "^19.0.8",
|
|
20
20
|
"typescript": "^5.5.3"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|