create-puck-app 0.16.0-canary.6d43ba0 → 0.16.0-canary.7a6a65c

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-puck-app",
3
- "version": "0.16.0-canary.6d43ba0",
3
+ "version": "0.16.0-canary.7a6a65c",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -9,7 +9,7 @@ export function Client({ path, data }: { path: string; data: Partial<Data> }) {
9
9
  <Puck
10
10
  config={config}
11
11
  data={data}
12
- onPublish={async (data: Data) => {
12
+ onPublish={async (data) => {
13
13
  await fetch("/puck/api", {
14
14
  method: "post",
15
15
  body: JSON.stringify({ data, path }),
@@ -38,3 +38,5 @@ export default async function Page({
38
38
 
39
39
  return <Client path={path} data={data || {}} />;
40
40
  }
41
+
42
+ export const dynamic = "force-dynamic";
@@ -1 +1 @@
1
- export { default, generateMetadata } from "./[...puckPath]/page";
1
+ export { default, generateMetadata, dynamic } from "./[...puckPath]/page";
@@ -2,4 +2,4 @@
2
2
  /// <reference types="next/image-types/global" />
3
3
 
4
4
  // NOTE: This file should not be edited
5
- // see https://nextjs.org/docs/basic-features/typescript for more information.
5
+ // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@measured/puck": "{{puckVersion}}",
13
13
  "classnames": "^2.3.2",
14
- "next": "^13.5.2",
14
+ "next": "^14.2.11",
15
15
  "react": "^18.2.0",
16
16
  "react-dom": "^18.2.0"
17
17
  },