Skip to content

Commit 927fbe6

Browse files
committed
update to latest nextjs;
1 parent 08f0d5b commit 927fbe6

File tree

5 files changed

+741
-29
lines changed

5 files changed

+741
-29
lines changed

apps/dashboard/app/(main)/billing/hooks/use-billing.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export type Usage = {
1919
features: FeatureUsage[];
2020
};
2121

22-
// Re-export types for compatibility
2322
export type { Customer, CustomerInvoice as Invoice } from 'autumn-js';
2423

2524
export function useBilling(refetch?: () => void) {

apps/dashboard/next.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ import type { NextConfig } from 'next';
22

33
const nextConfig: NextConfig = {
44
experimental: {
5-
viewTransition: true,
65
optimizePackageImports: ['@phosphor-icons/react'],
7-
clientSegmentCache: true,
8-
reactCompiler: true,
9-
useCache: true,
106
staleTimes: {
117
dynamic: 30,
128
static: 180,

apps/dashboard/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@types/geojson": "^7946.0.16",
4545
"@types/leaflet": "^1.9.21",
4646
"ai": "^5.0.68",
47-
"autumn-js": "catalog:",
47+
"autumn-js": "^0.1.40",
4848
"babel-plugin-react-compiler": "^19.1.0-rc.1-rc-af1b7da-20250421",
4949
"better-auth": "^1.3.27",
5050
"class-variance-authority": "catalog:",
@@ -67,7 +67,7 @@
6767
"lucide-react": "^0.544.0",
6868
"motion": "^12.23.24",
6969
"nanoid": "^5.1.6",
70-
"next": "catalog:",
70+
"next": "^16.0.0",
7171
"next-themes": "^0.4.6",
7272
"nuqs": "^2.7.1",
7373
"ogl": "^1.0.11",

apps/dashboard/tsconfig.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ES2017",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -11,16 +15,20 @@
1115
"moduleResolution": "bundler",
1216
"resolveJsonModule": true,
1317
"isolatedModules": true,
14-
"jsx": "preserve",
18+
"jsx": "react-jsx",
1519
"incremental": true,
1620
"plugins": [
1721
{
1822
"name": "next"
1923
}
2024
],
2125
"paths": {
22-
"@/*": ["./*"],
23-
"~/*": ["../dashboard"]
26+
"@/*": [
27+
"./*"
28+
],
29+
"~/*": [
30+
"../dashboard"
31+
]
2432
},
2533
"strictNullChecks": true
2634
},
@@ -29,7 +37,9 @@
2937
"types/**/*.ts",
3038
"**/*.ts",
3139
"**/*.tsx",
32-
".next/types/**/*.ts"
40+
".next/types/**/*.ts",
41+
".next\\dev/types/**/*.ts",
42+
".next\\dev/types/**/*.ts"
3343
],
3444
"exclude": [
3545
"node_modules",

0 commit comments

Comments
 (0)