Skip to content

Commit

Permalink
chore: Update dependencies
Browse files Browse the repository at this point in the history
- Upgrade to Next.js 12
- Add the prettier extends so it runs as part of the linting
- Bump eslint-plugin-next for a Windows only issue vercel/next.js#28745
  • Loading branch information
nschonni authored and laymonage committed Nov 6, 2021
1 parent 785f961 commit 815b685
Show file tree
Hide file tree
Showing 4 changed files with 520 additions and 752 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
env: {
node: true,
},
extends: ['eslint:recommended', 'next/core-web-vitals'],
extends: ['eslint:recommended', 'next/core-web-vitals', 'plugin:prettier/recommended'],
plugins: ['@typescript-eslint'],
rules: {
'@next/next/no-img-element': 'off',
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@peculiar/webcrypto": "^1.1.6",
"@primer/octicons-react": "^16.0.0",
"jsonwebtoken": "^8.5.1",
"next": "^11.1.0",
"next": "^12.0.3",
"next-plugin-preact": "^3.0.4",
"next-translate": "^1.1.0",
"preact": "^10.5.13",
Expand All @@ -41,15 +41,15 @@
"autoprefixer": "^10.2.5",
"cssnano": "^5.0.6",
"eslint": "^7.22.0",
"eslint-config-next": "^11.1.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-config-next": "^12.0.3",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"postcss": "^8.2.8",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.1",
"prettier": "^2.2.1",
"prettier": "^2.4.1",
"tailwindcss": "^2.0.4",
"typescript": "^4.2.3"
}
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
"jsx": "preserve",
"incremental": true
},
"include": [
"next-env.d.ts",
Expand Down

0 comments on commit 815b685

Please sign in to comment.