From 206f09e1aa7024e986659cc9c15a4bf25a5cac9f Mon Sep 17 00:00:00 2001 From: John Rom Date: Mon, 21 Dec 2020 13:04:20 -0500 Subject: [PATCH] Force `@types/react@16.x` dependency resolution in root package.json --- package.json | 3 +++ packages/@formik/reducer-refs/package.json | 4 ---- yarn.lock | 23 +--------------------- 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 83f207c54..bcc738d40 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,9 @@ "tsdx": "^0.14.1", "typescript": "^4.0.3" }, + "resolutions": { + "@types/react": "^16.9.55" + }, "workspaces": [ "packages/*", "packages/@formik/*", diff --git a/packages/@formik/reducer-refs/package.json b/packages/@formik/reducer-refs/package.json index 6afa84378..afa905115 100644 --- a/packages/@formik/reducer-refs/package.json +++ b/packages/@formik/reducer-refs/package.json @@ -45,10 +45,6 @@ "tslib": "^1.10.0", "use-context-selector": "^1.1.2" }, - "resolutions": { - "@types/react": "^16.9.55", - "@types/react-dom": "^16.9.9" - }, "devDependencies": { "@types/hoist-non-react-statics": "^3.3.1", "@types/lodash": "^4.14.119", diff --git a/yarn.lock b/yarn.lock index 788c79643..cea089750 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3168,15 +3168,7 @@ "@types/prop-types" "*" "@types/react" "*" -"@types/react@*": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.0.tgz#5af3eb7fad2807092f0046a1302b7823e27919b8" - integrity sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw== - dependencies: - "@types/prop-types" "*" - csstype "^3.0.2" - -"@types/react@^16", "@types/react@^16.8.23", "@types/react@^16.9.55": +"@types/react@*", "@types/react@^16", "@types/react@^16.8.23", "@types/react@^16.9.55": version "16.14.2" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.2.tgz#85dcc0947d0645349923c04ccef6018a1ab7538c" integrity sha512-BzzcAlyDxXl2nANlabtT4thtvbbnhee8hMmH/CcJrISDBVcJS1iOsP1f0OAgSdGE0MsY9tqcrb9YoZcOFv9dbQ== @@ -7570,19 +7562,6 @@ format-string-by-pattern@^1.2.1: resolved "https://registry.yarnpkg.com/format-string-by-pattern/-/format-string-by-pattern-1.2.1.tgz#ecaf437a0a504e986510dde6ae6438998fd26387" integrity sha512-x7JY+q8XvBmHCf4ZSQiiG+8fmC02oiei1JoAsUcdHcy8Kn6LwaE1KUlQ8ph3fNnIcWY65B3aVuKArdbAEQxpLg== -formik@^2.1.5: - version "2.2.6" - resolved "https://registry.yarnpkg.com/formik/-/formik-2.2.6.tgz#378a4bafe4b95caf6acf6db01f81f3fe5147559d" - integrity sha512-Kxk2zQRafy56zhLmrzcbryUpMBvT0tal5IvcifK5+4YNGelKsnrODFJ0sZQRMQboblWNym4lAW3bt+tf2vApSA== - dependencies: - deepmerge "^2.1.1" - hoist-non-react-statics "^3.3.0" - lodash "^4.17.14" - lodash-es "^4.17.14" - react-fast-compare "^2.0.1" - tiny-warning "^1.0.2" - tslib "^1.10.0" - fragment-cache@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"