Skip to content

Commit

Permalink
fix: declare support for 0.76
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Sep 30, 2024
1 parent e266fbf commit 2660442
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npx --package react-native-test-app@latest init
In this example, we will create a project named "sample" in `sample` with apps
for all platforms:

```sh
```
✔ What is the name of your test app? … sample
? Which platforms do you need test apps for? ›
Instructions:
Expand All @@ -44,8 +44,9 @@ Instructions:
◉ Android
◉ iOS
◉ macOS
◯ visionOS (Experimental)
◉ Windows
✔ Where should we create the new project?? … sample
✔ Where should we create the new project? … sample
```

Install npm dependencies inside the new project folder:
Expand Down Expand Up @@ -100,9 +101,11 @@ in the wiki.
[react-native-datetimepicker](https://github.com/react-native-datetimepicker/datetimepicker) •
[react-native-google-signin](https://github.com/react-native-google-signin/google-signin) •
[react-native-image-editor](https://github.com/callstack/react-native-image-editor) •
[react-native-keychain](https://github.com/oblador/react-native-keychain) •
[react-native-masked-view](https://github.com/react-native-masked-view/masked-view) •
[react-native-menu](https://github.com/react-native-menu/menu) •
[react-native-netinfo](https://github.com/react-native-netinfo/react-native-netinfo) •
[react-native-pager-view](https://github.com/callstack/react-native-pager-view) •
[react-native-segmented-control](https://github.com/react-native-segmented-control/segmented-control) •
[react-native-webview](https://github.com/react-native-webview/react-native-webview) •
[realm-js](https://github.com/realm/realm-js) •
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@
"uuid": "^10.0.0"
},
"peerDependencies": {
"@callstack/react-native-visionos": "0.73 - 0.75",
"@callstack/react-native-visionos": "0.73 - 0.76",
"@expo/config-plugins": ">=5.0",
"react": "17.0.1 - 19.0",
"react-native": "0.66 - 0.75 || >=0.76.0-0 <0.76.0",
"react-native": "0.66 - 0.76 || >=0.77.0-0 <0.77.0",
"react-native-macos": "^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75",
"react-native-windows": "^0.0.0-0 || 0.66 - 0.75"
},
Expand Down
13 changes: 8 additions & 5 deletions scripts/testing/test-matrix.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Reminder that this script is meant to be runnable without installing
* dependencies. It can therefore not rely on any external libraries.
*/
import { spawn } from "node:child_process";
import { spawn, spawnSync } from "node:child_process";
import * as fs from "node:fs";
import { URL, fileURLToPath } from "node:url";
import * as util from "node:util";
Expand Down Expand Up @@ -327,8 +327,7 @@ if (platforms.length === 0) {
})
.then(() => {
showBanner(`Reconfigure existing app`);
$(
PACKAGE_MANAGER,
const args = [
"configure-test-app",
"-p",
"android",
Expand All @@ -339,8 +338,12 @@ if (platforms.length === 0) {
"-p",
"visionos",
"-p",
"windows"
);
"windows",
];
const { status } = spawnSync(PACKAGE_MANAGER, args, { stdio: "inherit" });
if (status !== 1) {
throw new Error("Expected an error");
}
})
.then(() => {
showBanner(green("✔ Pass"));
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12362,10 +12362,10 @@ __metadata:
typescript: "npm:^5.0.0"
uuid: "npm:^10.0.0"
peerDependencies:
"@callstack/react-native-visionos": 0.73 - 0.75
"@callstack/react-native-visionos": 0.73 - 0.76
"@expo/config-plugins": ">=5.0"
react: 17.0.1 - 19.0
react-native: 0.66 - 0.75 || >=0.76.0-0 <0.76.0
react-native: 0.66 - 0.76 || >=0.77.0-0 <0.77.0
react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75
react-native-windows: ^0.0.0-0 || 0.66 - 0.75
peerDependenciesMeta:
Expand Down

0 comments on commit 2660442

Please sign in to comment.