Skip to content

Commit aa9179a

Browse files
committed
build(deps): update next to 15.0.1
1 parent 631a09b commit aa9179a

File tree

5 files changed

+64
-65
lines changed

5 files changed

+64
-65
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
### Apps and Packages
8282

83-
Web app uses [`next@15`](https://nextjs.org/blog/next-15-rc) and [`react@19`](https://react.dev/blog/2024/04/25/react-19). If don't want to use rc versions, you are free to downgrade to `next@14` and `react@18`. Also web app uses [T3 Env](https://env.t3.gg) for env variables.
83+
Web app uses [`next@15`](https://nextjs.org/blog/next-15) and [`react@19`](https://react.dev/blog/2024/04/25/react-19). If don't want to use rc versions, you are free to downgrade to `next@14` and `react@18`. Also web app uses [T3 Env](https://env.t3.gg) for env variables.
8484

8585
Nestjs app is deployed to vercel and that's why `dist` folder is included in source control. If you want to deploy your application to other hosting, you can remove `dist` folder, add it to `.gitignore` and `vercel.json` file.
8686

apps/web/app/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function onSubmit(formData: FormData) {
2424
}
2525

2626
export default async function Home({ searchParams }: PageProps) {
27-
const name = searchParams.name ?? 'world'
27+
const { name = 'World' } = await searchParams
2828

2929
const { message } = await unstable_cache(
3030
() => trpc.app.greeting.query({ name }),

apps/web/app/types/props.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type ErrorProps = Readonly<{
1010
}>
1111

1212
export type PageProps = Readonly<{
13-
searchParams: {
13+
searchParams: Promise<{
1414
name?: string
15-
}
15+
}>
1616
}>

apps/web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"autoprefixer": "^10.4.20",
2020
"babel-plugin-react-compiler": "0.0.0-experimental-6067d4e-20240925",
2121
"lucide-react": "^0.447.0",
22-
"next": "15.0.0-rc.0",
22+
"next": "15.0.1",
2323
"postcss": "^8.4.47",
2424
"react": "19.0.0-rc-fb9a90fa48-20240614",
2525
"react-dom": "19.0.0-rc-fb9a90fa48-20240614",

pnpm-lock.yaml

+59-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)