Skip to content

Commit 9af29cd

Browse files
authored
Upgrade Next.js dep (#1149)
1 parent 503bb3f commit 9af29cd

File tree

4 files changed

+1034
-2031
lines changed

4 files changed

+1034
-2031
lines changed

apps/next-docs/.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
// extends: ['next/core-web-vitals'], // Reenable after upgrading prettier to v3+
3-
ignorePatterns: ['out/', '.next/', 'node_modules/'],
3+
ignorePatterns: ['out/', '.next/', 'node_modules/', 'next-env.d.ts'],
44
parserOptions: {
55
tsconfigRootDir: __dirname,
66
},

apps/next-docs/next-env.d.ts

Lines changed: 1 addition & 0 deletions
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
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

apps/next-docs/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"start": "next start"
3232
},
3333
"dependencies": {
34-
"@primer/doctocat-nextjs": "0.6.0",
34+
"@primer/doctocat-nextjs": "0.7.0",
3535
"@primer/octicons-react": "19.15.1",
36-
"next": "15.2.4",
36+
"next": "15.5.2",
3737
"react": ">=17 <= 18",
3838
"react-dom": ">=17 <= 18"
3939
},
@@ -43,10 +43,11 @@
4343
"@primer/react": "37.11.2",
4444
"@primer/react-brand": "0.57.2",
4545
"@types/node": "18.11.10",
46-
"eslint-config-next": "15.2.4",
46+
"eslint-config-next": "15.5.2",
4747
"prettier": "^3.5.1",
4848
"styled-components": "^5.3.11",
49-
"typescript": "5.8.2"
49+
"typescript": "5.8.2",
50+
"@swc/core": "^1.13.5"
5051
},
5152
"peerDependencies": {
5253
"react": ">=17 <= 18",
@@ -55,5 +56,8 @@
5556
"engines": {
5657
"node": ">=16.0.0",
5758
"npm": ">=8.0.0"
59+
},
60+
"overrides": {
61+
"sharp": "0.30.4"
5862
}
5963
}

0 commit comments

Comments
 (0)