diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a8aabfdb4..ac68d5b69 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -257,13 +257,13 @@ If the test script succeeds, we are ready to open a PR: - The test script we ran should have generated screenshots for the table ```markdown -| Configuration | JSC | Hermes | Fabric | Fabric + Hermes | -| :------------ | :--: | :----: | :----: | :-------------: | -| Android | n/a | TODO | n/a | TODO | -| iOS | TODO | TODO | TODO | TODO | -| macOS | TODO | TODO | TODO | TODO | -| visionOS | TODO | TODO | TODO | TODO | -| Windows | n/a | TODO | n/a | TODO | +| Configuration | JSC | Hermes | Fabric | Fabric + Hermes | +| :------------ | :-: | :----: | :----: | :-------------: | +| Android | n/a | TODO | n/a | TODO | +| iOS | n/a | TODO | n/a | TODO | +| macOS | n/a | TODO | n/a | TODO | +| visionOS | n/a | TODO | n/a | TODO | +| Windows | n/a | TODO | n/a | TODO | ``` While the PR is open: diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index a34d03659..f67129ba1 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1482,7 +1482,7 @@ PODS: - React-logger (= 0.78.2) - React-perflogger (= 0.78.2) - React-utils (= 0.78.2) - - ReactNativeHost (0.5.8): + - ReactNativeHost (0.5.9): - DoubleConversion - glog - RCT-Folly (= 2024.11.18.00) @@ -1814,7 +1814,7 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: 4893bde33952f997a323eb1a1ee87a72764018ff ReactCodegen: a99d9f9129c83cdd5c58dea8826d1b82ec528b93 ReactCommon: 5008bd981a06fe63176ef815f092685ffee8f7eb - ReactNativeHost: 9f5d82f9edc73c42ed09e949a19d2ef9cf5ac064 + ReactNativeHost: 323566c74c9c5f06471a3920571aa8a34265d2cb ReactTestApp-DevSupport: 2386e7c22084f8a550cfadcc0bde140c7dc328a1 ReactTestApp-Resources: 1bd9ff10e4c24f2ad87101a32023721ae923bccf RNWWebStorage: cf4c36a41d7d31734b1a3424c70cb555e86801be diff --git a/example/macos/Podfile.lock b/example/macos/Podfile.lock index 34ff7e332..625b7d8e8 100644 --- a/example/macos/Podfile.lock +++ b/example/macos/Podfile.lock @@ -1483,7 +1483,7 @@ PODS: - React-logger (= 0.78.3) - React-perflogger (= 0.78.3) - React-utils (= 0.78.3) - - ReactNativeHost (0.5.8): + - ReactNativeHost (0.5.9): - DoubleConversion - glog - RCT-Folly (= 2024.11.18.00) @@ -1814,7 +1814,7 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: a12262458b50521ba56afb93f4cc875732f9d643 ReactCodegen: 191e4a5cb0241651f2fcf21d79729c6465f0f905 ReactCommon: 0f22e3dd34a8215b8482778898f6e1e95572c498 - ReactNativeHost: 9f5d82f9edc73c42ed09e949a19d2ef9cf5ac064 + ReactNativeHost: 323566c74c9c5f06471a3920571aa8a34265d2cb ReactTestApp-DevSupport: 2386e7c22084f8a550cfadcc0bde140c7dc328a1 ReactTestApp-Resources: 86136e1efe3aa7201759371c03dea3df77079b42 RNWWebStorage: cf4c36a41d7d31734b1a3424c70cb555e86801be diff --git a/example/visionos/Podfile.lock b/example/visionos/Podfile.lock index 4a5cd9e05..2f1223f77 100644 --- a/example/visionos/Podfile.lock +++ b/example/visionos/Podfile.lock @@ -1536,7 +1536,7 @@ PODS: - React-logger (= 0.78.0) - React-perflogger (= 0.78.0) - React-utils (= 0.78.0) - - ReactNativeHost (0.5.8): + - ReactNativeHost (0.5.9): - DoubleConversion - glog - RCT-Folly (= 2024.11.18.00) @@ -1880,7 +1880,7 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: b0dbc9d44b4e45e2b2468df4a2f49fb51806224f ReactCodegen: 4d719f75b156783b8fdf07fe4091a7f38bc52967 ReactCommon: a690d72c5df9a63d64a2444d5aad695c37554ea7 - ReactNativeHost: 9f5d82f9edc73c42ed09e949a19d2ef9cf5ac064 + ReactNativeHost: 323566c74c9c5f06471a3920571aa8a34265d2cb ReactTestApp-DevSupport: 2386e7c22084f8a550cfadcc0bde140c7dc328a1 ReactTestApp-Resources: 2ad57492ef72ab9b2c6f6e89ea198cc1999ca20b RNWWebStorage: cf4c36a41d7d31734b1a3424c70cb555e86801be diff --git a/package.json b/package.json index c985ff50f..d152d3400 100644 --- a/package.json +++ b/package.json @@ -69,26 +69,26 @@ "format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')", "format:js": "prettier --write --log-level error $(git ls-files '*.[cm][jt]s' '*.[jt]s' '*.tsx' '*.yml' '.github/*.json' 'CONTRIBUTING.md' 'README.md' 'nx.json' 'test/**/*.json' ':!:.yarn/releases')", "format:swift": "swiftformat $(git ls-files '*.swift')", - "generate:code": "node --experimental-transform-types --no-warnings scripts/internal/generate-manifest.mts", - "generate:docs": "node --experimental-transform-types --no-warnings scripts/internal/generate-manifest-docs.mts", - "generate:schema": "node --experimental-transform-types --no-warnings scripts/internal/generate-schema.mts", + "generate:code": "node --experimental-strip-types --no-warnings scripts/internal/generate-manifest.mts", + "generate:docs": "node --experimental-strip-types --no-warnings scripts/internal/generate-manifest-docs.mts", + "generate:schema": "node --experimental-strip-types --no-warnings scripts/internal/generate-schema.mts", "lint:commit": "git log --format='%s' origin/trunk..HEAD | tail -1 | npx @rnx-kit/commitlint-lite@2.0.0", "lint:js": "eslint $(git ls-files '*.[cm][jt]s' '*.[jt]s' '*.tsx' ':!:*.config.js' ':!:.yarn/releases') && tsc && tsc --project tsconfig.cjs.json", "lint:kt": "ktlint --relative 'android/app/src/**/*.kt'", "lint:rb": "bundle exec rubocop", "lint:swift": "swiftlint", - "prepack": "node --experimental-transform-types --no-warnings scripts/internal/pack.mts pre", - "postpack": "node --experimental-transform-types --no-warnings scripts/internal/pack.mts post", - "release-notes": "node --experimental-transform-types --no-warnings scripts/internal/release-notes.mts", - "set-react-version": "node --experimental-transform-types --no-warnings scripts/internal/set-react-version.mts", - "show-affected": "node --experimental-transform-types --no-warnings scripts/build/affected.mts", - "test": "node --experimental-transform-types --no-warnings scripts/internal/test.mts", - "test:js": "node --experimental-transform-types --no-warnings --test $(git ls-files '*.test.ts')", - "test:matrix": "node --experimental-transform-types --no-warnings scripts/testing/test-matrix.mts", + "prepack": "node --experimental-strip-types --no-warnings scripts/internal/pack.mts pre", + "postpack": "node --experimental-strip-types --no-warnings scripts/internal/pack.mts post", + "release-notes": "node --experimental-strip-types --no-warnings scripts/internal/release-notes.mts", + "set-react-version": "node --experimental-strip-types --no-warnings scripts/internal/set-react-version.mts", + "show-affected": "node --experimental-strip-types --no-warnings scripts/build/affected.mts", + "test": "node --experimental-strip-types --no-warnings scripts/internal/test.mts", + "test:js": "node --experimental-strip-types --no-warnings --test $(git ls-files '*.test.ts')", + "test:matrix": "node --experimental-strip-types --no-warnings scripts/testing/test-matrix.mts", "test:rb": "bundle exec ruby -Ilib:test -e \"Dir.glob('./test/test_*.rb').each { |file| require(file) }\"" }, "dependencies": { - "@rnx-kit/react-native-host": "^0.5.8", + "@rnx-kit/react-native-host": "^0.5.9", "@rnx-kit/tools-react-native": "^2.1.0", "ajv": "^8.0.0", "cliui": "^8.0.0", @@ -101,7 +101,7 @@ "@callstack/react-native-visionos": "0.73 - 0.78", "@expo/config-plugins": ">=5.0", "react": "18.1 - 19.1", - "react-native": "0.70 - 0.79 || >=0.80.0-0 <0.80.0", + "react-native": "0.70 - 0.80 || >=0.81.0-0 <0.81.0", "react-native-macos": "^0.0.0-0 || 0.71 - 0.78", "react-native-windows": "^0.0.0-0 || 0.70 - 0.78" }, diff --git a/scripts/internal/prepare-viewfinder.mts b/scripts/internal/prepare-viewfinder.mts index bc6db53b1..2aecfea49 100755 --- a/scripts/internal/prepare-viewfinder.mts +++ b/scripts/internal/prepare-viewfinder.mts @@ -1,4 +1,4 @@ -#!/usr/bin/env -S node --experimental-transform-types --no-warnings +#!/usr/bin/env -S node --experimental-strip-types --no-warnings import { spawnSync } from "node:child_process"; import * as path from "node:path"; diff --git a/scripts/internal/test.mts b/scripts/internal/test.mts index 6c66107c9..00a2eaf82 100644 --- a/scripts/internal/test.mts +++ b/scripts/internal/test.mts @@ -24,7 +24,7 @@ switch (getTarget(input)) { break; case "typescript": testWith(process.argv0, [ - "--experimental-transform-types", + "--experimental-strip-types", "--no-warnings", "--test", "--experimental-test-coverage", diff --git a/scripts/testing/react-native.mts b/scripts/testing/react-native.mts index 7c7d4b48e..14667d842 100755 --- a/scripts/testing/react-native.mts +++ b/scripts/testing/react-native.mts @@ -1,4 +1,4 @@ -#!/usr/bin/env -S node --experimental-transform-types --no-warnings +#!/usr/bin/env -S node --experimental-strip-types --no-warnings import { spawnSync } from "node:child_process"; diff --git a/yarn.lock b/yarn.lock index 67f2074a7..660642235 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3830,12 +3830,12 @@ __metadata: languageName: node linkType: hard -"@rnx-kit/react-native-host@npm:^0.5.8": - version: 0.5.8 - resolution: "@rnx-kit/react-native-host@npm:0.5.8" +"@rnx-kit/react-native-host@npm:^0.5.9": + version: 0.5.9 + resolution: "@rnx-kit/react-native-host@npm:0.5.9" peerDependencies: react-native: ">=0.66" - checksum: 10c0/7c8accf892cc78155e7748e121bfd5a670ebdd5816e679e9c19b4de86c7372277d47bbb438e57e80bd70c83da5e15fcea19d25f1ed7136e457cec7ac4301cb77 + checksum: 10c0/a1533b25178b7b27bc0dc4e91bceb998f4b00e4982bd322b7686fe2d6207dd56684fe18f1e361973ad0097eda6d1dcbcb4822bd10464d85b3ffbce96a9493d87 languageName: node linkType: hard @@ -12119,7 +12119,7 @@ __metadata: "@react-native-community/cli": "npm:^15.0.1" "@react-native-community/template": "npm:^0.78.0" "@rnx-kit/eslint-plugin": "npm:^0.8.0" - "@rnx-kit/react-native-host": "npm:^0.5.8" + "@rnx-kit/react-native-host": "npm:^0.5.9" "@rnx-kit/tools-react-native": "npm:^2.1.0" "@rnx-kit/tsconfig": "npm:^2.0.0" "@swc-node/register": "npm:^1.10.0" @@ -12153,7 +12153,7 @@ __metadata: "@callstack/react-native-visionos": 0.73 - 0.78 "@expo/config-plugins": ">=5.0" react: 18.1 - 19.1 - react-native: 0.70 - 0.79 || >=0.80.0-0 <0.80.0 + react-native: 0.70 - 0.80 || >=0.81.0-0 <0.81.0 react-native-macos: ^0.0.0-0 || 0.71 - 0.78 react-native-windows: ^0.0.0-0 || 0.70 - 0.78 peerDependenciesMeta: