Skip to content

Commit

Permalink
upgrade nextjs to 13.2 version and replace @next/font for in built ne… (
Browse files Browse the repository at this point in the history
calcom#7440)

* upgrade nextjs to 13.2 version and replace @next/font for in built next/font

* Sync packages

* Update yarn.lock

* Updates edge configs

---------

Co-authored-by: zomars <[email protected]>
  • Loading branch information
2 people authored and dmkav committed Mar 6, 2023
1 parent a4b7f24 commit ac7b87d
Show file tree
Hide file tree
Showing 10 changed files with 805 additions and 118 deletions.
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "MIT",
"dependencies": {
"iframe-resizer-react": "^1.1.0",
"next": "^13.1.1",
"next": "^13.2.1",
"nextra": "^1.1.0",
"nextra-theme-docs": "^1.2.2",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@radix-ui/react-slider": "^1.0.0",
"@radix-ui/react-switch": "^1.0.0",
"@radix-ui/react-tooltip": "^1.0.0",
"next": "^13.1.1",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook-addon-rtl-direction": "^0.0.19"
Expand Down
2 changes: 1 addition & 1 deletion apps/swagger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"highlight.js": "^11.6.0",
"isarray": "2.0.5",
"next": "^13.1.1",
"next": "^13.2.1",
"openapi-snippet": "^0.13.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"bcryptjs": "^2.4.3",
"classnames": "^2.3.1",
"dotenv-cli": "^6.0.0",
"eslint-config-next": "^13.1.6",
"eslint-config-next": "^13.2.1",
"googleapis": "^84.0.0",
"gray-matter": "^4.0.3",
"handlebars": "^4.7.7",
Expand All @@ -85,7 +85,7 @@
"memory-cache": "^0.2.0",
"micro": "^10.0.1",
"mime-types": "^2.1.35",
"next": "^13.1.1",
"next": "^13.2.1",
"next-auth": "^4.18.8",
"next-axiom": "^0.16.0",
"next-collect": "^0.2.1",
Expand Down
4 changes: 2 additions & 2 deletions apps/web/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Inter } from "@next/font/google";
import localFont from "@next/font/local";
import { DefaultSeo } from "next-seo";
import { Inter } from "next/font/google";
import localFont from "next/font/local";
import Head from "next/head";
import Script from "next/script";

Expand Down
2 changes: 1 addition & 1 deletion apps/web/pages/api/countrycode.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NextRequest } from "next/server";

export const config = {
runtime: "experimental-edge",
runtime: "edge",
};

export default async function handler(req: NextRequest) {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/pages/api/social/og/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const interFontMedium = fetch(new URL("../../../../public/fonts/Inter-Medium.ttf
);

export const config = {
runtime: "experimental-edge",
runtime: "edge",
};

const meetingSchema = z.object({
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"dependencies": {
"@calcom/eslint-plugin-eslint": "*",
"eslint-config-next": "^13.1.6",
"eslint-config-next": "^13.2.1",
"eslint-config-prettier": "^8.6.0",
"eslint-config-turbo": "^0.0.7",
"eslint-plugin-playwright": "^0.12.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@wojtekmaj/react-daterange-picker": "^3.3.1",
"class-variance-authority": "^0.4.0",
"downshift": "^6.1.9",
"next": "^13.1.1",
"next": "^13.2.1",
"react": "^18.2.0",
"react-colorful": "^5.6.0",
"react-feather": "^2.0.10",
Expand Down
901 changes: 794 additions & 107 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit ac7b87d

Please sign in to comment.