Skip to content

Commit

Permalink
chore: update to next 15 (#150)
Browse files Browse the repository at this point in the history
* chore: update to next 15

* chore: remove next-pwa

* refactor: adjust node version

* refactor: remove api route
  • Loading branch information
agustinusnathaniel authored Oct 28, 2024
1 parent 8c58727 commit aa054ec
Show file tree
Hide file tree
Showing 8 changed files with 2,850 additions and 5,496 deletions.
6 changes: 1 addition & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"extends": [
"sznm/react",
"plugin:react/jsx-runtime",
"plugin:@next/next/recommended"
]
"extends": ["next/core-web-vitals", "next/typescript"]
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.14.0
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
- ✔️ **toolings** for linting, formatting, and conventions configured
- `eslint`, `prettier`, `husky`, `lint-staged`, `commitlint`, `commitizen`, and `standard-version`
- `pre-commit`, `pre-push`, `commit-msg`, `prepare-commit-msg` hook configured
- 📱 **PWA-ready** - `next-pwa` configured, enabled by default, just disable it through `next.config.js`
- 🔎 SEO optimization configured - with `next-sitemap`.
- you'll need to reconfigure or tinker with it to get it right according to your needs, but it's there if you need it.
- 🎨 basic responsive layout configured - don't need it? just remove it 😃
Expand Down
15 changes: 0 additions & 15 deletions next.config.js

This file was deleted.

10 changes: 10 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { NextConfig } from 'next';

const nextConfig: NextConfig = {
reactStrictMode: true,
eslint: {
dirs: ['src'],
},
};

export default nextConfig;
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "0.1.0",
"private": true,
"author": "sozonome",
"engines": {
"node": ">=20.14.x",
"pnpm": ">=9"
},
"packageManager": "[email protected]",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand All @@ -28,33 +33,27 @@
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"framer-motion": "^11.5.4",
"next": "^14.2.9",
"next-pwa": "^5.6.0",
"next": "^15.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "19.4.1",
"@commitlint/cz-commitlint": "19.4.0",
"@playwright/test": "^1.47.0",
"@types/react": "^18.3.5",
"commitizen": "^4.3.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@commitlint/cz-commitlint": "19.5.0",
"@playwright/test": "^1.48.2",
"@types/react": "^18.3.12",
"commitizen": "^4.3.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.9",
"eslint-config-next": "^15.0.1",
"eslint-config-sznm": "^2.0.3",
"husky": "^9.1.5",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"next-sitemap": "^4.2.3",
"prettier": "^3.3.3",
"standard-version": "^9.5.0",
"typescript": "^5.6.2"
},
"engines": {
"node": ">=20.14.x",
"pnpm": ">=9"
},
"packageManager": "[email protected]"
"typescript": "^5.6.3"
}
}
Loading

0 comments on commit aa054ec

Please sign in to comment.