upgrade to Next.js 12 (#1109)

This commit is contained in:
Alex Johansson authored and GitHub committed 2021-11-02 14:19:40 +00:00
1 parent 5a25e6daee
commit 265c634db9
8 files changed
+327 -347

No files matched your search

+7 -10
View File
@@ -14,7 +14,6 @@
"dx": "cross-env BASE_URL=http://localhost:3000 JWT_SECRET=secret DATABASE_URL=postgresql://postgres:@localhost:5450/calendso run-s db-up db-migrate db-seed dev",
"test": "jest",
"test-playwright": "jest --config jest.playwright.config.js",
"test-playwright-lcov": "cross-env PLAYWRIGHT_HEADLESS=1 PLAYWRIGHT_COVERAGE=1 yarn test-playwright && nyc report --reporter=lcov",
"test-codegen": "yarn playwright codegen http://localhost:3000",
"type-check": "tsc --pretty --noEmit",
"build": "next build",
@@ -53,6 +52,7 @@
"@trpc/next": "^9.10.1",
"@trpc/react": "^9.10.1",
"@trpc/server": "^9.10.1",
"@vercel/edge-functions-ui": "^0.2.1",
"@wojtekmaj/react-daterange-picker": "^3.3.1",
"accept-language-parser": "^1.5.0",
"async": "^3.2.1",
@@ -67,11 +67,11 @@
"jimp": "^0.16.1",
"lodash": "^4.17.21",
"micro": "^9.3.4",
"next": "^11.1.1",
"next-auth": "^3.28.0",
"next-i18next": "^8.8.0",
"next": "^12.0.2",
"next-auth": "^3.29.0",
"next-i18next": "^8.9.0",
"next-seo": "^4.26.0",
"next-transpile-modules": "^8.0.0",
"next-transpile-modules": "^9.0.0",
"nodemailer": "^6.6.3",
"otplib": "^12.0.1",
"qrcode": "^1.4.4",
@@ -86,7 +86,7 @@
"react-query": "^3.30.0",
"react-router-dom": "^5.2.0",
"react-select": "^4.3.1",
"react-timezone-select": "^1.1.12",
"react-timezone-select": "^1.1.13",
"react-use-intercom": "1.4.0",
"short-uuid": "^4.2.0",
"stripe": "^8.168.0",
@@ -116,9 +116,7 @@
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.29.2",
"autoprefixer": "^10.3.1",
"babel": "^6.23.0",
"babel-jest": "^27.2.4",
"babel-plugin-istanbul": "^6.1.1",
"babel-jest": "^27.3.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
@@ -133,7 +131,6 @@
"lint-staged": "^11.1.2",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"playwright": "^1.16.2",
"postcss": "^8.3.11",
"prettier": "^2.3.2",