File tree Expand file tree Collapse file tree 4 files changed +16
-10
lines changed Expand file tree Collapse file tree 4 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ npx --package react-native-test-app@latest init
33
33
In this example, we will create a project named "sample" in ` sample ` with apps
34
34
for all platforms:
35
35
36
- ``` sh
36
+ ```
37
37
✔ What is the name of your test app? … sample
38
38
? Which platforms do you need test apps for? ›
39
39
Instructions:
@@ -44,6 +44,7 @@ Instructions:
44
44
◉ Android
45
45
◉ iOS
46
46
◉ macOS
47
+ ◯ visionOS (Experimental)
47
48
◉ Windows
48
49
✔ Where should we create the new project?? … sample
49
50
```
@@ -100,9 +101,11 @@ in the wiki.
100
101
[ react-native-datetimepicker] ( https://github.com/react-native-datetimepicker/datetimepicker ) &bull ;
101
102
[ react-native-google-signin] ( https://github.com/react-native-google-signin/google-signin ) &bull ;
102
103
[ react-native-image-editor] ( https://github.com/callstack/react-native-image-editor ) &bull ;
104
+ [ react-native-keychain] ( https://github.com/oblador/react-native-keychain ) &bull ;
103
105
[ react-native-masked-view] ( https://github.com/react-native-masked-view/masked-view ) &bull ;
104
106
[ react-native-menu] ( https://github.com/react-native-menu/menu ) &bull ;
105
107
[ react-native-netinfo] ( https://github.com/react-native-netinfo/react-native-netinfo ) &bull ;
108
+ [ react-native-pager-view] ( https://github.com/callstack/react-native-pager-view ) &bull ;
106
109
[ react-native-segmented-control] ( https://github.com/react-native-segmented-control/segmented-control ) &bull ;
107
110
[ react-native-webview] ( https://github.com/react-native-webview/react-native-webview ) &bull ;
108
111
[ realm-js] ( https://github.com/realm/realm-js ) &bull ;
Original file line number Diff line number Diff line change 97
97
"uuid" : " ^10.0.0"
98
98
},
99
99
"peerDependencies" : {
100
- "@callstack/react-native-visionos" : " 0.73 - 0.75 " ,
100
+ "@callstack/react-native-visionos" : " 0.73 - 0.76 " ,
101
101
"@expo/config-plugins" : " >=5.0" ,
102
102
"react" : " 17.0.1 - 19.0" ,
103
- "react-native" : " 0.66 - 0.75 || >=0.76 .0-0 <0.76 .0" ,
103
+ "react-native" : " 0.66 - 0.76 || >=0.77 .0-0 <0.77 .0" ,
104
104
"react-native-macos" : " ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75" ,
105
105
"react-native-windows" : " ^0.0.0-0 || 0.66 - 0.75"
106
106
},
Original file line number Diff line number Diff line change 4
4
* Reminder that this script is meant to be runnable without installing
5
5
* dependencies. It can therefore not rely on any external libraries.
6
6
*/
7
- import { spawn } from "node:child_process" ;
7
+ import { spawn , spawnSync } from "node:child_process" ;
8
8
import * as fs from "node:fs" ;
9
9
import { URL , fileURLToPath } from "node:url" ;
10
10
import * as util from "node:util" ;
@@ -327,8 +327,7 @@ if (platforms.length === 0) {
327
327
} )
328
328
. then ( ( ) => {
329
329
showBanner ( `Reconfigure existing app` ) ;
330
- $ (
331
- PACKAGE_MANAGER ,
330
+ const args = [
332
331
"configure-test-app" ,
333
332
"-p" ,
334
333
"android" ,
@@ -339,8 +338,12 @@ if (platforms.length === 0) {
339
338
"-p" ,
340
339
"visionos" ,
341
340
"-p" ,
342
- "windows"
343
- ) ;
341
+ "windows" ,
342
+ ] ;
343
+ const { status } = spawnSync ( PACKAGE_MANAGER , args , { stdio : "inherit" } ) ;
344
+ if ( status !== 1 ) {
345
+ throw new Error ( "Expected an error" ) ;
346
+ }
344
347
} )
345
348
. then ( ( ) => {
346
349
showBanner ( green ( "✔ Pass" ) ) ;
Original file line number Diff line number Diff line change @@ -12370,10 +12370,10 @@ __metadata:
12370
12370
typescript: "npm:^5.0.0"
12371
12371
uuid: "npm:^10.0.0"
12372
12372
peerDependencies:
12373
- "@callstack/react-native-visionos": 0.73 - 0.75
12373
+ "@callstack/react-native-visionos": 0.73 - 0.76
12374
12374
"@expo/config-plugins": ">=5.0"
12375
12375
react: 17.0.1 - 19.0
12376
- react-native: 0.66 - 0.75 || >=0.76 .0-0 <0.76 .0
12376
+ react-native: 0.66 - 0.76 || >=0.77 .0-0 <0.77 .0
12377
12377
react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75
12378
12378
react-native-windows: ^0.0.0-0 || 0.66 - 0.75
12379
12379
peerDependenciesMeta:
You can’t perform that action at this time.
0 commit comments