Skip to content

Commit c962a10

Browse files
authored
fix: declare support for 0.83 (#2595)
1 parent e09fa77 commit c962a10

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"@callstack/react-native-visionos": "0.76 - 0.79",
103103
"@expo/config-plugins": ">=5.0",
104104
"react": "18.2 - 19.1",
105-
"react-native": "0.76 - 0.82 || >=0.83.0-0 <0.83.0",
105+
"react-native": "0.76 - 0.83 || >=0.83.0-0 <0.84.0",
106106
"react-native-macos": "^0.0.0-0 || 0.76 - 0.79",
107107
"react-native-windows": "^0.0.0-0 || 0.76 - 0.80"
108108
},

scripts/testing/test-matrix.mts

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -338,20 +338,29 @@ if (platforms.length === 0) {
338338
process.exitCode = 1;
339339
showBanner(red("No valid platforms were specified"));
340340
} else {
341-
TEST_VARIANTS.reduce(
342-
(job, variant) => {
343-
return job.then(() =>
344-
withReactNativeVersion(version, async () => {
345-
for (const platform of platforms) {
346-
await buildRunTest({ version, platform, variant });
347-
}
348-
})
349-
);
350-
},
351-
waitForUserInput(
352-
`${TAG} Before continuing, make sure all emulators/simulators and Appium/Metro instances are closed.\n${TAG}\n${TAG} Press any key to continue...`
341+
TEST_VARIANTS.filter((variant) =>
342+
platforms.some((platform) =>
343+
PLATFORM_CONFIG[platform].isAvailable({
344+
version,
345+
platform,
346+
variant,
347+
engine: "hermes",
348+
})
353349
)
354350
)
351+
.reduce(
352+
(job, variant) =>
353+
job.then(() =>
354+
withReactNativeVersion(version, async () => {
355+
for (const platform of platforms) {
356+
await buildRunTest({ version, platform, variant });
357+
}
358+
})
359+
),
360+
waitForUserInput(
361+
`${TAG} Before continuing, make sure all emulators/simulators and Appium/Metro instances are closed.\n${TAG}\n${TAG} Press any key to continue...`
362+
)
363+
)
355364
.then(() => {
356365
showBanner("Initialize new app");
357366
$(

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12349,7 +12349,7 @@ __metadata:
1234912349
"@callstack/react-native-visionos": 0.76 - 0.79
1235012350
"@expo/config-plugins": ">=5.0"
1235112351
react: 18.2 - 19.1
12352-
react-native: 0.76 - 0.82 || >=0.83.0-0 <0.83.0
12352+
react-native: 0.76 - 0.83 || >=0.83.0-0 <0.84.0
1235312353
react-native-macos: ^0.0.0-0 || 0.76 - 0.79
1235412354
react-native-windows: ^0.0.0-0 || 0.76 - 0.80
1235512355
peerDependenciesMeta:

0 commit comments

Comments
 (0)