Skip to content

Commit

Permalink
Update Next.js to v13 (#1261)
Browse files Browse the repository at this point in the history
* Bump version to canary (preview of the next major)

* Remove non-existing browserListForSwc config option

vercel/next.js#41529

* Rename future/image module to image

* Re-enable swc minify config option

* Remove swcMinify option

It's true by default on Next.js v13

* Update links

Mainly adds legacyBehavior to avoid removing the anchor child.

Auomatically transformed by Next.js codemode

* Bump Next.js ecosystem to official v13

* Regenerate lock

* Update Next.js ecosystem

* Bump happo-cypress to v4.0.1

* Update lock

* Bump Next.js ecosystem
  • Loading branch information
Belco90 committed Nov 1, 2022
1 parent 3fea3a9 commit 0bf7506
Show file tree
Hide file tree
Showing 8 changed files with 196 additions and 235 deletions.
4 changes: 0 additions & 4 deletions next.config.mjs
Expand Up @@ -7,10 +7,6 @@ import { withSentryConfig } from '@sentry/nextjs'
**/
const config = {
reactStrictMode: true,
experimental: {
browsersListForSwc: true,
legacyBrowsers: false,
},
eslint: {
// Disable ESLint during builds since there is a lint job in CI.
ignoreDuringBuilds: true,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -36,15 +36,15 @@
"@emotion/styled": "11.10.5",
"@octokit/auth-callback": "3.0.0",
"@octokit/rest": "19.0.5",
"@sentry/nextjs": "7.17.2",
"@sentry/nextjs": "7.17.3",
"@tanstack/react-query": "4.13.4",
"@tanstack/react-query-devtools": "4.13.4",
"@vercel/analytics": "0.1.3",
"downshift": "7.0.1",
"framer-motion": "7.6.2",
"lodash-es": "4.17.21",
"next": "12.3.1",
"next-seo": "5.11.1",
"next": "13.0.1",
"next-seo": "5.13.0",
"nookies": "2.5.2",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down Expand Up @@ -80,7 +80,7 @@
"@typescript-eslint/parser": "5.41.0",
"cypress": "10.11.0",
"eslint": "8.26.0",
"eslint-config-next": "12.3.1",
"eslint-config-next": "13.0.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-jest": "27.1.3",
Expand Down

0 comments on commit 0bf7506

Please sign in to comment.