From facb19a347f002ebb13cbcc45d2054cbb4b55dac Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Fri, 12 Aug 2022 17:49:08 -0700 Subject: [PATCH] fix dependency peer-dep warnings, mostly (#752) --- common/package.json | 1 + docs/package.json | 3 ++- functions/package.json | 1 - package.json | 1 + web/package.json | 5 +++++ yarn.lock | 4 ++-- 6 files changed, 11 insertions(+), 4 deletions(-) diff --git a/common/package.json b/common/package.json index c324379f..955e9662 100644 --- a/common/package.json +++ b/common/package.json @@ -8,6 +8,7 @@ }, "sideEffects": false, "dependencies": { + "@tiptap/core": "2.0.0-beta.181", "@tiptap/extension-image": "2.0.0-beta.30", "@tiptap/extension-link": "2.0.0-beta.43", "@tiptap/extension-mention": "2.0.0-beta.102", diff --git a/docs/package.json b/docs/package.json index 9e320306..38b69777 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,8 @@ }, "devDependencies": { "@docusaurus/module-type-aliases": "2.0.0-beta.17", - "@tsconfig/docusaurus": "^1.0.4" + "@tsconfig/docusaurus": "^1.0.4", + "@types/react": "^17.0.2" }, "browserslist": { "production": [ diff --git a/functions/package.json b/functions/package.json index b6c1bb5c..5839b5eb 100644 --- a/functions/package.json +++ b/functions/package.json @@ -25,7 +25,6 @@ "main": "functions/src/index.js", "dependencies": { "@amplitude/node": "1.10.0", - "@floating-ui/react-dom": "1.0.0", "@google-cloud/functions-framework": "3.1.2", "@tiptap/core": "2.0.0-beta.181", "@tiptap/extension-image": "2.0.0-beta.30", diff --git a/package.json b/package.json index 77420607..05924ef0 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "5.25.0", "@typescript-eslint/parser": "5.25.0", + "@types/node": "16.11.11", "concurrently": "6.5.1", "eslint": "8.15.0", "eslint-plugin-lodash": "^7.4.0", diff --git a/web/package.json b/web/package.json index a008026b..dc7d06f5 100644 --- a/web/package.json +++ b/web/package.json @@ -21,11 +21,14 @@ }, "dependencies": { "@amplitude/analytics-browser": "0.4.1", + "@floating-ui/react-dom": "1.0.0", "@headlessui/react": "1.6.1", "@heroicons/react": "1.0.5", "@nivo/core": "0.74.0", "@nivo/line": "0.74.0", + "@nivo/tooltip": "0.74.0", "@react-query-firebase/firestore": "0.4.2", + "@tiptap/core": "2.0.0-beta.181", "@tiptap/extension-character-count": "2.0.0-beta.31", "@tiptap/extension-image": "2.0.0-beta.30", "@tiptap/extension-link": "2.0.0-beta.43", @@ -68,10 +71,12 @@ "autoprefixer": "10.2.6", "critters": "0.0.16", "cross-env": "^7.0.3", + "csstype": "^3.1.0", "eslint-config-next": "12.1.6", "next-sitemap": "^2.5.14", "postcss": "8.3.5", "prettier-plugin-tailwindcss": "^0.1.5", + "prop-types": "^15.8.1", "tailwindcss": "3.1.6", "tsc-files": "1.1.3" }, diff --git a/yarn.lock b/yarn.lock index 4966f7e9..1e33761e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3404,7 +3404,7 @@ "@types/history" "^4.7.11" "@types/react" "*" -"@types/react@*", "@types/react@17.0.43": +"@types/react@*", "@types/react@17.0.43", "@types/react@^17.0.2": version "17.0.43" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.43.tgz#4adc142887dd4a2601ce730bc56c3436fdb07a55" integrity sha512-8Q+LNpdxf057brvPu1lMtC5Vn7J119xrP1aq4qiaefNioQUYANF/CYeK4NsKorSZyUGJ66g0IM+4bbjwx45o2A== @@ -5037,7 +5037,7 @@ csso@^4.2.0: dependencies: css-tree "^1.1.2" -csstype@^3.0.2: +csstype@^3.0.2, csstype@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==