peachsim 0.1.2674 → 0.1.2676
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +105 -67
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-7UZN4VYK.mjs → acorn-YQ2Y333V.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-BVXC4YET.mjs → chunk-25EMRCS4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ASL76C2M.mjs → chunk-3TL2TT2H.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Y3Y67ML7.mjs → chunk-4Q6YODSW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6MQE6NHP.mjs → chunk-5EH6JZZK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5HLALTZU.mjs → chunk-626GTL22.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UR4364IC.mjs → chunk-A35OFKUL.mjs} +15 -15
- package/dist-lib/esm-chunks/{chunk-JN5AITFW.mjs → chunk-B3U6FXEV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K6YX77B2.mjs → chunk-D575CGCI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TCJINVW7.mjs → chunk-DG6QGBQR.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-PGWO5WJS.mjs → chunk-FVUPL6XV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DDKNMOMP.mjs → chunk-FWXP663K.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-64GNURGG.mjs → chunk-HKPMHGF2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OICCOALD.mjs → chunk-JSIHMPMM.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-S6FAF3O6.mjs → chunk-KLFBECKK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YTLETAHS.mjs → chunk-LF6SZQV5.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-UQLURJW5.mjs → chunk-MPFHNHE7.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-7LVYKI6B.mjs → chunk-QGE6LXQT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GY2LAJOJ.mjs → chunk-QRFI6Y4S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JGCL2DFM.mjs → chunk-RADKK7SO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GR6LZLL3.mjs → chunk-S6J4D2JN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UYNBXPDJ.mjs → chunk-UANRG6RG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OSSY6ZNV.mjs → chunk-VBRL6FF3.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YTVAFL2C.mjs → chunk-VUPCH2NW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-54JOIACB.mjs → chunk-ZK5FTTPS.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-SIV4DJUF.mjs → metro-layout-parser-AVSCGHIP.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-U4TO4A5N.mjs → swift-package-prebuilt-WAUVHTJ6.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-J5OL6AQS.mjs → swift-sdk-app-module-SMITHJSE.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-CV5NS7AQ.mjs → swift-sdk-image-A3PUVC5O.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-I4HX7YZO.mjs → swift-sdk-image-producer-5OLYXCL2.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +75 -42
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +3181 -865
- package/dist-lib/host/fetch-proxy-handler.cjs +12 -11
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +20 -4
- package/dist-lib/native-app-identity-project.mjs +34 -18
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +68 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +3569 -1253
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +4 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h +14 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h +20 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h +71 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/AssetsLibrary.h +5 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h +21 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h +24 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h +32 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BackgroundTasks.h +5 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h +17 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h +18 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LinkPresentation.h +4 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Modules/module.modulemap +5 -0
- package/src/expo-native-workspace.ts +3 -4
- package/src/one-direct-host-source.ts +1934 -0
- package/src/one-native-controls-package.ts +157 -21
- package/src/turbo-source.ts +60 -23
- package/src/xcode-project.ts +30 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2676 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -10091,7 +10091,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
10091
10091
|
|
|
10092
10092
|
// src/swift-compiler-digest.ts
|
|
10093
10093
|
function swiftArchiveCompilerDigestValue() {
|
|
10094
|
-
return true ? "
|
|
10094
|
+
return true ? "91982cf5fdcc3e5053d8a39c2f18a9928d7cfbd48744cc2d27664c46f06c2321" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
|
|
10095
10095
|
}
|
|
10096
10096
|
var import_node_crypto9, import_node_fs20, import_node_path16, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
10097
10097
|
var init_swift_compiler_digest = __esm({
|
|
@@ -41418,7 +41418,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
41418
41418
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
41419
41419
|
MULTI_MANIFEST_VERSION = 76;
|
|
41420
41420
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
41421
|
-
compilerSourceDigest = true ? "
|
|
41421
|
+
compilerSourceDigest = true ? "9514fd3df63e23aff60b29d712c1253d5b24a143e35f726b153690421d62974e" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
41422
41422
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
41423
41423
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
41424
41424
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -68813,7 +68813,7 @@ var init_provenance = __esm({
|
|
|
68813
68813
|
import_node_crypto45 = require("node:crypto");
|
|
68814
68814
|
import_node_fs75 = require("node:fs");
|
|
68815
68815
|
import_node_path75 = require("node:path");
|
|
68816
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"692791414734a0fe5949c1d2638941d5de882b8737675deae2e3a49512f2a126","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"
|
|
68816
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"692791414734a0fe5949c1d2638941d5de882b8737675deae2e3a49512f2a126","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"9f3d95e988cb75510a2e46eb32cf9c864a814f7e9d3c9a0a5b6ada290699f921","xcode-target-members.ts":"2379e6d411c5d63fa65ddc24c4e4fc8bfcd001b5be109b694c848fe62908db86","xcode-json-project.ts":"df6d6db28e0c8cfdf1f480e1e32d35f12c9cf1936642d5dda923889fb18a8fd6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path75.join)(__sootsim_import_meta_dirname, ".."));
|
|
68817
68817
|
}
|
|
68818
68818
|
});
|
|
68819
68819
|
|
|
@@ -72447,8 +72447,9 @@ function targetSettings(ref, configuration, builtins, options2 = {}, overrides =
|
|
|
72447
72447
|
if (resolving2.has(marker))
|
|
72448
72448
|
throw new Error(`${str(target.name)} has a cyclic build setting ${key2}`);
|
|
72449
72449
|
resolving2.add(marker);
|
|
72450
|
+
const raw2 = levels[at][key2].replace(/"(\$\(inherited\)|\$\{inherited\})"/g, "$1");
|
|
72450
72451
|
const value = expand(
|
|
72451
|
-
|
|
72452
|
+
raw2,
|
|
72452
72453
|
(name3) => name3 === "inherited" || name3 === key2 ? valueAt(key2, at - 1, packaging) : valueAt(name3, levels.length - 1, packaging)
|
|
72453
72454
|
);
|
|
72454
72455
|
resolving2.delete(marker);
|
|
@@ -72743,8 +72744,22 @@ function targetMembers(ref, settings, options2, settingKeys, projectInputs) {
|
|
|
72743
72744
|
const declaredInfoPlist = settings("INFOPLIST_FILE");
|
|
72744
72745
|
const infoPlistOutput = declaredInfoPlist ? import_node_path80.default.resolve(project2.projectDir, declaredInfoPlist) : null;
|
|
72745
72746
|
const isPreparedOutput = (file) => file === infoPlistOutput || options2.requireSources !== false && file.endsWith(".swift");
|
|
72747
|
+
let absentSources = false;
|
|
72748
|
+
if (options2.prepareGeneratedSources === true && options2.requireSources !== false)
|
|
72749
|
+
project2.visitMembers(
|
|
72750
|
+
targetId,
|
|
72751
|
+
xcodePathResolver(project2.objects, project2.projectDir, import_node_path80.default.join, settings),
|
|
72752
|
+
(file) => isDirectory3(file) ? walkFiles(file) : import_node_fs79.default.existsSync(file) ? [file] : [],
|
|
72753
|
+
import_node_path80.default.join,
|
|
72754
|
+
(file, kind) => {
|
|
72755
|
+
if (kind !== "header" && kind !== "resource" && !import_node_fs79.default.existsSync(file))
|
|
72756
|
+
absentSources = true;
|
|
72757
|
+
}
|
|
72758
|
+
);
|
|
72759
|
+
let beforeSources = true;
|
|
72746
72760
|
for (const phaseId of list(target.buildPhases)) {
|
|
72747
72761
|
const phase = project2.object(phaseId);
|
|
72762
|
+
if (phase?.isa === "PBXSourcesBuildPhase") beforeSources = false;
|
|
72748
72763
|
if (phase?.isa !== "PBXShellScriptBuildPhase") continue;
|
|
72749
72764
|
const script = str(phase.name) ?? phaseId;
|
|
72750
72765
|
for (const catalog of shellAssetCatalogs(
|
|
@@ -72788,7 +72803,8 @@ function targetMembers(ref, settings, options2, settingKeys, projectInputs) {
|
|
|
72788
72803
|
if (allOutputs.some((file) => file.endsWith(".swift") || file === infoPlistOutput)) {
|
|
72789
72804
|
for (const file of inputFiles) if (import_node_fs79.default.existsSync(file)) projectInputs.add(file);
|
|
72790
72805
|
}
|
|
72791
|
-
|
|
72806
|
+
const undeclaredGenerator = absentSources && beforeSources && allOutputs.length === 0 && str(phase.runOnlyForDeploymentPostprocessing) !== "1";
|
|
72807
|
+
if (options2.prepareGeneratedSources === true && (allOutputs.some(isPreparedOutput) || undeclaredGenerator)) {
|
|
72792
72808
|
const phaseDir = import_node_path80.default.join(settings("TARGET_TEMP_DIR"), `Script-${phaseId}`);
|
|
72793
72809
|
for (const lists of fileLists.values())
|
|
72794
72810
|
for (const { file } of lists)
|
|
@@ -74543,6 +74559,7 @@ function cleanWorkspaceGitEnv() {
|
|
|
74543
74559
|
}
|
|
74544
74560
|
function reactNativePodsEnvironment() {
|
|
74545
74561
|
return {
|
|
74562
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED,
|
|
74546
74563
|
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
|
|
74547
74564
|
RCT_USE_RN_DEP: process.env.RCT_USE_RN_DEP
|
|
74548
74565
|
};
|
|
@@ -74759,7 +74776,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
74759
74776
|
{ cwd: root }
|
|
74760
74777
|
);
|
|
74761
74778
|
const toolchain = JSON.stringify({
|
|
74762
|
-
preparation:
|
|
74779
|
+
preparation: 13,
|
|
74763
74780
|
appRelative,
|
|
74764
74781
|
xcode: xcodeInstallationIdentity(),
|
|
74765
74782
|
node: node.stdout.trim(),
|
|
@@ -75231,7 +75248,7 @@ async function prepareNativeProject(app, workspace, manifest, stage, execute, re
|
|
|
75231
75248
|
const sourcePodEnv = {
|
|
75232
75249
|
EXPO_USE_PRECOMPILED_MODULES: "0",
|
|
75233
75250
|
ONE_PREBUILT_IOS: "0",
|
|
75234
|
-
RCT_NEW_ARCH_ENABLED: "1"
|
|
75251
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED ?? "1"
|
|
75235
75252
|
};
|
|
75236
75253
|
const declares2 = (name3) => declaresNativeDependency(manifest, name3);
|
|
75237
75254
|
if (!import_node_fs80.default.existsSync(import_node_path81.default.join(app, "ios", "Podfile"))) {
|
|
@@ -99474,7 +99491,7 @@ function transcribeLoad(text7, file) {
|
|
|
99474
99491
|
throw refuse4("+load sends Objective-C messages");
|
|
99475
99492
|
return { includes, usings, body };
|
|
99476
99493
|
}
|
|
99477
|
-
function viewManagers(root, files2) {
|
|
99494
|
+
function viewManagers(root, files2, inherited) {
|
|
99478
99495
|
const classes = /* @__PURE__ */ new Map();
|
|
99479
99496
|
for (const file of files2) {
|
|
99480
99497
|
if (!HEADER5.test(file) && !OBJC2.test(file)) continue;
|
|
@@ -99486,7 +99503,7 @@ function viewManagers(root, files2) {
|
|
|
99486
99503
|
))
|
|
99487
99504
|
classes.set(name3, parent);
|
|
99488
99505
|
}
|
|
99489
|
-
const managers =
|
|
99506
|
+
const managers = new Set(inherited ?? ["RCTViewManager"]);
|
|
99490
99507
|
for (let remaining = classes.size; remaining > 0; remaining--) {
|
|
99491
99508
|
let changed = false;
|
|
99492
99509
|
for (const [name3, parent] of classes) {
|
|
@@ -99499,9 +99516,15 @@ function viewManagers(root, files2) {
|
|
|
99499
99516
|
}
|
|
99500
99517
|
return managers;
|
|
99501
99518
|
}
|
|
99502
|
-
function
|
|
99519
|
+
function reactNativeViewManagers(root) {
|
|
99520
|
+
const files2 = /* @__PURE__ */ new Set();
|
|
99521
|
+
for (const { from, to } of REACT_NATIVE_HEADER_DIRS)
|
|
99522
|
+
if (to === "React") walkFiles2(root, from, files2);
|
|
99523
|
+
return viewManagers(root, files2);
|
|
99524
|
+
}
|
|
99525
|
+
function paperViewManagers(root, files2, inherited) {
|
|
99503
99526
|
const sources = [...files2];
|
|
99504
|
-
const managers = viewManagers(root, sources);
|
|
99527
|
+
const managers = viewManagers(root, sources, inherited);
|
|
99505
99528
|
const exported = /* @__PURE__ */ new Set();
|
|
99506
99529
|
for (const file of sources) {
|
|
99507
99530
|
if (!OBJC2.test(file)) continue;
|
|
@@ -99518,15 +99541,15 @@ function paperViewManagers(root, files2) {
|
|
|
99518
99541
|
}
|
|
99519
99542
|
return [...exported].sort();
|
|
99520
99543
|
}
|
|
99521
|
-
function registers(root, files2,
|
|
99544
|
+
function registers(root, files2, inherited) {
|
|
99522
99545
|
const sources = [...files2];
|
|
99523
|
-
const managers =
|
|
99546
|
+
const managers = viewManagers(root, sources, inherited);
|
|
99524
99547
|
for (const file of sources) {
|
|
99525
99548
|
if (!UNIT.test(file) && !OBJC2.test(file)) continue;
|
|
99526
99549
|
const text7 = import_node_fs118.default.readFileSync(import_node_path120.default.join(root, file), "utf8");
|
|
99527
99550
|
if (text7.includes(REGISTRATION)) return true;
|
|
99528
99551
|
const stripped2 = stripComments(text7);
|
|
99529
|
-
if (
|
|
99552
|
+
if (OBJC2.test(file) && !CODEGEN_OBJC.test(text7) && (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2) && ![...stripped2.matchAll(/@implementation\s+(\w+)/g)].some(
|
|
99530
99553
|
([, name3]) => managers.has(name3)
|
|
99531
99554
|
)))
|
|
99532
99555
|
return true;
|
|
@@ -99554,6 +99577,11 @@ async function turboProviderCandidates(appRoot, answered = peachAnsweredNativePa
|
|
|
99554
99577
|
async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered = /* @__PURE__ */ new Set(), answeredPackages) {
|
|
99555
99578
|
const providers = [];
|
|
99556
99579
|
const candidates = await turboProviderCandidates(appRoot, answeredPackages);
|
|
99580
|
+
if (!candidates.length) return providers;
|
|
99581
|
+
const appRequire = (0, import_node_module14.createRequire)(import_node_path120.default.join(appRoot, "package.json"));
|
|
99582
|
+
const nativeManagers = reactNativeViewManagers(
|
|
99583
|
+
import_node_path120.default.dirname(appRequire.resolve("react-native/package.json"))
|
|
99584
|
+
);
|
|
99557
99585
|
const installed = projectRoot && installedXcodeWorkspace(projectRoot) ? installedNativeSources(
|
|
99558
99586
|
candidates.map(({ provider }) => provider),
|
|
99559
99587
|
projectRoot,
|
|
@@ -99564,7 +99592,7 @@ async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered
|
|
|
99564
99592
|
const sources = installed ? installed.get(provider.name) : { root: pod.root, files: fabric ? null : podGlobFiles(pod) };
|
|
99565
99593
|
if (!sources) continue;
|
|
99566
99594
|
const { root, files: files2 } = sources;
|
|
99567
|
-
if (fabric || files2 !== null && (registers(root, files2) || paperViewManagers(root, files2).length > 0)) {
|
|
99595
|
+
if (fabric || files2 !== null && (registers(root, files2, nativeManagers) || paperViewManagers(root, files2, nativeManagers).length > 0)) {
|
|
99568
99596
|
const nameFiles = files2 ?? podGlobFiles(pod);
|
|
99569
99597
|
if (answered.size > 0 && nameFiles && moduleNamesAnswered(root, nameFiles, answered))
|
|
99570
99598
|
continue;
|
|
@@ -99620,11 +99648,20 @@ async function collectTurboSources(options2) {
|
|
|
99620
99648
|
const reactNative = packageInfo2(options2.reactNativeRoot);
|
|
99621
99649
|
if (reactNative.name !== "react-native")
|
|
99622
99650
|
throw new Error(`${options2.reactNativeRoot} is not react-native`);
|
|
99623
|
-
const
|
|
99624
|
-
|
|
99625
|
-
|
|
99626
|
-
|
|
99627
|
-
|
|
99651
|
+
const nativeManagers = reactNativeViewManagers(reactNative.root);
|
|
99652
|
+
const paperWorkspace = process.env.RCT_NEW_ARCH_ENABLED === "0";
|
|
99653
|
+
const rawProviders = options2.providers.map((provider) => {
|
|
99654
|
+
const installed = options2.installedPods?.get(provider.name);
|
|
99655
|
+
const paper = paperWorkspace && installed !== void 0 && !/(?:^| )-D ?RCT_NEW_ARCH_ENABLED(?:=[^ ]+)?(?: |$)/.test(
|
|
99656
|
+
installed.preprocessorFlags.cxx.join(" ")
|
|
99657
|
+
);
|
|
99658
|
+
return {
|
|
99659
|
+
...provider,
|
|
99660
|
+
info: packageInfo2(provider.root),
|
|
99661
|
+
libraries: packageCodegenLibraries(provider.root),
|
|
99662
|
+
paper
|
|
99663
|
+
};
|
|
99664
|
+
}).sort((a, b) => a.info.name.localeCompare(b.info.name));
|
|
99628
99665
|
const installedHeaderPods = (options2.reactNativeProvider || options2.reactNativeCore ? [] : await installedTurboHeaderPods(options2.appRoot)).map(
|
|
99629
99666
|
(provider) => readPod(provider, options2.appRoot, options2.installedPods?.get(provider.name))
|
|
99630
99667
|
);
|
|
@@ -99650,7 +99687,7 @@ async function collectTurboSources(options2) {
|
|
|
99650
99687
|
const providers = [];
|
|
99651
99688
|
for (const provider of rawProviders) {
|
|
99652
99689
|
const componentLibraries = provider.libraries.filter((library) => library.components);
|
|
99653
|
-
if (componentLibraries.length === 0) {
|
|
99690
|
+
if (componentLibraries.length === 0 || provider.paper) {
|
|
99654
99691
|
providers.push({ ...provider, providerFabric: false });
|
|
99655
99692
|
continue;
|
|
99656
99693
|
}
|
|
@@ -99685,7 +99722,7 @@ async function collectTurboSources(options2) {
|
|
|
99685
99722
|
const text7 = import_node_fs118.default.readFileSync(import_node_path120.default.join(pod.root, file), "utf8");
|
|
99686
99723
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
99687
99724
|
});
|
|
99688
|
-
if (!registers(pod.root, filteredFiles) && paperViewManagers(pod.root, filteredFiles).length === 0)
|
|
99725
|
+
if (!registers(pod.root, filteredFiles, nativeManagers) && paperViewManagers(pod.root, filteredFiles, nativeManagers).length === 0)
|
|
99689
99726
|
continue;
|
|
99690
99727
|
}
|
|
99691
99728
|
providers.push({ ...provider, providerFabric });
|
|
@@ -99699,13 +99736,12 @@ async function collectTurboSources(options2) {
|
|
|
99699
99736
|
const targetPath = (name3) => `Sources/${name3}`;
|
|
99700
99737
|
const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
|
|
99701
99738
|
const folly = readFollyConfig(reactNative.root);
|
|
99702
|
-
const
|
|
99739
|
+
const baseDefines = [
|
|
99703
99740
|
options2.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
|
|
99704
|
-
"RCT_NEW_ARCH_ENABLED=1",
|
|
99705
|
-
"RCT_REMOVE_LEGACY_ARCH=1",
|
|
99706
99741
|
"RCT_REMOTE_PROFILE=0",
|
|
99707
99742
|
...folly.defines
|
|
99708
99743
|
];
|
|
99744
|
+
const defines = [...baseDefines, "RCT_NEW_ARCH_ENABLED=1", "RCT_REMOVE_LEGACY_ARCH=1"];
|
|
99709
99745
|
const target = (name3, dependencies) => ({
|
|
99710
99746
|
name: name3,
|
|
99711
99747
|
path: targetPath(name3),
|
|
@@ -100216,6 +100252,7 @@ async function collectTurboSources(options2) {
|
|
|
100216
100252
|
options2.appRoot,
|
|
100217
100253
|
options2.installedPods?.get(provider.name)
|
|
100218
100254
|
);
|
|
100255
|
+
if (provider.paper) providerTargetInput.cxxDefines = baseDefines;
|
|
100219
100256
|
if (pod.installed)
|
|
100220
100257
|
providerTargetInput.clangSettings = [
|
|
100221
100258
|
{ tool: "c", flags: pod.installed.preprocessorFlags.c },
|
|
@@ -100237,8 +100274,8 @@ async function collectTurboSources(options2) {
|
|
|
100237
100274
|
const text7 = import_node_fs118.default.readFileSync(import_node_path120.default.join(root, file), "utf8");
|
|
100238
100275
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
100239
100276
|
});
|
|
100240
|
-
const managers = viewManagers(root, files2);
|
|
100241
|
-
const paper = paperViewManagers(root, files2);
|
|
100277
|
+
const managers = viewManagers(root, files2, nativeManagers);
|
|
100278
|
+
const paper = paperViewManagers(root, files2, nativeManagers);
|
|
100242
100279
|
if (paper.length > 0) {
|
|
100243
100280
|
fabric = true;
|
|
100244
100281
|
paperClasses.push(...paper);
|
|
@@ -100499,7 +100536,7 @@ async function collectTurboSources(options2) {
|
|
|
100499
100536
|
].join("\n")
|
|
100500
100537
|
);
|
|
100501
100538
|
}
|
|
100502
|
-
if (loads.length === 0 && !registers(root, files2) && !provider.providerFabric && paper.length === 0)
|
|
100539
|
+
if (loads.length === 0 && !registers(root, files2, nativeManagers) && !provider.providerFabric && paper.length === 0)
|
|
100503
100540
|
throw new Error(`${label}: its pod sources register no TurboModule`);
|
|
100504
100541
|
objc ||= providerObjC;
|
|
100505
100542
|
const specs = provider.libraries.flatMap(({ spec }) => spec ?? []);
|
|
@@ -102171,7 +102208,7 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
102171
102208
|
// the event type and its payload with the target tag and timestamp
|
|
102172
102209
|
const auto fabricDispatchEvent = [](
|
|
102173
102210
|
jsi::Runtime &rt,
|
|
102174
|
-
react::EventTarget *target,
|
|
102211
|
+
const react::EventTarget *target,
|
|
102175
102212
|
const std::string &type,
|
|
102176
102213
|
react::ReactEventPriority,
|
|
102177
102214
|
const react::EventPayload &eventPayload,
|
|
@@ -102927,12 +102964,13 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
|
|
|
102927
102964
|
}
|
|
102928
102965
|
`;
|
|
102929
102966
|
}
|
|
102930
|
-
var import_node_crypto71, import_node_fs118, import_node_path120, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, DECLARED_MODULE_NAME, EXPORTED_MODULE, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_SHADOW_HANDLE_HOST, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
|
|
102967
|
+
var import_node_crypto71, import_node_fs118, import_node_module14, import_node_path120, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, DECLARED_MODULE_NAME, EXPORTED_MODULE, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_SHADOW_HANDLE_HOST, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
|
|
102931
102968
|
var init_turbo_source = __esm({
|
|
102932
102969
|
"src/turbo-source.ts"() {
|
|
102933
102970
|
"use strict";
|
|
102934
102971
|
import_node_crypto71 = require("node:crypto");
|
|
102935
102972
|
import_node_fs118 = __toESM(require("node:fs"), 1);
|
|
102973
|
+
import_node_module14 = require("node:module");
|
|
102936
102974
|
import_node_path120 = __toESM(require("node:path"), 1);
|
|
102937
102975
|
init_cocoapods_trunk();
|
|
102938
102976
|
init_installed_native_libraries();
|
|
@@ -103884,7 +103922,7 @@ function retainInstalledReactNativeDeclarations(snapshot, options2, skipped) {
|
|
|
103884
103922
|
const reactNative = [options2.appRoot, options2.projectRoot].map(
|
|
103885
103923
|
(root) => import_node_path121.default.dirname(
|
|
103886
103924
|
import_node_fs119.default.realpathSync(
|
|
103887
|
-
(0,
|
|
103925
|
+
(0, import_node_module15.createRequire)(import_node_path121.default.join(root, "package.json")).resolve(
|
|
103888
103926
|
"react-native/package.json"
|
|
103889
103927
|
)
|
|
103890
103928
|
)
|
|
@@ -104120,13 +104158,13 @@ async function compileTurboModule(options2) {
|
|
|
104120
104158
|
collection
|
|
104121
104159
|
};
|
|
104122
104160
|
}
|
|
104123
|
-
var import_node_crypto72, import_node_fs119,
|
|
104161
|
+
var import_node_crypto72, import_node_fs119, import_node_module15, import_node_os25, import_node_path121;
|
|
104124
104162
|
var init_turbo_compile = __esm({
|
|
104125
104163
|
"src/turbo-compile.ts"() {
|
|
104126
104164
|
"use strict";
|
|
104127
104165
|
import_node_crypto72 = require("node:crypto");
|
|
104128
104166
|
import_node_fs119 = __toESM(require("node:fs"), 1);
|
|
104129
|
-
|
|
104167
|
+
import_node_module15 = require("node:module");
|
|
104130
104168
|
import_node_os25 = __toESM(require("node:os"), 1);
|
|
104131
104169
|
import_node_path121 = __toESM(require("node:path"), 1);
|
|
104132
104170
|
init_native_app_identity_project();
|
|
@@ -104339,7 +104377,7 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
|
|
|
104339
104377
|
};
|
|
104340
104378
|
walk4("");
|
|
104341
104379
|
const codegenRoot = import_node_path123.default.dirname(
|
|
104342
|
-
(0,
|
|
104380
|
+
(0, import_node_module16.createRequire)(import_node_path123.default.join(reactNativeRoot, "package.json")).resolve(
|
|
104343
104381
|
"@react-native/codegen/package.json"
|
|
104344
104382
|
)
|
|
104345
104383
|
);
|
|
@@ -104440,13 +104478,13 @@ function linkReactNativeCore(collection, core, moduleRoot) {
|
|
|
104440
104478
|
}
|
|
104441
104479
|
}
|
|
104442
104480
|
}
|
|
104443
|
-
var import_node_crypto73, import_node_fs121,
|
|
104481
|
+
var import_node_crypto73, import_node_fs121, import_node_module16, import_node_path123, import_node_util16, recipe, strings3, building;
|
|
104444
104482
|
var init_react_native_core = __esm({
|
|
104445
104483
|
"src/react-native-core.ts"() {
|
|
104446
104484
|
"use strict";
|
|
104447
104485
|
import_node_crypto73 = require("node:crypto");
|
|
104448
104486
|
import_node_fs121 = __toESM(require("node:fs"), 1);
|
|
104449
|
-
|
|
104487
|
+
import_node_module16 = require("node:module");
|
|
104450
104488
|
import_node_path123 = __toESM(require("node:path"), 1);
|
|
104451
104489
|
import_node_util16 = require("node:util");
|
|
104452
104490
|
init_home_paths();
|
|
@@ -104459,7 +104497,7 @@ var init_react_native_core = __esm({
|
|
|
104459
104497
|
init_swift_distribution();
|
|
104460
104498
|
init_swift_package();
|
|
104461
104499
|
init_swiftContract();
|
|
104462
|
-
recipe = true ? "
|
|
104500
|
+
recipe = true ? "2e0302e75afcc89d7a2fcfb892b78f125d6f1ccf37b50bb950c86fd5db6db939" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
|
|
104463
104501
|
strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
104464
104502
|
building = /* @__PURE__ */ new Map();
|
|
104465
104503
|
}
|
|
@@ -105549,7 +105587,7 @@ var init_package_tree_digest = __esm({
|
|
|
105549
105587
|
|
|
105550
105588
|
// src/nitro-superset-inputs.ts
|
|
105551
105589
|
async function nitroSupersetInputs(options2) {
|
|
105552
|
-
const resolve4 = (0,
|
|
105590
|
+
const resolve4 = (0, import_node_module17.createRequire)((0, import_node_path128.join)(options2.appRoot, "package.json")).resolve;
|
|
105553
105591
|
const pin2 = swiftNativePin();
|
|
105554
105592
|
const inputs2 = {
|
|
105555
105593
|
configuration: options2.configuration,
|
|
@@ -105566,12 +105604,12 @@ async function nitroSupersetInputs(options2) {
|
|
|
105566
105604
|
inputs2[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
105567
105605
|
return inputs2;
|
|
105568
105606
|
}
|
|
105569
|
-
var import_node_fs126,
|
|
105607
|
+
var import_node_fs126, import_node_module17, import_node_path128, packageVersion;
|
|
105570
105608
|
var init_nitro_superset_inputs = __esm({
|
|
105571
105609
|
"src/nitro-superset-inputs.ts"() {
|
|
105572
105610
|
"use strict";
|
|
105573
105611
|
import_node_fs126 = require("node:fs");
|
|
105574
|
-
|
|
105612
|
+
import_node_module17 = require("node:module");
|
|
105575
105613
|
import_node_path128 = require("node:path");
|
|
105576
105614
|
init_package_tree_digest();
|
|
105577
105615
|
init_swift_native_pin();
|
|
@@ -105678,7 +105716,7 @@ var init_nitro_superset = __esm({
|
|
|
105678
105716
|
init_nitroContract();
|
|
105679
105717
|
init_swift_standin_digest();
|
|
105680
105718
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105681
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105719
|
+
NITRO_COMPILER_DIGEST = true ? "b70bb01dee774bd0e8d8b4b3b061b909c0f840af3a94a190380b0335fc86103e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105682
105720
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105683
105721
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105684
105722
|
published = /* @__PURE__ */ new Map();
|
|
@@ -106654,7 +106692,7 @@ var init_expo_eager_seam_contract = __esm({
|
|
|
106654
106692
|
|
|
106655
106693
|
// src/expo-native-compiler-digest.ts
|
|
106656
106694
|
function expoNativeCompilerDigestValue() {
|
|
106657
|
-
return true ? "
|
|
106695
|
+
return true ? "d76d30421251d0d1e56f2c1f4026bd5f5c4b2e4855373e1ba478212a08e030b0" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
106658
106696
|
}
|
|
106659
106697
|
var import_node_crypto80;
|
|
106660
106698
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -107213,13 +107251,13 @@ async function readExpoConfigAsync(projectRoot) {
|
|
|
107213
107251
|
import_node_fs130.default.rmSync(directory2, { recursive: true, force: true });
|
|
107214
107252
|
}
|
|
107215
107253
|
}
|
|
107216
|
-
var import_node_child_process63, import_node_fs130,
|
|
107254
|
+
var import_node_child_process63, import_node_fs130, import_node_module18, import_node_os27, import_node_path133, EXPO_CONFIG_SCRIPT, EXPO_CONFIG_TIMEOUT_MS, resultDirectory;
|
|
107217
107255
|
var init_native_firebase_config = __esm({
|
|
107218
107256
|
"src/native-firebase-config.ts"() {
|
|
107219
107257
|
"use strict";
|
|
107220
107258
|
import_node_child_process63 = require("node:child_process");
|
|
107221
107259
|
import_node_fs130 = __toESM(require("node:fs"), 1);
|
|
107222
|
-
|
|
107260
|
+
import_node_module18 = require("node:module");
|
|
107223
107261
|
import_node_os27 = __toESM(require("node:os"), 1);
|
|
107224
107262
|
import_node_path133 = __toESM(require("node:path"), 1);
|
|
107225
107263
|
init_is_record();
|
|
@@ -107272,7 +107310,7 @@ function packageRootOf(appRoot, file) {
|
|
|
107272
107310
|
async function expoNativeInputs(appRoot) {
|
|
107273
107311
|
appRoot = import_node_fs131.default.realpathSync(appRoot);
|
|
107274
107312
|
if (findXcodeProject(import_node_path134.default.join(appRoot, "ios"))) return null;
|
|
107275
|
-
const appRequire = (0,
|
|
107313
|
+
const appRequire = (0, import_node_module19.createRequire)(import_node_path134.default.join(appRoot, "package.json"));
|
|
107276
107314
|
let fingerprintEntry;
|
|
107277
107315
|
try {
|
|
107278
107316
|
fingerprintEntry = appRequire.resolve("@expo/fingerprint", {
|
|
@@ -107452,13 +107490,13 @@ async function prebuiltExpoSwiftResult(appRoot, entry, signal) {
|
|
|
107452
107490
|
await prebuiltAppTarget(appRoot, signal, "installed")
|
|
107453
107491
|
);
|
|
107454
107492
|
}
|
|
107455
|
-
var import_node_crypto82, import_node_fs131,
|
|
107493
|
+
var import_node_crypto82, import_node_fs131, import_node_module19, import_node_path134, import_node_util17, EXPO_NATIVE_ENTRY_NAME, IDENTITY_SOURCE_SKIPS, expoNativeEntryUrl, isStringRecord, isPlistArray, published2, lookups, answers;
|
|
107456
107494
|
var init_expo_native_prebuilt = __esm({
|
|
107457
107495
|
"src/expo-native-prebuilt.ts"() {
|
|
107458
107496
|
"use strict";
|
|
107459
107497
|
import_node_crypto82 = require("node:crypto");
|
|
107460
107498
|
import_node_fs131 = __toESM(require("node:fs"), 1);
|
|
107461
|
-
|
|
107499
|
+
import_node_module19 = require("node:module");
|
|
107462
107500
|
import_node_path134 = __toESM(require("node:path"), 1);
|
|
107463
107501
|
import_node_util17 = require("node:util");
|
|
107464
107502
|
init_answeredNativePackages();
|
|
@@ -107953,7 +107991,7 @@ function collectInstalledSwiftBridgeUnits(appRoot, units, installedNamespaces, s
|
|
|
107953
107991
|
const dependencies = manifest && typeof manifest === "object" ? Reflect.get(manifest, "dependencies") : null;
|
|
107954
107992
|
if (!dependencies || typeof dependencies !== "object" || Array.isArray(dependencies))
|
|
107955
107993
|
return;
|
|
107956
|
-
const appRequire = (0,
|
|
107994
|
+
const appRequire = (0, import_node_module20.createRequire)(manifestPath);
|
|
107957
107995
|
const namespacesSeen = new Set(units.map((unit2) => unit2.namespace));
|
|
107958
107996
|
for (const packageName of Object.keys(dependencies).sort()) {
|
|
107959
107997
|
signal?.throwIfAborted();
|
|
@@ -108049,12 +108087,12 @@ public func ${register}() -> RCTModuleHost.Registration {
|
|
|
108049
108087
|
}
|
|
108050
108088
|
}
|
|
108051
108089
|
}
|
|
108052
|
-
var import_node_fs132,
|
|
108090
|
+
var import_node_fs132, import_node_module20, import_node_path135, DIRECTIVE, swiftString, BRIDGE_MODULE_FILE_PREFIX;
|
|
108053
108091
|
var init_react_native_bridge_modules = __esm({
|
|
108054
108092
|
"src/react-native-bridge-modules.ts"() {
|
|
108055
108093
|
"use strict";
|
|
108056
108094
|
import_node_fs132 = __toESM(require("node:fs"), 1);
|
|
108057
|
-
|
|
108095
|
+
import_node_module20 = require("node:module");
|
|
108058
108096
|
import_node_path135 = __toESM(require("node:path"), 1);
|
|
108059
108097
|
init_answeredNativePackages();
|
|
108060
108098
|
init_podspec_sources();
|
|
@@ -108625,7 +108663,7 @@ function enrichInstalledUnits(units, installed, namespaceGroups, provided, modul
|
|
|
108625
108663
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
|
|
108626
108664
|
const reactNativeRoot = import_node_fs134.default.realpathSync(
|
|
108627
108665
|
import_node_path137.default.dirname(
|
|
108628
|
-
(0,
|
|
108666
|
+
(0, import_node_module21.createRequire)(import_node_path137.default.join(workspaceAppRoot, "package.json")).resolve(
|
|
108629
108667
|
"react-native/package.json"
|
|
108630
108668
|
)
|
|
108631
108669
|
)
|
|
@@ -109078,7 +109116,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
109078
109116
|
signal?.throwIfAborted();
|
|
109079
109117
|
appRoot = import_node_fs134.default.realpathSync(appRoot);
|
|
109080
109118
|
const appConfig = await loadRNXAppConfig(resolveAppProject(appRoot));
|
|
109081
|
-
const appRequire = (0,
|
|
109119
|
+
const appRequire = (0, import_node_module21.createRequire)(import_node_path137.default.join(appRoot, "package.json"));
|
|
109082
109120
|
let expoRoot;
|
|
109083
109121
|
try {
|
|
109084
109122
|
expoRoot = import_node_path137.default.dirname(appRequire.resolve("expo/package.json"));
|
|
@@ -110208,7 +110246,7 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
|
|
|
110208
110246
|
const reactProvider = units.some((unit2) => unit2.reactNativeProvider) ? await (async () => {
|
|
110209
110247
|
const projectRoot = options2.installedWorkspace ? import_node_path137.default.dirname(import_node_path137.default.dirname(options2.installedWorkspace)) : (await prepareExpoNativeWorkspace(root, signal, options2.iosTarget)).app;
|
|
110210
110248
|
const reactNativeRoot = import_node_path137.default.dirname(
|
|
110211
|
-
(0,
|
|
110249
|
+
(0, import_node_module21.createRequire)(import_node_path137.default.join(projectRoot, "package.json")).resolve(
|
|
110212
110250
|
"react-native/package.json"
|
|
110213
110251
|
)
|
|
110214
110252
|
);
|
|
@@ -110578,7 +110616,7 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
|
|
|
110578
110616
|
throw failure2;
|
|
110579
110617
|
}
|
|
110580
110618
|
}
|
|
110581
|
-
var import_node_async_hooks4, import_node_child_process65, import_node_crypto84, import_node_fs134,
|
|
110619
|
+
var import_node_async_hooks4, import_node_child_process65, import_node_crypto84, import_node_fs134, import_node_module21, import_node_os28, import_node_path137, import_node_url4, import_node_util18, run11, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
110582
110620
|
var init_expo_swift_host = __esm({
|
|
110583
110621
|
"src/expo-swift-host.ts"() {
|
|
110584
110622
|
"use strict";
|
|
@@ -110586,7 +110624,7 @@ var init_expo_swift_host = __esm({
|
|
|
110586
110624
|
import_node_child_process65 = require("node:child_process");
|
|
110587
110625
|
import_node_crypto84 = require("node:crypto");
|
|
110588
110626
|
import_node_fs134 = __toESM(require("node:fs"), 1);
|
|
110589
|
-
|
|
110627
|
+
import_node_module21 = require("node:module");
|
|
110590
110628
|
import_node_os28 = __toESM(require("node:os"), 1);
|
|
110591
110629
|
import_node_path137 = __toESM(require("node:path"), 1);
|
|
110592
110630
|
import_node_url4 = require("node:url");
|
|
@@ -110727,7 +110765,7 @@ async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget, prepareRe
|
|
|
110727
110765
|
const { artifact, collection } = await compileTurboModule({
|
|
110728
110766
|
appRoot,
|
|
110729
110767
|
reactNativeRoot: import_node_path138.default.dirname(
|
|
110730
|
-
(0,
|
|
110768
|
+
(0, import_node_module22.createRequire)(import_node_path138.default.join(projectRoot, "package.json")).resolve(
|
|
110731
110769
|
"react-native/package.json"
|
|
110732
110770
|
)
|
|
110733
110771
|
),
|
|
@@ -110766,11 +110804,11 @@ async function buildTurboBundle(appRoot, moduleRoot, prepareReactNativeCore) {
|
|
|
110766
110804
|
assets: compiled.artifact ? await compiledModuleAssets(compiled.artifact) : []
|
|
110767
110805
|
};
|
|
110768
110806
|
}
|
|
110769
|
-
var
|
|
110807
|
+
var import_node_module22, import_node_path138, TURBO_ROUTE, handleTurboRequest;
|
|
110770
110808
|
var init_turbo_bundle = __esm({
|
|
110771
110809
|
"src/turbo-bundle.ts"() {
|
|
110772
110810
|
"use strict";
|
|
110773
|
-
|
|
110811
|
+
import_node_module22 = require("node:module");
|
|
110774
110812
|
import_node_path138 = __toESM(require("node:path"), 1);
|
|
110775
110813
|
init_app_project();
|
|
110776
110814
|
init_app_config();
|
|
@@ -110820,7 +110858,7 @@ async function resolveExpoAndroidAutolinking(appRoot) {
|
|
|
110820
110858
|
async function resolveAndroidModules(appRoot) {
|
|
110821
110859
|
let autolinker;
|
|
110822
110860
|
try {
|
|
110823
|
-
autolinker = (0,
|
|
110861
|
+
autolinker = (0, import_node_module23.createRequire)(import_node_path139.default.join(appRoot, "package.json")).resolve(
|
|
110824
110862
|
"expo-modules-autolinking/package.json"
|
|
110825
110863
|
);
|
|
110826
110864
|
} catch (error) {
|
|
@@ -110874,12 +110912,12 @@ async function resolveReactNativeAndroidAutolinking(appRoot) {
|
|
|
110874
110912
|
}
|
|
110875
110913
|
return linked;
|
|
110876
110914
|
}
|
|
110877
|
-
var import_node_fs135,
|
|
110915
|
+
var import_node_fs135, import_node_module23, import_node_path139, resolving;
|
|
110878
110916
|
var init_android_autolinking = __esm({
|
|
110879
110917
|
"src/android-autolinking.ts"() {
|
|
110880
110918
|
"use strict";
|
|
110881
110919
|
import_node_fs135 = __toESM(require("node:fs"), 1);
|
|
110882
|
-
|
|
110920
|
+
import_node_module23 = require("node:module");
|
|
110883
110921
|
import_node_path139 = __toESM(require("node:path"), 1);
|
|
110884
110922
|
init_androidAutolinkingContract();
|
|
110885
110923
|
init_autolinker_process();
|
|
@@ -112632,7 +112670,7 @@ function loadKotlinSdk(moduleRoot, toolchain) {
|
|
|
112632
112670
|
}
|
|
112633
112671
|
function appKotlinLanguage(root) {
|
|
112634
112672
|
const reactNative = import_node_path149.default.dirname(
|
|
112635
|
-
(0,
|
|
112673
|
+
(0, import_node_module24.createRequire)(import_node_path149.default.join(root, "package.json")).resolve("react-native/package.json")
|
|
112636
112674
|
);
|
|
112637
112675
|
const versions = import_node_fs145.default.readFileSync(
|
|
112638
112676
|
import_node_path149.default.join(reactNative, "gradle", "libs.versions.toml"),
|
|
@@ -113783,14 +113821,14 @@ async function serveKotlinRequest(pathname, res, app) {
|
|
|
113783
113821
|
}
|
|
113784
113822
|
return true;
|
|
113785
113823
|
}
|
|
113786
|
-
var import_node_child_process70, import_node_crypto91, import_node_fs145,
|
|
113824
|
+
var import_node_child_process70, import_node_crypto91, import_node_fs145, import_node_module24, import_node_path149, import_node_util22, run15, KOTLIN_ARTIFACT_PREFIX, SKIP_DIRS, configureDeviceSource, BUILD_FORMAT, builds, toolScans, BRIDGE_PARAMETERS, BRIDGE_CASTS, BRIDGE_RETURNS, bridgeType, JAVA_CLASSES, argb, escapes2, literal2, CONTENT_TYPES;
|
|
113787
113825
|
var init_kotlin_host = __esm({
|
|
113788
113826
|
"src/kotlin-host.ts"() {
|
|
113789
113827
|
"use strict";
|
|
113790
113828
|
import_node_child_process70 = require("node:child_process");
|
|
113791
113829
|
import_node_crypto91 = require("node:crypto");
|
|
113792
113830
|
import_node_fs145 = __toESM(require("node:fs"), 1);
|
|
113793
|
-
|
|
113831
|
+
import_node_module24 = require("node:module");
|
|
113794
113832
|
import_node_path149 = __toESM(require("node:path"), 1);
|
|
113795
113833
|
import_node_util22 = require("node:util");
|
|
113796
113834
|
init_kotlinDiscoveryContract();
|
|
@@ -115735,8 +115773,8 @@ async function snapshotOneProductionBundle(projectRoot, entryFile, env = {}, { r
|
|
|
115735
115773
|
async function snapshotOneDevBundle(projectRoot, env = {}, { runtimeExecutable = process.execPath, platforms: platforms2 = ["ios", "android"] } = {}) {
|
|
115736
115774
|
const { spawn: spawn15 } = await import("node:child_process");
|
|
115737
115775
|
const { createServer: createServer2 } = await import("node:net");
|
|
115738
|
-
const { createRequire:
|
|
115739
|
-
const onePackage =
|
|
115776
|
+
const { createRequire: createRequire25 } = await import("node:module");
|
|
115777
|
+
const onePackage = createRequire25((0, import_node_path158.join)(projectRoot, "package.json")).resolve(
|
|
115740
115778
|
"one/package.json"
|
|
115741
115779
|
);
|
|
115742
115780
|
const oneBin = (0, import_node_path158.join)(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2676 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2676 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
4
4
|
describeInvalidScreenCapture,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
rnxRasterFrames,
|
|
11
11
|
rnxRasterRegionRequests,
|
|
12
12
|
selectRnxRasterNodeIds
|
|
13
|
-
} from "./esm-chunks/chunk-
|
|
14
|
-
import "./esm-chunks/chunk-
|
|
13
|
+
} from "./esm-chunks/chunk-ZK5FTTPS.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-25EMRCS4.mjs";
|
|
15
15
|
export {
|
|
16
16
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
17
17
|
describeInvalidScreenCapture,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2676 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2676 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
AGENT_IDENTITY_MAX_CHARS,
|
|
4
4
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
readRnxLaunchUrl,
|
|
32
32
|
rnxCloudCommandScope,
|
|
33
33
|
rnxCloudScopesAllowCommand
|
|
34
|
-
} from "./esm-chunks/chunk-
|
|
35
|
-
import "./esm-chunks/chunk-
|
|
34
|
+
} from "./esm-chunks/chunk-QGE6LXQT.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-25EMRCS4.mjs";
|
|
36
36
|
export {
|
|
37
37
|
AGENT_IDENTITY_MAX_CHARS,
|
|
38
38
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2676 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|