diff --git a/examples/nextjs-usage/package.json b/examples/nextjs-usage/package.json index 51f1ace7..e860710c 100644 --- a/examples/nextjs-usage/package.json +++ b/examples/nextjs-usage/package.json @@ -11,14 +11,14 @@ "gen": "npx @kubekit/codegen gen-config/storage-config.ts && npx @kubekit/codegen gen-config/core-v1-config.ts" }, "dependencies": { - "@kubekit/client": "^0.0.3", - "next": "^14.2.0-canary.23", + "@kubekit/client": "0.0.19", + "next": "^14.2.1", "react": "^18", "react-dom": "^18" }, "devDependencies": { - "@kubekit/codegen": "0.0.3", - "@kubekit/sync": "^0.0.3", + "@kubekit/codegen": "^0.0.15", + "@kubekit/sync": "0.0.20", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", diff --git a/examples/nextjs-usage/src/app/page.tsx b/examples/nextjs-usage/src/app/page.tsx index 76cd034e..55e2c5aa 100644 --- a/examples/nextjs-usage/src/app/page.tsx +++ b/examples/nextjs-usage/src/app/page.tsx @@ -1,7 +1,14 @@ import { listCoreV1PodForAllNamespaces } from '@/generated/k8s-client/api-v1' export default async function Home() { - const pods = await listCoreV1PodForAllNamespaces({}) + const pods = await listCoreV1PodForAllNamespaces( + {}, + { + next: { + revalidate: false, + }, + } + ) return (