Skip to content

Commit

Permalink
fix(types): move types to peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Aug 24, 2022
1 parent 28a47fc commit a3e6f10
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
"homepage": "https://github.com/relay-tools/found-relay#readme",
"dependencies": {
"@babel/runtime": "^7.17.9",
"@types/react-relay": "^11.0.1",
"@types/relay-runtime": "^12.0.0",
"dequal": "^2.0.2",
"is-promise": "^4.0.0",
"prop-types": "^15.7.2",
Expand All @@ -73,7 +71,17 @@
"found": ">=0.5.1",
"react": ">=16.9.0",
"react-relay": ">=12.0.0",
"relay-runtime": ">=12.0.0"
"relay-runtime": ">=12.0.0",
"@types/react-relay": ">=11.0.1",
"@types/relay-runtime": ">=12.0.0"
},
"peerDependenciesMeta": {
"@types/react-relay": {
"optional": true
},
"@types/relay-runtime": {
"optional": true
}
},
"devDependencies": {
"@4c/babel-preset": "^8.1.1",
Expand All @@ -85,6 +93,8 @@
"@babel/preset-typescript": "^7.16.7",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"@types/react-relay": "^11.0.1",
"@types/relay-runtime": "^12.0.0",
"babel-jest": "^26.6.3",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-relay": "^10.1.3",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2089,9 +2089,9 @@
"@types/relay-runtime" "*"

"@types/react@*":
version "17.0.43"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.43.tgz#4adc142887dd4a2601ce730bc56c3436fdb07a55"
integrity sha512-8Q+LNpdxf057brvPu1lMtC5Vn7J119xrP1aq4qiaefNioQUYANF/CYeK4NsKorSZyUGJ66g0IM+4bbjwx45o2A==
version "18.0.17"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4"
integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
Expand All @@ -2106,9 +2106,9 @@
csstype "^3.0.2"

"@types/relay-runtime@*":
version "13.0.3"
resolved "https://registry.yarnpkg.com/@types/relay-runtime/-/relay-runtime-13.0.3.tgz#0139a02d24fd527c844af3063e943692fd181854"
integrity sha512-LZr9fiWspAtiFIMDcj/6LarYFqxd3jh3ASXULtWL5Tl5CHoDe48Il2nIAF66XKLLCG3QvDgHR8yLX6ZVWKjkkw==
version "14.1.2"
resolved "https://registry.yarnpkg.com/@types/relay-runtime/-/relay-runtime-14.1.2.tgz#252313e977f5b4d5a71d623fb8147c7815efbc9d"
integrity sha512-HeXlKlkGakGZtnViOk5lRn5ljjYqR+EvbJodt0hmwAp5YrWZ5kdXqzMWvAhlAUpGJtP7NkKwMMAsduy46S7UjA==

"@types/relay-runtime@^12.0.0":
version "12.0.2"
Expand Down

0 comments on commit a3e6f10

Please sign in to comment.