Skip to content

Commit

Permalink
Next.js 15 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
onderonur committed Oct 30, 2024
1 parent 4f801b1 commit 4c6f9b3
Show file tree
Hide file tree
Showing 12 changed files with 1,632 additions and 5,661 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
// https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss
"editor.quickSuggestions": {
"strings": "on"
}
},
"todo-tree.tree.scanMode": "workspace"
}
5 changes: 3 additions & 2 deletions next.config.mjs → next.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
output: 'export',
images: {
Expand Down
56 changes: 31 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "next build",
"codequality:check": "pnpm format:check && pnpm lint:check && pnpm types:check",
"codequality:fix": "pnpm format:fix && pnpm lint:fix && pnpm types:check",
"dev": "next dev",
"dev": "next dev --turbopack",
"format:check": "prettier --check --ignore-unknown .",
"format:fix": "prettier --write --ignore-unknown .",
"lint:check": "next lint --max-warnings 0",
Expand All @@ -23,42 +23,48 @@
"@uiw/codemirror-extensions-langs": "4.19.8",
"@uiw/codemirror-themes-all": "4.19.8",
"@uiw/react-codemirror": "4.19.8",
"@zag-js/focus-visible": "^0.62.1",
"@zag-js/focus-visible": "^0.77.0",
"file-saver": "^2.0.5",
"html2canvas": "^1.4.1",
"next": "^14.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-icons": "^5.2.1",
"react-select": "^5.8.0",
"react-toastify": "^10.0.5",
"tailwind-merge": "^2.4.0"
"next": "15.0.2",
"react": "19.0.0-rc-02c0e824-20241028",
"react-dom": "19.0.0-rc-02c0e824-20241028",
"react-icons": "^5.3.0",
"react-select": "^5.8.2",
"react-toastify": "^10.0.6",
"tailwind-merge": "^2.5.4"
},
"devDependencies": {
"@types/file-saver": "^2.0.7",
"@types/node": "^22.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/node": "^22.8.4",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"autoprefixer": "^10.4.19",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.5",
"eslint-config-next": "15.0.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-unicorn": "^55.0.0",
"husky": "^9.1.3",
"knip": "^5.27.0",
"lint-staged": "^15.2.7",
"npm-check-updates": "^16.14.20",
"postcss": "^8.4.40",
"husky": "^9.1.6",
"knip": "^5.34.4",
"lint-staged": "^15.2.10",
"npm-check-updates": "^17.1.9",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-packagejson": "^2.5.1",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.7",
"typescript": "^5.5.4"
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@9.12.2"
"packageManager": "pnpm@9.12.2",
"pnpm": {
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
}
}
Loading

0 comments on commit 4c6f9b3

Please sign in to comment.