-
Notifications
You must be signed in to change notification settings - Fork 1
build(frontend): Next.js 16アップグレード後のビルド修復と依存整理 #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ff51f33
c1ae3e4
be32c2e
10ead30
c363993
fa48b27
842576f
fcacbd4
1f24453
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| import nextCoreWebVitals from "eslint-config-next/core-web-vitals"; | ||
| import eslintConfigPrettier from "eslint-config-prettier/flat"; | ||
|
|
||
| const eslintConfig = [...nextCoreWebVitals, eslintConfigPrettier]; | ||
|
KinjiKawaguchi marked this conversation as resolved.
|
||
|
|
||
| export default eslintConfig; | ||
|
KinjiKawaguchi marked this conversation as resolved.
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,57 +6,44 @@ | |
| "dev": "next dev --turbopack", | ||
| "build": "next build", | ||
| "start": "next start", | ||
| "lint": "next lint", | ||
| "lint": "eslint .", | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. next lint deprecated |
||
| "format": "prettier . --write", | ||
| "format:ci": "prettier . --check", | ||
| "sanitize": "tsx scripts/sanitizeText.ts", | ||
| "test": "jest", | ||
| "test:watch": "jest --watch" | ||
| }, | ||
| "dependencies": { | ||
| "@radix-ui/react-slot": "^1.1.0", | ||
| "@radix-ui/react-toast": "^1.2.2", | ||
| "class-variance-authority": "^0.7.1", | ||
| "clsx": "^2.1.1", | ||
| "lucide-react": "^0.468.0", | ||
| "next": "15.2.4", | ||
| "openapi-fetch": "0.13.3", | ||
| "prettier": "^3.4.2", | ||
| "react": "19.0.0", | ||
| "react-dom": "19.0.0", | ||
| "next": "16.2.3", | ||
| "openapi-fetch": "0.17.0", | ||
| "react": "19.2.5", | ||
| "react-dom": "19.2.5", | ||
| "server-only": "^0.0.1", | ||
| "sharp": "^0.33.5", | ||
| "tailwind-merge": "^2.5.5", | ||
| "tailwindcss-animate": "^1.0.7" | ||
| "sharp": "^0.34.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@jest/globals": "^29.7.0", | ||
| "@testing-library/jest-dom": "^6.6.3", | ||
| "@testing-library/react": "^14.3.1", | ||
| "@types/node": "^20.17.10", | ||
| "@types/react": "19.0.1", | ||
| "@types/react-dom": "19.0.2", | ||
| "autoprefixer": "^10.4.20", | ||
| "eslint": "^8.57.1", | ||
| "eslint-config-next": "15.1.0", | ||
| "eslint-config-prettier": "^9.1.0", | ||
| "jest": "^29.7.0", | ||
| "jest-environment-jsdom": "^29.7.0", | ||
| "openapi-typescript": "6.7.6", | ||
| "postcss": "^8.4.49", | ||
| "sass": "^1.85.0", | ||
| "tailwindcss": "^3.4.16", | ||
| "tsx": "^4.19.3", | ||
| "typescript": "^5.7.2" | ||
| "@jest/globals": "^30.3.0", | ||
| "@testing-library/dom": "^10.4.1", | ||
| "@testing-library/jest-dom": "^6.9.1", | ||
| "@testing-library/react": "^16.3.2", | ||
| "@types/node": "^25.6.0", | ||
| "@types/react": "19.2.14", | ||
| "@types/react-dom": "19.2.3", | ||
| "eslint": "^9.39.4", | ||
|
KinjiKawaguchi marked this conversation as resolved.
|
||
| "eslint-config-next": "16.2.3", | ||
| "eslint-config-prettier": "^10.1.8", | ||
| "jest": "^30.3.0", | ||
| "jest-environment-jsdom": "^30.3.0", | ||
| "openapi-typescript": "7.13.0", | ||
|
KinjiKawaguchi marked this conversation as resolved.
|
||
| "prettier": "^3.8.2", | ||
| "sass": "^1.99.0", | ||
| "tsx": "^4.21.0", | ||
| "typescript": "^6.0.2" | ||
| }, | ||
| "repository": "https://github.com/su-its/typing", | ||
| "author": "su-its", | ||
| "packageManager": "yarn@4.6.0", | ||
| "engines": { | ||
| "npm": "use yarn instead" | ||
| }, | ||
| "resolutions": { | ||
| "@types/react": "19.0.1", | ||
| "@types/react-dom": "19.0.2" | ||
|
Comment on lines
-57
to
-60
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Next.js 14.1.0 → 15.1.0にした際のcodemodが自動で追加したもの。 |
||
| } | ||
| } | ||
This file was deleted.
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reactの新しいpurity lintがレンダー中のimpure callを禁止 |
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. set-state-in-effectを改善
KinjiKawaguchi marked this conversation as resolved.
|
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reactの新しいpurity lintがレンダー中のimpure callを禁止 mount 時 effect で startTimeRef.current = Date.now() を入れ直しているのでバグらない。
KinjiKawaguchi marked this conversation as resolved.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
移行先