Skip to content

Commit

Permalink
🆙 update for nextjs 15 (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: afc163 <[email protected]>
  • Loading branch information
nilwurtz and afc163 authored Nov 18, 2024
1 parent 92daf63 commit dafcb43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/with-app-router/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
3 changes: 2 additions & 1 deletion example/with-app-router/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"baseUrl": "./",
"paths": {
"@ant-design/nextjs-registry": ["../../src/index.ts"]
}
},
"target": "ES2017"
},
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"father": "^4.3.7",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"next": "^14.0.4",
"next": "^15.0.0",
"np": "^7.0.0",
"prettier": "^2.0.5",
"react": "^18.0.0",
Expand All @@ -52,7 +52,7 @@
"peerDependencies": {
"@ant-design/cssinjs": "^1.18.2",
"antd": "^5.0.0",
"next": "^14.0.0",
"next": "^14.0.0 || ^15.0.0",
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
Expand Down

0 comments on commit dafcb43

Please sign in to comment.