Skip to content

Commit

Permalink
fix(deps): relax peer deps requirements to avoid conflicts [LIBS-587] (
Browse files Browse the repository at this point in the history
…#33)

* fix(deps): more flexible react versions

* chore(deps): yarn lock
  • Loading branch information
KaiVandivier authored Apr 8, 2024
1 parent a583b90 commit 662a3eb
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 31 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
"publishConfig": {
"access": "public"
},
"dependencies": {
"@js-temporal/polyfill": "^0.4.2",
"classnames": "^2.3.2"
},
"peerDependencies": {
"react": "16.8",
"react-dom": "16.8"
},
"scripts": {
"start": "react-scripts start",
"build:types": "tsc --emitDeclarationOnly --outDir ./build/types",
Expand Down Expand Up @@ -59,6 +51,14 @@
"/!node_modules\\/@js-temporal/"
]
},
"dependencies": {
"@js-temporal/polyfill": "^0.4.2",
"classnames": "^2.3.2"
},
"peerDependencies": {
"react": "^16.8",
"react-dom": "^16.8"
},
"devDependencies": {
"@cucumber/cucumber": "^8.9.0",
"@dhis2/cli-app-scripts": "^10.2.0",
Expand All @@ -69,13 +69,13 @@
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.65",
"@types/react": "16.8",
"@types/react-dom": "16.8",
"@types/react": "^16.8",
"@types/react-dom": "^16.8",
"@types/testing-library__react": "^10.2.0",
"@types/testing-library__react-hooks": "^4.0.0",
"jest-cucumber": "^3.0.1",
"react": "16.14",
"react-dom": "16.14",
"react": "^16.14",
"react-dom": "^16.14",
"react-scripts": "5.0.1",
"ts-node": "^10.9.1",
"typescript": "4.4"
Expand Down
39 changes: 20 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3736,20 +3736,20 @@
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc"
integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==

"@types/react-dom@16.8":
version "16.8.5"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.8.5.tgz#3e3f4d99199391a7fb40aa3a155c8dd99b899cbd"
integrity sha512-idCEjROZ2cqh29+trmTmZhsBAUNQuYrF92JHKzZ5+aiFM1mlSk3bb23CK7HhYuOY75Apgap5y2jTyHzaM2AJGA==
dependencies:
"@types/react" "*"

"@types/react-dom@<18.0.0":
version "17.0.18"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.18.tgz#8f7af38f5d9b42f79162eea7492e5a1caff70dc2"
integrity sha512-rLVtIfbwyur2iFKykP2w0pl/1unw26b5td16d5xMgp7/yjTHomkyxPYChFoCr/FtEX1lN9wY6lFj1qvKdS5kDw==
dependencies:
"@types/react" "^17"

"@types/react-dom@^16.8":
version "16.9.24"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.24.tgz#4d193d7d011267fca842e8a10a2d738f92ec5c30"
integrity sha512-Gcmq2JTDheyWn/1eteqyzzWKSqDjYU6KYsIvH7thb7CR5OYInAWOX+7WnKf6PaU/cbdOc4szJItcDEJO7UGmfA==
dependencies:
"@types/react" "^16"

"@types/react-dom@^18.0.0":
version "18.0.9"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.9.tgz#ffee5e4bfc2a2f8774b15496474f8e7fe8d0b504"
Expand All @@ -3766,13 +3766,14 @@
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/react@16.8":
version "16.8.25"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.25.tgz#0247613ab58b1b11ba10fed662e1947c5f2bb89c"
integrity sha512-ydAAkLnNTC4oYSxJ3zwK/4QcVmEecACJ4ZdxXITbxz/dhahBSDKY6OQ1uawAW6rE/7kfHccxulYLSAIZVrSq0A==
"@types/react@^16", "@types/react@^16.8":
version "16.14.60"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.60.tgz#f7ab62a329b82826f12d02bc8031d4ef4b5e0d81"
integrity sha512-wIFmnczGsTcgwCBeIYOuy2mdXEiKZ5znU/jNOnMZPQyCcIxauMGWlX0TNG4lZ7NxRKj7YUIZRneJQSSdB2jKgg==
dependencies:
"@types/prop-types" "*"
csstype "^2.2.0"
"@types/scheduler" "^0.16"
csstype "^3.0.2"

"@types/react@^17":
version "17.0.52"
Expand Down Expand Up @@ -3800,6 +3801,11 @@
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39"
integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==

"@types/scheduler@^0.16":
version "0.16.8"
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff"
integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==

"@types/semver@^7.3.12":
version "7.3.13"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"
Expand Down Expand Up @@ -6053,11 +6059,6 @@ cssstyle@^2.3.0:
dependencies:
cssom "~0.3.6"

csstype@^2.2.0:
version "2.6.21"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.21.tgz#2efb85b7cc55c80017c66a5ad7cbd931fda3a90e"
integrity sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==

csstype@^3.0.2:
version "3.1.1"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9"
Expand Down Expand Up @@ -12275,7 +12276,7 @@ react-dev-utils@^12.0.0, react-dev-utils@^12.0.1:
strip-ansi "^6.0.1"
text-table "^0.2.0"

react-dom@16.14, react-dom@^16.8.6:
react-dom@^16.14, react-dom@^16.8.6:
version "16.14.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.14.0.tgz#7ad838ec29a777fb3c75c3a190f661cf92ab8b89"
integrity sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==
Expand Down Expand Up @@ -12401,7 +12402,7 @@ react-scripts@5.0.1, react-scripts@^5.0.1:
optionalDependencies:
fsevents "^2.3.2"

react@16.14, react@^16.8.6:
react@^16.14, react@^16.8.6:
version "16.14.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d"
integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==
Expand Down

0 comments on commit 662a3eb

Please sign in to comment.