From 554cf46d1e14d65ac0ee47f80176d061cd4cc651 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Wed, 28 Oct 2020 20:54:45 +0800 Subject: [PATCH] build: resolve duplicated react --- package.json | 1 + yarn.lock | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 467e0ac..bd38162 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,7 @@ "arrowParens": "avoid" }, "resolutions": { + "react": "^17.0.1", "@types/styled-components": "^5.0.0" } } diff --git a/yarn.lock b/yarn.lock index 9910ffc..cf9cbef 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8939,16 +8939,7 @@ react-window@^1.8.5: "@babel/runtime" "^7.0.0" memoize-one ">=3.1.1 <6" -react@^16.10.2: - version "16.13.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.13.0.tgz#d046eabcdf64e457bbeed1e792e235e1b9934cf7" - integrity sha512-TSavZz2iSLkq5/oiE7gnFzmURKZMltmi193rm5HEoUDAXpzT9Kzw6oNZnGoai/4+fUnm7FqS5dwgUL34TujcWQ== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - -react@^17.0.1: +react@^16.10.2, react@^17.0.1: version "17.0.1" resolved "https://registry.yarnpkg.com/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127" integrity sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==