From 96122029481e90e41a401a48ed5479557f485c79 Mon Sep 17 00:00:00 2001 From: Nick Burka Date: Tue, 2 Jan 2024 11:49:15 -0500 Subject: [PATCH 1/6] Upgrade NextJS to v13 --- next-env.d.ts | 5 +- package.json | 9 +- src/components/TopBar.tsx | 10 +- tsconfig.json | 3 +- yarn.lock | 2393 +++++++++++++++++++------------------ 5 files changed, 1274 insertions(+), 1146 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index 7b7aa2c772..4f11a03dc6 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,2 +1,5 @@ /// -/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/package.json b/package.json index 790d1546eb..7db14a7ad8 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,11 @@ "@reduxjs/toolkit": "^1.6.0", "classnames": "^2.3.1", "downshift": "^6.1.3", + "eslint-config-next": "13", "figma-js": "^1.13.0", - "next": "^10.0.0", - "react": "17.0.1", - "react-dom": "17.0.1", + "next": "13", + "react": "^18.2.0", + "react-dom": "^18.2.0", "react-lazy-load-image-component": "^1.5.1", "react-modal": "^3.13.1", "react-redux": "^7.2.4", @@ -68,7 +69,7 @@ "text-to-svg": "^3.1.5", "ts-jest": "^27.0.2", "ts-node-dev": "^1.1.6", - "typescript": "^4.2.4" + "typescript": "^4.5.2" }, "jest-junit": { "suiteName": "health-icons", diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index 6288f5389f..0cfd33df91 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -6,22 +6,22 @@ export function TopBar() {