Skip to content

Commit 6c86450

Browse files
Merge pull request #36445 from valentinpalkovic/agent/sto-717-rnw-ts6
React Native Web: Fix TypeScript 6 peer conflict
2 parents bec1f36 + 526604a commit 6c86450

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

‎code/frameworks/react-native-web-vite/package.json‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,27 @@
5454
"@storybook/builder-vite": "workspace:*",
5555
"@storybook/react": "workspace:*",
5656
"@storybook/react-vite": "workspace:*",
57-
"vite-plugin-rnw": "~0.0.12",
58-
"vite-tsconfig-paths": "^6.1.1"
57+
"vite-plugin-rnw": "~0.0.12"
5958
},
6059
"devDependencies": {
6160
"@types/node": "^22.19.1",
62-
"typescript": "^6.0.3"
61+
"typescript": "^6.0.3",
62+
"vite-tsconfig-paths": "^6.1.1"
6363
},
6464
"peerDependencies": {
6565
"react": "^18.0.0 || ^19.0.0",
6666
"react-dom": "^18.0.0 || ^19.0.0",
6767
"react-native": ">=0.74.5",
6868
"react-native-web": "^0.19.12 || ^0.20.0 || ^0.21.0",
6969
"storybook": "workspace:^",
70+
"typescript": ">= 5.9.x",
7071
"vite": "^6.3.0 || ^7.0.0 || ^8.0.0"
7172
},
73+
"peerDependenciesMeta": {
74+
"typescript": {
75+
"optional": true
76+
}
77+
},
7278
"publishConfig": {
7379
"access": "public"
7480
},

‎yarn.lock‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10827,7 +10827,11 @@ __metadata:
1082710827
react-native: ">=0.74.5"
1082810828
react-native-web: ^0.19.12 || ^0.20.0 || ^0.21.0
1082910829
storybook: "workspace:^"
10830+
typescript: ">= 5.9.x"
1083010831
vite: ^6.3.0 || ^7.0.0 || ^8.0.0
10832+
peerDependenciesMeta:
10833+
typescript:
10834+
optional: true
1083110835
languageName: unknown
1083210836
linkType: soft
1083310837

0 commit comments

Comments
 (0)