Skip to content

Commit f3be6ac

Browse files
author
Mikhail Aheichyk
committed
Set react as a peer dependency.
Signed-off-by: Mikhail Aheichyk <[email protected]>
1 parent b588f01 commit f3be6ac

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@
4343
"eslint-plugin-import": "^2.26.0",
4444
"eslint-plugin-matrix-org": "^0.4.0",
4545
"jest": "^27.5.1",
46-
"react": "17.0.2",
4746
"rimraf": "^3.0.2",
4847
"ts-jest": "^27.1.4",
4948
"typescript": "^4.6.3"
5049
},
5150
"dependencies": {
5251
"@babel/runtime": "^7.17.9"
52+
},
53+
"peerDependencies": {
54+
"react": "17.0.2"
5355
}
5456
}

yarn.lock

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3292,7 +3292,7 @@ jest@^27.5.1:
32923292
import-local "^3.0.2"
32933293
jest-cli "^27.5.1"
32943294

3295-
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
3295+
js-tokens@^4.0.0:
32963296
version "4.0.0"
32973297
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
32983298
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
@@ -3448,13 +3448,6 @@ lodash@^4.7.0:
34483448
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
34493449
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
34503450

3451-
loose-envify@^1.1.0:
3452-
version "1.4.0"
3453-
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
3454-
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
3455-
dependencies:
3456-
js-tokens "^3.0.0 || ^4.0.0"
3457-
34583451
lru-cache@^6.0.0:
34593452
version "6.0.0"
34603453
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
@@ -3583,11 +3576,6 @@ nwsapi@^2.2.0:
35833576
resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7"
35843577
integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==
35853578

3586-
object-assign@^4.1.1:
3587-
version "4.1.1"
3588-
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
3589-
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
3590-
35913579
object-inspect@^1.12.0, object-inspect@^1.9.0:
35923580
version "1.12.0"
35933581
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0"
@@ -3819,14 +3807,6 @@ react-is@^17.0.1:
38193807
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
38203808
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
38213809

3822-
3823-
version "17.0.2"
3824-
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
3825-
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
3826-
dependencies:
3827-
loose-envify "^1.1.0"
3828-
object-assign "^4.1.1"
3829-
38303810
readdirp@~3.6.0:
38313811
version "3.6.0"
38323812
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"

0 commit comments

Comments
 (0)