Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c5d548d

Browse files
committedNov 22, 2024··
Upgrade react navigation in playground
1 parent 46100a5 commit c5d548d

File tree

4 files changed

+47
-17
lines changed

4 files changed

+47
-17
lines changed
 

‎docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export default {
107107
},
108108
},
109109
plugins: [
110+
'./src/plugins/disable-fully-specified.mjs',
110111
'./src/plugins/react-navigation-versions.mjs',
111112
[
112113
'@docusaurus/plugin-client-redirects',

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@docusaurus/preset-classic": "3.6.1",
2222
"@docusaurus/remark-plugin-npm2yarn": "3.6.1",
2323
"@octokit/graphql": "^7.1.0",
24-
"@react-navigation/core": "7.0.0-alpha.17",
24+
"@react-navigation/core": "^7.0.4",
2525
"escape-html": "^1.0.3",
2626
"mkdirp": "^3.0.1",
2727
"netlify-plugin-cache": "^1.0.3",
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
export default function disableFullySpecified(context, options) {
2+
return {
3+
name: 'disable-fully-specified',
4+
configureWebpack() {
5+
return {
6+
module: {
7+
rules: [
8+
{
9+
test: /\.js$/,
10+
resolve: {
11+
fullySpecified: false,
12+
},
13+
},
14+
],
15+
},
16+
};
17+
},
18+
};
19+
}

‎yarn.lock

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,28 +2529,29 @@ __metadata:
25292529
languageName: node
25302530
linkType: hard
25312531

2532-
"@react-navigation/core@npm:7.0.0-alpha.17":
2533-
version: 7.0.0-alpha.17
2534-
resolution: "@react-navigation/core@npm:7.0.0-alpha.17"
2532+
"@react-navigation/core@npm:^7.0.4":
2533+
version: 7.0.4
2534+
resolution: "@react-navigation/core@npm:7.0.4"
25352535
dependencies:
2536-
"@react-navigation/routers": "npm:^7.0.0-alpha.6"
2536+
"@react-navigation/routers": "npm:^7.0.0"
25372537
escape-string-regexp: "npm:^4.0.0"
25382538
nanoid: "npm:3.3.7"
25392539
query-string: "npm:^7.1.3"
25402540
react-is: "npm:^18.2.0"
2541-
use-latest-callback: "npm:^0.1.9"
2541+
use-latest-callback: "npm:^0.2.1"
2542+
use-sync-external-store: "npm:^1.2.2"
25422543
peerDependencies:
2543-
react: "*"
2544-
checksum: d0e2f50a26b8ef390358cf795916fdcb412c44a17437eb884106482164cb213b3d1bb6f62a4a3d71a0275fe26766b962b0fd9ccf4c531a6915c266f5011586cb
2544+
react: ">= 18.2.0"
2545+
checksum: 8df3fb6f3883b1e079460db4512f8e5d9f5fce0c1fa15f073837c5d38c06ccbe98495be90ad157191698b80c3745b0fc0ef6a2d648755cc07ab561c2b6376909
25452546
languageName: node
25462547
linkType: hard
25472548

2548-
"@react-navigation/routers@npm:^7.0.0-alpha.6":
2549-
version: 7.0.0-alpha.6
2550-
resolution: "@react-navigation/routers@npm:7.0.0-alpha.6"
2549+
"@react-navigation/routers@npm:^7.0.0":
2550+
version: 7.0.0
2551+
resolution: "@react-navigation/routers@npm:7.0.0"
25512552
dependencies:
25522553
nanoid: "npm:3.3.7"
2553-
checksum: e0106a21c031bc2c5a3a773252147c8e75017a0362cbd8cc6419d0f66079e5b440b6663b993c5c6a0634afb590379b4436dd8e3a1ab966f69210c4a4ad476522
2554+
checksum: 942041a477c3597be6f50188d2eba03bfdd489acf67f9ec89db577bf6ece10dfff872b890a58c9d31d92d25fa75e04f6f1cb3033e70ababedef8ebefe0c47e60
25542555
languageName: node
25552556
linkType: hard
25562557

@@ -10483,7 +10484,7 @@ __metadata:
1048310484
"@docusaurus/preset-classic": "npm:3.6.1"
1048410485
"@docusaurus/remark-plugin-npm2yarn": "npm:3.6.1"
1048510486
"@octokit/graphql": "npm:^7.1.0"
10486-
"@react-navigation/core": "npm:7.0.0-alpha.17"
10487+
"@react-navigation/core": "npm:^7.0.4"
1048710488
escape-html: "npm:^1.0.3"
1048810489
markdownlint: "npm:^0.36.1"
1048910490
markdownlint-cli2: "npm:^0.14.0"
@@ -12198,12 +12199,21 @@ __metadata:
1219812199
languageName: node
1219912200
linkType: hard
1220012201

12201-
"use-latest-callback@npm:^0.1.9":
12202-
version: 0.1.9
12203-
resolution: "use-latest-callback@npm:0.1.9"
12202+
"use-latest-callback@npm:^0.2.1":
12203+
version: 0.2.3
12204+
resolution: "use-latest-callback@npm:0.2.3"
1220412205
peerDependencies:
1220512206
react: ">=16.8"
12206-
checksum: 280fa1f36e6c4bcb0546d9196b45b9176fe3481aca422e587616fe10b0bec1d5d261c91c01789257d7f02064d506b2c5618c32365c58d0cc8876dc839fe1a83f
12207+
checksum: dc87503f6279ce2980f78e1019231ba20d7509e9d17adac05285babe4d6ba6f68c52f4ef7b5ad777cbc2af9fbaaa09d7adb664ca556da0aebab9f020022880be
12208+
languageName: node
12209+
linkType: hard
12210+
12211+
"use-sync-external-store@npm:^1.2.2":
12212+
version: 1.2.2
12213+
resolution: "use-sync-external-store@npm:1.2.2"
12214+
peerDependencies:
12215+
react: ^16.8.0 || ^17.0.0 || ^18.0.0
12216+
checksum: 23b1597c10adf15b26ade9e8c318d8cc0abc9ec0ab5fc7ca7338da92e89c2536abd150a5891bf076836c352fdfa104fc7231fb48f806fd9960e0cbe03601abaf
1220712217
languageName: node
1220812218
linkType: hard
1220912219

0 commit comments

Comments
 (0)
Please sign in to comment.