Skip to content

Commit 52f32bb

Browse files
meta: bump next.js (#7635)
* meta: bump next.js * don't use turbopack * chore: turbopack fixes --------- Co-authored-by: Claudio Wunder <[email protected]>
1 parent cad9e00 commit 52f32bb

File tree

5 files changed

+183
-743
lines changed

5 files changed

+183
-743
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
os: [ubuntu-latest]
45+
os: [ubuntu-latest, windows-latest]
4646

4747
steps:
4848
- name: Harden Runner

Diff for: apps/site/app/robots.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ export default robots;
1616

1717
// Enforces that this route is used as static rendering
1818
// @see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic
19-
export const dynamic = 'error';
19+
export const dynamic = 'force-static';
20+
21+
// Ensures that this endpoint is invalidated and re-executed every X minutes
22+
// so that when new deployments happen, the data is refreshed
23+
// @see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#revalidate
24+
export const revalidate = false;

Diff for: apps/site/app/sitemap.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,9 @@ export default sitemap;
6565

6666
// Enforces that this route is used as static rendering
6767
// @see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#dynamic
68-
export const dynamic = 'error';
68+
export const dynamic = 'force-static';
69+
70+
// Ensures that this endpoint is invalidated and re-executed every X minutes
71+
// so that when new deployments happen, the data is refreshed
72+
// @see https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#revalidate
73+
export const revalidate = false;

Diff for: apps/site/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"type": "module",
44
"scripts": {
55
"scripts:release-post": "cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs",
6-
"dev": "cross-env NODE_NO_WARNINGS=1 next dev --turbopack",
6+
"dev": "cross-env NODE_NO_WARNINGS=1 next dev",
77
"serve": "npm run dev",
8-
"build": "cross-env NODE_NO_WARNINGS=1 next build",
8+
"build": "cross-env NODE_NO_WARNINGS=1 next build --turbopack",
99
"start": "cross-env NODE_NO_WARNINGS=1 next start",
10-
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true npm run build",
10+
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true NODE_NO_WARNINGS=1 next build",
1111
"check-types": "tsc --noEmit",
1212
"lint:js": "eslint \"**/*.{js,mjs,ts,tsx}\"",
1313
"lint:snippets": "node ./scripts/lint-snippets/index.mjs",
@@ -43,7 +43,7 @@
4343
"github-slugger": "~2.0.0",
4444
"glob": "~11.0.1",
4545
"gray-matter": "~4.0.3",
46-
"next": "15.2.4",
46+
"next": "15.3.0",
4747
"next-intl": "~4.0.2",
4848
"next-themes": "~0.4.6",
4949
"postcss": "~8.5.3",

0 commit comments

Comments
 (0)