diff --git a/dashboard/final-example/app/dashboard/layout.tsx b/dashboard/final-example/app/dashboard/layout.tsx
index 8fbc323..31363d1 100644
--- a/dashboard/final-example/app/dashboard/layout.tsx
+++ b/dashboard/final-example/app/dashboard/layout.tsx
@@ -1,5 +1,7 @@
import SideNav from '@/app/ui/dashboard/sidenav';
+export const experimental_ppr = true;
+
export default function Layout({ children }: { children: React.ReactNode }) {
return (
diff --git a/dashboard/final-example/app/ui/invoices/create-form.tsx b/dashboard/final-example/app/ui/invoices/create-form.tsx
index fdbe863..6012b30 100644
--- a/dashboard/final-example/app/ui/invoices/create-form.tsx
+++ b/dashboard/final-example/app/ui/invoices/create-form.tsx
@@ -9,11 +9,11 @@ import {
UserCircleIcon,
} from '@heroicons/react/24/outline';
import { Button } from '@/app/ui/button';
-import { createInvoice } from '@/app/lib/actions';
+import { createInvoice, State } from '@/app/lib/actions';
import { useFormState } from 'react-dom';
export default function Form({ customers }: { customers: CustomerField[] }) {
- const initialState = { message: null, errors: {} };
+ const initialState: State = { message: null, errors: {} };
const [state, dispatch] = useFormState(createInvoice, initialState);
return (
diff --git a/dashboard/final-example/app/ui/invoices/edit-form.tsx b/dashboard/final-example/app/ui/invoices/edit-form.tsx
index ba25b0a..a1e7140 100644
--- a/dashboard/final-example/app/ui/invoices/edit-form.tsx
+++ b/dashboard/final-example/app/ui/invoices/edit-form.tsx
@@ -9,7 +9,7 @@ import {
} from '@heroicons/react/24/outline';
import Link from 'next/link';
import { Button } from '@/app/ui/button';
-import { updateInvoice } from '@/app/lib/actions';
+import { updateInvoice, State } from '@/app/lib/actions';
import { useFormState } from 'react-dom';
export default function EditInvoiceForm({
@@ -19,7 +19,7 @@ export default function EditInvoiceForm({
invoice: InvoiceForm;
customers: CustomerField[];
}) {
- const initialState = { message: null, errors: {} };
+ const initialState: State = { message: null, errors: {} };
const updateInvoiceWithId = updateInvoice.bind(null, invoice.id);
const [state, dispatch] = useFormState(updateInvoiceWithId, initialState);
diff --git a/dashboard/final-example/next.config.mjs b/dashboard/final-example/next.config.mjs
new file mode 100644
index 0000000..afde331
--- /dev/null
+++ b/dashboard/final-example/next.config.mjs
@@ -0,0 +1,9 @@
+/** @type {import('next').NextConfig} */
+
+const nextConfig = {
+ experimental: {
+ ppr: 'incremental',
+ },
+};
+
+export default nextConfig;
diff --git a/dashboard/final-example/package.json b/dashboard/final-example/package.json
index 41be00f..7214ca0 100644
--- a/dashboard/final-example/package.json
+++ b/dashboard/final-example/package.json
@@ -17,7 +17,7 @@
"autoprefixer": "10.4.15",
"bcrypt": "^5.1.1",
"clsx": "^2.0.0",
- "next": "15.0.0-rc.0",
+ "next": "15.0.0-canary.28",
"next-auth": "^5.0.0-beta.4",
"postcss": "8.4.31",
"react": "19.0.0-rc-6230622a1a-20240610",
diff --git a/dashboard/final-example/pnpm-lock.yaml b/dashboard/final-example/pnpm-lock.yaml
index 4e89d6a..94b2351 100644
--- a/dashboard/final-example/pnpm-lock.yaml
+++ b/dashboard/final-example/pnpm-lock.yaml
@@ -27,11 +27,11 @@ dependencies:
specifier: ^2.0.0
version: 2.1.1
next:
- specifier: 15.0.0-rc.0
- version: 15.0.0-rc.0(@babel/core@7.24.7)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610)
+ specifier: 15.0.0-canary.28
+ version: 15.0.0-canary.28(@babel/core@7.24.7)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610)
next-auth:
specifier: ^5.0.0-beta.4
- version: 5.0.0-beta.19(next@15.0.0-rc.0)(react@19.0.0-rc-6230622a1a-20240610)
+ version: 5.0.0-beta.19(next@15.0.0-canary.28)(react@19.0.0-rc-6230622a1a-20240610)
postcss:
specifier: 8.4.31
version: 8.4.31
@@ -658,8 +658,8 @@ packages:
'@types/pg': 8.6.6
dev: false
- /@next/env@15.0.0-rc.0:
- resolution: {integrity: sha512-6W0ndQvHR9sXcqcKeR/inD2UTRCs9+VkSK3lfaGmEuZs7EjwwXMO2BPYjz9oBrtfPL3xuTjtXsHKSsalYQ5l1Q==}
+ /@next/env@15.0.0-canary.28:
+ resolution: {integrity: sha512-0ITy8GHxw1UnCe6qr65gnGyHraY3f9eifRjdKybFvAGXHhakkepwIVPuQDBYAOwa3bnP7dgzZpk2VGF9jxXzPA==}
dev: false
/@next/eslint-plugin-next@15.0.0-rc.0:
@@ -668,8 +668,8 @@ packages:
glob: 10.3.10
dev: true
- /@next/swc-darwin-arm64@15.0.0-rc.0:
- resolution: {integrity: sha512-4OpTXvAWcSabXA5d688zdUwa3sfT9QrLnHMdpv4q2UDnnuqmOI0xLb6lrOxwpi+vHJNkneuNLqyc5HGBhkqL6A==}
+ /@next/swc-darwin-arm64@15.0.0-canary.28:
+ resolution: {integrity: sha512-wKocn87O5NzHsBQGiZGgvCkU5awfY35o5FIQZTZ2xXnERHJUbE4bAeYhEf/kg9tZtG2Mqw4CItUVtS0Q0L0XMg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -677,8 +677,8 @@ packages:
dev: false
optional: true
- /@next/swc-darwin-x64@15.0.0-rc.0:
- resolution: {integrity: sha512-/TD8M9DT244uhtFA8P/0DUbM7ftg2zio6yOo6ajV16vNjkcug9Kt9//Wa4SrJjWcsGZpViLctOlwn3/6JFAuAA==}
+ /@next/swc-darwin-x64@15.0.0-canary.28:
+ resolution: {integrity: sha512-vuwicSLOtxXOj2OIyDjNxkJlzQTIOwmX+KmZZinMG22N1dpYWT2pxYK5ZJVQGa1SSKVsC/vxu1zG963aa2Oq8g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -686,8 +686,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-arm64-gnu@15.0.0-rc.0:
- resolution: {integrity: sha512-3VTO32938AcqOlOI/U61/MIpeYrblP22VU1GrgmMQJozsAXEJgLCgf3wxZtn61/FG4Yc0tp7rPZE2t1fIGe0+w==}
+ /@next/swc-linux-arm64-gnu@15.0.0-canary.28:
+ resolution: {integrity: sha512-Do3PxwAyuSyIEttDbUUsOqS9d/IZCwMKBNBrmc2dg6eqC/GQWnGSDKRfKGNfQnGVia2Z5EGITIrsBcEelc/g6Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -695,8 +695,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-arm64-musl@15.0.0-rc.0:
- resolution: {integrity: sha512-0kDnxM3AfrrHFJ/wTkjkv7cVHIaGwv+CzDg9lL2BoLEM4kMQhH20DTsBOMqpTpo1K2KCg67LuTGd3QOITT5uFQ==}
+ /@next/swc-linux-arm64-musl@15.0.0-canary.28:
+ resolution: {integrity: sha512-WAlgyaifh6wg4dZgv4CRyXdvVVqSwY/xfdA+qdbf+Z3Sbs6FMO+etXhXqkwnujlpi3uiOEY9IizrwFlikCXt1A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -704,8 +704,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-x64-gnu@15.0.0-rc.0:
- resolution: {integrity: sha512-fPMNahzqYFjm5h0ncJ5+F3NrShmWhpusM+zrQl01MMU0Ed5xsL4pJJDSuXV4wPkNUSjCP3XstTjxR5kBdO4juQ==}
+ /@next/swc-linux-x64-gnu@15.0.0-canary.28:
+ resolution: {integrity: sha512-F7w21iUF0YQB9CNEbp06mqOl/XPGtQpR69Jcu4fpcWdd7iKe2IxGJbfyNfmTAUf+S186kYQuSNgsNBPPPuEqxw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -713,8 +713,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-x64-musl@15.0.0-rc.0:
- resolution: {integrity: sha512-7/FLgOqrrQAxOVQrxfr3bGgZ83pSCmc2S3TXBILnHw0S8qLxmFjhSjH5ogaDmjrES/PSYMaX1FsP5Af88hp7Gw==}
+ /@next/swc-linux-x64-musl@15.0.0-canary.28:
+ resolution: {integrity: sha512-YkrgRQu+f4Jb0kz7oO09lQlR6TqOV573ELV//yCmjl+Hc89rSTp3PDVScNnf5UWJgscDC1vX7fcByp/lA8E57A==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -722,8 +722,8 @@ packages:
dev: false
optional: true
- /@next/swc-win32-arm64-msvc@15.0.0-rc.0:
- resolution: {integrity: sha512-5wcqoYHh7hbdghjH6Xs3i5/f0ov+i1Xw2E3O+BzZNESYVLgCM1q7KJu5gdGFoXA2gz5XaKF/VBcYHikLzyjgmA==}
+ /@next/swc-win32-arm64-msvc@15.0.0-canary.28:
+ resolution: {integrity: sha512-W/zMWyjyQIqTH6VitQs3YhkM4md1dcZyIVLEVUGj5QhsOl+/UW1qe2Y4YUKvQPnCbMcGu0Vk/dhiyIkv/B6OXg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -731,8 +731,8 @@ packages:
dev: false
optional: true
- /@next/swc-win32-ia32-msvc@15.0.0-rc.0:
- resolution: {integrity: sha512-/hqOmYRTvtBPToE4Dbl9n+sLYU7DPd52R+TtjIrrEzTMgFo2/d7un3sD7GKmb2OwOj/ExyGv6Bd/JzytBVxXlw==}
+ /@next/swc-win32-ia32-msvc@15.0.0-canary.28:
+ resolution: {integrity: sha512-JbxGVmHN0rdVp7l7qX/HkXM/rgehRiHExFaJza+7iCJv/yYoB+rMvSPJnuSNq+lNMEJUc4y/iQ8r0Bja8t7BkQ==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -740,8 +740,8 @@ packages:
dev: false
optional: true
- /@next/swc-win32-x64-msvc@15.0.0-rc.0:
- resolution: {integrity: sha512-2Jly5nShvCUzzngP3RzdQ3JcuEcHcnIEvkvZDCXqFAK+bWks4+qOkEUO1QIAERQ99J5J9/1AN/8zFBme3Mm57A==}
+ /@next/swc-win32-x64-msvc@15.0.0-canary.28:
+ resolution: {integrity: sha512-+MEW2d87/hOU8gM4Uw+iwCuWK1yAk6SbcQWByB0o4geEVJEK7j8J3agdjFlHZWiabhljyf2VYbfPu4Xj3nRmtA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -3326,7 +3326,7 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
- /next-auth@5.0.0-beta.19(next@15.0.0-rc.0)(react@19.0.0-rc-6230622a1a-20240610):
+ /next-auth@5.0.0-beta.19(next@15.0.0-canary.28)(react@19.0.0-rc-6230622a1a-20240610):
resolution: {integrity: sha512-YHu1igcAxZPh8ZB7GIM93dqgY6gcAzq66FOhQFheAdOx1raxNcApt05nNyNCSB6NegSiyJ4XOPsaNow4pfDmsg==}
peerDependencies:
'@simplewebauthn/browser': ^9.0.1
@@ -3343,20 +3343,20 @@ packages:
optional: true
dependencies:
'@auth/core': 0.32.0
- next: 15.0.0-rc.0(@babel/core@7.24.7)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610)
+ next: 15.0.0-canary.28(@babel/core@7.24.7)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610)
react: 19.0.0-rc-6230622a1a-20240610
dev: false
- /next@15.0.0-rc.0(@babel/core@7.24.7)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610):
- resolution: {integrity: sha512-IWcCvxUSCAuOK5gig4+9yiyt/dLKpIa+WT01Qcx4CBE4TtwJljyTDnCVVn64jDZ4qmSzsaEYXpb4DTI8qbk03A==}
- engines: {node: '>=18.17.0'}
+ /next@15.0.0-canary.28(@babel/core@7.24.7)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610):
+ resolution: {integrity: sha512-l50RlkXP6wdQHs6ssjxQOpT3fooWq4pGAY31HcShAmJk+mrrYLqJwU/AwkATngPL0snykurINAqBHeASAG8LEQ==}
+ engines: {node: '>=18.17.0', pnpm: 8.15.7}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
'@playwright/test': ^1.41.2
babel-plugin-react-compiler: '*'
- react: 19.0.0-rc-f994737d14-20240522
- react-dom: 19.0.0-rc-f994737d14-20240522
+ react: 19.0.0-rc.0
+ react-dom: 19.0.0-rc.0
sass: ^1.3.0
peerDependenciesMeta:
'@opentelemetry/api':
@@ -3368,7 +3368,7 @@ packages:
sass:
optional: true
dependencies:
- '@next/env': 15.0.0-rc.0
+ '@next/env': 15.0.0-canary.28
'@swc/helpers': 0.5.11
busboy: 1.6.0
caniuse-lite: 1.0.30001632
@@ -3376,17 +3376,17 @@ packages:
postcss: 8.4.31
react: 19.0.0-rc-6230622a1a-20240610
react-dom: 19.0.0-rc-6230622a1a-20240610(react@19.0.0-rc-6230622a1a-20240610)
- styled-jsx: 5.1.3(@babel/core@7.24.7)(react@19.0.0-rc-6230622a1a-20240610)
+ styled-jsx: 5.1.6(@babel/core@7.24.7)(react@19.0.0-rc-6230622a1a-20240610)
optionalDependencies:
- '@next/swc-darwin-arm64': 15.0.0-rc.0
- '@next/swc-darwin-x64': 15.0.0-rc.0
- '@next/swc-linux-arm64-gnu': 15.0.0-rc.0
- '@next/swc-linux-arm64-musl': 15.0.0-rc.0
- '@next/swc-linux-x64-gnu': 15.0.0-rc.0
- '@next/swc-linux-x64-musl': 15.0.0-rc.0
- '@next/swc-win32-arm64-msvc': 15.0.0-rc.0
- '@next/swc-win32-ia32-msvc': 15.0.0-rc.0
- '@next/swc-win32-x64-msvc': 15.0.0-rc.0
+ '@next/swc-darwin-arm64': 15.0.0-canary.28
+ '@next/swc-darwin-x64': 15.0.0-canary.28
+ '@next/swc-linux-arm64-gnu': 15.0.0-canary.28
+ '@next/swc-linux-arm64-musl': 15.0.0-canary.28
+ '@next/swc-linux-x64-gnu': 15.0.0-canary.28
+ '@next/swc-linux-x64-musl': 15.0.0-canary.28
+ '@next/swc-win32-arm64-msvc': 15.0.0-canary.28
+ '@next/swc-win32-ia32-msvc': 15.0.0-canary.28
+ '@next/swc-win32-x64-msvc': 15.0.0-canary.28
sharp: 0.33.4
transitivePeerDependencies:
- '@babel/core'
@@ -4315,8 +4315,8 @@ packages:
engines: {node: '>=8'}
dev: true
- /styled-jsx@5.1.3(@babel/core@7.24.7)(react@19.0.0-rc-6230622a1a-20240610):
- resolution: {integrity: sha512-qLRShOWTE/Mf6Bvl72kFeKBl8N2Eq9WIFfoAuvbtP/6tqlnj1SCjv117n2MIjOPpa1jTorYqLJgsHKy5Y3ziww==}
+ /styled-jsx@5.1.6(@babel/core@7.24.7)(react@19.0.0-rc-6230622a1a-20240610):
+ resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}
engines: {node: '>= 12.0.0'}
peerDependencies:
'@babel/core': '*'
diff --git a/dashboard/final-example/tsconfig.json b/dashboard/final-example/tsconfig.json
index 8c283d1..e93758b 100644
--- a/dashboard/final-example/tsconfig.json
+++ b/dashboard/final-example/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "target": "es5",
+ "target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
diff --git a/dashboard/starter-example/next.config.js b/dashboard/starter-example/next.config.js
deleted file mode 100644
index 658404a..0000000
--- a/dashboard/starter-example/next.config.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/** @type {import('next').NextConfig} */
-const nextConfig = {};
-
-module.exports = nextConfig;
diff --git a/dashboard/final-example/next.config.js b/dashboard/starter-example/next.config.mjs
similarity index 69%
rename from dashboard/final-example/next.config.js
rename to dashboard/starter-example/next.config.mjs
index 658404a..4678774 100644
--- a/dashboard/final-example/next.config.js
+++ b/dashboard/starter-example/next.config.mjs
@@ -1,4 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
-module.exports = nextConfig;
+export default nextConfig;
diff --git a/dashboard/starter-example/package.json b/dashboard/starter-example/package.json
index c7bb766..551fe38 100644
--- a/dashboard/starter-example/package.json
+++ b/dashboard/starter-example/package.json
@@ -15,7 +15,7 @@
"autoprefixer": "10.4.15",
"bcrypt": "^5.1.1",
"clsx": "^2.0.0",
- "next": "15.0.0-rc.0",
+ "next": "15.0.0-canary.28",
"postcss": "8.4.31",
"react": "19.0.0-rc-6230622a1a-20240610",
"react-dom": "19.0.0-rc-6230622a1a-20240610",
diff --git a/dashboard/starter-example/pnpm-lock.yaml b/dashboard/starter-example/pnpm-lock.yaml
index 23689ef..dce2f86 100644
--- a/dashboard/starter-example/pnpm-lock.yaml
+++ b/dashboard/starter-example/pnpm-lock.yaml
@@ -27,8 +27,8 @@ dependencies:
specifier: ^2.0.0
version: 2.1.1
next:
- specifier: 15.0.0-rc.0
- version: 15.0.0-rc.0(@babel/core@7.24.6)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610)
+ specifier: 15.0.0-canary.28
+ version: 15.0.0-canary.28(@babel/core@7.24.6)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610)
postcss:
specifier: 8.4.31
version: 8.4.31
@@ -617,8 +617,8 @@ packages:
'@types/pg': 8.6.6
dev: false
- /@next/env@15.0.0-rc.0:
- resolution: {integrity: sha512-6W0ndQvHR9sXcqcKeR/inD2UTRCs9+VkSK3lfaGmEuZs7EjwwXMO2BPYjz9oBrtfPL3xuTjtXsHKSsalYQ5l1Q==}
+ /@next/env@15.0.0-canary.28:
+ resolution: {integrity: sha512-0ITy8GHxw1UnCe6qr65gnGyHraY3f9eifRjdKybFvAGXHhakkepwIVPuQDBYAOwa3bnP7dgzZpk2VGF9jxXzPA==}
dev: false
/@next/eslint-plugin-next@15.0.0-rc.0:
@@ -627,8 +627,8 @@ packages:
glob: 10.3.10
dev: true
- /@next/swc-darwin-arm64@15.0.0-rc.0:
- resolution: {integrity: sha512-4OpTXvAWcSabXA5d688zdUwa3sfT9QrLnHMdpv4q2UDnnuqmOI0xLb6lrOxwpi+vHJNkneuNLqyc5HGBhkqL6A==}
+ /@next/swc-darwin-arm64@15.0.0-canary.28:
+ resolution: {integrity: sha512-wKocn87O5NzHsBQGiZGgvCkU5awfY35o5FIQZTZ2xXnERHJUbE4bAeYhEf/kg9tZtG2Mqw4CItUVtS0Q0L0XMg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -636,8 +636,8 @@ packages:
dev: false
optional: true
- /@next/swc-darwin-x64@15.0.0-rc.0:
- resolution: {integrity: sha512-/TD8M9DT244uhtFA8P/0DUbM7ftg2zio6yOo6ajV16vNjkcug9Kt9//Wa4SrJjWcsGZpViLctOlwn3/6JFAuAA==}
+ /@next/swc-darwin-x64@15.0.0-canary.28:
+ resolution: {integrity: sha512-vuwicSLOtxXOj2OIyDjNxkJlzQTIOwmX+KmZZinMG22N1dpYWT2pxYK5ZJVQGa1SSKVsC/vxu1zG963aa2Oq8g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -645,8 +645,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-arm64-gnu@15.0.0-rc.0:
- resolution: {integrity: sha512-3VTO32938AcqOlOI/U61/MIpeYrblP22VU1GrgmMQJozsAXEJgLCgf3wxZtn61/FG4Yc0tp7rPZE2t1fIGe0+w==}
+ /@next/swc-linux-arm64-gnu@15.0.0-canary.28:
+ resolution: {integrity: sha512-Do3PxwAyuSyIEttDbUUsOqS9d/IZCwMKBNBrmc2dg6eqC/GQWnGSDKRfKGNfQnGVia2Z5EGITIrsBcEelc/g6Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -654,8 +654,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-arm64-musl@15.0.0-rc.0:
- resolution: {integrity: sha512-0kDnxM3AfrrHFJ/wTkjkv7cVHIaGwv+CzDg9lL2BoLEM4kMQhH20DTsBOMqpTpo1K2KCg67LuTGd3QOITT5uFQ==}
+ /@next/swc-linux-arm64-musl@15.0.0-canary.28:
+ resolution: {integrity: sha512-WAlgyaifh6wg4dZgv4CRyXdvVVqSwY/xfdA+qdbf+Z3Sbs6FMO+etXhXqkwnujlpi3uiOEY9IizrwFlikCXt1A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -663,8 +663,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-x64-gnu@15.0.0-rc.0:
- resolution: {integrity: sha512-fPMNahzqYFjm5h0ncJ5+F3NrShmWhpusM+zrQl01MMU0Ed5xsL4pJJDSuXV4wPkNUSjCP3XstTjxR5kBdO4juQ==}
+ /@next/swc-linux-x64-gnu@15.0.0-canary.28:
+ resolution: {integrity: sha512-F7w21iUF0YQB9CNEbp06mqOl/XPGtQpR69Jcu4fpcWdd7iKe2IxGJbfyNfmTAUf+S186kYQuSNgsNBPPPuEqxw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -672,8 +672,8 @@ packages:
dev: false
optional: true
- /@next/swc-linux-x64-musl@15.0.0-rc.0:
- resolution: {integrity: sha512-7/FLgOqrrQAxOVQrxfr3bGgZ83pSCmc2S3TXBILnHw0S8qLxmFjhSjH5ogaDmjrES/PSYMaX1FsP5Af88hp7Gw==}
+ /@next/swc-linux-x64-musl@15.0.0-canary.28:
+ resolution: {integrity: sha512-YkrgRQu+f4Jb0kz7oO09lQlR6TqOV573ELV//yCmjl+Hc89rSTp3PDVScNnf5UWJgscDC1vX7fcByp/lA8E57A==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -681,8 +681,8 @@ packages:
dev: false
optional: true
- /@next/swc-win32-arm64-msvc@15.0.0-rc.0:
- resolution: {integrity: sha512-5wcqoYHh7hbdghjH6Xs3i5/f0ov+i1Xw2E3O+BzZNESYVLgCM1q7KJu5gdGFoXA2gz5XaKF/VBcYHikLzyjgmA==}
+ /@next/swc-win32-arm64-msvc@15.0.0-canary.28:
+ resolution: {integrity: sha512-W/zMWyjyQIqTH6VitQs3YhkM4md1dcZyIVLEVUGj5QhsOl+/UW1qe2Y4YUKvQPnCbMcGu0Vk/dhiyIkv/B6OXg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -690,8 +690,8 @@ packages:
dev: false
optional: true
- /@next/swc-win32-ia32-msvc@15.0.0-rc.0:
- resolution: {integrity: sha512-/hqOmYRTvtBPToE4Dbl9n+sLYU7DPd52R+TtjIrrEzTMgFo2/d7un3sD7GKmb2OwOj/ExyGv6Bd/JzytBVxXlw==}
+ /@next/swc-win32-ia32-msvc@15.0.0-canary.28:
+ resolution: {integrity: sha512-JbxGVmHN0rdVp7l7qX/HkXM/rgehRiHExFaJza+7iCJv/yYoB+rMvSPJnuSNq+lNMEJUc4y/iQ8r0Bja8t7BkQ==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -699,8 +699,8 @@ packages:
dev: false
optional: true
- /@next/swc-win32-x64-msvc@15.0.0-rc.0:
- resolution: {integrity: sha512-2Jly5nShvCUzzngP3RzdQ3JcuEcHcnIEvkvZDCXqFAK+bWks4+qOkEUO1QIAERQ99J5J9/1AN/8zFBme3Mm57A==}
+ /@next/swc-win32-x64-msvc@15.0.0-canary.28:
+ resolution: {integrity: sha512-+MEW2d87/hOU8gM4Uw+iwCuWK1yAk6SbcQWByB0o4geEVJEK7j8J3agdjFlHZWiabhljyf2VYbfPu4Xj3nRmtA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -1418,7 +1418,7 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
- caniuse-lite: 1.0.30001627
+ caniuse-lite: 1.0.30001632
electron-to-chromium: 1.4.789
node-releases: 2.0.14
update-browserslist-db: 1.0.16(browserslist@4.23.0)
@@ -1466,10 +1466,10 @@ packages:
/caniuse-lite@1.0.30001627:
resolution: {integrity: sha512-4zgNiB8nTyV/tHhwZrFs88ryjls/lHiqFhrxCW4qSTeuRByBVnPYpDInchOIySWknznucaf31Z4KYqjfbrecVw==}
+ dev: false
/caniuse-lite@1.0.30001632:
resolution: {integrity: sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==}
- dev: false
/chalk@2.4.2:
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
@@ -3302,16 +3302,16 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
- /next@15.0.0-rc.0(@babel/core@7.24.6)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610):
- resolution: {integrity: sha512-IWcCvxUSCAuOK5gig4+9yiyt/dLKpIa+WT01Qcx4CBE4TtwJljyTDnCVVn64jDZ4qmSzsaEYXpb4DTI8qbk03A==}
- engines: {node: '>=18.17.0'}
+ /next@15.0.0-canary.28(@babel/core@7.24.6)(react-dom@19.0.0-rc-6230622a1a-20240610)(react@19.0.0-rc-6230622a1a-20240610):
+ resolution: {integrity: sha512-l50RlkXP6wdQHs6ssjxQOpT3fooWq4pGAY31HcShAmJk+mrrYLqJwU/AwkATngPL0snykurINAqBHeASAG8LEQ==}
+ engines: {node: '>=18.17.0', pnpm: 8.15.7}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
'@playwright/test': ^1.41.2
babel-plugin-react-compiler: '*'
- react: 19.0.0-rc-f994737d14-20240522
- react-dom: 19.0.0-rc-f994737d14-20240522
+ react: 19.0.0-rc.0
+ react-dom: 19.0.0-rc.0
sass: ^1.3.0
peerDependenciesMeta:
'@opentelemetry/api':
@@ -3323,7 +3323,7 @@ packages:
sass:
optional: true
dependencies:
- '@next/env': 15.0.0-rc.0
+ '@next/env': 15.0.0-canary.28
'@swc/helpers': 0.5.11
busboy: 1.6.0
caniuse-lite: 1.0.30001632
@@ -3331,17 +3331,17 @@ packages:
postcss: 8.4.31
react: 19.0.0-rc-6230622a1a-20240610
react-dom: 19.0.0-rc-6230622a1a-20240610(react@19.0.0-rc-6230622a1a-20240610)
- styled-jsx: 5.1.3(@babel/core@7.24.6)(react@19.0.0-rc-6230622a1a-20240610)
+ styled-jsx: 5.1.6(@babel/core@7.24.6)(react@19.0.0-rc-6230622a1a-20240610)
optionalDependencies:
- '@next/swc-darwin-arm64': 15.0.0-rc.0
- '@next/swc-darwin-x64': 15.0.0-rc.0
- '@next/swc-linux-arm64-gnu': 15.0.0-rc.0
- '@next/swc-linux-arm64-musl': 15.0.0-rc.0
- '@next/swc-linux-x64-gnu': 15.0.0-rc.0
- '@next/swc-linux-x64-musl': 15.0.0-rc.0
- '@next/swc-win32-arm64-msvc': 15.0.0-rc.0
- '@next/swc-win32-ia32-msvc': 15.0.0-rc.0
- '@next/swc-win32-x64-msvc': 15.0.0-rc.0
+ '@next/swc-darwin-arm64': 15.0.0-canary.28
+ '@next/swc-darwin-x64': 15.0.0-canary.28
+ '@next/swc-linux-arm64-gnu': 15.0.0-canary.28
+ '@next/swc-linux-arm64-musl': 15.0.0-canary.28
+ '@next/swc-linux-x64-gnu': 15.0.0-canary.28
+ '@next/swc-linux-x64-musl': 15.0.0-canary.28
+ '@next/swc-win32-arm64-msvc': 15.0.0-canary.28
+ '@next/swc-win32-ia32-msvc': 15.0.0-canary.28
+ '@next/swc-win32-x64-msvc': 15.0.0-canary.28
sharp: 0.33.4
transitivePeerDependencies:
- '@babel/core'
@@ -4249,8 +4249,8 @@ packages:
engines: {node: '>=8'}
dev: true
- /styled-jsx@5.1.3(@babel/core@7.24.6)(react@19.0.0-rc-6230622a1a-20240610):
- resolution: {integrity: sha512-qLRShOWTE/Mf6Bvl72kFeKBl8N2Eq9WIFfoAuvbtP/6tqlnj1SCjv117n2MIjOPpa1jTorYqLJgsHKy5Y3ziww==}
+ /styled-jsx@5.1.6(@babel/core@7.24.6)(react@19.0.0-rc-6230622a1a-20240610):
+ resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}
engines: {node: '>= 12.0.0'}
peerDependencies:
'@babel/core': '*'
@@ -4303,7 +4303,7 @@ packages:
engines: {node: ^14.18.0 || >=16.0.0}
dependencies:
'@pkgr/core': 0.1.1
- tslib: 2.6.2
+ tslib: 2.6.3
dev: true
/tailwindcss@3.3.3:
@@ -4411,13 +4411,8 @@ packages:
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
dev: true
- /tslib@2.6.2:
- resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
- dev: true
-
/tslib@2.6.3:
resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==}
- dev: false
/tsutils@3.21.0(typescript@5.2.2):
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
diff --git a/dashboard/starter-example/tsconfig.json b/dashboard/starter-example/tsconfig.json
index 8c283d1..e93758b 100644
--- a/dashboard/starter-example/tsconfig.json
+++ b/dashboard/starter-example/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "target": "es5",
+ "target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,