diff --git a/.github/actions/gradle/action.yml b/.github/actions/gradle/action.yml index b32e4c189..f3cd9e61c 100644 --- a/.github/actions/gradle/action.yml +++ b/.github/actions/gradle/action.yml @@ -12,9 +12,18 @@ runs: steps: - name: Configure Gradle wrapper run: | - node --eval "require('./android/gradle-wrapper.js').configureGradleWrapper('${{ inputs.project-root }}/android')" + node --eval "require('./packages/app/android/gradle-wrapper.js').configureGradleWrapper('${{ inputs.project-root }}/android')" shell: bash - name: Build + if: ${{ runner.os != 'Windows' }} + run: ./gradlew ${{ inputs.arguments }} + shell: bash + working-directory: ${{ inputs.project-root }}/android + - name: Build (Windows) + if: ${{ runner.os == 'Windows' }} + env: + # https://github.com/ninja-build/ninja/issues/1900 + CMAKE_MAKE_PROGRAM: "C:\\ProgramData\\Chocolatey\\bin\\ninja.exe" run: ./gradlew ${{ inputs.arguments }} shell: bash working-directory: ${{ inputs.project-root }}/android diff --git a/.github/actions/init-test-app/action.yml b/.github/actions/init-test-app/action.yml index 9ed265ca6..ba5a72028 100644 --- a/.github/actions/init-test-app/action.yml +++ b/.github/actions/init-test-app/action.yml @@ -9,7 +9,7 @@ runs: steps: - name: Install run: | - scripts/build/install-test-template.sh ${{ inputs.platform }} + scripts/install-test-template.sh ${{ inputs.platform }} shell: bash - name: Initialize a new app run: | diff --git a/.github/actions/setup-react-native/action.yml b/.github/actions/setup-react-native/action.yml index 7ac7c8fce..dfee15f46 100644 --- a/.github/actions/setup-react-native/action.yml +++ b/.github/actions/setup-react-native/action.yml @@ -14,3 +14,4 @@ runs: rm example/visionos/Podfile.lock node --run set-react-version -- ${{ inputs.version }} shell: bash + working-directory: packages/app diff --git a/.github/labeler.yml b/.github/labeler.yml index 423a363f5..437e800e8 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -5,17 +5,17 @@ - .github/actions/init-test-app/* - .github/actions/setup-toolchain/* - .github/workflows/build.yml - - android/**/* - - common/**/* - - example/android/**/* - - scripts/*.js - - scripts/configure.mjs - - scripts/embed-manifest/kotlin.mjs - - scripts/embed-manifest/main.mjs - - scripts/embed-manifest/validate.mjs - - scripts/init.mjs - - scripts/template.mjs - - test-app.gradle + - packages/app/android/**/* + - packages/app/common/**/* + - packages/app/example/android/**/* + - packages/app/scripts/*.js + - packages/app/scripts/configure.mjs + - packages/app/scripts/embed-manifest/kotlin.mjs + - packages/app/scripts/embed-manifest/main.mjs + - packages/app/scripts/embed-manifest/validate.mjs + - packages/app/scripts/init.mjs + - packages/app/scripts/template.mjs + - packages/app/test-app.gradle "platform: iOS": - changed-files: - any-glob-to-any-file: @@ -24,19 +24,19 @@ - .github/actions/setup-toolchain/* - .github/workflows/build.yml - Gemfile* - - ReactTestApp-DevSupport.podspec - - common/**/* - - example/ios/**/* - - ios/**/* - - scripts/*.js - - scripts/configure.mjs - - scripts/embed-manifest/main.mjs - - scripts/embed-manifest/swift.mjs - - scripts/embed-manifest/validate.mjs - - scripts/init.mjs - - scripts/template.mjs - - scripts/build/xcodebuild.sh - - test_app.rb + - packages/app/ReactTestApp-DevSupport.podspec + - packages/app/common/**/* + - packages/app/example/ios/**/* + - packages/app/ios/**/* + - packages/app/scripts/*.js + - packages/app/scripts/configure.mjs + - packages/app/scripts/embed-manifest/main.mjs + - packages/app/scripts/embed-manifest/swift.mjs + - packages/app/scripts/embed-manifest/validate.mjs + - packages/app/scripts/init.mjs + - packages/app/scripts/template.mjs + - packages/app/scripts/build/xcodebuild.sh + - packages/app/test_app.rb "platform: macOS": - changed-files: - any-glob-to-any-file: @@ -45,25 +45,25 @@ - .github/actions/setup-toolchain/* - .github/workflows/build.yml - Gemfile* - - ReactTestApp-DevSupport.podspec - - common/**/* - - example/macos/**/* - - ios/*.rb - - ios/ReactTestApp/Manifest.swift - - ios/ReactTestApp/React+Compatibility.{h,m} - - ios/ReactTestApp/ReactInstance.swift - - ios/ReactTestApp/ReactTestApp-Bridging-Header.h - - ios/ReactTestApp/Session.swift - - ios/ReactTestApp/UIViewController+ReactTestApp.{h,m} - - macos/**/* - - scripts/*.js - - scripts/configure.mjs - - scripts/embed-manifest/main.mjs - - scripts/embed-manifest/swift.mjs - - scripts/embed-manifest/validate.mjs - - scripts/init.mjs - - scripts/template.mjs - - scripts/build/xcodebuild.sh + - packages/app/ReactTestApp-DevSupport.podspec + - packages/app/common/**/* + - packages/app/example/macos/**/* + - packages/app/ios/*.rb + - packages/app/ios/ReactTestApp/Manifest.swift + - packages/app/ios/ReactTestApp/React+Compatibility.{h,m} + - packages/app/ios/ReactTestApp/ReactInstance.swift + - packages/app/ios/ReactTestApp/ReactTestApp-Bridging-Header.h + - packages/app/ios/ReactTestApp/Session.swift + - packages/app/ios/ReactTestApp/UIViewController+ReactTestApp.{h,m} + - packages/app/macos/**/* + - packages/app/scripts/*.js + - packages/app/scripts/configure.mjs + - packages/app/scripts/embed-manifest/main.mjs + - packages/app/scripts/embed-manifest/swift.mjs + - packages/app/scripts/embed-manifest/validate.mjs + - packages/app/scripts/init.mjs + - packages/app/scripts/template.mjs + - packages/app/scripts/build/xcodebuild.sh "platform: visionOS": - changed-files: - any-glob-to-any-file: @@ -72,34 +72,34 @@ - .github/actions/setup-toolchain/* - .github/workflows/build.yml - Gemfile* - - ReactTestApp-DevSupport.podspec - - common/**/* - - example/visionos/**/* - - ios/*.rb - - ios/ReactTestApp/*.{h,m,mm,swift} - - scripts/*.js - - scripts/configure.mjs - - scripts/embed-manifest/main.mjs - - scripts/embed-manifest/swift.mjs - - scripts/embed-manifest/validate.mjs - - scripts/init.mjs - - scripts/template.mjs - - scripts/build/xcodebuild.sh - - visionos/**/* + - packages/app/ReactTestApp-DevSupport.podspec + - packages/app/common/**/* + - packages/app/example/visionos/**/* + - packages/app/ios/*.rb + - packages/app/ios/ReactTestApp/*.{h,m,mm,swift} + - packages/app/scripts/*.js + - packages/app/scripts/configure.mjs + - packages/app/scripts/embed-manifest/main.mjs + - packages/app/scripts/embed-manifest/swift.mjs + - packages/app/scripts/embed-manifest/validate.mjs + - packages/app/scripts/init.mjs + - packages/app/scripts/template.mjs + - packages/app/scripts/build/xcodebuild.sh + - packages/app/visionos/**/* "platform: Windows": - changed-files: - any-glob-to-any-file: - .github/actions/init-test-app/* - .github/actions/setup-toolchain/* - .github/workflows/build.yml - - common/**/* - - example/windows/**/* - - scripts/*.ps1 - - scripts/*.js - - scripts/configure.mjs - - scripts/embed-manifest/cpp.mjs - - scripts/embed-manifest/main.mjs - - scripts/embed-manifest/validate.mjs - - scripts/init.mjs - - scripts/template.mjs - - windows/**/* + - packages/app/common/**/* + - packages/app/example/windows/**/* + - packages/app/scripts/*.ps1 + - packages/app/scripts/*.js + - packages/app/scripts/configure.mjs + - packages/app/scripts/embed-manifest/cpp.mjs + - packages/app/scripts/embed-manifest/main.mjs + - packages/app/scripts/embed-manifest/validate.mjs + - packages/app/scripts/init.mjs + - packages/app/scripts/template.mjs + - packages/app/windows/**/* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9edac94d5..217cec321 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,6 +72,7 @@ jobs: fi git diff --exit-code shell: bash + working-directory: packages/app - name: ClangFormat if: ${{ github.event_name == 'pull_request' && runner.os == 'macOS' }} env: @@ -80,7 +81,7 @@ jobs: # TODO: GITHUB_TOKEN is not set if a PR comes from a forked repo. # Ignore errors until we can create a GitHub PAT from a system # account. - scripts/build/clang-format-diff.sh || true + scripts/clang-format-diff.sh || true - name: CocoaPods if: ${{ runner.os == 'macOS' }} run: | @@ -90,13 +91,12 @@ jobs: echo "::add-matcher::.github/minitest.json" yarn test:rb echo "::remove-matcher owner=minitest::" - - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@v4 + working-directory: packages/app - name: Populate Gradle cache uses: ./.github/actions/gradle with: arguments: clean - project-root: example + project-root: packages/app/example - name: JavaScript env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -119,6 +119,7 @@ jobs: yarn tsc yarn test:js shell: bash + working-directory: packages/app - name: ktlint if: ${{ github.event_name == 'pull_request' && runner.os == 'macOS' }} run: | @@ -126,12 +127,14 @@ jobs: echo "::add-matcher::.github/ktlint.json" yarn lint:kt echo "::remove-matcher owner=ktlint::" + working-directory: packages/app - name: SwiftFormat if: ${{ github.event_name == 'pull_request' && runner.os == 'macOS' }} run: | echo "::add-matcher::.github/swiftformat.json" yarn format:swift --lint echo "::remove-matcher owner=swiftformat::" + working-directory: packages/app - name: SwiftLint if: ${{ runner.os == 'macOS' }} run: | @@ -139,9 +142,10 @@ jobs: echo "::add-matcher::.github/swiftlint.json" swiftlint echo "::remove-matcher owner=swiftlint::" + working-directory: packages/app - name: Smoke test `npx --package react-native-test-app@latest init` run: | - node ./react-native-test-app/scripts/init.mjs --destination app --name App -p android -p ios -p macos -p windows + node ./react-native-test-app/packages/app/scripts/init.mjs --destination app --name App -p android -p ios -p macos -p windows working-directory: .. - name: Smoke test `setup-react-native` action uses: ./.github/actions/setup-react-native @@ -162,7 +166,7 @@ jobs: uses: ./.github/actions/setup-toolchain with: platform: ios - project-root: example + project-root: packages/app/example cache-key-prefix: example xcode-developer-dir: /Applications/Xcode_16.4.app/Contents/Developer - name: Set up react-native@nightly @@ -176,8 +180,8 @@ jobs: immutable: ${{ github.event_name != 'schedule' }} - name: Bundle JavaScript run: | - yarn build:ios || yarn build:ios - working-directory: example + yarn build:ios + working-directory: packages/app/example - name: Determine whether the iOS app needs to be built id: affected uses: ./.github/actions/affected @@ -186,22 +190,22 @@ jobs: uses: ./.github/actions/cocoapods with: project-directory: ios - working-directory: example + working-directory: packages/app/example - name: Build if: ${{ steps.affected.outputs.ios != '' }} run: | - ../scripts/build/xcodebuild.sh ios/Example.xcworkspace build-for-testing - working-directory: example + ../../../scripts/xcodebuild.sh ios/Example.xcworkspace build-for-testing + working-directory: packages/app/example - name: Test `react-native config` if: ${{ steps.affected.outputs.ios != '' }} run: | node --test test/config.test.mjs - working-directory: example + working-directory: packages/app/example - name: Test if: ${{ steps.affected.outputs.ios != '' }} run: | - ../scripts/build/xcodebuild.sh ios/Example.xcworkspace test-without-building - working-directory: example + ../../../scripts/xcodebuild.sh ios/Example.xcworkspace test-without-building + working-directory: packages/app/example timeout-minutes: 60 ios-template: name: "iOS [template]" @@ -221,7 +225,7 @@ jobs: uses: ./.github/actions/setup-toolchain with: platform: ios - project-root: example + project-root: packages/app/example cache-key-prefix: template-${{ matrix.template }} xcode-developer-dir: /Applications/Xcode_16.4.app/Contents/Developer - name: Initialize test app @@ -230,7 +234,7 @@ jobs: platform: ${{ matrix.template }} - name: Bundle JavaScript run: | - yarn build:ios || yarn build:ios + yarn build:ios working-directory: template-example - name: Determine whether the iOS app needs to be built id: affected @@ -243,12 +247,12 @@ jobs: - name: Build if: ${{ steps.affected.outputs.ios != '' }} run: | - ../scripts/build/xcodebuild.sh ios/TemplateExample.xcworkspace build + ../scripts/xcodebuild.sh ios/TemplateExample.xcworkspace build working-directory: template-example - name: react-native run-ios if: ${{ steps.affected.outputs.ios != '' }} run: | - ../scripts/testing/react-native.mts run-ios + ../scripts/react-native.mts run-ios working-directory: template-example timeout-minutes: 60 android: @@ -279,15 +283,15 @@ jobs: - name: Test `react-native config` run: | node --test test/config.test.mjs - working-directory: example + working-directory: packages/app/example - name: Bundle JavaScript # Metro on nightlies currently fails with "SHA-1 for file index.js is # not computed" so we'll skip this step for now. if: ${{ github.event_name != 'schedule' || runner.os != 'Windows' }} run: | - yarn build:android || yarn build:android + yarn build:android shell: bash - working-directory: example + working-directory: packages/app/example - name: Determine whether the Android app needs to be built id: affected # Nightlies currently fail on Windows because of wrong path separators. @@ -297,7 +301,7 @@ jobs: if: ${{ steps.affected.outputs.android != '' }} uses: ./.github/actions/gradle with: - project-root: example + project-root: packages/app/example timeout-minutes: 60 android-template: name: "Android [template]" @@ -323,7 +327,7 @@ jobs: platform: ${{ matrix.template }} - name: Bundle JavaScript run: | - yarn build:android || yarn build:android + yarn build:android shell: bash working-directory: template-example - name: Determine whether the Android app needs to be built @@ -337,7 +341,7 @@ jobs: - name: react-native run-android if: ${{ steps.affected.outputs.android != '' }} run: | - ../scripts/testing/react-native.mts run-android + ../scripts/react-native.mts run-android working-directory: template-example timeout-minutes: 60 macos: @@ -355,7 +359,7 @@ jobs: uses: ./.github/actions/setup-toolchain with: platform: macos - project-root: example + project-root: packages/app/example cache-key-prefix: example xcode-developer-dir: /Applications/Xcode_16.4.app/Contents/Developer - name: Set up react-native@canary @@ -369,8 +373,8 @@ jobs: immutable: ${{ github.event_name != 'schedule' }} - name: Bundle JavaScript run: | - yarn build:macos || yarn build:macos - working-directory: example + yarn build:macos + working-directory: packages/app/example - name: Determine whether the macOS app needs to be built id: affected uses: ./.github/actions/affected @@ -379,22 +383,22 @@ jobs: uses: ./.github/actions/cocoapods with: project-directory: macos - working-directory: example + working-directory: packages/app/example - name: Build if: ${{ steps.affected.outputs.macos != '' }} run: | - ../scripts/build/xcodebuild.sh macos/Example.xcworkspace build-for-testing - working-directory: example + ../../../scripts/xcodebuild.sh macos/Example.xcworkspace build-for-testing + working-directory: packages/app/example - name: Test `react-native config` if: ${{ steps.affected.outputs.macos != '' }} run: | node --test test/config.test.mjs - working-directory: example + working-directory: packages/app/example - name: Test if: ${{ steps.affected.outputs.macos != '' && github.event_name != 'schedule' }} run: | - ../scripts/build/xcodebuild.sh macos/Example.xcworkspace test-without-building - working-directory: example + ../../../scripts/xcodebuild.sh macos/Example.xcworkspace test-without-building + working-directory: packages/app/example timeout-minutes: 60 macos-template: name: "macOS [template]" @@ -414,7 +418,7 @@ jobs: uses: ./.github/actions/setup-toolchain with: platform: macos - project-root: example + project-root: packages/app/example cache-key-prefix: template-${{ matrix.template }} xcode-developer-dir: /Applications/Xcode_16.4.app/Contents/Developer - name: Initialize test app @@ -423,7 +427,7 @@ jobs: platform: ${{ matrix.template }} - name: Bundle JavaScript run: | - yarn build:macos || yarn build:macos + yarn build:macos working-directory: template-example - name: Determine whether the macOS app needs to be built id: affected @@ -439,7 +443,7 @@ jobs: - name: Build if: ${{ steps.affected.outputs.macos != '' }} run: | - ../scripts/build/xcodebuild.sh macos/TemplateExample.xcworkspace build + ../scripts/xcodebuild.sh macos/TemplateExample.xcworkspace build working-directory: template-example timeout-minutes: 60 visionos: @@ -457,7 +461,7 @@ jobs: uses: ./.github/actions/setup-toolchain with: platform: visionos - project-root: example + project-root: packages/app/example cache-key-prefix: example xcode-developer-dir: /Applications/Xcode_16.4.app/Contents/Developer - name: Set up react-native@nightly @@ -471,8 +475,8 @@ jobs: immutable: ${{ github.event_name != 'schedule' }} - name: Bundle JavaScript run: | - yarn build:visionos || yarn build:visionos - working-directory: example + yarn build:visionos + working-directory: packages/app/example - name: Determine whether the visionOS app needs to be built id: affected uses: ./.github/actions/affected @@ -481,17 +485,17 @@ jobs: uses: ./.github/actions/cocoapods with: project-directory: visionos - working-directory: example + working-directory: packages/app/example - name: Build if: ${{ steps.affected.outputs.visionos != '' }} run: | - ../scripts/build/xcodebuild.sh visionos/Example.xcworkspace build-for-testing - working-directory: example + ../../../scripts/xcodebuild.sh visionos/Example.xcworkspace build-for-testing + working-directory: packages/app/example - name: Test `react-native config` if: ${{ steps.affected.outputs.visionos != '' }} run: | node --test test/config.test.mjs - working-directory: example + working-directory: packages/app/example timeout-minutes: 60 visionos-template: name: "visionOS [template]" @@ -511,7 +515,7 @@ jobs: uses: ./.github/actions/setup-toolchain with: platform: visionos - project-root: example + project-root: packages/app/example cache-key-prefix: template-${{ matrix.template }} xcode-developer-dir: /Applications/Xcode_16.4.app/Contents/Developer - name: Initialize test app @@ -520,7 +524,7 @@ jobs: platform: ${{ matrix.template }} - name: Bundle JavaScript run: | - yarn build:visionos || yarn build:visionos + yarn build:visionos working-directory: template-example - name: Determine whether the visionOS app needs to be built id: affected @@ -533,7 +537,7 @@ jobs: - name: Build if: ${{ steps.affected.outputs.visionos != '' }} run: | - ../scripts/build/xcodebuild.sh visionos/TemplateExample.xcworkspace build + ../scripts/xcodebuild.sh visionos/TemplateExample.xcworkspace build working-directory: template-example timeout-minutes: 60 windows: @@ -568,12 +572,12 @@ jobs: yarn build:windows - name: Generate Visual Studio solution run: | - yarn install-windows-test-app --use-nuget --msbuildprops WindowsTargetPlatformVersion=10.0.26100.0 - working-directory: example + node ../windows/app.mjs --use-nuget --msbuildprops WindowsTargetPlatformVersion=10.0.26100.0 + working-directory: packages/app/example - name: Test `react-native config` run: | node --test test/config.test.mjs - working-directory: example + working-directory: packages/app/example - name: Determine whether the Windows app needs to be built id: affected uses: ./.github/actions/affected @@ -585,13 +589,13 @@ jobs: } else { yarn ci:windows --arch ${{ matrix.platform }} } - working-directory: example/windows + working-directory: packages/app/example/windows - name: Test if: ${{ steps.affected.outputs.windows != '' && matrix.platform == 'x64' }} run: | ../../../scripts/build/MSBuild.ps1 -Configuration ${{ matrix.configuration }} -Platform ${{ matrix.platform }} -Target Build ReactAppTests.vcxproj ../../../scripts/build/VSTest.ps1 ${{ matrix.platform }}\${{ matrix.configuration }}\ReactAppTests.dll - working-directory: example/windows/ReactAppTests + working-directory: packages/app/example/windows/ReactAppTests timeout-minutes: 60 windows-template: name: "Windows [template]" @@ -618,6 +622,7 @@ jobs: - name: Bundle JavaScript run: | yarn build:windows + working-directory: template-example - name: Generate Visual Studio solution run: | yarn install-windows-test-app --use-nuget --msbuildprops WindowsTargetPlatformVersion=10.0.26100.0 @@ -660,6 +665,7 @@ jobs: - name: Verify tarball content run: | yarn test test/pack.test.ts + working-directory: packages/app - name: Release (dry run) if: ${{ github.ref != 'refs/heads/trunk' }} run: | diff --git a/.gitignore b/.gitignore index ff63f2341..12a90f89a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,17 +18,17 @@ !.yarn/plugins/ !.yarn/releases/ Pods/ -android/**/build/ clang-format-diff.py coverage/ -example/*/DerivedData/ -example/*/build/ -example/Screenshot-*.png local.properties msbuild.binlog node_modules/ !test/__fixtures__/**/node_modules/ package-lock.json +packages/app/android/**/build/ +packages/app/example/*/DerivedData/ +packages/app/example/*/build/ +packages/app/example/Screenshot-*.png report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json template-example/ xcuserdata/ diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index eee4a157c..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "editor.formatOnSave": true, - "files.associations": { - "any": "cpp", - "fstream": "cpp", - "iostream": "cpp", - "map": "cpp", - "optional": "cpp", - "string": "cpp", - "vector": "cpp" - }, - "react-native-tools.projectRoot": "./example" -} diff --git a/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch b/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch new file mode 100644 index 000000000..cbb4b4264 --- /dev/null +++ b/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch @@ -0,0 +1,14 @@ +diff --git a/package.json b/package.json +index e374e4b8465146781b05257c3816adceffbfa6ee..1e3a6e6a6e081d005f848dfdf245b8ee3c14adcb 100644 +--- a/package.json ++++ b/package.json +@@ -61,6 +61,9 @@ + "./protocol-stub": { + "source": "./src/protocol-stub.ts", + "import": "./build/protocol-stub.js" ++ }, ++ "./package.json": { ++ "default": "./package.json" + } + }, + "types": "./build/index.d.ts", diff --git a/.yarn/plugins/link-project.cjs b/.yarn/plugins/link-project.cjs deleted file mode 100644 index 7c47656ad..000000000 --- a/.yarn/plugins/link-project.cjs +++ /dev/null @@ -1,74 +0,0 @@ -// @ts-check -/** - * @typedef {{ values: Map; }} Configuration - * @typedef {{ cwd: string; }} Workspace - * @typedef {{ configuration: Configuration; cwd: string; workspaces: Workspace[]; }} Project - * @typedef {{ mode?: "skip-build" | "update-lockfile"; }} InstallOptions - * - * @type {{ name: string; factory: (require: NodeJS.Require) => unknown; }} - */ -module.exports = { - name: "plugin-link-project", - factory: (require) => ({ - hooks: { - /** @type {(project: Project, options: InstallOptions) => void} */ - afterAllInstalled(project, options) { - // This mode is typically used by tools like Renovate or Dependabot to - // keep a lockfile up-to-date without incurring the full install cost. - if (options.mode === "update-lockfile") { - return; - } - - // As of 3.3.0, Yarn avoids creating circular symlinks. We need to - // manually create a symlink to the main project after install. - if (project.configuration.values.get("nodeLinker") !== "node-modules") { - return; - } - - const { npath } = require("@yarnpkg/fslib"); - const fs = require("node:fs"); - const path = require("node:path"); - - const noop = () => null; - const mkdirOptions = { recursive: true, mode: 0o755 }; - const rmOptions = { force: true, maxRetries: 3, recursive: true }; - - const projectRoot = npath.fromPortablePath(project.cwd); - const manifestPath = path.join(projectRoot, "package.json"); - - fs.readFile(manifestPath, { encoding: "utf-8" }, (_err, manifest) => { - const { name } = JSON.parse(manifest); - - for (const ws of project.workspaces) { - if (ws.cwd === project.cwd) { - continue; - } - - const workspaceDir = npath.fromPortablePath(ws.cwd); - const nodeModulesDir = path.join(workspaceDir, "node_modules"); - const linkPath = path.join(nodeModulesDir, name); - - fs.readlink(linkPath, (err, linkString) => { - if ( - !linkString || - path.resolve(nodeModulesDir, linkString) !== projectRoot - ) { - if (err?.code !== "ENOENT") { - fs.rmSync(linkPath, rmOptions); - } else { - fs.mkdirSync(nodeModulesDir, mkdirOptions); - } - if (process.platform === "win32") { - fs.symlink(projectRoot, linkPath, "junction", noop); - } else { - const target = path.relative(nodeModulesDir, projectRoot); - fs.symlink(target, linkPath, noop); - } - } - }); - } - }); - }, - }, - }), -}; diff --git a/.yarnrc.yml b/.yarnrc.yml index b39c43786..5410148f9 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -2,6 +2,7 @@ compressionLevel: 0 enableGlobalCache: false enableScripts: false enableTelemetry: false +globalFolder: .yarn/berry # Workaround for 'EXDEV: cross-device link not permitted' errors on GHA logFilters: - code: YN0007 # X must be built because it never has been before or the last one failed level: discard @@ -11,22 +12,27 @@ logFilters: level: discard - code: YN0069 # This rule seems redundant when applied on the original package level: error -nodeLinker: node-modules +nodeLinker: pnpm npmMinimalAgeGate: 7d npmRegistryServer: "https://registry.npmjs.org" packageExtensions: + "@callstack/react-native-visionos@0.79": + dependencies: + "@react-native-community/cli": ^18.0.0 + "@react-native-community/cli-platform-apple": ^18.0.0 + "@react-native-community/cli-platform-ios": ^18.0.0 appium@3: dependencies: "@colors/colors": ^1.6.0 - react-native-windows@*: - peerDependenciesMeta: - "@types/react": - optional: true + react-native-macos@0.79: + dependencies: + "@react-native-community/cli": ^18.0.0 + "@react-native-community/cli-platform-apple": ^18.0.0 + "@react-native-community/cli-platform-ios": ^18.0.0 plugins: - path: .yarn/plugins/@yarnpkg/plugin-compat.cjs spec: "@yarnpkg/plugin-compat" - path: .yarn/plugins/clean.cjs - - path: .yarn/plugins/link-project.cjs - path: .yarn/plugins/npm-workaround.cjs - path: .yarn/plugins/undo-bin-sorting.cjs tsEnableAutoTypes: false diff --git a/package.json b/package.json index 8220027cf..55f9caa50 100644 --- a/package.json +++ b/package.json @@ -1,166 +1,45 @@ { - "name": "react-native-test-app", + "private": true, + "name": "@microsoft/root", "version": "0.0.1-dev", - "description": "react-native-test-app provides a test app for all supported platforms as a package", - "keywords": [ - "android", - "app", - "ios", - "macos", - "react", - "react-native", - "test", - "test-app", - "testing", - "windows" - ], "homepage": "https://github.com/microsoft/react-native-test-app", "license": "MIT", "author": { "name": "Microsoft Open Source", "email": "microsoftopensource@users.noreply.github.com" }, - "files": [ - "README.md", - "ReactTestApp-DevSupport.podspec", - "SECURITY.md", - "android/**/*.gradle", - "android/android-manifest.js", - "android/app/lint.xml", - "android/app/src", - "!android/app/src/test", - "android/autolink.mjs", - "android/gradle-wrapper.js", - "android/support/src", - "common", - "example/_gitignore", - "example/android/gradle", - "example/android/gradle.properties", - "example/android/gradlew*", - "example/windows/_gitignore", - "example/{metro,react-native}.config.js", - "ios", - "macos", - "plugins", - "react-native.config.js", - "schema.json", - "scripts/*.js", - "scripts/*.mjs", - "scripts/config-plugins", - "scripts/embed-manifest", - "scripts/utils", - "test-app.gradle", - "test_app.rb", - "visionos", - "windows", - "!.clang-format" - ], - "main": "scripts/configure-projects.js", - "bin": { - "init": "scripts/init.mjs", - "init-test-app": "scripts/init.mjs", - "configure-test-app": "scripts/configure.mjs", - "install-windows-test-app": "windows/app.mjs" - }, "repository": { "type": "git", "url": "https://github.com/microsoft/react-native-test-app.git" }, "scripts": { - "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 scripts/internal/generate-manifest.mts", - "generate:docs": "node scripts/internal/generate-manifest-docs.mts", - "generate:schema": "node scripts/internal/generate-schema.mts", + "format": "nx run-many --target format:c,format:js,format:swift", + "lint": "nx run-many --target lint:js,lint:kt,lint:rb,lint:swift", + "format:js": "prettier --write --log-level error $(git ls-files '.github/*.json' '.github/*.yml' '.yarn/plugins/*' '.yarnrc.yml' 'CONTRIBUTING.md' 'README.md' 'nx.json')", "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 scripts/internal/pack.mts pre", - "postpack": "node scripts/internal/pack.mts post", - "release-notes": "node scripts/internal/release-notes.mts", - "set-react-version": "node scripts/internal/set-react-version.mts", - "show-affected": "node scripts/build/affected.mts", - "test": "node scripts/internal/test.mts", - "test:js": "node --no-warnings --test $(git ls-files '*.test.ts')", - "test:matrix": "node 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.11", - "@rnx-kit/tools-react-native": "^2.1.0", - "ajv": "^8.0.0", - "cliui": "^8.0.0", - "fast-xml-parser": "^4.0.0", - "prompts": "^2.4.0", - "semver": "^7.3.5", - "uuid": "^11.0.0" - }, - "peerDependencies": { - "@callstack/react-native-visionos": "0.76 - 0.79", - "@expo/config-plugins": ">=5.0", - "react": "18.2 - 19.1", - "react-native": "0.76 - 0.83 || >=0.83.0-0 <0.84.0", - "react-native-macos": "^0.0.0-0 || 0.76 - 0.79", - "react-native-windows": "^0.0.0-0 || 0.76 - 0.80" - }, - "peerDependenciesMeta": { - "@callstack/react-native-visionos": { - "optional": true - }, - "@expo/config-plugins": { - "optional": true - }, - "react-native-macos": { - "optional": true - }, - "react-native-windows": { - "optional": true - } + "release-notes": "node scripts/release-notes.mts", + "show-affected": "node scripts/affected.mts" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/preset-env": "^7.25.3", - "@expo/config-plugins": "^10.0.0", - "@microsoft/eslint-plugin-sdl": "^1.0.0", "@nx/js": "^21.0.0", - "@react-native-community/cli": "^18.0.0", - "@react-native-community/template": "^0.79.0", - "@rnx-kit/eslint-plugin": "^0.9.0", "@rnx-kit/lint-lockfile": "^0.1.0", - "@rnx-kit/tsconfig": "^2.0.0", - "@swc-node/register": "^1.10.0", - "@swc/core": "^1.11.0", "@types/js-yaml": "^4.0.5", - "@types/mustache": "^4.0.0", "@types/node": "^22.0.0", - "@types/prompts": "~2.4.0", - "@types/semver": "^7.3.6", - "eslint": "^9.12.0", - "eslint-plugin-wdio": "^9.0.0", "js-yaml": "^4.1.0", - "memfs": "^4.0.0", "minimatch": "^9.0.0", "nx": "^21.0.0", "prettier": "^3.0.0", "prettier-plugin-organize-imports": "^4.1.0", - "react": "19.0.0", - "react-native": "^0.79.0", - "react-native-macos": "^0.79.0", - "react-native-windows": "^0.79.0", - "suggestion-bot": "^4.0.0", "typescript": "^5.0.0" }, "engines": { - "node": ">=18.12" + "node": ">=22.18" }, "packageManager": "yarn@4.10.3", "resolutions": { "@appium/base-driver/axios": "^1.11.0", "@appium/base-driver/lru-cache": "^11.2.1", - "@appium/docutils": "link:./example", + "@appium/docutils": "link:./packages/null", "@appium/logger/lru-cache": "^11.2.1", "@appium/support/archiver": "~7.0.1", "@appium/support/axios": "^1.11.0", @@ -206,15 +85,9 @@ }, "workspaces": [ ".", - "example" + "packages/app", + "packages/app/example" ], - "defaultPlatformPackages": { - "android": "react-native", - "ios": "react-native", - "macos": "react-native-macos", - "visionos": "@callstack/react-native-visionos", - "windows": "react-native-windows" - }, "prettier": "./.github/prettierrc.json", "rnx-kit": { "lint": { diff --git a/.rubocop.yml b/packages/app/.rubocop.yml similarity index 100% rename from .rubocop.yml rename to packages/app/.rubocop.yml diff --git a/.swiftformat b/packages/app/.swiftformat similarity index 100% rename from .swiftformat rename to packages/app/.swiftformat diff --git a/.swiftlint.yml b/packages/app/.swiftlint.yml similarity index 100% rename from .swiftlint.yml rename to packages/app/.swiftlint.yml diff --git a/packages/app/LICENSE b/packages/app/LICENSE new file mode 100644 index 000000000..9e841e7a2 --- /dev/null +++ b/packages/app/LICENSE @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE diff --git a/packages/app/README.md b/packages/app/README.md new file mode 100644 index 000000000..b8e51d7e4 --- /dev/null +++ b/packages/app/README.md @@ -0,0 +1,149 @@ +# React Native Test App + +![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen) +[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&color=007acc&labelColor=444444&logoColor=007acc)](https://vscode.dev/github/microsoft/react-native-test-app) +[![build](https://github.com/microsoft/react-native-test-app/actions/workflows/build.yml/badge.svg?event=push)](https://github.com/microsoft/react-native-test-app/actions/workflows/build.yml) +[![npm version](https://img.shields.io/npm/v/react-native-test-app)](https://www.npmjs.com/package/react-native-test-app) + +> React Native Test App (RNTA) provides test apps for all platforms as a +> package. It handles the native bits for you so you can focus on what's +> important: your product. + +- [Quick Start ⚑](#quick-start-) +- [Migrate an Existing Test App πŸ“–](https://github.com/microsoft/react-native-test-app/wiki/Migrate-an-Existing-Test-App) +- [Configuring the Test App πŸ“–](https://github.com/microsoft/react-native-test-app/wiki/Manifest-%28app.json%29) +- [Upgrading the Test App πŸ“–](https://github.com/microsoft/react-native-test-app/wiki/Upgrading) +- [Learn More πŸ”](#learn-more-) +- [Libraries Using RNTA πŸ“š](#libraries-using-rnta-) +- [Known Issues ⚠️](#known-issues-️) +- [Contributing 🀝](#contributing-) +- [License πŸ“](#license-) + +## Quick Start ⚑ + +_If you want to migrate an existing test app for a library, follow the +[dedicated guide in the wiki](https://github.com/microsoft/react-native-test-app/wiki/Migrate-an-Existing-Test-App)._ + +You can generate a new project using `npx`: + +```sh +npx --package react-native-test-app@ init +# For example: npx --package react-native-test-app@4.2.3 init +``` + +You can always find the latest version here: +https://github.com/microsoft/react-native-test-app/releases + +Alternatively, if you're using a Bash-compatible shell: + +```sh +npx --package react-native-test-app@$(npm view react-native-test-app version) init +``` + +> [!NOTE] +> +> We don't recommend using `@latest` because npm may not always use the latest +> version. See https://github.com/npm/cli/issues/5262 for more details. + +In this example, we will create a project named "sample" in `sample` with apps +for all platforms: + +``` +βœ” What is the name of your test app? … sample +? Which platforms do you need test apps for? β€Ί +Instructions: + ↑/↓: Highlight option + ←/β†’/[space]: Toggle selection + a: Toggle all + enter/return: Complete answer +β—‰ Android +β—‰ iOS +β—‰ macOS +β—― visionOS +β—‰ Windows +βœ” Where should we create the new project? … sample +``` + +Install npm dependencies inside the new project folder: + +**Yarn:** + +```sh +cd sample +yarn +``` + +**npm:** + +```sh +cd sample +npm install +``` + +Once the dependencies are installed, follow the +[platform specific instructions](https://github.com/microsoft/react-native-test-app/wiki/Quick-Start#platform-specific-instructions) +in the wiki. + +## Learn More πŸ” + +- πŸ—£οΈ If you want to learn how RNTA is used at Microsoft, check out the following + talks: + - ["Improve all the repos – exploring Microsoft’s DevExp"](https://youtu.be/DAEnPV78rQc) + by [@kelset](https://github.com/kelset) and + [@tido64](https://github.com/tido64) from React Native Europe 2021. + - ["Our Journey of Making React Native a Preferred Choice"](https://www.youtube.com/watch?v=PYMMxfttOug) + by [@kelset](https://github.com/kelset) and + [@tido64](https://github.com/tido64) from React Native Europe 2023. +- πŸ“– In the wiki, you can read more about + [the motivation](https://github.com/microsoft/react-native-test-app/wiki#motivation) + and + [the design](https://github.com/microsoft/react-native-test-app/wiki/Design) + of this tool. + +## Libraries Using RNTA πŸ“š + + +[microsoft/fluentui-react-native](https://github.com/microsoft/fluentui-react-native) • +[microsoft/rnx-kit](https://github.com/microsoft/rnx-kit) • +[BabylonReactNative](https://github.com/BabylonJS/BabylonReactNative) • +[callstack/repack](https://github.com/callstack/repack) • +[lottie-react-native](https://github.com/lottie-react-native/lottie-react-native) • +[react-native-add-calendar-event](https://github.com/vonovak/react-native-add-calendar-event) • +[react-native-apple-authentication](https://github.com/invertase/react-native-apple-authentication) • +[react-native-async-storage](https://github.com/react-native-async-storage/async-storage) • +[react-native-blur](https://github.com/Kureev/react-native-blur) • +[react-native-clipboard](https://github.com/react-native-clipboard/clipboard) • +[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-safe-area-context](https://github.com/AppAndFlow/react-native-safe-area-context) • +[react-native-segmented-control](https://github.com/react-native-segmented-control/segmented-control) • +[react-native-video](https://github.com/TheWidlarzGroup/react-native-video) • +[react-native-webview](https://github.com/react-native-webview/react-native-webview) • +[realm-js](https://github.com/realm/realm-js) • +[shopify/restyle](https://github.com/Shopify/restyle) • +[sparkfabrik-react-native-idfa-aaid](https://github.com/sparkfabrik/sparkfabrik-react-native-idfa-aaid) • +[and many more…](https://github.com/microsoft/react-native-test-app/network/dependents) + +_Are you using RNTA? Submit a PR to add it to the list!_ + +## Known Issues ⚠️ + +For a list of known issues and workarounds, please refer to the +[Troubleshooting wiki](https://github.com/microsoft/react-native-test-app/wiki/Troubleshooting). + +## Contributing 🀝 + +Thank you for your interest in this project! We welcome all contributions and +suggestions! + +Take a look at [CONTRIBUTING.md](CONTRIBUTING.md) for details. + +## License πŸ“ + +`react-native-test-app` is [MIT licensed](./LICENSE). diff --git a/ReactTestApp-DevSupport.podspec b/packages/app/ReactTestApp-DevSupport.podspec similarity index 100% rename from ReactTestApp-DevSupport.podspec rename to packages/app/ReactTestApp-DevSupport.podspec diff --git a/android/android-manifest.js b/packages/app/android/android-manifest.js similarity index 100% rename from android/android-manifest.js rename to packages/app/android/android-manifest.js diff --git a/android/app/build.gradle b/packages/app/android/app/build.gradle similarity index 100% rename from android/app/build.gradle rename to packages/app/android/app/build.gradle diff --git a/android/app/lint.xml b/packages/app/android/app/lint.xml similarity index 100% rename from android/app/lint.xml rename to packages/app/android/app/lint.xml diff --git a/android/app/src/camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt b/packages/app/android/app/src/camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt similarity index 100% rename from android/app/src/camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt rename to packages/app/android/app/src/camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt diff --git a/android/app/src/camera/java/com/microsoft/reacttestapp/camera/QRCodeScannerFragment.kt b/packages/app/android/app/src/camera/java/com/microsoft/reacttestapp/camera/QRCodeScannerFragment.kt similarity index 100% rename from android/app/src/camera/java/com/microsoft/reacttestapp/camera/QRCodeScannerFragment.kt rename to packages/app/android/app/src/camera/java/com/microsoft/reacttestapp/camera/QRCodeScannerFragment.kt diff --git a/android/app/src/devserverhelper-0.75/java/com/microsoft/reacttestapp/react/DevServerHelperCompat.kt b/packages/app/android/app/src/devserverhelper-0.75/java/com/microsoft/reacttestapp/react/DevServerHelperCompat.kt similarity index 100% rename from android/app/src/devserverhelper-0.75/java/com/microsoft/reacttestapp/react/DevServerHelperCompat.kt rename to packages/app/android/app/src/devserverhelper-0.75/java/com/microsoft/reacttestapp/react/DevServerHelperCompat.kt diff --git a/android/app/src/main/AndroidManifest.xml b/packages/app/android/app/src/main/AndroidManifest.xml similarity index 100% rename from android/app/src/main/AndroidManifest.xml rename to packages/app/android/app/src/main/AndroidManifest.xml diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/MainActivity.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/MainActivity.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/MainActivity.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/MainActivity.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/Session.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/Session.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/Session.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/Session.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentActivity.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentActivity.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentActivity.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentActivity.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentBottomSheetDialogFragment.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentBottomSheetDialogFragment.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentBottomSheetDialogFragment.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentBottomSheetDialogFragment.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentListAdapter.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentListAdapter.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentListAdapter.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentListAdapter.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentViewModel.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentViewModel.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentViewModel.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/component/ComponentViewModel.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/manifest/Manifest.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/manifest/Manifest.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/manifest/Manifest.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/manifest/Manifest.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/react/AppRegistry.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/AppRegistry.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/react/AppRegistry.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/AppRegistry.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/react/BundleSource.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/BundleSource.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/react/BundleSource.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/BundleSource.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/react/CurrentActivityTracker.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/CurrentActivityTracker.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/react/CurrentActivityTracker.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/CurrentActivityTracker.kt diff --git a/android/app/src/main/java/com/microsoft/reacttestapp/react/ReactBundleNameProvider.kt b/packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/ReactBundleNameProvider.kt similarity index 100% rename from android/app/src/main/java/com/microsoft/reacttestapp/react/ReactBundleNameProvider.kt rename to packages/app/android/app/src/main/java/com/microsoft/reacttestapp/react/ReactBundleNameProvider.kt diff --git a/android/app/src/main/jni/AppRegistry.cpp b/packages/app/android/app/src/main/jni/AppRegistry.cpp similarity index 100% rename from android/app/src/main/jni/AppRegistry.cpp rename to packages/app/android/app/src/main/jni/AppRegistry.cpp diff --git a/android/app/src/main/jni/AppRegistry.h b/packages/app/android/app/src/main/jni/AppRegistry.h similarity index 100% rename from android/app/src/main/jni/AppRegistry.h rename to packages/app/android/app/src/main/jni/AppRegistry.h diff --git a/android/app/src/main/jni/AutolinkingCompat.h b/packages/app/android/app/src/main/jni/AutolinkingCompat.h similarity index 100% rename from android/app/src/main/jni/AutolinkingCompat.h rename to packages/app/android/app/src/main/jni/AutolinkingCompat.h diff --git a/android/app/src/main/jni/CMakeLists.txt b/packages/app/android/app/src/main/jni/CMakeLists.txt similarity index 100% rename from android/app/src/main/jni/CMakeLists.txt rename to packages/app/android/app/src/main/jni/CMakeLists.txt diff --git a/android/app/src/main/jni/ComponentsRegistry.cpp b/packages/app/android/app/src/main/jni/ComponentsRegistry.cpp similarity index 100% rename from android/app/src/main/jni/ComponentsRegistry.cpp rename to packages/app/android/app/src/main/jni/ComponentsRegistry.cpp diff --git a/android/app/src/main/jni/ComponentsRegistry.h b/packages/app/android/app/src/main/jni/ComponentsRegistry.h similarity index 100% rename from android/app/src/main/jni/ComponentsRegistry.h rename to packages/app/android/app/src/main/jni/ComponentsRegistry.h diff --git a/android/app/src/main/jni/OnLoad.cpp b/packages/app/android/app/src/main/jni/OnLoad.cpp similarity index 100% rename from android/app/src/main/jni/OnLoad.cpp rename to packages/app/android/app/src/main/jni/OnLoad.cpp diff --git a/android/app/src/main/jni/TurboModuleManagerDelegate.cpp b/packages/app/android/app/src/main/jni/TurboModuleManagerDelegate.cpp similarity index 100% rename from android/app/src/main/jni/TurboModuleManagerDelegate.cpp rename to packages/app/android/app/src/main/jni/TurboModuleManagerDelegate.cpp diff --git a/android/app/src/main/jni/TurboModuleManagerDelegate.h b/packages/app/android/app/src/main/jni/TurboModuleManagerDelegate.h similarity index 100% rename from android/app/src/main/jni/TurboModuleManagerDelegate.h rename to packages/app/android/app/src/main/jni/TurboModuleManagerDelegate.h diff --git a/android/app/src/main/res-launcher/drawable-v24/ic_launcher_foreground.xml b/packages/app/android/app/src/main/res-launcher/drawable-v24/ic_launcher_foreground.xml similarity index 100% rename from android/app/src/main/res-launcher/drawable-v24/ic_launcher_foreground.xml rename to packages/app/android/app/src/main/res-launcher/drawable-v24/ic_launcher_foreground.xml diff --git a/android/app/src/main/res-launcher/drawable/ic_launcher_background.xml b/packages/app/android/app/src/main/res-launcher/drawable/ic_launcher_background.xml similarity index 100% rename from android/app/src/main/res-launcher/drawable/ic_launcher_background.xml rename to packages/app/android/app/src/main/res-launcher/drawable/ic_launcher_background.xml diff --git a/android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher.xml b/packages/app/android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher.xml similarity index 100% rename from android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher.xml rename to packages/app/android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher.xml diff --git a/android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher_round.xml b/packages/app/android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher_round.xml similarity index 100% rename from android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher_round.xml rename to packages/app/android/app/src/main/res-launcher/mipmap-anydpi-v26/ic_launcher_round.xml diff --git a/android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher.png b/packages/app/android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher.png rename to packages/app/android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher.png diff --git a/android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher_round.png b/packages/app/android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher_round.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher_round.png rename to packages/app/android/app/src/main/res-launcher/mipmap-hdpi/ic_launcher_round.png diff --git a/android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher.png b/packages/app/android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher.png rename to packages/app/android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher.png diff --git a/android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher_round.png b/packages/app/android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher_round.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher_round.png rename to packages/app/android/app/src/main/res-launcher/mipmap-mdpi/ic_launcher_round.png diff --git a/android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher.png b/packages/app/android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher.png rename to packages/app/android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher.png diff --git a/android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher_round.png b/packages/app/android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher_round.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher_round.png rename to packages/app/android/app/src/main/res-launcher/mipmap-xhdpi/ic_launcher_round.png diff --git a/android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher.png b/packages/app/android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher.png rename to packages/app/android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher.png diff --git a/android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher_round.png b/packages/app/android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher_round.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher_round.png rename to packages/app/android/app/src/main/res-launcher/mipmap-xxhdpi/ic_launcher_round.png diff --git a/android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher.png b/packages/app/android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher.png rename to packages/app/android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher.png diff --git a/android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher_round.png b/packages/app/android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher_round.png similarity index 100% rename from android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher_round.png rename to packages/app/android/app/src/main/res-launcher/mipmap-xxxhdpi/ic_launcher_round.png diff --git a/android/app/src/main/res/layout/activity_main.xml b/packages/app/android/app/src/main/res/layout/activity_main.xml similarity index 100% rename from android/app/src/main/res/layout/activity_main.xml rename to packages/app/android/app/src/main/res/layout/activity_main.xml diff --git a/android/app/src/main/res/layout/camera_view.xml b/packages/app/android/app/src/main/res/layout/camera_view.xml similarity index 100% rename from android/app/src/main/res/layout/camera_view.xml rename to packages/app/android/app/src/main/res/layout/camera_view.xml diff --git a/android/app/src/main/res/layout/recyclerview_item_component.xml b/packages/app/android/app/src/main/res/layout/recyclerview_item_component.xml similarity index 100% rename from android/app/src/main/res/layout/recyclerview_item_component.xml rename to packages/app/android/app/src/main/res/layout/recyclerview_item_component.xml diff --git a/android/app/src/main/res/menu/top_app_bar.xml b/packages/app/android/app/src/main/res/menu/top_app_bar.xml similarity index 100% rename from android/app/src/main/res/menu/top_app_bar.xml rename to packages/app/android/app/src/main/res/menu/top_app_bar.xml diff --git a/android/app/src/main/res/values/colors.xml b/packages/app/android/app/src/main/res/values/colors.xml similarity index 100% rename from android/app/src/main/res/values/colors.xml rename to packages/app/android/app/src/main/res/values/colors.xml diff --git a/android/app/src/main/res/values/strings.xml b/packages/app/android/app/src/main/res/values/strings.xml similarity index 100% rename from android/app/src/main/res/values/strings.xml rename to packages/app/android/app/src/main/res/values/strings.xml diff --git a/android/app/src/main/res/values/styles.xml b/packages/app/android/app/src/main/res/values/styles.xml similarity index 100% rename from android/app/src/main/res/values/styles.xml rename to packages/app/android/app/src/main/res/values/styles.xml diff --git a/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt b/packages/app/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt similarity index 100% rename from android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt rename to packages/app/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt diff --git a/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt b/packages/app/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt similarity index 100% rename from android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt rename to packages/app/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt diff --git a/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt b/packages/app/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt similarity index 100% rename from android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt rename to packages/app/android/app/src/new-arch-0.73/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt diff --git a/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt b/packages/app/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt similarity index 100% rename from android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt rename to packages/app/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt diff --git a/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt b/packages/app/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt similarity index 100% rename from android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt rename to packages/app/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/fabric/ComponentsRegistry.kt diff --git a/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt b/packages/app/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt similarity index 100% rename from android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt rename to packages/app/android/app/src/new-arch-0.81/java/com/microsoft/reacttestapp/turbomodule/TurboModuleManagerDelegate.kt diff --git a/android/app/src/no-camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt b/packages/app/android/app/src/no-camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt similarity index 100% rename from android/app/src/no-camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt rename to packages/app/android/app/src/no-camera/java/com/microsoft/reacttestapp/camera/MainActivityExtensions.kt diff --git a/android/app/src/old-arch/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt b/packages/app/android/app/src/old-arch/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt similarity index 100% rename from android/app/src/old-arch/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt rename to packages/app/android/app/src/old-arch/java/com/microsoft/reacttestapp/compat/ReactNativeHostCompat.kt diff --git a/android/app/src/reactactivitydelegate-0.75/java/com/microsoft/reacttestapp/component/ComponentActivityDelegate.kt b/packages/app/android/app/src/reactactivitydelegate-0.75/java/com/microsoft/reacttestapp/component/ComponentActivityDelegate.kt similarity index 100% rename from android/app/src/reactactivitydelegate-0.75/java/com/microsoft/reacttestapp/component/ComponentActivityDelegate.kt rename to packages/app/android/app/src/reactactivitydelegate-0.75/java/com/microsoft/reacttestapp/component/ComponentActivityDelegate.kt diff --git a/android/app/src/reactapplication-0.76/java/com/microsoft/reacttestapp/TestApp.kt b/packages/app/android/app/src/reactapplication-0.76/java/com/microsoft/reacttestapp/TestApp.kt similarity index 100% rename from android/app/src/reactapplication-0.76/java/com/microsoft/reacttestapp/TestApp.kt rename to packages/app/android/app/src/reactapplication-0.76/java/com/microsoft/reacttestapp/TestApp.kt diff --git a/android/app/src/reacthost-0.76/java/com/microsoft/reacttetapp/react/MainReactNativeHost.kt b/packages/app/android/app/src/reacthost-0.76/java/com/microsoft/reacttetapp/react/MainReactNativeHost.kt similarity index 100% rename from android/app/src/reacthost-0.76/java/com/microsoft/reacttetapp/react/MainReactNativeHost.kt rename to packages/app/android/app/src/reacthost-0.76/java/com/microsoft/reacttetapp/react/MainReactNativeHost.kt diff --git a/android/autolink.gradle b/packages/app/android/autolink.gradle similarity index 100% rename from android/autolink.gradle rename to packages/app/android/autolink.gradle diff --git a/android/autolink.mjs b/packages/app/android/autolink.mjs similarity index 100% rename from android/autolink.mjs rename to packages/app/android/autolink.mjs diff --git a/android/config-plugins.gradle b/packages/app/android/config-plugins.gradle similarity index 100% rename from android/config-plugins.gradle rename to packages/app/android/config-plugins.gradle diff --git a/android/dependencies.gradle b/packages/app/android/dependencies.gradle similarity index 100% rename from android/dependencies.gradle rename to packages/app/android/dependencies.gradle diff --git a/android/gradle-wrapper.js b/packages/app/android/gradle-wrapper.js similarity index 100% rename from android/gradle-wrapper.js rename to packages/app/android/gradle-wrapper.js diff --git a/android/gradle.properties b/packages/app/android/gradle.properties similarity index 100% rename from android/gradle.properties rename to packages/app/android/gradle.properties diff --git a/android/manifest.gradle b/packages/app/android/manifest.gradle similarity index 100% rename from android/manifest.gradle rename to packages/app/android/manifest.gradle diff --git a/android/media-types.gradle b/packages/app/android/media-types.gradle similarity index 100% rename from android/media-types.gradle rename to packages/app/android/media-types.gradle diff --git a/android/node.gradle b/packages/app/android/node.gradle similarity index 100% rename from android/node.gradle rename to packages/app/android/node.gradle diff --git a/android/react-native.gradle b/packages/app/android/react-native.gradle similarity index 100% rename from android/react-native.gradle rename to packages/app/android/react-native.gradle diff --git a/android/settings.gradle b/packages/app/android/settings.gradle similarity index 100% rename from android/settings.gradle rename to packages/app/android/settings.gradle diff --git a/android/support/build.gradle b/packages/app/android/support/build.gradle similarity index 100% rename from android/support/build.gradle rename to packages/app/android/support/build.gradle diff --git a/android/support/src/main/AndroidManifest.xml b/packages/app/android/support/src/main/AndroidManifest.xml similarity index 100% rename from android/support/src/main/AndroidManifest.xml rename to packages/app/android/support/src/main/AndroidManifest.xml diff --git a/android/support/src/main/java/com/microsoft/reacttestapp/support/ReactTestAppLifecycleEvents.java b/packages/app/android/support/src/main/java/com/microsoft/reacttestapp/support/ReactTestAppLifecycleEvents.java similarity index 100% rename from android/support/src/main/java/com/microsoft/reacttestapp/support/ReactTestAppLifecycleEvents.java rename to packages/app/android/support/src/main/java/com/microsoft/reacttestapp/support/ReactTestAppLifecycleEvents.java diff --git a/android/utils.gradle b/packages/app/android/utils.gradle similarity index 100% rename from android/utils.gradle rename to packages/app/android/utils.gradle diff --git a/common/AppRegistry.cpp b/packages/app/common/AppRegistry.cpp similarity index 100% rename from common/AppRegistry.cpp rename to packages/app/common/AppRegistry.cpp diff --git a/common/AppRegistry.h b/packages/app/common/AppRegistry.h similarity index 100% rename from common/AppRegistry.h rename to packages/app/common/AppRegistry.h diff --git a/eslint.config.js b/packages/app/eslint.config.js similarity index 100% rename from eslint.config.js rename to packages/app/eslint.config.js diff --git a/example/.gitignore b/packages/app/example/.gitignore similarity index 100% rename from example/.gitignore rename to packages/app/example/.gitignore diff --git a/example/.watchmanconfig b/packages/app/example/.watchmanconfig similarity index 100% rename from example/.watchmanconfig rename to packages/app/example/.watchmanconfig diff --git a/example/Example-Tests.podspec b/packages/app/example/Example-Tests.podspec similarity index 100% rename from example/Example-Tests.podspec rename to packages/app/example/Example-Tests.podspec diff --git a/example/android/build.gradle b/packages/app/example/android/build.gradle similarity index 100% rename from example/android/build.gradle rename to packages/app/example/android/build.gradle diff --git a/example/android/gradle.properties b/packages/app/example/android/gradle.properties similarity index 100% rename from example/android/gradle.properties rename to packages/app/example/android/gradle.properties diff --git a/example/android/gradle/wrapper/gradle-wrapper.jar b/packages/app/example/android/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from example/android/gradle/wrapper/gradle-wrapper.jar rename to packages/app/example/android/gradle/wrapper/gradle-wrapper.jar diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/packages/app/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from example/android/gradle/wrapper/gradle-wrapper.properties rename to packages/app/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/example/android/gradlew b/packages/app/example/android/gradlew similarity index 100% rename from example/android/gradlew rename to packages/app/example/android/gradlew diff --git a/example/android/gradlew.bat b/packages/app/example/android/gradlew.bat similarity index 100% rename from example/android/gradlew.bat rename to packages/app/example/android/gradlew.bat diff --git a/example/android/settings.gradle b/packages/app/example/android/settings.gradle similarity index 100% rename from example/android/settings.gradle rename to packages/app/example/android/settings.gradle diff --git a/example/app.json b/packages/app/example/app.json similarity index 100% rename from example/app.json rename to packages/app/example/app.json diff --git a/example/babel.config.js b/packages/app/example/babel.config.js similarity index 100% rename from example/babel.config.js rename to packages/app/example/babel.config.js diff --git a/example/dist/.gitignore b/packages/app/example/dist/.gitignore similarity index 100% rename from example/dist/.gitignore rename to packages/app/example/dist/.gitignore diff --git a/example/index.ts b/packages/app/example/index.ts similarity index 100% rename from example/index.ts rename to packages/app/example/index.ts diff --git a/example/ios/ExampleTests/DevSupportTests.m b/packages/app/example/ios/ExampleTests/DevSupportTests.m similarity index 100% rename from example/ios/ExampleTests/DevSupportTests.m rename to packages/app/example/ios/ExampleTests/DevSupportTests.m diff --git a/example/ios/Podfile b/packages/app/example/ios/Podfile similarity index 100% rename from example/ios/Podfile rename to packages/app/example/ios/Podfile diff --git a/example/ios/Podfile.lock b/packages/app/example/ios/Podfile.lock similarity index 81% rename from example/ios/Podfile.lock rename to packages/app/example/ios/Podfile.lock index 219aede20..4460d7940 100644 --- a/example/ios/Podfile.lock +++ b/packages/app/example/ios/Podfile.lock @@ -1614,83 +1614,83 @@ PODS: - Yoga (0.0.0) DEPENDENCIES: - - boost (from `../../node_modules/react-native/third-party-podspecs/boost.podspec`) - - DoubleConversion (from `../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) + - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) + - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - Example-Tests (from `..`) - - fast_float (from `../../node_modules/react-native/third-party-podspecs/fast_float.podspec`) - - FBLazyVector (from `../../node_modules/react-native/Libraries/FBLazyVector`) - - fmt (from `../../node_modules/react-native/third-party-podspecs/fmt.podspec`) - - glog (from `../../node_modules/react-native/third-party-podspecs/glog.podspec`) - - RCT-Folly (from `../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCT-Folly/Fabric (from `../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - - RCTDeprecation (from `../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) - - RCTRequired (from `../../node_modules/react-native/Libraries/Required`) - - RCTTypeSafety (from `../../node_modules/react-native/Libraries/TypeSafety`) - - React (from `../../node_modules/react-native/`) - - React-callinvoker (from `../../node_modules/react-native/ReactCommon/callinvoker`) - - React-Core (from `../../node_modules/react-native/`) - - React-Core/RCTWebSocket (from `../../node_modules/react-native/`) - - React-CoreModules (from `../../node_modules/react-native/React/CoreModules`) - - React-cxxreact (from `../../node_modules/react-native/ReactCommon/cxxreact`) - - React-debug (from `../../node_modules/react-native/ReactCommon/react/debug`) - - React-defaultsnativemodule (from `../../node_modules/react-native/ReactCommon/react/nativemodule/defaults`) - - React-domnativemodule (from `../../node_modules/react-native/ReactCommon/react/nativemodule/dom`) - - React-Fabric (from `../../node_modules/react-native/ReactCommon`) - - React-FabricComponents (from `../../node_modules/react-native/ReactCommon`) - - React-FabricImage (from `../../node_modules/react-native/ReactCommon`) - - React-featureflags (from `../../node_modules/react-native/ReactCommon/react/featureflags`) - - React-featureflagsnativemodule (from `../../node_modules/react-native/ReactCommon/react/nativemodule/featureflags`) - - React-graphics (from `../../node_modules/react-native/ReactCommon/react/renderer/graphics`) - - React-idlecallbacksnativemodule (from `../../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) - - React-ImageManager (from `../../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) - - React-jsc (from `../../node_modules/react-native/ReactCommon/jsc`) - - React-jsc/Fabric (from `../../node_modules/react-native/ReactCommon/jsc`) - - React-jserrorhandler (from `../../node_modules/react-native/ReactCommon/jserrorhandler`) - - React-jsi (from `../../node_modules/react-native/ReactCommon/jsi`) - - React-jsiexecutor (from `../../node_modules/react-native/ReactCommon/jsiexecutor`) - - React-jsinspector (from `../../node_modules/react-native/ReactCommon/jsinspector-modern`) - - React-jsinspectortracing (from `../../node_modules/react-native/ReactCommon/jsinspector-modern/tracing`) - - React-jsitooling (from `../../node_modules/react-native/ReactCommon/jsitooling`) - - React-jsitracing (from `../../node_modules/react-native/ReactCommon/hermes/executor/`) - - React-logger (from `../../node_modules/react-native/ReactCommon/logger`) - - React-Mapbuffer (from `../../node_modules/react-native/ReactCommon`) - - React-microtasksnativemodule (from `../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) - - react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`) - - React-NativeModulesApple (from `../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) - - React-oscompat (from `../../node_modules/react-native/ReactCommon/oscompat`) - - React-perflogger (from `../../node_modules/react-native/ReactCommon/reactperflogger`) - - React-performancetimeline (from `../../node_modules/react-native/ReactCommon/react/performance/timeline`) - - React-RCTActionSheet (from `../../node_modules/react-native/Libraries/ActionSheetIOS`) - - React-RCTAnimation (from `../../node_modules/react-native/Libraries/NativeAnimation`) - - React-RCTAppDelegate (from `../../node_modules/react-native/Libraries/AppDelegate`) - - React-RCTBlob (from `../../node_modules/react-native/Libraries/Blob`) - - React-RCTFabric (from `../../node_modules/react-native/React`) - - React-RCTFBReactNativeSpec (from `../../node_modules/react-native/React`) - - React-RCTImage (from `../../node_modules/react-native/Libraries/Image`) - - React-RCTLinking (from `../../node_modules/react-native/Libraries/LinkingIOS`) - - React-RCTNetwork (from `../../node_modules/react-native/Libraries/Network`) - - React-RCTRuntime (from `../../node_modules/react-native/React/Runtime`) - - React-RCTSettings (from `../../node_modules/react-native/Libraries/Settings`) - - React-RCTText (from `../../node_modules/react-native/Libraries/Text`) - - React-RCTVibration (from `../../node_modules/react-native/Libraries/Vibration`) - - React-rendererconsistency (from `../../node_modules/react-native/ReactCommon/react/renderer/consistency`) - - React-renderercss (from `../../node_modules/react-native/ReactCommon/react/renderer/css`) - - React-rendererdebug (from `../../node_modules/react-native/ReactCommon/react/renderer/debug`) - - React-rncore (from `../../node_modules/react-native/ReactCommon`) - - React-RuntimeApple (from `../../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) - - React-RuntimeCore (from `../../node_modules/react-native/ReactCommon/react/runtime`) - - React-runtimeexecutor (from `../../node_modules/react-native/ReactCommon/runtimeexecutor`) - - React-runtimescheduler (from `../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - - React-timing (from `../../node_modules/react-native/ReactCommon/react/timing`) - - React-utils (from `../../node_modules/react-native/ReactCommon/react/utils`) + - fast_float (from `../node_modules/react-native/third-party-podspecs/fast_float.podspec`) + - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) + - fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`) + - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) + - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../node_modules/react-native/Libraries/Required`) + - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) + - React (from `../node_modules/react-native/`) + - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) + - React-Core (from `../node_modules/react-native/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native/`) + - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) + - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) + - React-debug (from `../node_modules/react-native/ReactCommon/react/debug`) + - React-defaultsnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/defaults`) + - React-domnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/dom`) + - React-Fabric (from `../node_modules/react-native/ReactCommon`) + - React-FabricComponents (from `../node_modules/react-native/ReactCommon`) + - React-FabricImage (from `../node_modules/react-native/ReactCommon`) + - React-featureflags (from `../node_modules/react-native/ReactCommon/react/featureflags`) + - React-featureflagsnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/featureflags`) + - React-graphics (from `../node_modules/react-native/ReactCommon/react/renderer/graphics`) + - React-idlecallbacksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) + - React-ImageManager (from `../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-jsc (from `../node_modules/react-native/ReactCommon/jsc`) + - React-jsc/Fabric (from `../node_modules/react-native/ReactCommon/jsc`) + - React-jserrorhandler (from `../node_modules/react-native/ReactCommon/jserrorhandler`) + - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) + - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) + - React-jsinspectortracing (from `../node_modules/react-native/ReactCommon/jsinspector-modern/tracing`) + - React-jsitooling (from `../node_modules/react-native/ReactCommon/jsitooling`) + - React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`) + - React-logger (from `../node_modules/react-native/ReactCommon/logger`) + - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) + - React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) + - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) + - React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`) + - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) + - React-performancetimeline (from `../node_modules/react-native/ReactCommon/react/performance/timeline`) + - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) + - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) + - React-RCTFabric (from `../node_modules/react-native/React`) + - React-RCTFBReactNativeSpec (from `../node_modules/react-native/React`) + - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) + - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) + - React-RCTRuntime (from `../node_modules/react-native/React/Runtime`) + - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) + - React-RCTText (from `../node_modules/react-native/Libraries/Text`) + - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) + - React-rendererconsistency (from `../node_modules/react-native/ReactCommon/react/renderer/consistency`) + - React-renderercss (from `../node_modules/react-native/ReactCommon/react/renderer/css`) + - React-rendererdebug (from `../node_modules/react-native/ReactCommon/react/renderer/debug`) + - React-rncore (from `../node_modules/react-native/ReactCommon`) + - React-RuntimeApple (from `../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) + - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) + - React-timing (from `../node_modules/react-native/ReactCommon/react/timing`) + - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) - ReactAppDependencyProvider (from `build/generated/ios`) - ReactCodegen (from `build/generated/ios`) - - ReactCommon/turbomodule/core (from `../../node_modules/react-native/ReactCommon`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - "ReactNativeHost (from `../../node_modules/@rnx-kit/react-native-host`)" - ReactTestApp-DevSupport (from `../node_modules/react-native-test-app`) - ReactTestApp-Resources (from `..`) - "RNWWebStorage (from `../node_modules/@react-native-webapis/web-storage`)" - - Yoga (from `../../node_modules/react-native/ReactCommon/yoga`) + - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: trunk: @@ -1698,143 +1698,143 @@ SPEC REPOS: EXTERNAL SOURCES: boost: - :podspec: "../../node_modules/react-native/third-party-podspecs/boost.podspec" + :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" DoubleConversion: - :podspec: "../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" + :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" Example-Tests: :path: ".." fast_float: - :podspec: "../../node_modules/react-native/third-party-podspecs/fast_float.podspec" + :podspec: "../node_modules/react-native/third-party-podspecs/fast_float.podspec" FBLazyVector: - :path: "../../node_modules/react-native/Libraries/FBLazyVector" + :path: "../node_modules/react-native/Libraries/FBLazyVector" fmt: - :podspec: "../../node_modules/react-native/third-party-podspecs/fmt.podspec" + :podspec: "../node_modules/react-native/third-party-podspecs/fmt.podspec" glog: - :podspec: "../../node_modules/react-native/third-party-podspecs/glog.podspec" + :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" RCT-Folly: - :podspec: "../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" + :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" RCTDeprecation: - :path: "../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + :path: "../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" RCTRequired: - :path: "../../node_modules/react-native/Libraries/Required" + :path: "../node_modules/react-native/Libraries/Required" RCTTypeSafety: - :path: "../../node_modules/react-native/Libraries/TypeSafety" + :path: "../node_modules/react-native/Libraries/TypeSafety" React: - :path: "../../node_modules/react-native/" + :path: "../node_modules/react-native/" React-callinvoker: - :path: "../../node_modules/react-native/ReactCommon/callinvoker" + :path: "../node_modules/react-native/ReactCommon/callinvoker" React-Core: - :path: "../../node_modules/react-native/" + :path: "../node_modules/react-native/" React-CoreModules: - :path: "../../node_modules/react-native/React/CoreModules" + :path: "../node_modules/react-native/React/CoreModules" React-cxxreact: - :path: "../../node_modules/react-native/ReactCommon/cxxreact" + :path: "../node_modules/react-native/ReactCommon/cxxreact" React-debug: - :path: "../../node_modules/react-native/ReactCommon/react/debug" + :path: "../node_modules/react-native/ReactCommon/react/debug" React-defaultsnativemodule: - :path: "../../node_modules/react-native/ReactCommon/react/nativemodule/defaults" + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/defaults" React-domnativemodule: - :path: "../../node_modules/react-native/ReactCommon/react/nativemodule/dom" + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/dom" React-Fabric: - :path: "../../node_modules/react-native/ReactCommon" + :path: "../node_modules/react-native/ReactCommon" React-FabricComponents: - :path: "../../node_modules/react-native/ReactCommon" + :path: "../node_modules/react-native/ReactCommon" React-FabricImage: - :path: "../../node_modules/react-native/ReactCommon" + :path: "../node_modules/react-native/ReactCommon" React-featureflags: - :path: "../../node_modules/react-native/ReactCommon/react/featureflags" + :path: "../node_modules/react-native/ReactCommon/react/featureflags" React-featureflagsnativemodule: - :path: "../../node_modules/react-native/ReactCommon/react/nativemodule/featureflags" + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/featureflags" React-graphics: - :path: "../../node_modules/react-native/ReactCommon/react/renderer/graphics" + :path: "../node_modules/react-native/ReactCommon/react/renderer/graphics" React-idlecallbacksnativemodule: - :path: "../../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" React-ImageManager: - :path: "../../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" + :path: "../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" React-jsc: - :path: "../../node_modules/react-native/ReactCommon/jsc" + :path: "../node_modules/react-native/ReactCommon/jsc" React-jserrorhandler: - :path: "../../node_modules/react-native/ReactCommon/jserrorhandler" + :path: "../node_modules/react-native/ReactCommon/jserrorhandler" React-jsi: - :path: "../../node_modules/react-native/ReactCommon/jsi" + :path: "../node_modules/react-native/ReactCommon/jsi" React-jsiexecutor: - :path: "../../node_modules/react-native/ReactCommon/jsiexecutor" + :path: "../node_modules/react-native/ReactCommon/jsiexecutor" React-jsinspector: - :path: "../../node_modules/react-native/ReactCommon/jsinspector-modern" + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern" React-jsinspectortracing: - :path: "../../node_modules/react-native/ReactCommon/jsinspector-modern/tracing" + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/tracing" React-jsitooling: - :path: "../../node_modules/react-native/ReactCommon/jsitooling" + :path: "../node_modules/react-native/ReactCommon/jsitooling" React-jsitracing: - :path: "../../node_modules/react-native/ReactCommon/hermes/executor/" + :path: "../node_modules/react-native/ReactCommon/hermes/executor/" React-logger: - :path: "../../node_modules/react-native/ReactCommon/logger" + :path: "../node_modules/react-native/ReactCommon/logger" React-Mapbuffer: - :path: "../../node_modules/react-native/ReactCommon" + :path: "../node_modules/react-native/ReactCommon" React-microtasksnativemodule: - :path: "../../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" react-native-safe-area-context: - :path: "../../node_modules/react-native-safe-area-context" + :path: "../node_modules/react-native-safe-area-context" React-NativeModulesApple: - :path: "../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" React-oscompat: - :path: "../../node_modules/react-native/ReactCommon/oscompat" + :path: "../node_modules/react-native/ReactCommon/oscompat" React-perflogger: - :path: "../../node_modules/react-native/ReactCommon/reactperflogger" + :path: "../node_modules/react-native/ReactCommon/reactperflogger" React-performancetimeline: - :path: "../../node_modules/react-native/ReactCommon/react/performance/timeline" + :path: "../node_modules/react-native/ReactCommon/react/performance/timeline" React-RCTActionSheet: - :path: "../../node_modules/react-native/Libraries/ActionSheetIOS" + :path: "../node_modules/react-native/Libraries/ActionSheetIOS" React-RCTAnimation: - :path: "../../node_modules/react-native/Libraries/NativeAnimation" + :path: "../node_modules/react-native/Libraries/NativeAnimation" React-RCTAppDelegate: - :path: "../../node_modules/react-native/Libraries/AppDelegate" + :path: "../node_modules/react-native/Libraries/AppDelegate" React-RCTBlob: - :path: "../../node_modules/react-native/Libraries/Blob" + :path: "../node_modules/react-native/Libraries/Blob" React-RCTFabric: - :path: "../../node_modules/react-native/React" + :path: "../node_modules/react-native/React" React-RCTFBReactNativeSpec: - :path: "../../node_modules/react-native/React" + :path: "../node_modules/react-native/React" React-RCTImage: - :path: "../../node_modules/react-native/Libraries/Image" + :path: "../node_modules/react-native/Libraries/Image" React-RCTLinking: - :path: "../../node_modules/react-native/Libraries/LinkingIOS" + :path: "../node_modules/react-native/Libraries/LinkingIOS" React-RCTNetwork: - :path: "../../node_modules/react-native/Libraries/Network" + :path: "../node_modules/react-native/Libraries/Network" React-RCTRuntime: - :path: "../../node_modules/react-native/React/Runtime" + :path: "../node_modules/react-native/React/Runtime" React-RCTSettings: - :path: "../../node_modules/react-native/Libraries/Settings" + :path: "../node_modules/react-native/Libraries/Settings" React-RCTText: - :path: "../../node_modules/react-native/Libraries/Text" + :path: "../node_modules/react-native/Libraries/Text" React-RCTVibration: - :path: "../../node_modules/react-native/Libraries/Vibration" + :path: "../node_modules/react-native/Libraries/Vibration" React-rendererconsistency: - :path: "../../node_modules/react-native/ReactCommon/react/renderer/consistency" + :path: "../node_modules/react-native/ReactCommon/react/renderer/consistency" React-renderercss: - :path: "../../node_modules/react-native/ReactCommon/react/renderer/css" + :path: "../node_modules/react-native/ReactCommon/react/renderer/css" React-rendererdebug: - :path: "../../node_modules/react-native/ReactCommon/react/renderer/debug" + :path: "../node_modules/react-native/ReactCommon/react/renderer/debug" React-rncore: - :path: "../../node_modules/react-native/ReactCommon" + :path: "../node_modules/react-native/ReactCommon" React-RuntimeApple: - :path: "../../node_modules/react-native/ReactCommon/react/runtime/platform/ios" + :path: "../node_modules/react-native/ReactCommon/react/runtime/platform/ios" React-RuntimeCore: - :path: "../../node_modules/react-native/ReactCommon/react/runtime" + :path: "../node_modules/react-native/ReactCommon/react/runtime" React-runtimeexecutor: - :path: "../../node_modules/react-native/ReactCommon/runtimeexecutor" + :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" React-runtimescheduler: - :path: "../../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" + :path: "../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" React-timing: - :path: "../../node_modules/react-native/ReactCommon/react/timing" + :path: "../node_modules/react-native/ReactCommon/react/timing" React-utils: - :path: "../../node_modules/react-native/ReactCommon/react/utils" + :path: "../node_modules/react-native/ReactCommon/react/utils" ReactAppDependencyProvider: :path: build/generated/ios ReactCodegen: :path: build/generated/ios ReactCommon: - :path: "../../node_modules/react-native/ReactCommon" + :path: "../node_modules/react-native/ReactCommon" ReactNativeHost: :path: "../../node_modules/@rnx-kit/react-native-host" ReactTestApp-DevSupport: @@ -1844,7 +1844,7 @@ EXTERNAL SOURCES: RNWWebStorage: :path: "../node_modules/@react-native-webapis/web-storage" Yoga: - :path: "../../node_modules/react-native/ReactCommon/yoga" + :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90 @@ -1914,7 +1914,7 @@ SPEC CHECKSUMS: React-timing: 10c2421a49f1c2906d6bb95027248a4543ac113f React-utils: e43e4bf96df9c607a076247a31d2a3235ca5eda9 ReactAppDependencyProvider: b203bace11326361b7f0513b3f5854cd340aa929 - ReactCodegen: af60817dd92197c060aaf22e67f512e2006d4b1c + ReactCodegen: 22cb313d2adb26ead6c3fc87ef6557f1f14e9c3f ReactCommon: 6be60b55acc1410b3b2b5e36539a9797b81f87a9 ReactNativeHost: c6afba65873d1b0131f7c32ff22f43c7fdc01954 ReactTestApp-DevSupport: 2386e7c22084f8a550cfadcc0bde140c7dc328a1 diff --git a/example/macos/Podfile b/packages/app/example/macos/Podfile similarity index 100% rename from example/macos/Podfile rename to packages/app/example/macos/Podfile diff --git a/example/macos/Podfile.lock b/packages/app/example/macos/Podfile.lock similarity index 79% rename from example/macos/Podfile.lock rename to packages/app/example/macos/Podfile.lock index 555a27e9c..66aa5a36c 100644 --- a/example/macos/Podfile.lock +++ b/packages/app/example/macos/Podfile.lock @@ -1615,223 +1615,223 @@ PODS: - Yoga (0.0.0) DEPENDENCIES: - - boost (from `../../node_modules/react-native-macos/third-party-podspecs/boost.podspec`) - - DoubleConversion (from `../../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec`) + - boost (from `../node_modules/react-native-macos/third-party-podspecs/boost.podspec`) + - DoubleConversion (from `../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec`) - Example-Tests (from `..`) - - fast_float (from `../../node_modules/react-native-macos/third-party-podspecs/fast_float.podspec`) - - FBLazyVector (from `../../node_modules/react-native-macos/Libraries/FBLazyVector`) - - fmt (from `../../node_modules/react-native-macos/third-party-podspecs/fmt.podspec`) - - glog (from `../../node_modules/react-native-macos/third-party-podspecs/glog.podspec`) - - RCT-Folly (from `../../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec`) - - RCT-Folly/Fabric (from `../../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec`) - - RCTDeprecation (from `../../node_modules/react-native-macos/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) - - RCTRequired (from `../../node_modules/react-native-macos/Libraries/Required`) - - RCTTypeSafety (from `../../node_modules/react-native-macos/Libraries/TypeSafety`) - - React (from `../../node_modules/react-native-macos/`) - - React-callinvoker (from `../../node_modules/react-native-macos/ReactCommon/callinvoker`) - - React-Core (from `../../node_modules/react-native-macos/`) - - React-Core/RCTWebSocket (from `../../node_modules/react-native-macos/`) - - React-CoreModules (from `../../node_modules/react-native-macos/React/CoreModules`) - - React-cxxreact (from `../../node_modules/react-native-macos/ReactCommon/cxxreact`) - - React-debug (from `../../node_modules/react-native-macos/ReactCommon/react/debug`) - - React-defaultsnativemodule (from `../../node_modules/react-native-macos/ReactCommon/react/nativemodule/defaults`) - - React-domnativemodule (from `../../node_modules/react-native-macos/ReactCommon/react/nativemodule/dom`) - - React-Fabric (from `../../node_modules/react-native-macos/ReactCommon`) - - React-FabricComponents (from `../../node_modules/react-native-macos/ReactCommon`) - - React-FabricImage (from `../../node_modules/react-native-macos/ReactCommon`) - - React-featureflags (from `../../node_modules/react-native-macos/ReactCommon/react/featureflags`) - - React-featureflagsnativemodule (from `../../node_modules/react-native-macos/ReactCommon/react/nativemodule/featureflags`) - - React-graphics (from `../../node_modules/react-native-macos/ReactCommon/react/renderer/graphics`) - - React-idlecallbacksnativemodule (from `../../node_modules/react-native-macos/ReactCommon/react/nativemodule/idlecallbacks`) - - React-ImageManager (from `../../node_modules/react-native-macos/ReactCommon/react/renderer/imagemanager/platform/ios`) - - React-jsc (from `../../node_modules/react-native-macos/ReactCommon/jsc`) - - React-jserrorhandler (from `../../node_modules/react-native-macos/ReactCommon/jserrorhandler`) - - React-jsi (from `../../node_modules/react-native-macos/ReactCommon/jsi`) - - React-jsiexecutor (from `../../node_modules/react-native-macos/ReactCommon/jsiexecutor`) - - React-jsinspector (from `../../node_modules/react-native-macos/ReactCommon/jsinspector-modern`) - - React-jsinspectortracing (from `../../node_modules/react-native-macos/ReactCommon/jsinspector-modern/tracing`) - - React-jsitooling (from `../../node_modules/react-native-macos/ReactCommon/jsitooling`) - - React-jsitracing (from `../../node_modules/react-native-macos/ReactCommon/hermes/executor/`) - - React-logger (from `../../node_modules/react-native-macos/ReactCommon/logger`) - - React-Mapbuffer (from `../../node_modules/react-native-macos/ReactCommon`) - - React-microtasksnativemodule (from `../../node_modules/react-native-macos/ReactCommon/react/nativemodule/microtasks`) - - react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`) - - React-NativeModulesApple (from `../../node_modules/react-native-macos/ReactCommon/react/nativemodule/core/platform/ios`) - - React-oscompat (from `../../node_modules/react-native-macos/ReactCommon/oscompat`) - - React-perflogger (from `../../node_modules/react-native-macos/ReactCommon/reactperflogger`) - - React-performancetimeline (from `../../node_modules/react-native-macos/ReactCommon/react/performance/timeline`) - - React-RCTActionSheet (from `../../node_modules/react-native-macos/Libraries/ActionSheetIOS`) - - React-RCTAnimation (from `../../node_modules/react-native-macos/Libraries/NativeAnimation`) - - React-RCTAppDelegate (from `../../node_modules/react-native-macos/Libraries/AppDelegate`) - - React-RCTBlob (from `../../node_modules/react-native-macos/Libraries/Blob`) - - React-RCTFabric (from `../../node_modules/react-native-macos/React`) - - React-RCTFBReactNativeSpec (from `../../node_modules/react-native-macos/React`) - - React-RCTImage (from `../../node_modules/react-native-macos/Libraries/Image`) - - React-RCTLinking (from `../../node_modules/react-native-macos/Libraries/LinkingIOS`) - - React-RCTNetwork (from `../../node_modules/react-native-macos/Libraries/Network`) - - React-RCTRuntime (from `../../node_modules/react-native-macos/React/Runtime`) - - React-RCTSettings (from `../../node_modules/react-native-macos/Libraries/Settings`) - - React-RCTText (from `../../node_modules/react-native-macos/Libraries/Text`) - - React-RCTVibration (from `../../node_modules/react-native-macos/Libraries/Vibration`) - - React-rendererconsistency (from `../../node_modules/react-native-macos/ReactCommon/react/renderer/consistency`) - - React-renderercss (from `../../node_modules/react-native-macos/ReactCommon/react/renderer/css`) - - React-rendererdebug (from `../../node_modules/react-native-macos/ReactCommon/react/renderer/debug`) - - React-rncore (from `../../node_modules/react-native-macos/ReactCommon`) - - React-RuntimeApple (from `../../node_modules/react-native-macos/ReactCommon/react/runtime/platform/ios`) - - React-RuntimeCore (from `../../node_modules/react-native-macos/ReactCommon/react/runtime`) - - React-runtimeexecutor (from `../../node_modules/react-native-macos/ReactCommon/runtimeexecutor`) - - React-runtimescheduler (from `../../node_modules/react-native-macos/ReactCommon/react/renderer/runtimescheduler`) - - React-timing (from `../../node_modules/react-native-macos/ReactCommon/react/timing`) - - React-utils (from `../../node_modules/react-native-macos/ReactCommon/react/utils`) + - fast_float (from `../node_modules/react-native-macos/third-party-podspecs/fast_float.podspec`) + - FBLazyVector (from `../node_modules/react-native-macos/Libraries/FBLazyVector`) + - fmt (from `../node_modules/react-native-macos/third-party-podspecs/fmt.podspec`) + - glog (from `../node_modules/react-native-macos/third-party-podspecs/glog.podspec`) + - RCT-Folly (from `../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec`) + - RCT-Folly/Fabric (from `../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec`) + - RCTDeprecation (from `../node_modules/react-native-macos/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../node_modules/react-native-macos/Libraries/Required`) + - RCTTypeSafety (from `../node_modules/react-native-macos/Libraries/TypeSafety`) + - React (from `../node_modules/react-native-macos/`) + - React-callinvoker (from `../node_modules/react-native-macos/ReactCommon/callinvoker`) + - React-Core (from `../node_modules/react-native-macos/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native-macos/`) + - React-CoreModules (from `../node_modules/react-native-macos/React/CoreModules`) + - React-cxxreact (from `../node_modules/react-native-macos/ReactCommon/cxxreact`) + - React-debug (from `../node_modules/react-native-macos/ReactCommon/react/debug`) + - React-defaultsnativemodule (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/defaults`) + - React-domnativemodule (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/dom`) + - React-Fabric (from `../node_modules/react-native-macos/ReactCommon`) + - React-FabricComponents (from `../node_modules/react-native-macos/ReactCommon`) + - React-FabricImage (from `../node_modules/react-native-macos/ReactCommon`) + - React-featureflags (from `../node_modules/react-native-macos/ReactCommon/react/featureflags`) + - React-featureflagsnativemodule (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/featureflags`) + - React-graphics (from `../node_modules/react-native-macos/ReactCommon/react/renderer/graphics`) + - React-idlecallbacksnativemodule (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/idlecallbacks`) + - React-ImageManager (from `../node_modules/react-native-macos/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-jsc (from `../node_modules/react-native-macos/ReactCommon/jsc`) + - React-jserrorhandler (from `../node_modules/react-native-macos/ReactCommon/jserrorhandler`) + - React-jsi (from `../node_modules/react-native-macos/ReactCommon/jsi`) + - React-jsiexecutor (from `../node_modules/react-native-macos/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../node_modules/react-native-macos/ReactCommon/jsinspector-modern`) + - React-jsinspectortracing (from `../node_modules/react-native-macos/ReactCommon/jsinspector-modern/tracing`) + - React-jsitooling (from `../node_modules/react-native-macos/ReactCommon/jsitooling`) + - React-jsitracing (from `../node_modules/react-native-macos/ReactCommon/hermes/executor/`) + - React-logger (from `../node_modules/react-native-macos/ReactCommon/logger`) + - React-Mapbuffer (from `../node_modules/react-native-macos/ReactCommon`) + - React-microtasksnativemodule (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/microtasks`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) + - React-NativeModulesApple (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/core/platform/ios`) + - React-oscompat (from `../node_modules/react-native-macos/ReactCommon/oscompat`) + - React-perflogger (from `../node_modules/react-native-macos/ReactCommon/reactperflogger`) + - React-performancetimeline (from `../node_modules/react-native-macos/ReactCommon/react/performance/timeline`) + - React-RCTActionSheet (from `../node_modules/react-native-macos/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../node_modules/react-native-macos/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../node_modules/react-native-macos/Libraries/AppDelegate`) + - React-RCTBlob (from `../node_modules/react-native-macos/Libraries/Blob`) + - React-RCTFabric (from `../node_modules/react-native-macos/React`) + - React-RCTFBReactNativeSpec (from `../node_modules/react-native-macos/React`) + - React-RCTImage (from `../node_modules/react-native-macos/Libraries/Image`) + - React-RCTLinking (from `../node_modules/react-native-macos/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../node_modules/react-native-macos/Libraries/Network`) + - React-RCTRuntime (from `../node_modules/react-native-macos/React/Runtime`) + - React-RCTSettings (from `../node_modules/react-native-macos/Libraries/Settings`) + - React-RCTText (from `../node_modules/react-native-macos/Libraries/Text`) + - React-RCTVibration (from `../node_modules/react-native-macos/Libraries/Vibration`) + - React-rendererconsistency (from `../node_modules/react-native-macos/ReactCommon/react/renderer/consistency`) + - React-renderercss (from `../node_modules/react-native-macos/ReactCommon/react/renderer/css`) + - React-rendererdebug (from `../node_modules/react-native-macos/ReactCommon/react/renderer/debug`) + - React-rncore (from `../node_modules/react-native-macos/ReactCommon`) + - React-RuntimeApple (from `../node_modules/react-native-macos/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../node_modules/react-native-macos/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../node_modules/react-native-macos/ReactCommon/runtimeexecutor`) + - React-runtimescheduler (from `../node_modules/react-native-macos/ReactCommon/react/renderer/runtimescheduler`) + - React-timing (from `../node_modules/react-native-macos/ReactCommon/react/timing`) + - React-utils (from `../node_modules/react-native-macos/ReactCommon/react/utils`) - ReactAppDependencyProvider (from `build/generated/ios`) - ReactCodegen (from `build/generated/ios`) - - ReactCommon/turbomodule/core (from `../../node_modules/react-native-macos/ReactCommon`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native-macos/ReactCommon`) - "ReactNativeHost (from `../../node_modules/@rnx-kit/react-native-host`)" - ReactTestApp-DevSupport (from `../node_modules/react-native-test-app`) - ReactTestApp-Resources (from `..`) - "RNWWebStorage (from `../node_modules/@react-native-webapis/web-storage`)" - - SocketRocket (from `../../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec`) - - Yoga (from `../../node_modules/react-native-macos/ReactCommon/yoga`) + - SocketRocket (from `../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec`) + - Yoga (from `../node_modules/react-native-macos/ReactCommon/yoga`) EXTERNAL SOURCES: boost: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/boost.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/boost.podspec" DoubleConversion: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec" Example-Tests: :path: ".." fast_float: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/fast_float.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/fast_float.podspec" FBLazyVector: - :path: "../../node_modules/react-native-macos/Libraries/FBLazyVector" + :path: "../node_modules/react-native-macos/Libraries/FBLazyVector" fmt: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/fmt.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/fmt.podspec" glog: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/glog.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/glog.podspec" RCT-Folly: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec" RCTDeprecation: - :path: "../../node_modules/react-native-macos/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + :path: "../node_modules/react-native-macos/ReactApple/Libraries/RCTFoundation/RCTDeprecation" RCTRequired: - :path: "../../node_modules/react-native-macos/Libraries/Required" + :path: "../node_modules/react-native-macos/Libraries/Required" RCTTypeSafety: - :path: "../../node_modules/react-native-macos/Libraries/TypeSafety" + :path: "../node_modules/react-native-macos/Libraries/TypeSafety" React: - :path: "../../node_modules/react-native-macos/" + :path: "../node_modules/react-native-macos/" React-callinvoker: - :path: "../../node_modules/react-native-macos/ReactCommon/callinvoker" + :path: "../node_modules/react-native-macos/ReactCommon/callinvoker" React-Core: - :path: "../../node_modules/react-native-macos/" + :path: "../node_modules/react-native-macos/" React-CoreModules: - :path: "../../node_modules/react-native-macos/React/CoreModules" + :path: "../node_modules/react-native-macos/React/CoreModules" React-cxxreact: - :path: "../../node_modules/react-native-macos/ReactCommon/cxxreact" + :path: "../node_modules/react-native-macos/ReactCommon/cxxreact" React-debug: - :path: "../../node_modules/react-native-macos/ReactCommon/react/debug" + :path: "../node_modules/react-native-macos/ReactCommon/react/debug" React-defaultsnativemodule: - :path: "../../node_modules/react-native-macos/ReactCommon/react/nativemodule/defaults" + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/defaults" React-domnativemodule: - :path: "../../node_modules/react-native-macos/ReactCommon/react/nativemodule/dom" + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/dom" React-Fabric: - :path: "../../node_modules/react-native-macos/ReactCommon" + :path: "../node_modules/react-native-macos/ReactCommon" React-FabricComponents: - :path: "../../node_modules/react-native-macos/ReactCommon" + :path: "../node_modules/react-native-macos/ReactCommon" React-FabricImage: - :path: "../../node_modules/react-native-macos/ReactCommon" + :path: "../node_modules/react-native-macos/ReactCommon" React-featureflags: - :path: "../../node_modules/react-native-macos/ReactCommon/react/featureflags" + :path: "../node_modules/react-native-macos/ReactCommon/react/featureflags" React-featureflagsnativemodule: - :path: "../../node_modules/react-native-macos/ReactCommon/react/nativemodule/featureflags" + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/featureflags" React-graphics: - :path: "../../node_modules/react-native-macos/ReactCommon/react/renderer/graphics" + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/graphics" React-idlecallbacksnativemodule: - :path: "../../node_modules/react-native-macos/ReactCommon/react/nativemodule/idlecallbacks" + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/idlecallbacks" React-ImageManager: - :path: "../../node_modules/react-native-macos/ReactCommon/react/renderer/imagemanager/platform/ios" + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/imagemanager/platform/ios" React-jsc: - :path: "../../node_modules/react-native-macos/ReactCommon/jsc" + :path: "../node_modules/react-native-macos/ReactCommon/jsc" React-jserrorhandler: - :path: "../../node_modules/react-native-macos/ReactCommon/jserrorhandler" + :path: "../node_modules/react-native-macos/ReactCommon/jserrorhandler" React-jsi: - :path: "../../node_modules/react-native-macos/ReactCommon/jsi" + :path: "../node_modules/react-native-macos/ReactCommon/jsi" React-jsiexecutor: - :path: "../../node_modules/react-native-macos/ReactCommon/jsiexecutor" + :path: "../node_modules/react-native-macos/ReactCommon/jsiexecutor" React-jsinspector: - :path: "../../node_modules/react-native-macos/ReactCommon/jsinspector-modern" + :path: "../node_modules/react-native-macos/ReactCommon/jsinspector-modern" React-jsinspectortracing: - :path: "../../node_modules/react-native-macos/ReactCommon/jsinspector-modern/tracing" + :path: "../node_modules/react-native-macos/ReactCommon/jsinspector-modern/tracing" React-jsitooling: - :path: "../../node_modules/react-native-macos/ReactCommon/jsitooling" + :path: "../node_modules/react-native-macos/ReactCommon/jsitooling" React-jsitracing: - :path: "../../node_modules/react-native-macos/ReactCommon/hermes/executor/" + :path: "../node_modules/react-native-macos/ReactCommon/hermes/executor/" React-logger: - :path: "../../node_modules/react-native-macos/ReactCommon/logger" + :path: "../node_modules/react-native-macos/ReactCommon/logger" React-Mapbuffer: - :path: "../../node_modules/react-native-macos/ReactCommon" + :path: "../node_modules/react-native-macos/ReactCommon" React-microtasksnativemodule: - :path: "../../node_modules/react-native-macos/ReactCommon/react/nativemodule/microtasks" + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/microtasks" react-native-safe-area-context: - :path: "../../node_modules/react-native-safe-area-context" + :path: "../node_modules/react-native-safe-area-context" React-NativeModulesApple: - :path: "../../node_modules/react-native-macos/ReactCommon/react/nativemodule/core/platform/ios" + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/core/platform/ios" React-oscompat: - :path: "../../node_modules/react-native-macos/ReactCommon/oscompat" + :path: "../node_modules/react-native-macos/ReactCommon/oscompat" React-perflogger: - :path: "../../node_modules/react-native-macos/ReactCommon/reactperflogger" + :path: "../node_modules/react-native-macos/ReactCommon/reactperflogger" React-performancetimeline: - :path: "../../node_modules/react-native-macos/ReactCommon/react/performance/timeline" + :path: "../node_modules/react-native-macos/ReactCommon/react/performance/timeline" React-RCTActionSheet: - :path: "../../node_modules/react-native-macos/Libraries/ActionSheetIOS" + :path: "../node_modules/react-native-macos/Libraries/ActionSheetIOS" React-RCTAnimation: - :path: "../../node_modules/react-native-macos/Libraries/NativeAnimation" + :path: "../node_modules/react-native-macos/Libraries/NativeAnimation" React-RCTAppDelegate: - :path: "../../node_modules/react-native-macos/Libraries/AppDelegate" + :path: "../node_modules/react-native-macos/Libraries/AppDelegate" React-RCTBlob: - :path: "../../node_modules/react-native-macos/Libraries/Blob" + :path: "../node_modules/react-native-macos/Libraries/Blob" React-RCTFabric: - :path: "../../node_modules/react-native-macos/React" + :path: "../node_modules/react-native-macos/React" React-RCTFBReactNativeSpec: - :path: "../../node_modules/react-native-macos/React" + :path: "../node_modules/react-native-macos/React" React-RCTImage: - :path: "../../node_modules/react-native-macos/Libraries/Image" + :path: "../node_modules/react-native-macos/Libraries/Image" React-RCTLinking: - :path: "../../node_modules/react-native-macos/Libraries/LinkingIOS" + :path: "../node_modules/react-native-macos/Libraries/LinkingIOS" React-RCTNetwork: - :path: "../../node_modules/react-native-macos/Libraries/Network" + :path: "../node_modules/react-native-macos/Libraries/Network" React-RCTRuntime: - :path: "../../node_modules/react-native-macos/React/Runtime" + :path: "../node_modules/react-native-macos/React/Runtime" React-RCTSettings: - :path: "../../node_modules/react-native-macos/Libraries/Settings" + :path: "../node_modules/react-native-macos/Libraries/Settings" React-RCTText: - :path: "../../node_modules/react-native-macos/Libraries/Text" + :path: "../node_modules/react-native-macos/Libraries/Text" React-RCTVibration: - :path: "../../node_modules/react-native-macos/Libraries/Vibration" + :path: "../node_modules/react-native-macos/Libraries/Vibration" React-rendererconsistency: - :path: "../../node_modules/react-native-macos/ReactCommon/react/renderer/consistency" + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/consistency" React-renderercss: - :path: "../../node_modules/react-native-macos/ReactCommon/react/renderer/css" + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/css" React-rendererdebug: - :path: "../../node_modules/react-native-macos/ReactCommon/react/renderer/debug" + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/debug" React-rncore: - :path: "../../node_modules/react-native-macos/ReactCommon" + :path: "../node_modules/react-native-macos/ReactCommon" React-RuntimeApple: - :path: "../../node_modules/react-native-macos/ReactCommon/react/runtime/platform/ios" + :path: "../node_modules/react-native-macos/ReactCommon/react/runtime/platform/ios" React-RuntimeCore: - :path: "../../node_modules/react-native-macos/ReactCommon/react/runtime" + :path: "../node_modules/react-native-macos/ReactCommon/react/runtime" React-runtimeexecutor: - :path: "../../node_modules/react-native-macos/ReactCommon/runtimeexecutor" + :path: "../node_modules/react-native-macos/ReactCommon/runtimeexecutor" React-runtimescheduler: - :path: "../../node_modules/react-native-macos/ReactCommon/react/renderer/runtimescheduler" + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/runtimescheduler" React-timing: - :path: "../../node_modules/react-native-macos/ReactCommon/react/timing" + :path: "../node_modules/react-native-macos/ReactCommon/react/timing" React-utils: - :path: "../../node_modules/react-native-macos/ReactCommon/react/utils" + :path: "../node_modules/react-native-macos/ReactCommon/react/utils" ReactAppDependencyProvider: :path: build/generated/ios ReactCodegen: :path: build/generated/ios ReactCommon: - :path: "../../node_modules/react-native-macos/ReactCommon" + :path: "../node_modules/react-native-macos/ReactCommon" ReactNativeHost: :path: "../../node_modules/@rnx-kit/react-native-host" ReactTestApp-DevSupport: @@ -1841,9 +1841,9 @@ EXTERNAL SOURCES: RNWWebStorage: :path: "../node_modules/@react-native-webapis/web-storage" SocketRocket: - :podspec: "../../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec" + :podspec: "../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec" Yoga: - :path: "../../node_modules/react-native-macos/ReactCommon/yoga" + :path: "../node_modules/react-native-macos/ReactCommon/yoga" SPEC CHECKSUMS: boost: 7d49a506d1ac47358fea28558d184dd6431170ca @@ -1913,7 +1913,7 @@ SPEC CHECKSUMS: React-timing: a0ba2e023e08380a52e1cb5803d435634e1cbf4c React-utils: 066efc7529b479e3a4443295f6b5da0a15b9e6da ReactAppDependencyProvider: 9ba59388a1fbd7c6dddd5940fdea7df2c494f5e4 - ReactCodegen: 346ab5cbde968865652618ebf8159a8e52c0c515 + ReactCodegen: 75521c13b7ba1677fc747ffc241b2e78f16c6535 ReactCommon: 774c29bb23c735a3edc4def4c2c1823849bc7a4e ReactNativeHost: c6afba65873d1b0131f7c32ff22f43c7fdc01954 ReactTestApp-DevSupport: 2386e7c22084f8a550cfadcc0bde140c7dc328a1 diff --git a/example/metro.config.js b/packages/app/example/metro.config.js similarity index 100% rename from example/metro.config.js rename to packages/app/example/metro.config.js diff --git a/example/package.json b/packages/app/example/package.json similarity index 97% rename from example/package.json rename to packages/app/example/package.json index 50affb720..32b655119 100644 --- a/example/package.json +++ b/packages/app/example/package.json @@ -45,7 +45,7 @@ "appium-uiautomator2-driver": "^6.0.0", "appium-xcuitest-driver": "^10.0.0", "react-native-test-app": "workspace:*", - "webdriverio": "^9.0.0" + "webdriverio": "patch:webdriverio@npm%3A9.20.0#~/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch" }, "eslintConfig": { "extends": "../eslint.config.js" diff --git a/example/react-native.config.js b/packages/app/example/react-native.config.js similarity index 100% rename from example/react-native.config.js rename to packages/app/example/react-native.config.js diff --git a/example/src/App.tsx b/packages/app/example/src/App.tsx similarity index 100% rename from example/src/App.tsx rename to packages/app/example/src/App.tsx diff --git a/example/src/Feature.tsx b/packages/app/example/src/Feature.tsx similarity index 100% rename from example/src/Feature.tsx rename to packages/app/example/src/Feature.tsx diff --git a/example/src/LocalStorage.tsx b/packages/app/example/src/LocalStorage.tsx similarity index 100% rename from example/src/LocalStorage.tsx rename to packages/app/example/src/LocalStorage.tsx diff --git a/example/src/RemoteDebugging.tsx b/packages/app/example/src/RemoteDebugging.tsx similarity index 100% rename from example/src/RemoteDebugging.tsx rename to packages/app/example/src/RemoteDebugging.tsx diff --git a/example/src/SafeAreaView.tsx b/packages/app/example/src/SafeAreaView.tsx similarity index 100% rename from example/src/SafeAreaView.tsx rename to packages/app/example/src/SafeAreaView.tsx diff --git a/example/src/Separator.tsx b/packages/app/example/src/Separator.tsx similarity index 100% rename from example/src/Separator.tsx rename to packages/app/example/src/Separator.tsx diff --git a/example/src/core.ts b/packages/app/example/src/core.ts similarity index 100% rename from example/src/core.ts rename to packages/app/example/src/core.ts diff --git a/example/src/styles.ts b/packages/app/example/src/styles.ts similarity index 100% rename from example/src/styles.ts rename to packages/app/example/src/styles.ts diff --git a/example/test/config.test.mjs b/packages/app/example/test/config.test.mjs similarity index 98% rename from example/test/config.test.mjs rename to packages/app/example/test/config.test.mjs index d3cdeb28f..e88048826 100644 --- a/example/test/config.test.mjs +++ b/packages/app/example/test/config.test.mjs @@ -33,10 +33,10 @@ test("react-native config", async (t) => { const loadConfig = await getLoadConfig(); const currentDir = process.cwd(); - const projectRoot = path.sep + "react-native-test-app"; + const projectRoot = path.sep + path.join("packages", "app"); const exampleRoot = path.join(projectRoot, "example"); const reactNativePath = path.join( - projectRoot, + exampleRoot, "node_modules", "react-native" ); diff --git a/example/test/specs/app.spec.mjs b/packages/app/example/test/specs/app.spec.mjs similarity index 100% rename from example/test/specs/app.spec.mjs rename to packages/app/example/test/specs/app.spec.mjs diff --git a/example/test/specs/wdio.config.mjs b/packages/app/example/test/specs/wdio.config.mjs similarity index 100% rename from example/test/specs/wdio.config.mjs rename to packages/app/example/test/specs/wdio.config.mjs diff --git a/example/tsconfig.json b/packages/app/example/tsconfig.json similarity index 100% rename from example/tsconfig.json rename to packages/app/example/tsconfig.json diff --git a/example/visionos/Podfile b/packages/app/example/visionos/Podfile similarity index 100% rename from example/visionos/Podfile rename to packages/app/example/visionos/Podfile diff --git a/example/visionos/Podfile.lock b/packages/app/example/visionos/Podfile.lock similarity index 99% rename from example/visionos/Podfile.lock rename to packages/app/example/visionos/Podfile.lock index 2756384f2..1ddb351b4 100644 --- a/example/visionos/Podfile.lock +++ b/packages/app/example/visionos/Podfile.lock @@ -1711,7 +1711,7 @@ DEPENDENCIES: - "React-logger (from `../node_modules/@callstack/react-native-visionos/ReactCommon/logger`)" - "React-Mapbuffer (from `../node_modules/@callstack/react-native-visionos/ReactCommon`)" - "React-microtasksnativemodule (from `../node_modules/@callstack/react-native-visionos/ReactCommon/react/nativemodule/microtasks`)" - - react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - "React-NativeModulesApple (from `../node_modules/@callstack/react-native-visionos/ReactCommon/react/nativemodule/core/platform/ios`)" - "React-oscompat (from `../node_modules/@callstack/react-native-visionos/ReactCommon/oscompat`)" - "React-perflogger (from `../node_modules/@callstack/react-native-visionos/ReactCommon/reactperflogger`)" @@ -1833,7 +1833,7 @@ EXTERNAL SOURCES: React-microtasksnativemodule: :path: "../node_modules/@callstack/react-native-visionos/ReactCommon/react/nativemodule/microtasks" react-native-safe-area-context: - :path: "../../node_modules/react-native-safe-area-context" + :path: "../node_modules/react-native-safe-area-context" React-NativeModulesApple: :path: "../node_modules/@callstack/react-native-visionos/ReactCommon/react/nativemodule/core/platform/ios" React-oscompat: @@ -1982,7 +1982,7 @@ SPEC CHECKSUMS: React-timing: aeeaf2b6defffb722b1bda4ef97cc798c1d347b2 React-utils: 67ee585d904ec225b0c7a9511f537e396dfdef01 ReactAppDependencyProvider: 9a02291dc04244cda07e97c8ee067af0211f0467 - ReactCodegen: 5930dca495c7a0871dd912fb4f71d1f4cddfcd94 + ReactCodegen: 77aafef2733c0fd7945cd786e2b2abdaac87b8f5 ReactCommon: f7f4d9f1e8bc01da200b4eccc3c9ce2a324c7013 ReactNativeHost: c6afba65873d1b0131f7c32ff22f43c7fdc01954 ReactTestApp-DevSupport: 2386e7c22084f8a550cfadcc0bde140c7dc328a1 diff --git a/example/windows/.gitignore b/packages/app/example/windows/.gitignore similarity index 100% rename from example/windows/.gitignore rename to packages/app/example/windows/.gitignore diff --git a/example/windows/ReactAppTests/ReactAppTests.vcxproj b/packages/app/example/windows/ReactAppTests/ReactAppTests.vcxproj similarity index 100% rename from example/windows/ReactAppTests/ReactAppTests.vcxproj rename to packages/app/example/windows/ReactAppTests/ReactAppTests.vcxproj diff --git a/example/windows/ReactAppTests/ReactAppTests.vcxproj.filters b/packages/app/example/windows/ReactAppTests/ReactAppTests.vcxproj.filters similarity index 100% rename from example/windows/ReactAppTests/ReactAppTests.vcxproj.filters rename to packages/app/example/windows/ReactAppTests/ReactAppTests.vcxproj.filters diff --git a/example/windows/ReactAppTests/Tests.cpp b/packages/app/example/windows/ReactAppTests/Tests.cpp similarity index 100% rename from example/windows/ReactAppTests/Tests.cpp rename to packages/app/example/windows/ReactAppTests/Tests.cpp diff --git a/images/RNTA_full.png b/packages/app/images/RNTA_full.png similarity index 100% rename from images/RNTA_full.png rename to packages/app/images/RNTA_full.png diff --git a/images/RNTA_small.png b/packages/app/images/RNTA_small.png similarity index 100% rename from images/RNTA_small.png rename to packages/app/images/RNTA_small.png diff --git a/images/header.jpg b/packages/app/images/header.jpg similarity index 100% rename from images/header.jpg rename to packages/app/images/header.jpg diff --git a/ios/ReactTestApp.xcodeproj/project.pbxproj b/packages/app/ios/ReactTestApp.xcodeproj/project.pbxproj similarity index 100% rename from ios/ReactTestApp.xcodeproj/project.pbxproj rename to packages/app/ios/ReactTestApp.xcodeproj/project.pbxproj diff --git a/ios/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme b/packages/app/ios/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme similarity index 100% rename from ios/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme rename to packages/app/ios/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme diff --git a/ios/ReactTestApp/AppDelegate.swift b/packages/app/ios/ReactTestApp/AppDelegate.swift similarity index 100% rename from ios/ReactTestApp/AppDelegate.swift rename to packages/app/ios/ReactTestApp/AppDelegate.swift diff --git a/ios/ReactTestApp/AppRegistryModule.h b/packages/app/ios/ReactTestApp/AppRegistryModule.h similarity index 100% rename from ios/ReactTestApp/AppRegistryModule.h rename to packages/app/ios/ReactTestApp/AppRegistryModule.h diff --git a/ios/ReactTestApp/AppRegistryModule.mm b/packages/app/ios/ReactTestApp/AppRegistryModule.mm similarity index 100% rename from ios/ReactTestApp/AppRegistryModule.mm rename to packages/app/ios/ReactTestApp/AppRegistryModule.mm diff --git a/ios/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/packages/app/ios/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from ios/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json rename to packages/app/ios/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/ios/ReactTestApp/Assets.xcassets/Contents.json b/packages/app/ios/ReactTestApp/Assets.xcassets/Contents.json similarity index 100% rename from ios/ReactTestApp/Assets.xcassets/Contents.json rename to packages/app/ios/ReactTestApp/Assets.xcassets/Contents.json diff --git a/ios/ReactTestApp/ContentView.swift b/packages/app/ios/ReactTestApp/ContentView.swift similarity index 100% rename from ios/ReactTestApp/ContentView.swift rename to packages/app/ios/ReactTestApp/ContentView.swift diff --git a/ios/ReactTestApp/Info.plist b/packages/app/ios/ReactTestApp/Info.plist similarity index 100% rename from ios/ReactTestApp/Info.plist rename to packages/app/ios/ReactTestApp/Info.plist diff --git a/ios/ReactTestApp/Manifest.swift b/packages/app/ios/ReactTestApp/Manifest.swift similarity index 100% rename from ios/ReactTestApp/Manifest.swift rename to packages/app/ios/ReactTestApp/Manifest.swift diff --git a/ios/ReactTestApp/Public/ReactTestApp-DevSupport-Bridging-Header.h b/packages/app/ios/ReactTestApp/Public/ReactTestApp-DevSupport-Bridging-Header.h similarity index 100% rename from ios/ReactTestApp/Public/ReactTestApp-DevSupport-Bridging-Header.h rename to packages/app/ios/ReactTestApp/Public/ReactTestApp-DevSupport-Bridging-Header.h diff --git a/ios/ReactTestApp/Public/ReactTestApp-DevSupport.h b/packages/app/ios/ReactTestApp/Public/ReactTestApp-DevSupport.h similarity index 100% rename from ios/ReactTestApp/Public/ReactTestApp-DevSupport.h rename to packages/app/ios/ReactTestApp/Public/ReactTestApp-DevSupport.h diff --git a/ios/ReactTestApp/QRCodeScannerViewController.swift b/packages/app/ios/ReactTestApp/QRCodeScannerViewController.swift similarity index 100% rename from ios/ReactTestApp/QRCodeScannerViewController.swift rename to packages/app/ios/ReactTestApp/QRCodeScannerViewController.swift diff --git a/ios/ReactTestApp/React+Compatibility.h b/packages/app/ios/ReactTestApp/React+Compatibility.h similarity index 100% rename from ios/ReactTestApp/React+Compatibility.h rename to packages/app/ios/ReactTestApp/React+Compatibility.h diff --git a/ios/ReactTestApp/React+Compatibility.m b/packages/app/ios/ReactTestApp/React+Compatibility.m similarity index 100% rename from ios/ReactTestApp/React+Compatibility.m rename to packages/app/ios/ReactTestApp/React+Compatibility.m diff --git a/ios/ReactTestApp/ReactInstance.swift b/packages/app/ios/ReactTestApp/ReactInstance.swift similarity index 100% rename from ios/ReactTestApp/ReactInstance.swift rename to packages/app/ios/ReactTestApp/ReactInstance.swift diff --git a/ios/ReactTestApp/ReactTestApp-Bridging-Header.h b/packages/app/ios/ReactTestApp/ReactTestApp-Bridging-Header.h similarity index 100% rename from ios/ReactTestApp/ReactTestApp-Bridging-Header.h rename to packages/app/ios/ReactTestApp/ReactTestApp-Bridging-Header.h diff --git a/ios/ReactTestApp/ReactTestApp-DevSupport.m b/packages/app/ios/ReactTestApp/ReactTestApp-DevSupport.m similarity index 100% rename from ios/ReactTestApp/ReactTestApp-DevSupport.m rename to packages/app/ios/ReactTestApp/ReactTestApp-DevSupport.m diff --git a/ios/ReactTestApp/ReactTestApp.common.xcconfig b/packages/app/ios/ReactTestApp/ReactTestApp.common.xcconfig similarity index 100% rename from ios/ReactTestApp/ReactTestApp.common.xcconfig rename to packages/app/ios/ReactTestApp/ReactTestApp.common.xcconfig diff --git a/ios/ReactTestApp/ReactTestApp.debug.xcconfig b/packages/app/ios/ReactTestApp/ReactTestApp.debug.xcconfig similarity index 100% rename from ios/ReactTestApp/ReactTestApp.debug.xcconfig rename to packages/app/ios/ReactTestApp/ReactTestApp.debug.xcconfig diff --git a/ios/ReactTestApp/ReactTestApp.release.xcconfig b/packages/app/ios/ReactTestApp/ReactTestApp.release.xcconfig similarity index 100% rename from ios/ReactTestApp/ReactTestApp.release.xcconfig rename to packages/app/ios/ReactTestApp/ReactTestApp.release.xcconfig diff --git a/ios/ReactTestApp/SceneDelegate.swift b/packages/app/ios/ReactTestApp/SceneDelegate.swift similarity index 100% rename from ios/ReactTestApp/SceneDelegate.swift rename to packages/app/ios/ReactTestApp/SceneDelegate.swift diff --git a/ios/ReactTestApp/Session.swift b/packages/app/ios/ReactTestApp/Session.swift similarity index 100% rename from ios/ReactTestApp/Session.swift rename to packages/app/ios/ReactTestApp/Session.swift diff --git a/ios/ReactTestApp/UIViewController+ReactTestApp.h b/packages/app/ios/ReactTestApp/UIViewController+ReactTestApp.h similarity index 100% rename from ios/ReactTestApp/UIViewController+ReactTestApp.h rename to packages/app/ios/ReactTestApp/UIViewController+ReactTestApp.h diff --git a/ios/ReactTestApp/UIViewController+ReactTestApp.m b/packages/app/ios/ReactTestApp/UIViewController+ReactTestApp.m similarity index 100% rename from ios/ReactTestApp/UIViewController+ReactTestApp.m rename to packages/app/ios/ReactTestApp/UIViewController+ReactTestApp.m diff --git a/ios/ReactTestAppTests/Info.plist b/packages/app/ios/ReactTestAppTests/Info.plist similarity index 100% rename from ios/ReactTestAppTests/Info.plist rename to packages/app/ios/ReactTestAppTests/Info.plist diff --git a/ios/ReactTestAppTests/ReactTestAppTests.swift b/packages/app/ios/ReactTestAppTests/ReactTestAppTests.swift similarity index 100% rename from ios/ReactTestAppTests/ReactTestAppTests.swift rename to packages/app/ios/ReactTestAppTests/ReactTestAppTests.swift diff --git a/ios/ReactTestAppUITests/Info.plist b/packages/app/ios/ReactTestAppUITests/Info.plist similarity index 100% rename from ios/ReactTestAppUITests/Info.plist rename to packages/app/ios/ReactTestAppUITests/Info.plist diff --git a/ios/ReactTestAppUITests/ReactTestAppUITests.swift b/packages/app/ios/ReactTestAppUITests/ReactTestAppUITests.swift similarity index 100% rename from ios/ReactTestAppUITests/ReactTestAppUITests.swift rename to packages/app/ios/ReactTestAppUITests/ReactTestAppUITests.swift diff --git a/ios/app.mjs b/packages/app/ios/app.mjs similarity index 100% rename from ios/app.mjs rename to packages/app/ios/app.mjs diff --git a/ios/assetsCatalog.mjs b/packages/app/ios/assetsCatalog.mjs similarity index 100% rename from ios/assetsCatalog.mjs rename to packages/app/ios/assetsCatalog.mjs diff --git a/ios/entitlements.mjs b/packages/app/ios/entitlements.mjs similarity index 100% rename from ios/entitlements.mjs rename to packages/app/ios/entitlements.mjs diff --git a/ios/features.mjs b/packages/app/ios/features.mjs similarity index 100% rename from ios/features.mjs rename to packages/app/ios/features.mjs diff --git a/ios/infoPlist.mjs b/packages/app/ios/infoPlist.mjs similarity index 100% rename from ios/infoPlist.mjs rename to packages/app/ios/infoPlist.mjs diff --git a/ios/localizations.mjs b/packages/app/ios/localizations.mjs similarity index 100% rename from ios/localizations.mjs rename to packages/app/ios/localizations.mjs diff --git a/ios/pod_helpers.rb b/packages/app/ios/pod_helpers.rb similarity index 100% rename from ios/pod_helpers.rb rename to packages/app/ios/pod_helpers.rb diff --git a/ios/privacyManifest.mjs b/packages/app/ios/privacyManifest.mjs similarity index 100% rename from ios/privacyManifest.mjs rename to packages/app/ios/privacyManifest.mjs diff --git a/ios/test_app.rb b/packages/app/ios/test_app.rb similarity index 100% rename from ios/test_app.rb rename to packages/app/ios/test_app.rb diff --git a/ios/use_react_native-0.71.rb b/packages/app/ios/use_react_native-0.71.rb similarity index 100% rename from ios/use_react_native-0.71.rb rename to packages/app/ios/use_react_native-0.71.rb diff --git a/ios/utils.mjs b/packages/app/ios/utils.mjs similarity index 100% rename from ios/utils.mjs rename to packages/app/ios/utils.mjs diff --git a/ios/xcode.mjs b/packages/app/ios/xcode.mjs similarity index 100% rename from ios/xcode.mjs rename to packages/app/ios/xcode.mjs diff --git a/macos/Localizations/en.lproj/Main.strings b/packages/app/macos/Localizations/en.lproj/Main.strings similarity index 100% rename from macos/Localizations/en.lproj/Main.strings rename to packages/app/macos/Localizations/en.lproj/Main.strings diff --git a/macos/ReactTestApp.xcodeproj/project.pbxproj b/packages/app/macos/ReactTestApp.xcodeproj/project.pbxproj similarity index 100% rename from macos/ReactTestApp.xcodeproj/project.pbxproj rename to packages/app/macos/ReactTestApp.xcodeproj/project.pbxproj diff --git a/macos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme b/packages/app/macos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme similarity index 100% rename from macos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme rename to packages/app/macos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme diff --git a/macos/ReactTestApp/AppDelegate.swift b/packages/app/macos/ReactTestApp/AppDelegate.swift similarity index 100% rename from macos/ReactTestApp/AppDelegate.swift rename to packages/app/macos/ReactTestApp/AppDelegate.swift diff --git a/macos/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/packages/app/macos/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from macos/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json rename to packages/app/macos/ReactTestApp/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/macos/ReactTestApp/Assets.xcassets/Contents.json b/packages/app/macos/ReactTestApp/Assets.xcassets/Contents.json similarity index 100% rename from macos/ReactTestApp/Assets.xcassets/Contents.json rename to packages/app/macos/ReactTestApp/Assets.xcassets/Contents.json diff --git a/macos/ReactTestApp/Base.lproj/Main.storyboard b/packages/app/macos/ReactTestApp/Base.lproj/Main.storyboard similarity index 100% rename from macos/ReactTestApp/Base.lproj/Main.storyboard rename to packages/app/macos/ReactTestApp/Base.lproj/Main.storyboard diff --git a/macos/ReactTestApp/Info.plist b/packages/app/macos/ReactTestApp/Info.plist similarity index 100% rename from macos/ReactTestApp/Info.plist rename to packages/app/macos/ReactTestApp/Info.plist diff --git a/macos/ReactTestApp/ReactTestApp.common.xcconfig b/packages/app/macos/ReactTestApp/ReactTestApp.common.xcconfig similarity index 100% rename from macos/ReactTestApp/ReactTestApp.common.xcconfig rename to packages/app/macos/ReactTestApp/ReactTestApp.common.xcconfig diff --git a/macos/ReactTestApp/ReactTestApp.debug.xcconfig b/packages/app/macos/ReactTestApp/ReactTestApp.debug.xcconfig similarity index 100% rename from macos/ReactTestApp/ReactTestApp.debug.xcconfig rename to packages/app/macos/ReactTestApp/ReactTestApp.debug.xcconfig diff --git a/macos/ReactTestApp/ReactTestApp.release.xcconfig b/packages/app/macos/ReactTestApp/ReactTestApp.release.xcconfig similarity index 100% rename from macos/ReactTestApp/ReactTestApp.release.xcconfig rename to packages/app/macos/ReactTestApp/ReactTestApp.release.xcconfig diff --git a/macos/ReactTestApp/ViewController.swift b/packages/app/macos/ReactTestApp/ViewController.swift similarity index 100% rename from macos/ReactTestApp/ViewController.swift rename to packages/app/macos/ReactTestApp/ViewController.swift diff --git a/macos/ReactTestAppTests/Info.plist b/packages/app/macos/ReactTestAppTests/Info.plist similarity index 100% rename from macos/ReactTestAppTests/Info.plist rename to packages/app/macos/ReactTestAppTests/Info.plist diff --git a/macos/ReactTestAppTests/ReactTestAppTests.swift b/packages/app/macos/ReactTestAppTests/ReactTestAppTests.swift similarity index 100% rename from macos/ReactTestAppTests/ReactTestAppTests.swift rename to packages/app/macos/ReactTestAppTests/ReactTestAppTests.swift diff --git a/macos/ReactTestAppUITests/Info.plist b/packages/app/macos/ReactTestAppUITests/Info.plist similarity index 100% rename from macos/ReactTestAppUITests/Info.plist rename to packages/app/macos/ReactTestAppUITests/Info.plist diff --git a/macos/ReactTestAppUITests/ReactTestAppUITests.swift b/packages/app/macos/ReactTestAppUITests/ReactTestAppUITests.swift similarity index 100% rename from macos/ReactTestAppUITests/ReactTestAppUITests.swift rename to packages/app/macos/ReactTestAppUITests/ReactTestAppUITests.swift diff --git a/macos/Shared b/packages/app/macos/Shared similarity index 100% rename from macos/Shared rename to packages/app/macos/Shared diff --git a/macos/test_app.rb b/packages/app/macos/test_app.rb similarity index 100% rename from macos/test_app.rb rename to packages/app/macos/test_app.rb diff --git a/packages/app/package.json b/packages/app/package.json new file mode 100644 index 000000000..fce6974a6 --- /dev/null +++ b/packages/app/package.json @@ -0,0 +1,165 @@ +{ + "name": "react-native-test-app", + "version": "0.0.1-dev", + "description": "react-native-test-app provides a test app for all supported platforms as a package", + "keywords": [ + "android", + "app", + "ios", + "macos", + "react", + "react-native", + "test", + "test-app", + "testing", + "windows" + ], + "homepage": "https://github.com/microsoft/react-native-test-app", + "license": "MIT", + "author": { + "name": "Microsoft Open Source", + "email": "microsoftopensource@users.noreply.github.com" + }, + "files": [ + "*.md", + "ReactTestApp-DevSupport.podspec", + "android/**/*.gradle", + "android/android-manifest.js", + "android/app/lint.xml", + "android/app/src", + "!android/app/src/test", + "android/autolink.mjs", + "android/gradle-wrapper.js", + "android/support/src", + "common", + "example/_gitignore", + "example/android/gradle", + "example/android/gradle.properties", + "example/android/gradlew*", + "example/windows/_gitignore", + "example/{metro,react-native}.config.js", + "ios", + "macos", + "plugins", + "react-native.config.js", + "schema.json", + "scripts/*.js", + "scripts/*.mjs", + "scripts/config-plugins", + "scripts/embed-manifest", + "scripts/utils", + "test-app.gradle", + "test_app.rb", + "visionos", + "windows", + "!.clang-format" + ], + "main": "scripts/configure-projects.js", + "bin": { + "init": "scripts/init.mjs", + "init-test-app": "scripts/init.mjs", + "configure-test-app": "scripts/configure.mjs", + "install-windows-test-app": "windows/app.mjs" + }, + "repository": { + "type": "git", + "url": "https://github.com/microsoft/react-native-test-app.git", + "directory": "packages/app" + }, + "scripts": { + "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' 'README.md' 'test/**/*.json')", + "format:swift": "swiftformat $(git ls-files '*.swift')", + "generate:code": "node scripts/internal/generate-manifest.mts", + "generate:docs": "node scripts/internal/generate-manifest-docs.mts", + "generate:schema": "node scripts/internal/generate-schema.mts", + "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 scripts/internal/pack.mts pre", + "postpack": "node scripts/internal/pack.mts post", + "set-react-version": "node scripts/internal/set-react-version.mts", + "test": "node scripts/internal/test.mts", + "test:js": "node --no-warnings --test $(git ls-files '*.test.ts')", + "test:matrix": "node 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.11", + "@rnx-kit/tools-react-native": "^2.1.0", + "ajv": "^8.0.0", + "cliui": "^8.0.0", + "fast-xml-parser": "^4.0.0", + "prompts": "^2.4.0", + "semver": "^7.3.5", + "uuid": "^11.0.0" + }, + "peerDependencies": { + "@callstack/react-native-visionos": "0.76 - 0.79", + "@expo/config-plugins": ">=5.0", + "react": "18.2 - 19.1", + "react-native": "0.76 - 0.83 || >=0.83.0-0 <0.84.0", + "react-native-macos": "^0.0.0-0 || 0.76 - 0.79", + "react-native-windows": "^0.0.0-0 || 0.76 - 0.80" + }, + "peerDependenciesMeta": { + "@callstack/react-native-visionos": { + "optional": true + }, + "@expo/config-plugins": { + "optional": true + }, + "react-native-macos": { + "optional": true + }, + "react-native-windows": { + "optional": true + } + }, + "devDependencies": { + "@babel/core": "^7.25.2", + "@babel/preset-env": "^7.25.3", + "@expo/config-plugins": "^10.0.0", + "@expo/json-file": "~9.1.5", + "@microsoft/eslint-plugin-sdl": "^1.0.0", + "@react-native-community/cli": "^18.0.0", + "@react-native-community/cli-types": "^18.0.0", + "@react-native-community/template": "^0.79.0", + "@rnx-kit/eslint-plugin": "^0.9.0", + "@rnx-kit/lint-lockfile": "^0.1.0", + "@rnx-kit/tsconfig": "^2.0.0", + "@swc-node/register": "^1.10.0", + "@swc/core": "^1.11.0", + "@types/js-yaml": "^4.0.5", + "@types/mustache": "^4.0.0", + "@types/node": "^22.0.0", + "@types/prompts": "~2.4.0", + "@types/react": "~19.0.0", + "@types/semver": "^7.3.6", + "eslint": "^9.12.0", + "eslint-plugin-wdio": "^9.0.0", + "js-yaml": "^4.1.0", + "memfs": "^4.0.0", + "minimatch": "^9.0.0", + "prettier": "^3.0.0", + "prettier-plugin-organize-imports": "^4.1.0", + "react": "19.0.0", + "react-native": "^0.79.0", + "react-native-macos": "^0.79.0", + "react-native-windows": "^0.79.0", + "suggestion-bot": "^4.0.0", + "typescript": "^5.0.0" + }, + "engines": { + "node": ">=18.12" + }, + "defaultPlatformPackages": { + "android": "react-native", + "ios": "react-native", + "macos": "react-native-macos", + "visionos": "@callstack/react-native-visionos", + "windows": "react-native-windows" + }, + "prettier": "../../.github/prettierrc.json" +} diff --git a/plugins/index.js b/packages/app/plugins/index.js similarity index 100% rename from plugins/index.js rename to packages/app/plugins/index.js diff --git a/plugins/macos.js b/packages/app/plugins/macos.js similarity index 100% rename from plugins/macos.js rename to packages/app/plugins/macos.js diff --git a/plugins/reanimated.js b/packages/app/plugins/reanimated.js similarity index 100% rename from plugins/reanimated.js rename to packages/app/plugins/reanimated.js diff --git a/react-native.config.js b/packages/app/react-native.config.js similarity index 100% rename from react-native.config.js rename to packages/app/react-native.config.js diff --git a/schema.json b/packages/app/schema.json similarity index 100% rename from schema.json rename to packages/app/schema.json diff --git a/scripts/appConfig.mjs b/packages/app/scripts/appConfig.mjs similarity index 100% rename from scripts/appConfig.mjs rename to packages/app/scripts/appConfig.mjs diff --git a/scripts/apply-config-plugins.mjs b/packages/app/scripts/apply-config-plugins.mjs similarity index 100% rename from scripts/apply-config-plugins.mjs rename to packages/app/scripts/apply-config-plugins.mjs diff --git a/scripts/build/MSBuild.ps1 b/packages/app/scripts/build/MSBuild.ps1 similarity index 100% rename from scripts/build/MSBuild.ps1 rename to packages/app/scripts/build/MSBuild.ps1 diff --git a/scripts/build/VSTest.ps1 b/packages/app/scripts/build/VSTest.ps1 similarity index 100% rename from scripts/build/VSTest.ps1 rename to packages/app/scripts/build/VSTest.ps1 diff --git a/scripts/config-plugins/ExpoConfigPlugins.mjs b/packages/app/scripts/config-plugins/ExpoConfigPlugins.mjs similarity index 100% rename from scripts/config-plugins/ExpoConfigPlugins.mjs rename to packages/app/scripts/config-plugins/ExpoConfigPlugins.mjs diff --git a/scripts/config-plugins/apply.mjs b/packages/app/scripts/config-plugins/apply.mjs similarity index 100% rename from scripts/config-plugins/apply.mjs rename to packages/app/scripts/config-plugins/apply.mjs diff --git a/scripts/config-plugins/index.mjs b/packages/app/scripts/config-plugins/index.mjs similarity index 100% rename from scripts/config-plugins/index.mjs rename to packages/app/scripts/config-plugins/index.mjs diff --git a/scripts/config-plugins/plugins/cocoaBaseMods.mjs b/packages/app/scripts/config-plugins/plugins/cocoaBaseMods.mjs similarity index 100% rename from scripts/config-plugins/plugins/cocoaBaseMods.mjs rename to packages/app/scripts/config-plugins/plugins/cocoaBaseMods.mjs diff --git a/scripts/config-plugins/plugins/mod-compiler.mjs b/packages/app/scripts/config-plugins/plugins/mod-compiler.mjs similarity index 100% rename from scripts/config-plugins/plugins/mod-compiler.mjs rename to packages/app/scripts/config-plugins/plugins/mod-compiler.mjs diff --git a/scripts/config-plugins/plugins/withAndroidBaseMods.mjs b/packages/app/scripts/config-plugins/plugins/withAndroidBaseMods.mjs similarity index 100% rename from scripts/config-plugins/plugins/withAndroidBaseMods.mjs rename to packages/app/scripts/config-plugins/plugins/withAndroidBaseMods.mjs diff --git a/scripts/config-plugins/plugins/withInternal.mjs b/packages/app/scripts/config-plugins/plugins/withInternal.mjs similarity index 100% rename from scripts/config-plugins/plugins/withInternal.mjs rename to packages/app/scripts/config-plugins/plugins/withInternal.mjs diff --git a/scripts/config-plugins/plugins/withIosBaseMods.mjs b/packages/app/scripts/config-plugins/plugins/withIosBaseMods.mjs similarity index 100% rename from scripts/config-plugins/plugins/withIosBaseMods.mjs rename to packages/app/scripts/config-plugins/plugins/withIosBaseMods.mjs diff --git a/scripts/config-plugins/plugins/withMacOsBaseMods.mjs b/packages/app/scripts/config-plugins/plugins/withMacOsBaseMods.mjs similarity index 100% rename from scripts/config-plugins/plugins/withMacOsBaseMods.mjs rename to packages/app/scripts/config-plugins/plugins/withMacOsBaseMods.mjs diff --git a/scripts/config-plugins/provider.mjs b/packages/app/scripts/config-plugins/provider.mjs similarity index 100% rename from scripts/config-plugins/provider.mjs rename to packages/app/scripts/config-plugins/provider.mjs diff --git a/scripts/config-plugins/types.ts b/packages/app/scripts/config-plugins/types.ts similarity index 100% rename from scripts/config-plugins/types.ts rename to packages/app/scripts/config-plugins/types.ts diff --git a/scripts/configure-projects.js b/packages/app/scripts/configure-projects.js similarity index 100% rename from scripts/configure-projects.js rename to packages/app/scripts/configure-projects.js diff --git a/scripts/configure.mjs b/packages/app/scripts/configure.mjs similarity index 100% rename from scripts/configure.mjs rename to packages/app/scripts/configure.mjs diff --git a/scripts/embed-manifest/cpp.mjs b/packages/app/scripts/embed-manifest/cpp.mjs similarity index 100% rename from scripts/embed-manifest/cpp.mjs rename to packages/app/scripts/embed-manifest/cpp.mjs diff --git a/scripts/embed-manifest/kotlin.mjs b/packages/app/scripts/embed-manifest/kotlin.mjs similarity index 100% rename from scripts/embed-manifest/kotlin.mjs rename to packages/app/scripts/embed-manifest/kotlin.mjs diff --git a/scripts/embed-manifest/main.mjs b/packages/app/scripts/embed-manifest/main.mjs similarity index 100% rename from scripts/embed-manifest/main.mjs rename to packages/app/scripts/embed-manifest/main.mjs diff --git a/scripts/embed-manifest/swift.mjs b/packages/app/scripts/embed-manifest/swift.mjs similarity index 100% rename from scripts/embed-manifest/swift.mjs rename to packages/app/scripts/embed-manifest/swift.mjs diff --git a/scripts/embed-manifest/validate.mjs b/packages/app/scripts/embed-manifest/validate.mjs similarity index 100% rename from scripts/embed-manifest/validate.mjs rename to packages/app/scripts/embed-manifest/validate.mjs diff --git a/scripts/eslint/no-process-exit.js b/packages/app/scripts/eslint/no-process-exit.js similarity index 100% rename from scripts/eslint/no-process-exit.js rename to packages/app/scripts/eslint/no-process-exit.js diff --git a/scripts/eslint/plugin.js b/packages/app/scripts/eslint/plugin.js similarity index 100% rename from scripts/eslint/plugin.js rename to packages/app/scripts/eslint/plugin.js diff --git a/scripts/helpers.js b/packages/app/scripts/helpers.js similarity index 100% rename from scripts/helpers.js rename to packages/app/scripts/helpers.js diff --git a/scripts/init.mjs b/packages/app/scripts/init.mjs similarity index 100% rename from scripts/init.mjs rename to packages/app/scripts/init.mjs diff --git a/scripts/internal/generate-manifest-docs.mts b/packages/app/scripts/internal/generate-manifest-docs.mts similarity index 100% rename from scripts/internal/generate-manifest-docs.mts rename to packages/app/scripts/internal/generate-manifest-docs.mts diff --git a/scripts/internal/generate-manifest.mts b/packages/app/scripts/internal/generate-manifest.mts similarity index 100% rename from scripts/internal/generate-manifest.mts rename to packages/app/scripts/internal/generate-manifest.mts diff --git a/scripts/internal/generate-schema.mts b/packages/app/scripts/internal/generate-schema.mts similarity index 96% rename from scripts/internal/generate-schema.mts rename to packages/app/scripts/internal/generate-schema.mts index 2db6e377d..abb1c9367 100644 --- a/scripts/internal/generate-schema.mts +++ b/packages/app/scripts/internal/generate-schema.mts @@ -29,7 +29,7 @@ export function assertDefinition(props: unknown): asserts props is Definition { export async function readDocumentation(): Promise> { const docs: Partial = {}; - const docsDir = fileURLToPath(new URL("../../docs", import.meta.url)); + const docsDir = fileURLToPath(new URL("../../../../docs", import.meta.url)); const keys: (keyof Docs)[] = [ "introduction", diff --git a/scripts/internal/pack.mts b/packages/app/scripts/internal/pack.mts similarity index 100% rename from scripts/internal/pack.mts rename to packages/app/scripts/internal/pack.mts diff --git a/scripts/internal/prepare-viewfinder.mts b/packages/app/scripts/internal/prepare-viewfinder.mts similarity index 100% rename from scripts/internal/prepare-viewfinder.mts rename to packages/app/scripts/internal/prepare-viewfinder.mts diff --git a/scripts/internal/set-react-version.mts b/packages/app/scripts/internal/set-react-version.mts similarity index 92% rename from scripts/internal/set-react-version.mts rename to packages/app/scripts/internal/set-react-version.mts index 645d47e29..1100dc67c 100644 --- a/scripts/internal/set-react-version.mts +++ b/packages/app/scripts/internal/set-react-version.mts @@ -283,29 +283,37 @@ export async function setReactVersion( const profile = { ...(await getProfile(version, coreOnly)), ...overrides }; console.dir(profile, { depth: null }); - const manifests = ["package.json", "example/package.json"]; + const manifests = [ + "package.json", + "example/package.json", + "../../package.json", + ]; for (const manifestPath of manifests) { const manifest = readJSONFile(manifestPath); - const { dependencies, devDependencies, resolutions = {} } = manifest; + const { dependencies, devDependencies, resolutions } = manifest; if (!devDependencies) { throw new Error("Expected 'devDependencies' to be declared"); } - for (const packageName of keys(profile)) { - const deps = dependencies?.[packageName] - ? dependencies - : devDependencies; - deps[packageName] = profile[packageName]; - + if (resolutions) { // Reset resolutions so we don't get old packages - resolutions[packageName] = undefined; - } + for (const packageName of keys(profile)) { + resolutions[packageName] = undefined; + } - // Reset resolutions of the nested type e.g., - // `@react-native/community-cli-plugin/@react-native-community/cli-server-api` - for (const pkg of Object.keys(resolutions)) { - if (pkg.startsWith("@react-native")) { - resolutions[pkg] = undefined; + // Reset resolutions of the nested type e.g., + // `@react-native/community-cli-plugin/@react-native-community/cli-server-api` + for (const pkg of Object.keys(resolutions)) { + if (pkg.startsWith("@react-native")) { + resolutions[pkg] = undefined; + } + } + } else { + for (const packageName of keys(profile)) { + const deps = dependencies?.[packageName] + ? dependencies + : devDependencies; + deps[packageName] = profile[packageName]; } } diff --git a/scripts/internal/test.mts b/packages/app/scripts/internal/test.mts similarity index 100% rename from scripts/internal/test.mts rename to packages/app/scripts/internal/test.mts diff --git a/scripts/schema.mjs b/packages/app/scripts/schema.mjs similarity index 100% rename from scripts/schema.mjs rename to packages/app/scripts/schema.mjs diff --git a/scripts/template.mjs b/packages/app/scripts/template.mjs similarity index 100% rename from scripts/template.mjs rename to packages/app/scripts/template.mjs diff --git a/scripts/testing/test-apple.mts b/packages/app/scripts/testing/test-apple.mts similarity index 100% rename from scripts/testing/test-apple.mts rename to packages/app/scripts/testing/test-apple.mts diff --git a/scripts/testing/test-e2e.mts b/packages/app/scripts/testing/test-e2e.mts similarity index 100% rename from scripts/testing/test-e2e.mts rename to packages/app/scripts/testing/test-e2e.mts diff --git a/scripts/testing/test-matrix.mts b/packages/app/scripts/testing/test-matrix.mts similarity index 98% rename from scripts/testing/test-matrix.mts rename to packages/app/scripts/testing/test-matrix.mts index d887892fd..d05043fcc 100644 --- a/scripts/testing/test-matrix.mts +++ b/packages/app/scripts/testing/test-matrix.mts @@ -137,8 +137,8 @@ function showBanner(message: string) { */ function startAppiumServer(logPath = "appium.log") { if (!process.env["APPIUM_HOME"]) { - const appium = fileURLToPath(import.meta.resolve("../../package.json")); - process.env["APPIUM_HOME"] = path.dirname(appium); + const appium = import.meta.resolve("../../example/package.json"); + process.env["APPIUM_HOME"] = path.dirname(fileURLToPath(appium)); } log(`Appium log path: ${logPath}`); return run("appium", logPath); diff --git a/scripts/types.ts b/packages/app/scripts/types.ts similarity index 100% rename from scripts/types.ts rename to packages/app/scripts/types.ts diff --git a/scripts/utils/colors.mjs b/packages/app/scripts/utils/colors.mjs similarity index 100% rename from scripts/utils/colors.mjs rename to packages/app/scripts/utils/colors.mjs diff --git a/scripts/utils/filesystem.mjs b/packages/app/scripts/utils/filesystem.mjs similarity index 100% rename from scripts/utils/filesystem.mjs rename to packages/app/scripts/utils/filesystem.mjs diff --git a/scripts/utils/npm.mjs b/packages/app/scripts/utils/npm.mjs similarity index 100% rename from scripts/utils/npm.mjs rename to packages/app/scripts/utils/npm.mjs diff --git a/scripts/utils/parseargs.mjs b/packages/app/scripts/utils/parseargs.mjs similarity index 100% rename from scripts/utils/parseargs.mjs rename to packages/app/scripts/utils/parseargs.mjs diff --git a/test-app.gradle b/packages/app/test-app.gradle similarity index 100% rename from test-app.gradle rename to packages/app/test-app.gradle diff --git a/test/__fixtures__/single_app_mode/app.json b/packages/app/test/__fixtures__/single_app_mode/app.json similarity index 100% rename from test/__fixtures__/single_app_mode/app.json rename to packages/app/test/__fixtures__/single_app_mode/app.json diff --git a/test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/native_modules.rb b/packages/app/test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/native_modules.rb similarity index 100% rename from test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/native_modules.rb rename to packages/app/test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/native_modules.rb diff --git a/test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/package.json b/packages/app/test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/package.json similarity index 100% rename from test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/package.json rename to packages/app/test/__fixtures__/test_app/node_modules/@react-native-community/cli-platform-ios/package.json diff --git a/test/__fixtures__/test_app/node_modules/react-native/package.json b/packages/app/test/__fixtures__/test_app/node_modules/react-native/package.json similarity index 100% rename from test/__fixtures__/test_app/node_modules/react-native/package.json rename to packages/app/test/__fixtures__/test_app/node_modules/react-native/package.json diff --git a/test/__fixtures__/windows_test_app/Root.vcxproj b/packages/app/test/__fixtures__/windows_test_app/Root.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/Root.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/Root.vcxproj diff --git a/test/__fixtures__/windows_test_app/android/Android.vcxproj b/packages/app/test/__fixtures__/windows_test_app/android/Android.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/android/Android.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/android/Android.vcxproj diff --git a/test/__fixtures__/windows_test_app/ios/iOS.vcxproj b/packages/app/test/__fixtures__/windows_test_app/ios/iOS.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/ios/iOS.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/ios/iOS.vcxproj diff --git a/test/__fixtures__/windows_test_app/macos/macOS.vcxproj b/packages/app/test/__fixtures__/windows_test_app/macos/macOS.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/macos/macOS.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/macos/macOS.vcxproj diff --git a/test/__fixtures__/windows_test_app/node_modules/SomeProject.vcxproj b/packages/app/test/__fixtures__/windows_test_app/node_modules/SomeProject.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/node_modules/SomeProject.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/node_modules/SomeProject.vcxproj diff --git a/test/__fixtures__/windows_test_app/windows/InvalidProject.vcxproj b/packages/app/test/__fixtures__/windows_test_app/windows/InvalidProject.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/windows/InvalidProject.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/windows/InvalidProject.vcxproj diff --git a/test/__fixtures__/windows_test_app/windows/Windows.vcxproj b/packages/app/test/__fixtures__/windows_test_app/windows/Windows.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/windows/Windows.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/windows/Windows.vcxproj diff --git a/test/__fixtures__/windows_test_app/windows/WithoutProjectName.vcxproj b/packages/app/test/__fixtures__/windows_test_app/windows/WithoutProjectName.vcxproj similarity index 100% rename from test/__fixtures__/windows_test_app/windows/WithoutProjectName.vcxproj rename to packages/app/test/__fixtures__/windows_test_app/windows/WithoutProjectName.vcxproj diff --git a/test/__fixtures__/with_platform_resources/app.json b/packages/app/test/__fixtures__/with_platform_resources/app.json similarity index 100% rename from test/__fixtures__/with_platform_resources/app.json rename to packages/app/test/__fixtures__/with_platform_resources/app.json diff --git a/test/__fixtures__/with_platform_resources/ios/.gitignore b/packages/app/test/__fixtures__/with_platform_resources/ios/.gitignore similarity index 100% rename from test/__fixtures__/with_platform_resources/ios/.gitignore rename to packages/app/test/__fixtures__/with_platform_resources/ios/.gitignore diff --git a/test/__fixtures__/with_platform_resources/macos/.gitignore b/packages/app/test/__fixtures__/with_platform_resources/macos/.gitignore similarity index 100% rename from test/__fixtures__/with_platform_resources/macos/.gitignore rename to packages/app/test/__fixtures__/with_platform_resources/macos/.gitignore diff --git a/test/__fixtures__/with_resources/app.json b/packages/app/test/__fixtures__/with_resources/app.json similarity index 100% rename from test/__fixtures__/with_resources/app.json rename to packages/app/test/__fixtures__/with_resources/app.json diff --git a/test/__fixtures__/with_resources/ios/.gitignore b/packages/app/test/__fixtures__/with_resources/ios/.gitignore similarity index 100% rename from test/__fixtures__/with_resources/ios/.gitignore rename to packages/app/test/__fixtures__/with_resources/ios/.gitignore diff --git a/test/__fixtures__/with_resources/macos/.gitignore b/packages/app/test/__fixtures__/with_resources/macos/.gitignore similarity index 100% rename from test/__fixtures__/with_resources/macos/.gitignore rename to packages/app/test/__fixtures__/with_resources/macos/.gitignore diff --git a/test/__fixtures__/without_platform_resources/app.json b/packages/app/test/__fixtures__/without_platform_resources/app.json similarity index 100% rename from test/__fixtures__/without_platform_resources/app.json rename to packages/app/test/__fixtures__/without_platform_resources/app.json diff --git a/test/__fixtures__/without_platform_resources/ios/.gitignore b/packages/app/test/__fixtures__/without_platform_resources/ios/.gitignore similarity index 100% rename from test/__fixtures__/without_platform_resources/ios/.gitignore rename to packages/app/test/__fixtures__/without_platform_resources/ios/.gitignore diff --git a/test/__fixtures__/without_platform_resources/macos/.gitignore b/packages/app/test/__fixtures__/without_platform_resources/macos/.gitignore similarity index 100% rename from test/__fixtures__/without_platform_resources/macos/.gitignore rename to packages/app/test/__fixtures__/without_platform_resources/macos/.gitignore diff --git a/test/__fixtures__/without_resources/app.json b/packages/app/test/__fixtures__/without_resources/app.json similarity index 100% rename from test/__fixtures__/without_resources/app.json rename to packages/app/test/__fixtures__/without_resources/app.json diff --git a/test/__fixtures__/without_resources/ios/.gitignore b/packages/app/test/__fixtures__/without_resources/ios/.gitignore similarity index 100% rename from test/__fixtures__/without_resources/ios/.gitignore rename to packages/app/test/__fixtures__/without_resources/ios/.gitignore diff --git a/test/__fixtures__/without_resources/macos/.gitignore b/packages/app/test/__fixtures__/without_resources/macos/.gitignore similarity index 100% rename from test/__fixtures__/without_resources/macos/.gitignore rename to packages/app/test/__fixtures__/without_resources/macos/.gitignore diff --git a/test/android/android-manifest.test.ts b/packages/app/test/android/android-manifest.test.ts similarity index 100% rename from test/android/android-manifest.test.ts rename to packages/app/test/android/android-manifest.test.ts diff --git a/test/android/autolink.test.ts b/packages/app/test/android/autolink.test.ts similarity index 100% rename from test/android/autolink.test.ts rename to packages/app/test/android/autolink.test.ts diff --git a/test/android/gradle-wrapper.test.ts b/packages/app/test/android/gradle-wrapper.test.ts similarity index 100% rename from test/android/gradle-wrapper.test.ts rename to packages/app/test/android/gradle-wrapper.test.ts diff --git a/test/android/gradle.ts b/packages/app/test/android/gradle.ts similarity index 100% rename from test/android/gradle.ts rename to packages/app/test/android/gradle.ts diff --git a/test/android/test-app-util.test.ts b/packages/app/test/android/test-app-util.test.ts similarity index 100% rename from test/android/test-app-util.test.ts rename to packages/app/test/android/test-app-util.test.ts diff --git a/test/configure-projects.test.ts b/packages/app/test/configure-projects.test.ts similarity index 100% rename from test/configure-projects.test.ts rename to packages/app/test/configure-projects.test.ts diff --git a/test/configure/console.test.ts b/packages/app/test/configure/console.test.ts similarity index 100% rename from test/configure/console.test.ts rename to packages/app/test/configure/console.test.ts diff --git a/test/configure/gatherConfig.test.ts b/packages/app/test/configure/gatherConfig.test.ts similarity index 100% rename from test/configure/gatherConfig.test.ts rename to packages/app/test/configure/gatherConfig.test.ts diff --git a/test/configure/getAppName.test.ts b/packages/app/test/configure/getAppName.test.ts similarity index 100% rename from test/configure/getAppName.test.ts rename to packages/app/test/configure/getAppName.test.ts diff --git a/test/configure/getConfig.test.ts b/packages/app/test/configure/getConfig.test.ts similarity index 100% rename from test/configure/getConfig.test.ts rename to packages/app/test/configure/getConfig.test.ts diff --git a/test/configure/getPlatformPackage.test.ts b/packages/app/test/configure/getPlatformPackage.test.ts similarity index 100% rename from test/configure/getPlatformPackage.test.ts rename to packages/app/test/configure/getPlatformPackage.test.ts diff --git a/test/configure/isDestructive.test.ts b/packages/app/test/configure/isDestructive.test.ts similarity index 100% rename from test/configure/isDestructive.test.ts rename to packages/app/test/configure/isDestructive.test.ts diff --git a/test/configure/join.test.ts b/packages/app/test/configure/join.test.ts similarity index 100% rename from test/configure/join.test.ts rename to packages/app/test/configure/join.test.ts diff --git a/test/configure/mergeConfig.test.ts b/packages/app/test/configure/mergeConfig.test.ts similarity index 100% rename from test/configure/mergeConfig.test.ts rename to packages/app/test/configure/mergeConfig.test.ts diff --git a/test/configure/mockParams.ts b/packages/app/test/configure/mockParams.ts similarity index 100% rename from test/configure/mockParams.ts rename to packages/app/test/configure/mockParams.ts diff --git a/test/configure/reactNativeConfig.test.ts b/packages/app/test/configure/reactNativeConfig.test.ts similarity index 100% rename from test/configure/reactNativeConfig.test.ts rename to packages/app/test/configure/reactNativeConfig.test.ts diff --git a/test/configure/removeAllFiles.test.ts b/packages/app/test/configure/removeAllFiles.test.ts similarity index 100% rename from test/configure/removeAllFiles.test.ts rename to packages/app/test/configure/removeAllFiles.test.ts diff --git a/test/configure/updatePackageManifest.test.ts b/packages/app/test/configure/updatePackageManifest.test.ts similarity index 100% rename from test/configure/updatePackageManifest.test.ts rename to packages/app/test/configure/updatePackageManifest.test.ts diff --git a/test/configure/writeAllFiles.test.ts b/packages/app/test/configure/writeAllFiles.test.ts similarity index 100% rename from test/configure/writeAllFiles.test.ts rename to packages/app/test/configure/writeAllFiles.test.ts diff --git a/test/embed-manifest/cpp.test.ts b/packages/app/test/embed-manifest/cpp.test.ts similarity index 100% rename from test/embed-manifest/cpp.test.ts rename to packages/app/test/embed-manifest/cpp.test.ts diff --git a/test/embed-manifest/fixtures.ts b/packages/app/test/embed-manifest/fixtures.ts similarity index 100% rename from test/embed-manifest/fixtures.ts rename to packages/app/test/embed-manifest/fixtures.ts diff --git a/test/embed-manifest/kotlin.test.ts b/packages/app/test/embed-manifest/kotlin.test.ts similarity index 100% rename from test/embed-manifest/kotlin.test.ts rename to packages/app/test/embed-manifest/kotlin.test.ts diff --git a/test/embed-manifest/swift.test.ts b/packages/app/test/embed-manifest/swift.test.ts similarity index 100% rename from test/embed-manifest/swift.test.ts rename to packages/app/test/embed-manifest/swift.test.ts diff --git a/test/embed-manifest/validate.test.ts b/packages/app/test/embed-manifest/validate.test.ts similarity index 100% rename from test/embed-manifest/validate.test.ts rename to packages/app/test/embed-manifest/validate.test.ts diff --git a/test/fs.mock.ts b/packages/app/test/fs.mock.ts similarity index 100% rename from test/fs.mock.ts rename to packages/app/test/fs.mock.ts diff --git a/test/helpers.test.ts b/packages/app/test/helpers.test.ts similarity index 100% rename from test/helpers.test.ts rename to packages/app/test/helpers.test.ts diff --git a/test/ios/app.test.ts b/packages/app/test/ios/app.test.ts similarity index 100% rename from test/ios/app.test.ts rename to packages/app/test/ios/app.test.ts diff --git a/test/ios/assetsCatalog.test.ts b/packages/app/test/ios/assetsCatalog.test.ts similarity index 100% rename from test/ios/assetsCatalog.test.ts rename to packages/app/test/ios/assetsCatalog.test.ts diff --git a/test/ios/entitlements.test.ts b/packages/app/test/ios/entitlements.test.ts similarity index 100% rename from test/ios/entitlements.test.ts rename to packages/app/test/ios/entitlements.test.ts diff --git a/test/ios/features.test.ts b/packages/app/test/ios/features.test.ts similarity index 100% rename from test/ios/features.test.ts rename to packages/app/test/ios/features.test.ts diff --git a/test/ios/infoPlist.test.ts b/packages/app/test/ios/infoPlist.test.ts similarity index 100% rename from test/ios/infoPlist.test.ts rename to packages/app/test/ios/infoPlist.test.ts diff --git a/test/ios/localizations.test.ts b/packages/app/test/ios/localizations.test.ts similarity index 100% rename from test/ios/localizations.test.ts rename to packages/app/test/ios/localizations.test.ts diff --git a/test/ios/privacyManifest.test.ts b/packages/app/test/ios/privacyManifest.test.ts similarity index 100% rename from test/ios/privacyManifest.test.ts rename to packages/app/test/ios/privacyManifest.test.ts diff --git a/test/ios/xcode.test.ts b/packages/app/test/ios/xcode.test.ts similarity index 100% rename from test/ios/xcode.test.ts rename to packages/app/test/ios/xcode.test.ts diff --git a/test/pack.test.ts b/packages/app/test/pack.test.ts similarity index 99% rename from test/pack.test.ts rename to packages/app/test/pack.test.ts index 803aade55..2c7a9bf93 100644 --- a/test/pack.test.ts +++ b/packages/app/test/pack.test.ts @@ -29,7 +29,6 @@ describe("npm pack", () => { "LICENSE", "README.md", "ReactTestApp-DevSupport.podspec", - "SECURITY.md", "android/android-manifest.js", "android/app/build.gradle", "android/app/lint.xml", diff --git a/test/template.ts b/packages/app/test/template.ts similarity index 100% rename from test/template.ts rename to packages/app/test/template.ts diff --git a/test/test_pod_helpers.rb b/packages/app/test/test_pod_helpers.rb similarity index 100% rename from test/test_pod_helpers.rb rename to packages/app/test/test_pod_helpers.rb diff --git a/test/test_test_app.rb b/packages/app/test/test_test_app.rb similarity index 100% rename from test/test_test_app.rb rename to packages/app/test/test_test_app.rb diff --git a/test/windows/copyAndReplace.test.ts b/packages/app/test/windows/copyAndReplace.test.ts similarity index 100% rename from test/windows/copyAndReplace.test.ts rename to packages/app/test/windows/copyAndReplace.test.ts diff --git a/test/windows/findUserProjects.test.ts b/packages/app/test/windows/findUserProjects.test.ts similarity index 100% rename from test/windows/findUserProjects.test.ts rename to packages/app/test/windows/findUserProjects.test.ts diff --git a/test/windows/generateSolution.test.ts b/packages/app/test/windows/generateSolution.test.ts similarity index 100% rename from test/windows/generateSolution.test.ts rename to packages/app/test/windows/generateSolution.test.ts diff --git a/test/windows/getBundleResources.test.ts b/packages/app/test/windows/getBundleResources.test.ts similarity index 100% rename from test/windows/getBundleResources.test.ts rename to packages/app/test/windows/getBundleResources.test.ts diff --git a/test/windows/parseMSBuildProperties.test.ts b/packages/app/test/windows/parseMSBuildProperties.test.ts similarity index 100% rename from test/windows/parseMSBuildProperties.test.ts rename to packages/app/test/windows/parseMSBuildProperties.test.ts diff --git a/test/windows/parseResources.test.ts b/packages/app/test/windows/parseResources.test.ts similarity index 100% rename from test/windows/parseResources.test.ts rename to packages/app/test/windows/parseResources.test.ts diff --git a/test/windows/replaceContent.test.ts b/packages/app/test/windows/replaceContent.test.ts similarity index 100% rename from test/windows/replaceContent.test.ts rename to packages/app/test/windows/replaceContent.test.ts diff --git a/test_app.rb b/packages/app/test_app.rb similarity index 100% rename from test_app.rb rename to packages/app/test_app.rb diff --git a/tsconfig.cjs.json b/packages/app/tsconfig.cjs.json similarity index 100% rename from tsconfig.cjs.json rename to packages/app/tsconfig.cjs.json diff --git a/tsconfig.json b/packages/app/tsconfig.json similarity index 100% rename from tsconfig.json rename to packages/app/tsconfig.json diff --git a/visionos/ReactTestApp.xcodeproj/project.pbxproj b/packages/app/visionos/ReactTestApp.xcodeproj/project.pbxproj similarity index 100% rename from visionos/ReactTestApp.xcodeproj/project.pbxproj rename to packages/app/visionos/ReactTestApp.xcodeproj/project.pbxproj diff --git a/visionos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme b/packages/app/visionos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme similarity index 100% rename from visionos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme rename to packages/app/visionos/ReactTestApp.xcodeproj/xcshareddata/xcschemes/ReactTestApp.xcscheme diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/back.jpg b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/back.jpg similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/back.jpg rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/back.jpg diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/front.png b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/front.png similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/front.png rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/front.png diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json diff --git a/visionos/ReactTestApp/Assets.xcassets/Contents.json b/packages/app/visionos/ReactTestApp/Assets.xcassets/Contents.json similarity index 100% rename from visionos/ReactTestApp/Assets.xcassets/Contents.json rename to packages/app/visionos/ReactTestApp/Assets.xcassets/Contents.json diff --git a/visionos/ReactTestApp/Info.plist b/packages/app/visionos/ReactTestApp/Info.plist similarity index 100% rename from visionos/ReactTestApp/Info.plist rename to packages/app/visionos/ReactTestApp/Info.plist diff --git a/visionos/ReactTestApp/ReactTestApp.common.xcconfig b/packages/app/visionos/ReactTestApp/ReactTestApp.common.xcconfig similarity index 100% rename from visionos/ReactTestApp/ReactTestApp.common.xcconfig rename to packages/app/visionos/ReactTestApp/ReactTestApp.common.xcconfig diff --git a/visionos/ReactTestApp/ReactTestApp.debug.xcconfig b/packages/app/visionos/ReactTestApp/ReactTestApp.debug.xcconfig similarity index 100% rename from visionos/ReactTestApp/ReactTestApp.debug.xcconfig rename to packages/app/visionos/ReactTestApp/ReactTestApp.debug.xcconfig diff --git a/visionos/ReactTestApp/ReactTestApp.release.xcconfig b/packages/app/visionos/ReactTestApp/ReactTestApp.release.xcconfig similarity index 100% rename from visionos/ReactTestApp/ReactTestApp.release.xcconfig rename to packages/app/visionos/ReactTestApp/ReactTestApp.release.xcconfig diff --git a/visionos/ReactTestAppTests/Info.plist b/packages/app/visionos/ReactTestAppTests/Info.plist similarity index 100% rename from visionos/ReactTestAppTests/Info.plist rename to packages/app/visionos/ReactTestAppTests/Info.plist diff --git a/visionos/ReactTestAppTests/ReactTestAppTests.swift b/packages/app/visionos/ReactTestAppTests/ReactTestAppTests.swift similarity index 100% rename from visionos/ReactTestAppTests/ReactTestAppTests.swift rename to packages/app/visionos/ReactTestAppTests/ReactTestAppTests.swift diff --git a/visionos/ReactTestAppUITests/Info.plist b/packages/app/visionos/ReactTestAppUITests/Info.plist similarity index 100% rename from visionos/ReactTestAppUITests/Info.plist rename to packages/app/visionos/ReactTestAppUITests/Info.plist diff --git a/visionos/ReactTestAppUITests/ReactTestAppUITests.swift b/packages/app/visionos/ReactTestAppUITests/ReactTestAppUITests.swift similarity index 100% rename from visionos/ReactTestAppUITests/ReactTestAppUITests.swift rename to packages/app/visionos/ReactTestAppUITests/ReactTestAppUITests.swift diff --git a/visionos/Shared b/packages/app/visionos/Shared similarity index 100% rename from visionos/Shared rename to packages/app/visionos/Shared diff --git a/visionos/test_app.rb b/packages/app/visionos/test_app.rb similarity index 100% rename from visionos/test_app.rb rename to packages/app/visionos/test_app.rb diff --git a/windows/.clang-format b/packages/app/windows/.clang-format similarity index 100% rename from windows/.clang-format rename to packages/app/windows/.clang-format diff --git a/windows/.gitignore b/packages/app/windows/.gitignore similarity index 100% rename from windows/.gitignore rename to packages/app/windows/.gitignore diff --git a/windows/ExperimentalFeatures.props b/packages/app/windows/ExperimentalFeatures.props similarity index 100% rename from windows/ExperimentalFeatures.props rename to packages/app/windows/ExperimentalFeatures.props diff --git a/windows/Shared/EmbedManifest.targets b/packages/app/windows/Shared/EmbedManifest.targets similarity index 100% rename from windows/Shared/EmbedManifest.targets rename to packages/app/windows/Shared/EmbedManifest.targets diff --git a/windows/Shared/JSValueWriterHelper.h b/packages/app/windows/Shared/JSValueWriterHelper.h similarity index 100% rename from windows/Shared/JSValueWriterHelper.h rename to packages/app/windows/Shared/JSValueWriterHelper.h diff --git a/windows/Shared/Manifest.h b/packages/app/windows/Shared/Manifest.h similarity index 100% rename from windows/Shared/Manifest.h rename to packages/app/windows/Shared/Manifest.h diff --git a/windows/Shared/ReactInstance.cpp b/packages/app/windows/Shared/ReactInstance.cpp similarity index 100% rename from windows/Shared/ReactInstance.cpp rename to packages/app/windows/Shared/ReactInstance.cpp diff --git a/windows/Shared/ReactInstance.h b/packages/app/windows/Shared/ReactInstance.h similarity index 100% rename from windows/Shared/ReactInstance.h rename to packages/app/windows/Shared/ReactInstance.h diff --git a/windows/Shared/Session.h b/packages/app/windows/Shared/Session.h similarity index 100% rename from windows/Shared/Session.h rename to packages/app/windows/Shared/Session.h diff --git a/windows/UWP/App.cpp b/packages/app/windows/UWP/App.cpp similarity index 100% rename from windows/UWP/App.cpp rename to packages/app/windows/UWP/App.cpp diff --git a/windows/UWP/App.h b/packages/app/windows/UWP/App.h similarity index 100% rename from windows/UWP/App.h rename to packages/app/windows/UWP/App.h diff --git a/windows/UWP/App.idl b/packages/app/windows/UWP/App.idl similarity index 100% rename from windows/UWP/App.idl rename to packages/app/windows/UWP/App.idl diff --git a/windows/UWP/App.xaml b/packages/app/windows/UWP/App.xaml similarity index 100% rename from windows/UWP/App.xaml rename to packages/app/windows/UWP/App.xaml diff --git a/windows/UWP/Assets/SplashScreen.scale-100.png b/packages/app/windows/UWP/Assets/SplashScreen.scale-100.png similarity index 100% rename from windows/UWP/Assets/SplashScreen.scale-100.png rename to packages/app/windows/UWP/Assets/SplashScreen.scale-100.png diff --git a/windows/UWP/Assets/SplashScreen.scale-200.png b/packages/app/windows/UWP/Assets/SplashScreen.scale-200.png similarity index 100% rename from windows/UWP/Assets/SplashScreen.scale-200.png rename to packages/app/windows/UWP/Assets/SplashScreen.scale-200.png diff --git a/windows/UWP/Assets/SplashScreen.scale-400.png b/packages/app/windows/UWP/Assets/SplashScreen.scale-400.png similarity index 100% rename from windows/UWP/Assets/SplashScreen.scale-400.png rename to packages/app/windows/UWP/Assets/SplashScreen.scale-400.png diff --git a/windows/UWP/Assets/Square150x150Logo.scale-100.png b/packages/app/windows/UWP/Assets/Square150x150Logo.scale-100.png similarity index 100% rename from windows/UWP/Assets/Square150x150Logo.scale-100.png rename to packages/app/windows/UWP/Assets/Square150x150Logo.scale-100.png diff --git a/windows/UWP/Assets/Square150x150Logo.scale-200.png b/packages/app/windows/UWP/Assets/Square150x150Logo.scale-200.png similarity index 100% rename from windows/UWP/Assets/Square150x150Logo.scale-200.png rename to packages/app/windows/UWP/Assets/Square150x150Logo.scale-200.png diff --git a/windows/UWP/Assets/Square150x150Logo.scale-400.png b/packages/app/windows/UWP/Assets/Square150x150Logo.scale-400.png similarity index 100% rename from windows/UWP/Assets/Square150x150Logo.scale-400.png rename to packages/app/windows/UWP/Assets/Square150x150Logo.scale-400.png diff --git a/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png b/packages/app/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png diff --git a/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png b/packages/app/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png diff --git a/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png b/packages/app/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png diff --git a/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png b/packages/app/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png diff --git a/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png b/packages/app/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png diff --git a/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png b/packages/app/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png diff --git a/windows/UWP/Assets/Square44x44Logo.scale-100.png b/packages/app/windows/UWP/Assets/Square44x44Logo.scale-100.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.scale-100.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.scale-100.png diff --git a/windows/UWP/Assets/Square44x44Logo.scale-200.png b/packages/app/windows/UWP/Assets/Square44x44Logo.scale-200.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.scale-200.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.scale-200.png diff --git a/windows/UWP/Assets/Square44x44Logo.scale-400.png b/packages/app/windows/UWP/Assets/Square44x44Logo.scale-400.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.scale-400.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.scale-400.png diff --git a/windows/UWP/Assets/Square44x44Logo.targetsize-16.png b/packages/app/windows/UWP/Assets/Square44x44Logo.targetsize-16.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.targetsize-16.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.targetsize-16.png diff --git a/windows/UWP/Assets/Square44x44Logo.targetsize-256.png b/packages/app/windows/UWP/Assets/Square44x44Logo.targetsize-256.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.targetsize-256.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.targetsize-256.png diff --git a/windows/UWP/Assets/Square44x44Logo.targetsize-48.png b/packages/app/windows/UWP/Assets/Square44x44Logo.targetsize-48.png similarity index 100% rename from windows/UWP/Assets/Square44x44Logo.targetsize-48.png rename to packages/app/windows/UWP/Assets/Square44x44Logo.targetsize-48.png diff --git a/windows/UWP/Assets/StoreLogo.scale-100.png b/packages/app/windows/UWP/Assets/StoreLogo.scale-100.png similarity index 100% rename from windows/UWP/Assets/StoreLogo.scale-100.png rename to packages/app/windows/UWP/Assets/StoreLogo.scale-100.png diff --git a/windows/UWP/Assets/StoreLogo.scale-200.png b/packages/app/windows/UWP/Assets/StoreLogo.scale-200.png similarity index 100% rename from windows/UWP/Assets/StoreLogo.scale-200.png rename to packages/app/windows/UWP/Assets/StoreLogo.scale-200.png diff --git a/windows/UWP/Assets/StoreLogo.scale-400.png b/packages/app/windows/UWP/Assets/StoreLogo.scale-400.png similarity index 100% rename from windows/UWP/Assets/StoreLogo.scale-400.png rename to packages/app/windows/UWP/Assets/StoreLogo.scale-400.png diff --git a/windows/UWP/Assets/Wide310x150Logo.scale-200.png b/packages/app/windows/UWP/Assets/Wide310x150Logo.scale-200.png similarity index 100% rename from windows/UWP/Assets/Wide310x150Logo.scale-200.png rename to packages/app/windows/UWP/Assets/Wide310x150Logo.scale-200.png diff --git a/windows/UWP/AutolinkedNativeModules.g.cpp b/packages/app/windows/UWP/AutolinkedNativeModules.g.cpp similarity index 100% rename from windows/UWP/AutolinkedNativeModules.g.cpp rename to packages/app/windows/UWP/AutolinkedNativeModules.g.cpp diff --git a/windows/UWP/AutolinkedNativeModules.g.h b/packages/app/windows/UWP/AutolinkedNativeModules.g.h similarity index 100% rename from windows/UWP/AutolinkedNativeModules.g.h rename to packages/app/windows/UWP/AutolinkedNativeModules.g.h diff --git a/windows/UWP/AutolinkedNativeModules.g.props b/packages/app/windows/UWP/AutolinkedNativeModules.g.props similarity index 100% rename from windows/UWP/AutolinkedNativeModules.g.props rename to packages/app/windows/UWP/AutolinkedNativeModules.g.props diff --git a/windows/UWP/AutolinkedNativeModules.g.targets b/packages/app/windows/UWP/AutolinkedNativeModules.g.targets similarity index 100% rename from windows/UWP/AutolinkedNativeModules.g.targets rename to packages/app/windows/UWP/AutolinkedNativeModules.g.targets diff --git a/windows/UWP/MainPage.cpp b/packages/app/windows/UWP/MainPage.cpp similarity index 100% rename from windows/UWP/MainPage.cpp rename to packages/app/windows/UWP/MainPage.cpp diff --git a/windows/UWP/MainPage.h b/packages/app/windows/UWP/MainPage.h similarity index 100% rename from windows/UWP/MainPage.h rename to packages/app/windows/UWP/MainPage.h diff --git a/windows/UWP/MainPage.idl b/packages/app/windows/UWP/MainPage.idl similarity index 100% rename from windows/UWP/MainPage.idl rename to packages/app/windows/UWP/MainPage.idl diff --git a/windows/UWP/MainPage.xaml b/packages/app/windows/UWP/MainPage.xaml similarity index 100% rename from windows/UWP/MainPage.xaml rename to packages/app/windows/UWP/MainPage.xaml diff --git a/windows/UWP/Package.appxmanifest b/packages/app/windows/UWP/Package.appxmanifest similarity index 97% rename from windows/UWP/Package.appxmanifest rename to packages/app/windows/UWP/Package.appxmanifest index b080dc6b1..40fa00026 100644 --- a/windows/UWP/Package.appxmanifest +++ b/packages/app/windows/UWP/Package.appxmanifest @@ -1,4 +1,4 @@ -ο»Ώ + /dev/null 2>&1 && pwd)" function print_usage { @@ -35,24 +36,30 @@ while true; do done # Use tarballs to ensure that published packages are consumable +pushd "$script_dir/../packages/app" 1> /dev/null npm pack mv react-native-test-app-$version.tgz $tarball +popd 1> /dev/null yarn + +v=$(cat packages/app/example/package.json | jq '.dependencies["react-native"]' | grep -o -E '[0-9]+\.[0-9]+') if [[ "$platform" == "all" ]]; then - yarn init-test-app \ - --destination template-example \ - --name TemplateExample \ - --platform android \ - --platform ios \ - --platform macos \ - --platform visionos \ - --platform windows + node packages/app/scripts/init.mjs \ + --destination template-example \ + --name TemplateExample \ + --platform android \ + --platform ios \ + --platform macos \ + --platform visionos \ + --platform windows \ + --version $v else - yarn init-test-app \ - --destination template-example \ - --name TemplateExample \ - --platform "$platform" + node packages/app/scripts/init.mjs \ + --destination template-example \ + --name TemplateExample \ + --platform "$platform" \ + --version $v fi pushd template-example 1> /dev/null @@ -65,7 +72,7 @@ else touch yarn.lock fi -script="s/\"react-native-test-app\": \".*\"/\"react-native-test-app\": \"..\/$tarball\"/" +script="s/\"react-native-test-app\": \".*\"/\"react-native-test-app\": \"..\/packages\/app\/$tarball\"/" if sed --version &> /dev/null; then sed -i'' "$script" package.json else diff --git a/scripts/testing/react-native.mts b/scripts/react-native.mts similarity index 100% rename from scripts/testing/react-native.mts rename to scripts/react-native.mts diff --git a/scripts/internal/release-notes.mts b/scripts/release-notes.mts similarity index 100% rename from scripts/internal/release-notes.mts rename to scripts/release-notes.mts diff --git a/scripts/build/xcodebuild.sh b/scripts/xcodebuild.sh similarity index 100% rename from scripts/build/xcodebuild.sh rename to scripts/xcodebuild.sh diff --git a/yarn.lock b/yarn.lock index 6b22da2c4..920701f3f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -53,9 +53,9 @@ __metadata: languageName: node linkType: hard -"@appium/docutils@link:./example::locator=react-native-test-app%40workspace%3A.": +"@appium/docutils@link:./packages/null::locator=%40microsoft%2Froot%40workspace%3A.": version: 0.0.0-use.local - resolution: "@appium/docutils@link:./example::locator=react-native-test-app%40workspace%3A." + resolution: "@appium/docutils@link:./packages/null::locator=%40microsoft%2Froot%40workspace%3A." languageName: node linkType: soft @@ -2703,6 +2703,23 @@ __metadata: languageName: node linkType: hard +"@microsoft/root@workspace:.": + version: 0.0.0-use.local + resolution: "@microsoft/root@workspace:." + dependencies: + "@nx/js": "npm:^21.0.0" + "@rnx-kit/lint-lockfile": "npm:^0.1.0" + "@types/js-yaml": "npm:^4.0.5" + "@types/node": "npm:^22.0.0" + js-yaml: "npm:^4.1.0" + minimatch: "npm:^9.0.0" + nx: "npm:^21.0.0" + prettier: "npm:^3.0.0" + prettier-plugin-organize-imports: "npm:^4.1.0" + typescript: "npm:^5.0.0" + languageName: unknown + linkType: soft + "@napi-rs/wasm-runtime@npm:0.2.4": version: 0.2.4 resolution: "@napi-rs/wasm-runtime@npm:0.2.4" @@ -3300,7 +3317,7 @@ __metadata: languageName: node linkType: hard -"@react-native-community/cli-types@npm:18.0.1": +"@react-native-community/cli-types@npm:18.0.1, @react-native-community/cli-types@npm:^18.0.0": version: 18.0.1 resolution: "@react-native-community/cli-types@npm:18.0.1" dependencies: @@ -5139,6 +5156,25 @@ __metadata: languageName: node linkType: hard +"appium-ios-simulator@npm:^8.0.0": + version: 8.0.0 + resolution: "appium-ios-simulator@npm:8.0.0" + dependencies: + "@appium/support": "npm:^7.0.0-rc.1" + "@xmldom/xmldom": "npm:^0.x" + appium-xcode: "npm:^6.0.0" + async-lock: "npm:^1.0.0" + asyncbox: "npm:^3.0.0" + bluebird: "npm:^3.5.1" + lodash: "npm:^4.2.1" + node-simctl: "npm:^8.0.0" + semver: "npm:^7.0.0" + source-map-support: "npm:^0.x" + teen_process: "npm:^3.0.0" + checksum: 10c0/6f9c1acedd122b0a8e2dc7a0e93e1d2223543b349def08671705ed190a6308cde45235c7af397e9ef5ca98830fe00b678b303f5d4a484833ea045c665a8eedf3 + languageName: node + linkType: hard + "appium-ios-tuntap@npm:^0.x": version: 0.1.2 resolution: "appium-ios-tuntap@npm:0.1.2" @@ -5235,15 +5271,15 @@ __metadata: linkType: hard "appium-xcuitest-driver@npm:^10.0.0": - version: 10.5.1 - resolution: "appium-xcuitest-driver@npm:10.5.1" + version: 10.8.0 + resolution: "appium-xcuitest-driver@npm:10.8.0" dependencies: "@appium/strongbox": "npm:^1.0.0-rc.1" "@colors/colors": "npm:^1.6.0" appium-idb: "npm:^2.0.0" appium-ios-device: "npm:^3.0.0" appium-ios-remotexpc: "npm:^0.x" - appium-ios-simulator: "npm:^7.0.0" + appium-ios-simulator: "npm:^8.0.0" appium-remote-debugger: "npm:^15.2.0" appium-webdriveragent: "npm:^10.2.1" appium-xcode: "npm:^6.0.2" @@ -5270,7 +5306,7 @@ __metadata: dependenciesMeta: appium-ios-remotexpc: optional: true - checksum: 10c0/c95aa0c2027495ed30028e3beb9a8eeaf8cc3f907e1325a3875f62c75f04fd1c4239c08bc5f694b8976b88184283dd5bfb3a74c10e2239bd9a542f7844e5d9c2 + checksum: 10c0/021ec90b4ba5f4ffadbc647ceaed8421a9499d2b277512132eb41ad963266cad5c1be2a8c518f1ff683ded4fe82e24ce06d11fdba625c5bac3693d140219c5f5 languageName: node linkType: hard @@ -7799,9 +7835,9 @@ __metadata: languageName: node linkType: hard -"example@workspace:example": +"example@workspace:packages/app/example": version: 0.0.0-use.local - resolution: "example@workspace:example" + resolution: "example@workspace:packages/app/example" dependencies: "@babel/core": "npm:^7.25.2" "@babel/preset-env": "npm:^7.25.3" @@ -7827,7 +7863,7 @@ __metadata: react-native-safe-area-context: "npm:^5.5.2" react-native-test-app: "workspace:*" react-native-windows: "npm:^0.79.0" - webdriverio: "npm:^9.0.0" + webdriverio: "patch:webdriverio@npm%3A9.20.0#~/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch" languageName: unknown linkType: soft @@ -12302,16 +12338,17 @@ __metadata: languageName: node linkType: hard -"react-native-test-app@workspace:*, react-native-test-app@workspace:.": +"react-native-test-app@workspace:*, react-native-test-app@workspace:packages/app": version: 0.0.0-use.local - resolution: "react-native-test-app@workspace:." + resolution: "react-native-test-app@workspace:packages/app" dependencies: "@babel/core": "npm:^7.25.2" "@babel/preset-env": "npm:^7.25.3" "@expo/config-plugins": "npm:^10.0.0" + "@expo/json-file": "npm:~9.1.5" "@microsoft/eslint-plugin-sdl": "npm:^1.0.0" - "@nx/js": "npm:^21.0.0" "@react-native-community/cli": "npm:^18.0.0" + "@react-native-community/cli-types": "npm:^18.0.0" "@react-native-community/template": "npm:^0.79.0" "@rnx-kit/eslint-plugin": "npm:^0.9.0" "@rnx-kit/lint-lockfile": "npm:^0.1.0" @@ -12324,6 +12361,7 @@ __metadata: "@types/mustache": "npm:^4.0.0" "@types/node": "npm:^22.0.0" "@types/prompts": "npm:~2.4.0" + "@types/react": "npm:~19.0.0" "@types/semver": "npm:^7.3.6" ajv: "npm:^8.0.0" cliui: "npm:^8.0.0" @@ -12333,7 +12371,6 @@ __metadata: js-yaml: "npm:^4.1.0" memfs: "npm:^4.0.0" minimatch: "npm:^9.0.0" - nx: "npm:^21.0.0" prettier: "npm:^3.0.0" prettier-plugin-organize-imports: "npm:^4.1.0" prompts: "npm:^2.4.0" @@ -14664,7 +14701,7 @@ __metadata: languageName: node linkType: hard -"webdriverio@npm:^9.0.0": +"webdriverio@npm:9.20.0": version: 9.20.0 resolution: "webdriverio@npm:9.20.0" dependencies: @@ -14702,6 +14739,44 @@ __metadata: languageName: node linkType: hard +"webdriverio@patch:webdriverio@npm%3A9.20.0#~/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch": + version: 9.20.0 + resolution: "webdriverio@patch:webdriverio@npm%3A9.20.0#~/.yarn/patches/webdriverio-npm-9.20.0-664a6da575.patch::version=9.20.0&hash=5199b0" + dependencies: + "@types/node": "npm:^20.11.30" + "@types/sinonjs__fake-timers": "npm:^8.1.5" + "@wdio/config": "npm:9.20.0" + "@wdio/logger": "npm:9.18.0" + "@wdio/protocols": "npm:9.16.2" + "@wdio/repl": "npm:9.16.2" + "@wdio/types": "npm:9.20.0" + "@wdio/utils": "npm:9.20.0" + archiver: "npm:^7.0.1" + aria-query: "npm:^5.3.0" + cheerio: "npm:^1.0.0-rc.12" + css-shorthand-properties: "npm:^1.1.1" + css-value: "npm:^0.0.1" + grapheme-splitter: "npm:^1.0.4" + htmlfy: "npm:^0.8.1" + is-plain-obj: "npm:^4.1.0" + jszip: "npm:^3.10.1" + lodash.clonedeep: "npm:^4.5.0" + lodash.zip: "npm:^4.2.0" + query-selector-shadow-dom: "npm:^1.0.1" + resq: "npm:^1.11.0" + rgb2hex: "npm:0.2.5" + serialize-error: "npm:^12.0.0" + urlpattern-polyfill: "npm:^10.0.0" + webdriver: "npm:9.20.0" + peerDependencies: + puppeteer-core: ">=22.x || <=24.x" + peerDependenciesMeta: + puppeteer-core: + optional: true + checksum: 10c0/b708ca60244533453bc47a1254a5904d2fca8f7dd107763a248d4448b65ca1d26b1b00b28166a25e55b35d3f664d278df532edb0f289a04198c6146ecd6cab75 + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1"