@keystatic/templates-nextjs 0.0.55 → 0.0.58

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # @keystatic/templates-nextjs
2
2
 
3
+ ## 0.0.58
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9a970dd`](https://github.com/Thinkmill/keystatic/commit/9a970dd727b84a467964e1d1e235c8a6f8e19624) Thanks [@emmatown](https://github.com/emmatown)! - Republish template
8
+
9
+ ## 0.0.57
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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
14
+
15
+ - 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)]:
16
+ - @keystatic/core@0.5.44
17
+ - @keystatic/next@5.0.3
18
+
19
+ ## 0.0.56
20
+
21
+ ### Patch Changes
22
+
23
+ - [#1367](https://github.com/Thinkmill/keystatic/pull/1367) [`a361b0a`](https://github.com/Thinkmill/keystatic/commit/a361b0a551b62e08c25c2506103643046fb7b631) Thanks [@emmatown](https://github.com/emmatown)! - Add npm publishing provenance
24
+
25
+ - Updated dependencies [[`f006f08`](https://github.com/Thinkmill/keystatic/commit/f006f08f0a112fa56e5fc4e9ae4d9010c2220453), [`1a23c5b`](https://github.com/Thinkmill/keystatic/commit/1a23c5bd3b6595bfa4bf4c4e554717111e6e3a12), [`a361b0a`](https://github.com/Thinkmill/keystatic/commit/a361b0a551b62e08c25c2506103643046fb7b631), [`7a89c00`](https://github.com/Thinkmill/keystatic/commit/7a89c0079fac1a17396d58d9495b9492bb405678)]:
26
+ - @keystatic/core@0.5.43
27
+ - @keystatic/next@5.0.2
28
+
3
29
  ## 0.0.55
4
30
 
5
31
  ### Patch Changes
@@ -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({ params }: { params: { slug: string } }) {
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
- export default function RootLayout({
2
- children,
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,17 +1,22 @@
1
1
  {
2
2
  "name": "@keystatic/templates-nextjs",
3
- "version": "0.0.55",
3
+ "version": "0.0.58",
4
4
  "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/Thinkmill/keystatic/",
8
+ "directory": "templates/nextjs"
9
+ },
5
10
  "dependencies": {
6
11
  "@markdoc/markdoc": "^0.4.0",
7
- "next": "^14.1.3",
8
- "react": "^18.2.0",
9
- "react-dom": "^18.2.0",
10
- "@keystatic/core": "^0.5.42",
11
- "@keystatic/next": "^5.0.1"
12
+ "next": "^15.1.6",
13
+ "react": "^19.0.0",
14
+ "react-dom": "^19.0.0",
15
+ "@keystatic/core": "^0.5.44",
16
+ "@keystatic/next": "^5.0.3"
12
17
  },
13
18
  "devDependencies": {
14
- "@types/react": "^18.2.8",
19
+ "@types/react": "^19.0.8",
15
20
  "typescript": "^5.5.3"
16
21
  },
17
22
  "scripts": {