Skip to content

Commit 107f34a

Browse files
NicolappsConvex, Inc.
authored andcommitted
dashboard: Update Next.js (14 → 15) (#43570)
GitOrigin-RevId: d7ede661fc73c97140e1eef5a5c9cc19d60b4f0d
1 parent ff8fd09 commit 107f34a

File tree

10 files changed

+130
-261
lines changed

10 files changed

+130
-261
lines changed

npm-packages/common/config/rush/pnpm-lock.yaml

Lines changed: 117 additions & 251 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm-packages/dashboard-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"peerDependencies": {
1414
"@radix-ui/react-icons": "~1.3.0",
1515
"convex": "workspace:*",
16-
"next": "^14.2.33",
16+
"next": "^15.5.6",
1717
"next-themes": "~0.4.0",
1818
"react": "^18.0.0",
1919
"react-dom": "^18.0.0",

npm-packages/dashboard-self-hosted/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@radix-ui/react-icons": "~1.3.0",
1717
"convex": "workspace:*",
1818
"dashboard-common": "workspace:*",
19-
"next": "^14.2.33",
19+
"next": "^15.5.6",
2020
"next-themes": "~0.4.0",
2121
"react": "^18.0.0",
2222
"react-dom": "^18.0.0",

npm-packages/dashboard-storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@convex-dev/design-system": "workspace:*",
1212
"dashboard": "workspace:*",
1313
"dashboard-common": "workspace:*",
14-
"next": "^14.2.33",
14+
"next": "^15.5.6",
1515
"next-themes": "~0.4.0",
1616
"vite": "^6.4.1",
1717
"react": "^18.0.0",
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
6+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

npm-packages/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"formik": "^2.4.6",
4343
"launchdarkly-react-client-sdk": "^3.0.4",
4444
"lodash": "~4.17.21",
45-
"next": "^14.2.33",
45+
"next": "^15.5.6",
4646
"nprogress": "~0.2.0",
4747
"react": "^18.0.0",
4848
"react-day-picker": "~9.11.1",

npm-packages/demos/nextjs-app-router/app/vote/[option]/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ import { api } from "@/convex/_generated/api";
44
import { preloadQuery, preloadedQueryResult } from "convex/nextjs";
55

66
export default async function VoteOptionPage({
7-
params: { option },
7+
params,
88
}: {
9-
params: { option: string };
9+
params: Promise<{ option: string }>;
1010
}) {
11+
const { option } = await params;
12+
1113
const counterName = option;
1214
const preloadedCounter = await preloadQuery(api.counter.get, {
1315
counterName,

npm-packages/demos/nextjs-app-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"react": "^18.0.0",
1616
"react-dom": "^18.0.0",
17-
"next": "^14.2.33",
17+
"next": "^15.5.6",
1818
"convex": "workspace:*",
1919
"prettier": "3.6.2"
2020
},

npm-packages/demos/nextjs-pages-router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"lint": "eslint ."
1313
},
1414
"dependencies": {
15-
"next": "^14.2.33",
15+
"next": "^15.5.6",
1616
"react": "^18.0.0",
1717
"react-dom": "^18.0.0",
1818
"convex": "workspace:*",

npm-packages/private-demos/nextjs-app-router-snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"react": "^18.0.0",
1616
"react-dom": "^18.0.0",
17-
"next": "^14.2.33",
17+
"next": "^15.5.6",
1818
"convex": "workspace:*",
1919
"prettier": "3.6.2"
2020
},

0 commit comments

Comments
 (0)