From 74ca4d5dbdd2b65d2d218a8414f3ca01b78102c5 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Fri, 28 Jan 2022 14:35:11 -0800 Subject: [PATCH] adding typescript for web app --- packages/web/package.json | 7 ++++--- yarn.lock | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/web/package.json b/packages/web/package.json index ecc3143..855ed14 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@nirvana/common": "1.0.0", "agora-rtc-sdk-ng": "^4.8.1", "antd": "^4.18.3", "firebase": "^9.6.2", @@ -24,8 +25,7 @@ "react-hotkeys": "^2.0.0", "react-icons": "^4.3.1", "react-moment": "^1.1.1", - "uuid": "^8.3.2", - "@nirvana/common": "1.0.0" + "uuid": "^8.3.2" }, "devDependencies": { "@types/react": "^17.0.38", @@ -33,6 +33,7 @@ "eslint": "8.4.0", "eslint-config-next": "12.0.7", "postcss": "^8.4.5", - "tailwindcss": "^3.0.12" + "tailwindcss": "^3.0.12", + "typescript": "^4.5.5" } } diff --git a/yarn.lock b/yarn.lock index 659daca..2011f4d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4984,6 +4984,11 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" +typescript@^4.5.5: + version "4.5.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" + integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== + unbox-primitive@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471"