Skip to content

Commit

Permalink
pkg: Update react-navigation monorepo (major) (#3269)
Browse files Browse the repository at this point in the history
* pkg: Update react-navigation monorepo

* Use previous react-navigation version with react-17

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathaniel Tucker <me@ntucker.me>
  • Loading branch information
renovate[bot] and ntucker authored Nov 17, 2024
1 parent 7b1bc3f commit 723e79b
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 55 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ jobs:
- run:
command: |
if [ "<< parameters.react-version >>" != "^18" ]; then
YARN_ENABLE_GLOBAL_CACHE=false yarn add --dev react@<< parameters.react-version >> react-dom@<< parameters.react-version >> react-test-renderer@<< parameters.react-version >> @testing-library/react@^12.0.0 @testing-library/react-hooks
YARN_ENABLE_GLOBAL_CACHE=false yarn remove @react-navigation/native @react-navigation/native-stack react-native-screens
YARN_ENABLE_GLOBAL_CACHE=false yarn workspace @data-client/react remove @react-navigation/native
YARN_ENABLE_GLOBAL_CACHE=false yarn add --dev react@<< parameters.react-version >> react-dom@<< parameters.react-version >> react-test-renderer@<< parameters.react-version >> @testing-library/react@^12.0.0 @testing-library/react-hooks @react-navigation/native@^6.0.0 @react-navigation/native-stack@^6.0.0 react-native-screens@^3.0.0
YARN_ENABLE_GLOBAL_CACHE=false yarn workspace @data-client/react add @react-navigation/native@^6.0.0
YARN_ENABLE_GLOBAL_CACHE=false yarn workspace @data-client/test add @testing-library/react@^12.0.0
fi
- run:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"@data-client/react": "workspace:^",
"@data-client/test": "workspace:^",
"@js-temporal/polyfill": "^0.4.4",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.9.1",
"@react-navigation/native": "^7.0.0",
"@react-navigation/native-stack": "^7.0.0",
"@testing-library/react": "16.0.1",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/react-native": "12.8.1",
Expand Down Expand Up @@ -90,7 +90,7 @@
"react-dom": "18.3.1",
"react-native": "0.76.2",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"react-native-screens": "^4.0.0",
"react-test-renderer": "18.3.1",
"rimraf": "^6.0.0",
"rollup": "2.79.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"@data-client/use-enhanced-reducer": "^0.1.10"
},
"peerDependencies": {
"@react-navigation/native": "^6.0.0",
"@react-navigation/native": "^6.0.0 || ^7.0.0",
"@types/react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 || ^19.0.0",
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 || ^19.0.0"
},
Expand All @@ -187,7 +187,7 @@
},
"devDependencies": {
"@anansi/browserslist-config": "^1.4.2",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native": "^7.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.0.30",
"react-native": "^0.76.0"
Expand Down
115 changes: 66 additions & 49 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3187,12 +3187,12 @@ __metadata:
"@babel/runtime": "npm:^7.17.0"
"@data-client/core": "npm:^0.14.16"
"@data-client/use-enhanced-reducer": "npm:^0.1.10"
"@react-navigation/native": "npm:^6.1.6"
"@react-navigation/native": "npm:^7.0.0"
"@types/node": "npm:^22.0.0"
"@types/react": "npm:^18.0.30"
react-native: "npm:^0.76.0"
peerDependencies:
"@react-navigation/native": ^6.0.0
"@react-navigation/native": ^6.0.0 || ^7.0.0
"@types/react": ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 || ^19.0.0
react: ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 || ^19.0.0
peerDependenciesMeta:
Expand Down Expand Up @@ -6034,71 +6034,79 @@ __metadata:
languageName: node
linkType: hard

"@react-navigation/core@npm:^6.4.17":
version: 6.4.17
resolution: "@react-navigation/core@npm:6.4.17"
"@react-navigation/core@npm:^7.0.3":
version: 7.0.3
resolution: "@react-navigation/core@npm:7.0.3"
dependencies:
"@react-navigation/routers": "npm:^6.1.9"
"@react-navigation/routers": "npm:^7.0.0"
escape-string-regexp: "npm:^4.0.0"
nanoid: "npm:^3.1.23"
nanoid: "npm:3.3.7"
query-string: "npm:^7.1.3"
react-is: "npm:^16.13.0"
react-is: "npm:^18.2.0"
use-latest-callback: "npm:^0.2.1"
use-sync-external-store: "npm:^1.2.2"
peerDependencies:
react: "*"
checksum: 10c0/f71fc10dd34d0bd13abd9c947833b9f5ac6aa18af58f74aa72bac45a5d348a4881924fec6534e7694d7084d940d7dac368a1b1fe7d86b260ff5cf475498e9d1b
checksum: 10c0/2e834fddbf3318ad01157c0c7d8e3b6aaaf318ff0093c8b5dca92ec8eed368dec96db164a95d60cea729c50aba1df6c0b5ddb405cc1d79a480f81ba4352118ff
languageName: node
linkType: hard

"@react-navigation/elements@npm:^1.3.31":
version: 1.3.31
resolution: "@react-navigation/elements@npm:1.3.31"
"@react-navigation/elements@npm:^2.0.3":
version: 2.0.3
resolution: "@react-navigation/elements@npm:2.0.3"
dependencies:
color: "npm:^4.2.3"
peerDependencies:
"@react-navigation/native": ^6.0.0
react: "*"
"@react-native-masked-view/masked-view": ">= 0.2.0"
"@react-navigation/native": ^7.0.3
react: ">= 18.2.0"
react-native: "*"
react-native-safe-area-context: ">= 3.0.0"
checksum: 10c0/4a2e6ee67d1954e8424c437fce83c6268cfa8bea22b1a593b4bfe59ed69deeeba3a1d7285880b3b1b100ffe9b542a81e824cddb53550c4dcf6bd6c29ccb16b97
react-native-safe-area-context: ">= 4.0.0"
peerDependenciesMeta:
"@react-native-masked-view/masked-view":
optional: true
checksum: 10c0/f3c048a4af34f221acf05252231d388a85233c59a85cc4ae8188b3cdd42b070a0b49bef17318fd4d90414e73877cc1a7f4f5e81280ee955be54e0926eca8af14
languageName: node
linkType: hard

"@react-navigation/native-stack@npm:^6.9.1":
version: 6.10.1
resolution: "@react-navigation/native-stack@npm:6.10.1"
"@react-navigation/native-stack@npm:^7.0.0":
version: 7.0.3
resolution: "@react-navigation/native-stack@npm:7.0.3"
dependencies:
"@react-navigation/elements": "npm:^1.3.31"
warn-once: "npm:^0.1.0"
"@react-navigation/elements": "npm:^2.0.3"
warn-once: "npm:^0.1.1"
peerDependencies:
"@react-navigation/native": ^6.0.0
react: "*"
"@react-navigation/native": ^7.0.3
react: ">= 18.2.0"
react-native: "*"
react-native-safe-area-context: ">= 3.0.0"
react-native-screens: ">= 3.0.0"
checksum: 10c0/a2f91cd520fc8bee5f31674900600800fbbba7f03421dfa5315bb5862dd83b5b75893359b8f327ee722a2d7b9b0f16a647b6f6cbd431f62c636fee260178da53
react-native-safe-area-context: ">= 4.0.0"
react-native-screens: ">= 4.0.0"
checksum: 10c0/e9e643188557ea2a441d99f3a22b92b83e94d403238cd44119e7c617b315f4298967d8268208e93dacf0854847630a8c48b3ef4e560ee51e3ab040fbc7eebe7b
languageName: node
linkType: hard

"@react-navigation/native@npm:^6.0.13, @react-navigation/native@npm:^6.1.6":
version: 6.1.18
resolution: "@react-navigation/native@npm:6.1.18"
"@react-navigation/native@npm:^7.0.0":
version: 7.0.3
resolution: "@react-navigation/native@npm:7.0.3"
dependencies:
"@react-navigation/core": "npm:^6.4.17"
"@react-navigation/core": "npm:^7.0.3"
escape-string-regexp: "npm:^4.0.0"
fast-deep-equal: "npm:^3.1.3"
nanoid: "npm:^3.1.23"
nanoid: "npm:3.3.7"
use-latest-callback: "npm:^0.2.1"
peerDependencies:
react: "*"
react: ">= 18.2.0"
react-native: "*"
checksum: 10c0/1f7138da298067f537a22c5ab2e8e8529e83df8f87c5c61e84afdcd49d6ba1409f44a33bac3bd08bb11bcfba3f1c84574b7aa0a67b28531e4520d485bd4e3b9b
checksum: 10c0/6e72dbcda6babeb9c0d02313d41359105c07e8e7f35aec17889779c5656d81ba6c89ad53c71e87e7ef7aa4c690c32546a968a08279c8cd411f4436018365e69e
languageName: node
linkType: hard

"@react-navigation/routers@npm:^6.1.9":
version: 6.1.9
resolution: "@react-navigation/routers@npm:6.1.9"
"@react-navigation/routers@npm:^7.0.0":
version: 7.0.0
resolution: "@react-navigation/routers@npm:7.0.0"
dependencies:
nanoid: "npm:^3.1.23"
checksum: 10c0/5b58014cf29bb71c7dc01201e271d55f0ecfe6d38d064179eeff0fc0b5cb739d4d9906eb133f100d25fc674c72c24aa65d5f6bfc3d036d79f7c5d1936391c605
nanoid: "npm:3.3.7"
checksum: 10c0/942041a477c3597be6f50188d2eba03bfdd489acf67f9ec89db577bf6ece10dfff872b890a58c9d31d92d25fa75e04f6f1cb3033e70ababedef8ebefe0c47e60
languageName: node
linkType: hard

Expand Down Expand Up @@ -21285,7 +21293,7 @@ __metadata:
languageName: node
linkType: hard

"nanoid@npm:^3.1.23, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7":
"nanoid@npm:3.3.7, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7":
version: 3.3.7
resolution: "nanoid@npm:3.3.7"
bin:
Expand Down Expand Up @@ -25333,14 +25341,14 @@ __metadata:
languageName: node
linkType: hard

"react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0, react-is@npm:^18.3.1":
"react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0, react-is@npm:^18.2.0, react-is@npm:^18.3.1":
version: 18.3.1
resolution: "react-is@npm:18.3.1"
checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072
languageName: node
linkType: hard

"react-is@npm:^16.13.0, react-is@npm:^16.13.1, react-is@npm:^16.6.0, react-is@npm:^16.7.0":
"react-is@npm:^16.13.1, react-is@npm:^16.6.0, react-is@npm:^16.7.0":
version: 16.13.1
resolution: "react-is@npm:16.13.1"
checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1
Expand Down Expand Up @@ -25423,16 +25431,16 @@ __metadata:
languageName: node
linkType: hard

"react-native-screens@npm:^3.18.2":
version: 3.35.0
resolution: "react-native-screens@npm:3.35.0"
"react-native-screens@npm:^4.0.0":
version: 4.1.0
resolution: "react-native-screens@npm:4.1.0"
dependencies:
react-freeze: "npm:^1.0.0"
warn-once: "npm:^0.1.0"
peerDependencies:
react: "*"
react-native: "*"
checksum: 10c0/51b4ae9a5432dc980d560ac07baaddda12a78f56f2106e0e9498f6b46d4928c26d8288c4818627903675cc8c4d3643f14358d3ae448a3de2cb962a16270c201d
checksum: 10c0/e88ac6534efc46c7ca11cb38f42df7e7a46bac97901670e85e13cba29a181f0a7529c9ac77040ce1355a8cebed160469aa6b42f6cbe58a8f0753be7d38d17f5f
languageName: node
linkType: hard

Expand Down Expand Up @@ -26747,8 +26755,8 @@ __metadata:
"@data-client/react": "workspace:^"
"@data-client/test": "workspace:^"
"@js-temporal/polyfill": "npm:^0.4.4"
"@react-navigation/native": "npm:^6.0.13"
"@react-navigation/native-stack": "npm:^6.9.1"
"@react-navigation/native": "npm:^7.0.0"
"@react-navigation/native-stack": "npm:^7.0.0"
"@testing-library/react": "npm:16.0.1"
"@testing-library/react-hooks": "npm:8.0.1"
"@testing-library/react-native": "npm:12.8.1"
Expand Down Expand Up @@ -26779,7 +26787,7 @@ __metadata:
react-dom: "npm:18.3.1"
react-native: "npm:0.76.2"
react-native-safe-area-context: "npm:^4.4.1"
react-native-screens: "npm:^3.18.2"
react-native-screens: "npm:^4.0.0"
react-test-renderer: "npm:18.3.1"
rimraf: "npm:^6.0.0"
rollup: "npm:2.79.2"
Expand Down Expand Up @@ -29956,6 +29964,15 @@ __metadata:
languageName: node
linkType: hard

"use-sync-external-store@npm:^1.2.2":
version: 1.2.2
resolution: "use-sync-external-store@npm:1.2.2"
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
checksum: 10c0/23b1597c10adf15b26ade9e8c318d8cc0abc9ec0ab5fc7ca7338da92e89c2536abd150a5891bf076836c352fdfa104fc7231fb48f806fd9960e0cbe03601abaf
languageName: node
linkType: hard

"user-home@npm:^2.0.0":
version: 2.0.0
resolution: "user-home@npm:2.0.0"
Expand Down Expand Up @@ -30307,7 +30324,7 @@ __metadata:
languageName: node
linkType: hard

"warn-once@npm:^0.1.0":
"warn-once@npm:^0.1.0, warn-once@npm:^0.1.1":
version: 0.1.1
resolution: "warn-once@npm:0.1.1"
checksum: 10c0/f531e7b2382124f51e6d8f97b8c865246db8ab6ff4e53257a2d274e0f02b97d7201eb35db481843dc155815e154ad7afb53b01c4d4db15fb5aa073562496aff7
Expand Down

0 comments on commit 723e79b

Please sign in to comment.