peachsim 0.1.2673 → 0.1.2675
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 +102 -71
- 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-336UC4RP.mjs → acorn-VEOPTKVF.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-OZCOKJ7M.mjs → chunk-35JRIGP7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5HOIZ6MQ.mjs → chunk-3Q3LIOE4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VF6MYLEZ.mjs → chunk-5F7IW22G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YTDJZT5E.mjs → chunk-5INXUSJ3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3MZPG7IR.mjs → chunk-ADOQU6SI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBGS4DZC.mjs → chunk-AJTT2VYL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KXE5HCNR.mjs → chunk-ATBIBLXB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D5FFCNAT.mjs → chunk-BJGGCQKA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XJLTGEVV.mjs → chunk-DBPA4NE7.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-R6ZDUB54.mjs → chunk-E663VVCN.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-KA7WVS2K.mjs → chunk-FOTVQGKC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-E4AUUK5I.mjs → chunk-FSMKZOTX.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-4GG2PPSU.mjs → chunk-GM75SEKY.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-3ZNNDHDI.mjs → chunk-I5Z73FXT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P2BIUM7R.mjs → chunk-IZB357DH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S4OMJTWN.mjs → chunk-K234VYDM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RF5IVPXG.mjs → chunk-LCSKGJ7G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FNBMSPNT.mjs → chunk-LFD67UJA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7H7ZOZM2.mjs → chunk-MED7BRBB.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-IU77JRSH.mjs → chunk-MJBRJSOV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WSESTR3O.mjs → chunk-NNH7MSKJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-L5O5XBPQ.mjs → chunk-SKQE5DWK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-C6REX7EL.mjs → chunk-YPE76EEE.mjs} +15 -15
- package/dist-lib/esm-chunks/{chunk-Y6ZJLACG.mjs → chunk-ZATDP3O2.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-NROJOPLZ.mjs → metro-layout-parser-RYUGORYR.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-2WRORWMA.mjs → swift-package-prebuilt-M55UCSKN.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-SKXQBJ4J.mjs → swift-sdk-app-module-L2HB3XBS.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-WFS54ICR.mjs → swift-sdk-image-AHIIWTZ6.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-P6FOBZHK.mjs → swift-sdk-image-producer-4S5ZPC2A.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +72 -46
- 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 +101 -70
- package/dist-lib/host/fetch-proxy-handler.cjs +11 -10
- 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 +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- 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 +64 -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 +114 -83
- 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 +2 -2
- package/dist-lib/swift-submit.mjs +7 -7
- 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/swift-submit.ts +2 -1
- package/src/turbo-fabric-app.ts +7 -1
- package/src/turbo-source.ts +68 -28
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (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));
|
|
@@ -74543,6 +74543,7 @@ function cleanWorkspaceGitEnv() {
|
|
|
74543
74543
|
}
|
|
74544
74544
|
function reactNativePodsEnvironment() {
|
|
74545
74545
|
return {
|
|
74546
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED,
|
|
74546
74547
|
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
|
|
74547
74548
|
RCT_USE_RN_DEP: process.env.RCT_USE_RN_DEP
|
|
74548
74549
|
};
|
|
@@ -74759,7 +74760,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
74759
74760
|
{ cwd: root }
|
|
74760
74761
|
);
|
|
74761
74762
|
const toolchain = JSON.stringify({
|
|
74762
|
-
preparation:
|
|
74763
|
+
preparation: 13,
|
|
74763
74764
|
appRelative,
|
|
74764
74765
|
xcode: xcodeInstallationIdentity(),
|
|
74765
74766
|
node: node.stdout.trim(),
|
|
@@ -75231,7 +75232,7 @@ async function prepareNativeProject(app, workspace, manifest, stage, execute, re
|
|
|
75231
75232
|
const sourcePodEnv = {
|
|
75232
75233
|
EXPO_USE_PRECOMPILED_MODULES: "0",
|
|
75233
75234
|
ONE_PREBUILT_IOS: "0",
|
|
75234
|
-
RCT_NEW_ARCH_ENABLED: "1"
|
|
75235
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED ?? "1"
|
|
75235
75236
|
};
|
|
75236
75237
|
const declares2 = (name3) => declaresNativeDependency(manifest, name3);
|
|
75237
75238
|
if (!import_node_fs80.default.existsSync(import_node_path81.default.join(app, "ios", "Podfile"))) {
|
|
@@ -76093,7 +76094,7 @@ var init_swift_submit = __esm({
|
|
|
76093
76094
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
76094
76095
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
76095
76096
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
76096
|
-
SWIFT_HOST_ABI =
|
|
76097
|
+
SWIFT_HOST_ABI = 115;
|
|
76097
76098
|
POLL_INTERVAL_MS = 1500;
|
|
76098
76099
|
}
|
|
76099
76100
|
});
|
|
@@ -98774,6 +98775,12 @@ namespace {
|
|
|
98774
98775
|
using AppNode = std::shared_ptr<const react::ShadowNode>;
|
|
98775
98776
|
using AppChildren = std::vector<AppNode>;
|
|
98776
98777
|
|
|
98778
|
+
void setFabricViewportSize(auto &layout, const react::Size &size) {
|
|
98779
|
+
if constexpr (requires { layout.viewportSize = size; }) {
|
|
98780
|
+
layout.viewportSize = size;
|
|
98781
|
+
}
|
|
98782
|
+
}
|
|
98783
|
+
|
|
98777
98784
|
class PeachAppShadowTree {
|
|
98778
98785
|
public:
|
|
98779
98786
|
PeachAppShadowTree(std::shared_ptr<react::UIManager> manager, const react::ContextContainer &context)
|
|
@@ -98791,7 +98798,7 @@ class PeachAppShadowTree {
|
|
|
98791
98798
|
constraints.layoutDirection = rtl ? react::LayoutDirection::RightToLeft : react::LayoutDirection::LeftToRight;
|
|
98792
98799
|
react::LayoutContext layout;
|
|
98793
98800
|
layout.pointScaleFactor = static_cast<react::Float>(scale);
|
|
98794
|
-
layout
|
|
98801
|
+
setFabricViewportSize(layout, constraints.maximumSize);
|
|
98795
98802
|
if (surface_ != 0 && surface_ != surface)
|
|
98796
98803
|
throw jsi::JSError(rt, "Fabric runtime is already bound to another app surface");
|
|
98797
98804
|
if (surface_ == 0) {
|
|
@@ -99468,7 +99475,7 @@ function transcribeLoad(text7, file) {
|
|
|
99468
99475
|
throw refuse4("+load sends Objective-C messages");
|
|
99469
99476
|
return { includes, usings, body };
|
|
99470
99477
|
}
|
|
99471
|
-
function viewManagers(root, files2) {
|
|
99478
|
+
function viewManagers(root, files2, inherited) {
|
|
99472
99479
|
const classes = /* @__PURE__ */ new Map();
|
|
99473
99480
|
for (const file of files2) {
|
|
99474
99481
|
if (!HEADER5.test(file) && !OBJC2.test(file)) continue;
|
|
@@ -99480,7 +99487,7 @@ function viewManagers(root, files2) {
|
|
|
99480
99487
|
))
|
|
99481
99488
|
classes.set(name3, parent);
|
|
99482
99489
|
}
|
|
99483
|
-
const managers =
|
|
99490
|
+
const managers = new Set(inherited ?? ["RCTViewManager"]);
|
|
99484
99491
|
for (let remaining = classes.size; remaining > 0; remaining--) {
|
|
99485
99492
|
let changed = false;
|
|
99486
99493
|
for (const [name3, parent] of classes) {
|
|
@@ -99493,9 +99500,15 @@ function viewManagers(root, files2) {
|
|
|
99493
99500
|
}
|
|
99494
99501
|
return managers;
|
|
99495
99502
|
}
|
|
99496
|
-
function
|
|
99503
|
+
function reactNativeViewManagers(root) {
|
|
99504
|
+
const files2 = /* @__PURE__ */ new Set();
|
|
99505
|
+
for (const { from, to } of REACT_NATIVE_HEADER_DIRS)
|
|
99506
|
+
if (to === "React") walkFiles2(root, from, files2);
|
|
99507
|
+
return viewManagers(root, files2);
|
|
99508
|
+
}
|
|
99509
|
+
function paperViewManagers(root, files2, inherited) {
|
|
99497
99510
|
const sources = [...files2];
|
|
99498
|
-
const managers = viewManagers(root, sources);
|
|
99511
|
+
const managers = viewManagers(root, sources, inherited);
|
|
99499
99512
|
const exported = /* @__PURE__ */ new Set();
|
|
99500
99513
|
for (const file of sources) {
|
|
99501
99514
|
if (!OBJC2.test(file)) continue;
|
|
@@ -99512,15 +99525,15 @@ function paperViewManagers(root, files2) {
|
|
|
99512
99525
|
}
|
|
99513
99526
|
return [...exported].sort();
|
|
99514
99527
|
}
|
|
99515
|
-
function registers(root, files2,
|
|
99528
|
+
function registers(root, files2, inherited) {
|
|
99516
99529
|
const sources = [...files2];
|
|
99517
|
-
const managers =
|
|
99530
|
+
const managers = viewManagers(root, sources, inherited);
|
|
99518
99531
|
for (const file of sources) {
|
|
99519
99532
|
if (!UNIT.test(file) && !OBJC2.test(file)) continue;
|
|
99520
99533
|
const text7 = import_node_fs118.default.readFileSync(import_node_path120.default.join(root, file), "utf8");
|
|
99521
99534
|
if (text7.includes(REGISTRATION)) return true;
|
|
99522
99535
|
const stripped2 = stripComments(text7);
|
|
99523
|
-
if (
|
|
99536
|
+
if (OBJC2.test(file) && !CODEGEN_OBJC.test(text7) && (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2) && ![...stripped2.matchAll(/@implementation\s+(\w+)/g)].some(
|
|
99524
99537
|
([, name3]) => managers.has(name3)
|
|
99525
99538
|
)))
|
|
99526
99539
|
return true;
|
|
@@ -99548,6 +99561,11 @@ async function turboProviderCandidates(appRoot, answered = peachAnsweredNativePa
|
|
|
99548
99561
|
async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered = /* @__PURE__ */ new Set(), answeredPackages) {
|
|
99549
99562
|
const providers = [];
|
|
99550
99563
|
const candidates = await turboProviderCandidates(appRoot, answeredPackages);
|
|
99564
|
+
if (!candidates.length) return providers;
|
|
99565
|
+
const appRequire = (0, import_node_module14.createRequire)(import_node_path120.default.join(appRoot, "package.json"));
|
|
99566
|
+
const nativeManagers = reactNativeViewManagers(
|
|
99567
|
+
import_node_path120.default.dirname(appRequire.resolve("react-native/package.json"))
|
|
99568
|
+
);
|
|
99551
99569
|
const installed = projectRoot && installedXcodeWorkspace(projectRoot) ? installedNativeSources(
|
|
99552
99570
|
candidates.map(({ provider }) => provider),
|
|
99553
99571
|
projectRoot,
|
|
@@ -99558,7 +99576,7 @@ async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered
|
|
|
99558
99576
|
const sources = installed ? installed.get(provider.name) : { root: pod.root, files: fabric ? null : podGlobFiles(pod) };
|
|
99559
99577
|
if (!sources) continue;
|
|
99560
99578
|
const { root, files: files2 } = sources;
|
|
99561
|
-
if (fabric || files2 !== null && (registers(root, files2) || paperViewManagers(root, files2).length > 0)) {
|
|
99579
|
+
if (fabric || files2 !== null && (registers(root, files2, nativeManagers) || paperViewManagers(root, files2, nativeManagers).length > 0)) {
|
|
99562
99580
|
const nameFiles = files2 ?? podGlobFiles(pod);
|
|
99563
99581
|
if (answered.size > 0 && nameFiles && moduleNamesAnswered(root, nameFiles, answered))
|
|
99564
99582
|
continue;
|
|
@@ -99614,11 +99632,20 @@ async function collectTurboSources(options2) {
|
|
|
99614
99632
|
const reactNative = packageInfo2(options2.reactNativeRoot);
|
|
99615
99633
|
if (reactNative.name !== "react-native")
|
|
99616
99634
|
throw new Error(`${options2.reactNativeRoot} is not react-native`);
|
|
99617
|
-
const
|
|
99618
|
-
|
|
99619
|
-
|
|
99620
|
-
|
|
99621
|
-
|
|
99635
|
+
const nativeManagers = reactNativeViewManagers(reactNative.root);
|
|
99636
|
+
const paperWorkspace = process.env.RCT_NEW_ARCH_ENABLED === "0";
|
|
99637
|
+
const rawProviders = options2.providers.map((provider) => {
|
|
99638
|
+
const installed = options2.installedPods?.get(provider.name);
|
|
99639
|
+
const paper = paperWorkspace && installed !== void 0 && !/(?:^| )-D ?RCT_NEW_ARCH_ENABLED(?:=[^ ]+)?(?: |$)/.test(
|
|
99640
|
+
installed.preprocessorFlags.cxx.join(" ")
|
|
99641
|
+
);
|
|
99642
|
+
return {
|
|
99643
|
+
...provider,
|
|
99644
|
+
info: packageInfo2(provider.root),
|
|
99645
|
+
libraries: packageCodegenLibraries(provider.root),
|
|
99646
|
+
paper
|
|
99647
|
+
};
|
|
99648
|
+
}).sort((a, b) => a.info.name.localeCompare(b.info.name));
|
|
99622
99649
|
const installedHeaderPods = (options2.reactNativeProvider || options2.reactNativeCore ? [] : await installedTurboHeaderPods(options2.appRoot)).map(
|
|
99623
99650
|
(provider) => readPod(provider, options2.appRoot, options2.installedPods?.get(provider.name))
|
|
99624
99651
|
);
|
|
@@ -99644,7 +99671,7 @@ async function collectTurboSources(options2) {
|
|
|
99644
99671
|
const providers = [];
|
|
99645
99672
|
for (const provider of rawProviders) {
|
|
99646
99673
|
const componentLibraries = provider.libraries.filter((library) => library.components);
|
|
99647
|
-
if (componentLibraries.length === 0) {
|
|
99674
|
+
if (componentLibraries.length === 0 || provider.paper) {
|
|
99648
99675
|
providers.push({ ...provider, providerFabric: false });
|
|
99649
99676
|
continue;
|
|
99650
99677
|
}
|
|
@@ -99679,7 +99706,7 @@ async function collectTurboSources(options2) {
|
|
|
99679
99706
|
const text7 = import_node_fs118.default.readFileSync(import_node_path120.default.join(pod.root, file), "utf8");
|
|
99680
99707
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
99681
99708
|
});
|
|
99682
|
-
if (!registers(pod.root, filteredFiles) && paperViewManagers(pod.root, filteredFiles).length === 0)
|
|
99709
|
+
if (!registers(pod.root, filteredFiles, nativeManagers) && paperViewManagers(pod.root, filteredFiles, nativeManagers).length === 0)
|
|
99683
99710
|
continue;
|
|
99684
99711
|
}
|
|
99685
99712
|
providers.push({ ...provider, providerFabric });
|
|
@@ -99693,13 +99720,12 @@ async function collectTurboSources(options2) {
|
|
|
99693
99720
|
const targetPath = (name3) => `Sources/${name3}`;
|
|
99694
99721
|
const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
|
|
99695
99722
|
const folly = readFollyConfig(reactNative.root);
|
|
99696
|
-
const
|
|
99723
|
+
const baseDefines = [
|
|
99697
99724
|
options2.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
|
|
99698
|
-
"RCT_NEW_ARCH_ENABLED=1",
|
|
99699
|
-
"RCT_REMOVE_LEGACY_ARCH=1",
|
|
99700
99725
|
"RCT_REMOTE_PROFILE=0",
|
|
99701
99726
|
...folly.defines
|
|
99702
99727
|
];
|
|
99728
|
+
const defines = [...baseDefines, "RCT_NEW_ARCH_ENABLED=1", "RCT_REMOVE_LEGACY_ARCH=1"];
|
|
99703
99729
|
const target = (name3, dependencies) => ({
|
|
99704
99730
|
name: name3,
|
|
99705
99731
|
path: targetPath(name3),
|
|
@@ -100210,6 +100236,7 @@ async function collectTurboSources(options2) {
|
|
|
100210
100236
|
options2.appRoot,
|
|
100211
100237
|
options2.installedPods?.get(provider.name)
|
|
100212
100238
|
);
|
|
100239
|
+
if (provider.paper) providerTargetInput.cxxDefines = baseDefines;
|
|
100213
100240
|
if (pod.installed)
|
|
100214
100241
|
providerTargetInput.clangSettings = [
|
|
100215
100242
|
{ tool: "c", flags: pod.installed.preprocessorFlags.c },
|
|
@@ -100231,8 +100258,8 @@ async function collectTurboSources(options2) {
|
|
|
100231
100258
|
const text7 = import_node_fs118.default.readFileSync(import_node_path120.default.join(root, file), "utf8");
|
|
100232
100259
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
100233
100260
|
});
|
|
100234
|
-
const managers = viewManagers(root, files2);
|
|
100235
|
-
const paper = paperViewManagers(root, files2);
|
|
100261
|
+
const managers = viewManagers(root, files2, nativeManagers);
|
|
100262
|
+
const paper = paperViewManagers(root, files2, nativeManagers);
|
|
100236
100263
|
if (paper.length > 0) {
|
|
100237
100264
|
fabric = true;
|
|
100238
100265
|
paperClasses.push(...paper);
|
|
@@ -100493,7 +100520,7 @@ async function collectTurboSources(options2) {
|
|
|
100493
100520
|
].join("\n")
|
|
100494
100521
|
);
|
|
100495
100522
|
}
|
|
100496
|
-
if (loads.length === 0 && !registers(root, files2) && !provider.providerFabric && paper.length === 0)
|
|
100523
|
+
if (loads.length === 0 && !registers(root, files2, nativeManagers) && !provider.providerFabric && paper.length === 0)
|
|
100497
100524
|
throw new Error(`${label}: its pod sources register no TurboModule`);
|
|
100498
100525
|
objc ||= providerObjC;
|
|
100499
100526
|
const specs = provider.libraries.flatMap(({ spec }) => spec ?? []);
|
|
@@ -102163,13 +102190,13 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
102163
102190
|
|
|
102164
102191
|
// UIManager::dispatchEventToJS: the instance handle the engine gave the view,
|
|
102165
102192
|
// the event type and its payload with the target tag and timestamp
|
|
102166
|
-
|
|
102193
|
+
const auto fabricDispatchEvent = [](
|
|
102167
102194
|
jsi::Runtime &rt,
|
|
102168
|
-
react::EventTarget *target,
|
|
102195
|
+
const react::EventTarget *target,
|
|
102169
102196
|
const std::string &type,
|
|
102170
102197
|
react::ReactEventPriority,
|
|
102171
102198
|
const react::EventPayload &eventPayload,
|
|
102172
|
-
|
|
102199
|
+
auto... timestamps) {
|
|
102173
102200
|
auto payload = eventPayload.asJSIValue(rt);
|
|
102174
102201
|
if (payload.isNull() || !fabricEventHandler || !target) return;
|
|
102175
102202
|
auto handle = target->getInstanceHandle(rt);
|
|
@@ -102177,11 +102204,14 @@ void fabricDispatchEvent(
|
|
|
102177
102204
|
if (payload.isObject()) {
|
|
102178
102205
|
auto object = payload.asObject(rt);
|
|
102179
102206
|
object.setProperty(rt, "target", target->getTag());
|
|
102180
|
-
if (
|
|
102181
|
-
object.
|
|
102207
|
+
if constexpr (sizeof...(timestamps) != 0) {
|
|
102208
|
+
if (!object.hasProperty(rt, "timeStamp")) {
|
|
102209
|
+
(object.setProperty(rt, "timeStamp", timestamps.toDOMHighResTimeStamp()), ...);
|
|
102210
|
+
}
|
|
102211
|
+
}
|
|
102182
102212
|
}
|
|
102183
102213
|
fabricEventHandler->call(rt, std::move(handle), jsi::String::createFromUtf8(rt, type), std::move(payload));
|
|
102184
|
-
}
|
|
102214
|
+
};
|
|
102185
102215
|
|
|
102186
102216
|
// UIManager::updateState with the engine's tree in place of the shadow tree:
|
|
102187
102217
|
// the view's next state, then the update its commit would mount
|
|
@@ -102918,12 +102948,13 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
|
|
|
102918
102948
|
}
|
|
102919
102949
|
`;
|
|
102920
102950
|
}
|
|
102921
|
-
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;
|
|
102951
|
+
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;
|
|
102922
102952
|
var init_turbo_source = __esm({
|
|
102923
102953
|
"src/turbo-source.ts"() {
|
|
102924
102954
|
"use strict";
|
|
102925
102955
|
import_node_crypto71 = require("node:crypto");
|
|
102926
102956
|
import_node_fs118 = __toESM(require("node:fs"), 1);
|
|
102957
|
+
import_node_module14 = require("node:module");
|
|
102927
102958
|
import_node_path120 = __toESM(require("node:path"), 1);
|
|
102928
102959
|
init_cocoapods_trunk();
|
|
102929
102960
|
init_installed_native_libraries();
|
|
@@ -103875,7 +103906,7 @@ function retainInstalledReactNativeDeclarations(snapshot, options2, skipped) {
|
|
|
103875
103906
|
const reactNative = [options2.appRoot, options2.projectRoot].map(
|
|
103876
103907
|
(root) => import_node_path121.default.dirname(
|
|
103877
103908
|
import_node_fs119.default.realpathSync(
|
|
103878
|
-
(0,
|
|
103909
|
+
(0, import_node_module15.createRequire)(import_node_path121.default.join(root, "package.json")).resolve(
|
|
103879
103910
|
"react-native/package.json"
|
|
103880
103911
|
)
|
|
103881
103912
|
)
|
|
@@ -104111,13 +104142,13 @@ async function compileTurboModule(options2) {
|
|
|
104111
104142
|
collection
|
|
104112
104143
|
};
|
|
104113
104144
|
}
|
|
104114
|
-
var import_node_crypto72, import_node_fs119,
|
|
104145
|
+
var import_node_crypto72, import_node_fs119, import_node_module15, import_node_os25, import_node_path121;
|
|
104115
104146
|
var init_turbo_compile = __esm({
|
|
104116
104147
|
"src/turbo-compile.ts"() {
|
|
104117
104148
|
"use strict";
|
|
104118
104149
|
import_node_crypto72 = require("node:crypto");
|
|
104119
104150
|
import_node_fs119 = __toESM(require("node:fs"), 1);
|
|
104120
|
-
|
|
104151
|
+
import_node_module15 = require("node:module");
|
|
104121
104152
|
import_node_os25 = __toESM(require("node:os"), 1);
|
|
104122
104153
|
import_node_path121 = __toESM(require("node:path"), 1);
|
|
104123
104154
|
init_native_app_identity_project();
|
|
@@ -104330,7 +104361,7 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
|
|
|
104330
104361
|
};
|
|
104331
104362
|
walk4("");
|
|
104332
104363
|
const codegenRoot = import_node_path123.default.dirname(
|
|
104333
|
-
(0,
|
|
104364
|
+
(0, import_node_module16.createRequire)(import_node_path123.default.join(reactNativeRoot, "package.json")).resolve(
|
|
104334
104365
|
"@react-native/codegen/package.json"
|
|
104335
104366
|
)
|
|
104336
104367
|
);
|
|
@@ -104431,13 +104462,13 @@ function linkReactNativeCore(collection, core, moduleRoot) {
|
|
|
104431
104462
|
}
|
|
104432
104463
|
}
|
|
104433
104464
|
}
|
|
104434
|
-
var import_node_crypto73, import_node_fs121,
|
|
104465
|
+
var import_node_crypto73, import_node_fs121, import_node_module16, import_node_path123, import_node_util16, recipe, strings3, building;
|
|
104435
104466
|
var init_react_native_core = __esm({
|
|
104436
104467
|
"src/react-native-core.ts"() {
|
|
104437
104468
|
"use strict";
|
|
104438
104469
|
import_node_crypto73 = require("node:crypto");
|
|
104439
104470
|
import_node_fs121 = __toESM(require("node:fs"), 1);
|
|
104440
|
-
|
|
104471
|
+
import_node_module16 = require("node:module");
|
|
104441
104472
|
import_node_path123 = __toESM(require("node:path"), 1);
|
|
104442
104473
|
import_node_util16 = require("node:util");
|
|
104443
104474
|
init_home_paths();
|
|
@@ -104450,7 +104481,7 @@ var init_react_native_core = __esm({
|
|
|
104450
104481
|
init_swift_distribution();
|
|
104451
104482
|
init_swift_package();
|
|
104452
104483
|
init_swiftContract();
|
|
104453
|
-
recipe = true ? "
|
|
104484
|
+
recipe = true ? "2e0302e75afcc89d7a2fcfb892b78f125d6f1ccf37b50bb950c86fd5db6db939" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
|
|
104454
104485
|
strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
104455
104486
|
building = /* @__PURE__ */ new Map();
|
|
104456
104487
|
}
|
|
@@ -105540,7 +105571,7 @@ var init_package_tree_digest = __esm({
|
|
|
105540
105571
|
|
|
105541
105572
|
// src/nitro-superset-inputs.ts
|
|
105542
105573
|
async function nitroSupersetInputs(options2) {
|
|
105543
|
-
const resolve4 = (0,
|
|
105574
|
+
const resolve4 = (0, import_node_module17.createRequire)((0, import_node_path128.join)(options2.appRoot, "package.json")).resolve;
|
|
105544
105575
|
const pin2 = swiftNativePin();
|
|
105545
105576
|
const inputs2 = {
|
|
105546
105577
|
configuration: options2.configuration,
|
|
@@ -105557,12 +105588,12 @@ async function nitroSupersetInputs(options2) {
|
|
|
105557
105588
|
inputs2[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
105558
105589
|
return inputs2;
|
|
105559
105590
|
}
|
|
105560
|
-
var import_node_fs126,
|
|
105591
|
+
var import_node_fs126, import_node_module17, import_node_path128, packageVersion;
|
|
105561
105592
|
var init_nitro_superset_inputs = __esm({
|
|
105562
105593
|
"src/nitro-superset-inputs.ts"() {
|
|
105563
105594
|
"use strict";
|
|
105564
105595
|
import_node_fs126 = require("node:fs");
|
|
105565
|
-
|
|
105596
|
+
import_node_module17 = require("node:module");
|
|
105566
105597
|
import_node_path128 = require("node:path");
|
|
105567
105598
|
init_package_tree_digest();
|
|
105568
105599
|
init_swift_native_pin();
|
|
@@ -105669,7 +105700,7 @@ var init_nitro_superset = __esm({
|
|
|
105669
105700
|
init_nitroContract();
|
|
105670
105701
|
init_swift_standin_digest();
|
|
105671
105702
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105672
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105703
|
+
NITRO_COMPILER_DIGEST = true ? "b70bb01dee774bd0e8d8b4b3b061b909c0f840af3a94a190380b0335fc86103e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105673
105704
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105674
105705
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105675
105706
|
published = /* @__PURE__ */ new Map();
|
|
@@ -106645,7 +106676,7 @@ var init_expo_eager_seam_contract = __esm({
|
|
|
106645
106676
|
|
|
106646
106677
|
// src/expo-native-compiler-digest.ts
|
|
106647
106678
|
function expoNativeCompilerDigestValue() {
|
|
106648
|
-
return true ? "
|
|
106679
|
+
return true ? "56584752089834fe4f58ff1c0a7ed110a3ef77646613a5606d98e02de2d3418d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
106649
106680
|
}
|
|
106650
106681
|
var import_node_crypto80;
|
|
106651
106682
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -107204,13 +107235,13 @@ async function readExpoConfigAsync(projectRoot) {
|
|
|
107204
107235
|
import_node_fs130.default.rmSync(directory2, { recursive: true, force: true });
|
|
107205
107236
|
}
|
|
107206
107237
|
}
|
|
107207
|
-
var import_node_child_process63, import_node_fs130,
|
|
107238
|
+
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;
|
|
107208
107239
|
var init_native_firebase_config = __esm({
|
|
107209
107240
|
"src/native-firebase-config.ts"() {
|
|
107210
107241
|
"use strict";
|
|
107211
107242
|
import_node_child_process63 = require("node:child_process");
|
|
107212
107243
|
import_node_fs130 = __toESM(require("node:fs"), 1);
|
|
107213
|
-
|
|
107244
|
+
import_node_module18 = require("node:module");
|
|
107214
107245
|
import_node_os27 = __toESM(require("node:os"), 1);
|
|
107215
107246
|
import_node_path133 = __toESM(require("node:path"), 1);
|
|
107216
107247
|
init_is_record();
|
|
@@ -107263,7 +107294,7 @@ function packageRootOf(appRoot, file) {
|
|
|
107263
107294
|
async function expoNativeInputs(appRoot) {
|
|
107264
107295
|
appRoot = import_node_fs131.default.realpathSync(appRoot);
|
|
107265
107296
|
if (findXcodeProject(import_node_path134.default.join(appRoot, "ios"))) return null;
|
|
107266
|
-
const appRequire = (0,
|
|
107297
|
+
const appRequire = (0, import_node_module19.createRequire)(import_node_path134.default.join(appRoot, "package.json"));
|
|
107267
107298
|
let fingerprintEntry;
|
|
107268
107299
|
try {
|
|
107269
107300
|
fingerprintEntry = appRequire.resolve("@expo/fingerprint", {
|
|
@@ -107443,13 +107474,13 @@ async function prebuiltExpoSwiftResult(appRoot, entry, signal) {
|
|
|
107443
107474
|
await prebuiltAppTarget(appRoot, signal, "installed")
|
|
107444
107475
|
);
|
|
107445
107476
|
}
|
|
107446
|
-
var import_node_crypto82, import_node_fs131,
|
|
107477
|
+
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;
|
|
107447
107478
|
var init_expo_native_prebuilt = __esm({
|
|
107448
107479
|
"src/expo-native-prebuilt.ts"() {
|
|
107449
107480
|
"use strict";
|
|
107450
107481
|
import_node_crypto82 = require("node:crypto");
|
|
107451
107482
|
import_node_fs131 = __toESM(require("node:fs"), 1);
|
|
107452
|
-
|
|
107483
|
+
import_node_module19 = require("node:module");
|
|
107453
107484
|
import_node_path134 = __toESM(require("node:path"), 1);
|
|
107454
107485
|
import_node_util17 = require("node:util");
|
|
107455
107486
|
init_answeredNativePackages();
|
|
@@ -107944,7 +107975,7 @@ function collectInstalledSwiftBridgeUnits(appRoot, units, installedNamespaces, s
|
|
|
107944
107975
|
const dependencies = manifest && typeof manifest === "object" ? Reflect.get(manifest, "dependencies") : null;
|
|
107945
107976
|
if (!dependencies || typeof dependencies !== "object" || Array.isArray(dependencies))
|
|
107946
107977
|
return;
|
|
107947
|
-
const appRequire = (0,
|
|
107978
|
+
const appRequire = (0, import_node_module20.createRequire)(manifestPath);
|
|
107948
107979
|
const namespacesSeen = new Set(units.map((unit2) => unit2.namespace));
|
|
107949
107980
|
for (const packageName of Object.keys(dependencies).sort()) {
|
|
107950
107981
|
signal?.throwIfAborted();
|
|
@@ -108040,12 +108071,12 @@ public func ${register}() -> RCTModuleHost.Registration {
|
|
|
108040
108071
|
}
|
|
108041
108072
|
}
|
|
108042
108073
|
}
|
|
108043
|
-
var import_node_fs132,
|
|
108074
|
+
var import_node_fs132, import_node_module20, import_node_path135, DIRECTIVE, swiftString, BRIDGE_MODULE_FILE_PREFIX;
|
|
108044
108075
|
var init_react_native_bridge_modules = __esm({
|
|
108045
108076
|
"src/react-native-bridge-modules.ts"() {
|
|
108046
108077
|
"use strict";
|
|
108047
108078
|
import_node_fs132 = __toESM(require("node:fs"), 1);
|
|
108048
|
-
|
|
108079
|
+
import_node_module20 = require("node:module");
|
|
108049
108080
|
import_node_path135 = __toESM(require("node:path"), 1);
|
|
108050
108081
|
init_answeredNativePackages();
|
|
108051
108082
|
init_podspec_sources();
|
|
@@ -108616,7 +108647,7 @@ function enrichInstalledUnits(units, installed, namespaceGroups, provided, modul
|
|
|
108616
108647
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
|
|
108617
108648
|
const reactNativeRoot = import_node_fs134.default.realpathSync(
|
|
108618
108649
|
import_node_path137.default.dirname(
|
|
108619
|
-
(0,
|
|
108650
|
+
(0, import_node_module21.createRequire)(import_node_path137.default.join(workspaceAppRoot, "package.json")).resolve(
|
|
108620
108651
|
"react-native/package.json"
|
|
108621
108652
|
)
|
|
108622
108653
|
)
|
|
@@ -109069,7 +109100,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
109069
109100
|
signal?.throwIfAborted();
|
|
109070
109101
|
appRoot = import_node_fs134.default.realpathSync(appRoot);
|
|
109071
109102
|
const appConfig = await loadRNXAppConfig(resolveAppProject(appRoot));
|
|
109072
|
-
const appRequire = (0,
|
|
109103
|
+
const appRequire = (0, import_node_module21.createRequire)(import_node_path137.default.join(appRoot, "package.json"));
|
|
109073
109104
|
let expoRoot;
|
|
109074
109105
|
try {
|
|
109075
109106
|
expoRoot = import_node_path137.default.dirname(appRequire.resolve("expo/package.json"));
|
|
@@ -110199,7 +110230,7 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
|
|
|
110199
110230
|
const reactProvider = units.some((unit2) => unit2.reactNativeProvider) ? await (async () => {
|
|
110200
110231
|
const projectRoot = options2.installedWorkspace ? import_node_path137.default.dirname(import_node_path137.default.dirname(options2.installedWorkspace)) : (await prepareExpoNativeWorkspace(root, signal, options2.iosTarget)).app;
|
|
110201
110232
|
const reactNativeRoot = import_node_path137.default.dirname(
|
|
110202
|
-
(0,
|
|
110233
|
+
(0, import_node_module21.createRequire)(import_node_path137.default.join(projectRoot, "package.json")).resolve(
|
|
110203
110234
|
"react-native/package.json"
|
|
110204
110235
|
)
|
|
110205
110236
|
);
|
|
@@ -110569,7 +110600,7 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
|
|
|
110569
110600
|
throw failure2;
|
|
110570
110601
|
}
|
|
110571
110602
|
}
|
|
110572
|
-
var import_node_async_hooks4, import_node_child_process65, import_node_crypto84, import_node_fs134,
|
|
110603
|
+
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;
|
|
110573
110604
|
var init_expo_swift_host = __esm({
|
|
110574
110605
|
"src/expo-swift-host.ts"() {
|
|
110575
110606
|
"use strict";
|
|
@@ -110577,7 +110608,7 @@ var init_expo_swift_host = __esm({
|
|
|
110577
110608
|
import_node_child_process65 = require("node:child_process");
|
|
110578
110609
|
import_node_crypto84 = require("node:crypto");
|
|
110579
110610
|
import_node_fs134 = __toESM(require("node:fs"), 1);
|
|
110580
|
-
|
|
110611
|
+
import_node_module21 = require("node:module");
|
|
110581
110612
|
import_node_os28 = __toESM(require("node:os"), 1);
|
|
110582
110613
|
import_node_path137 = __toESM(require("node:path"), 1);
|
|
110583
110614
|
import_node_url4 = require("node:url");
|
|
@@ -110718,7 +110749,7 @@ async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget, prepareRe
|
|
|
110718
110749
|
const { artifact, collection } = await compileTurboModule({
|
|
110719
110750
|
appRoot,
|
|
110720
110751
|
reactNativeRoot: import_node_path138.default.dirname(
|
|
110721
|
-
(0,
|
|
110752
|
+
(0, import_node_module22.createRequire)(import_node_path138.default.join(projectRoot, "package.json")).resolve(
|
|
110722
110753
|
"react-native/package.json"
|
|
110723
110754
|
)
|
|
110724
110755
|
),
|
|
@@ -110757,11 +110788,11 @@ async function buildTurboBundle(appRoot, moduleRoot, prepareReactNativeCore) {
|
|
|
110757
110788
|
assets: compiled.artifact ? await compiledModuleAssets(compiled.artifact) : []
|
|
110758
110789
|
};
|
|
110759
110790
|
}
|
|
110760
|
-
var
|
|
110791
|
+
var import_node_module22, import_node_path138, TURBO_ROUTE, handleTurboRequest;
|
|
110761
110792
|
var init_turbo_bundle = __esm({
|
|
110762
110793
|
"src/turbo-bundle.ts"() {
|
|
110763
110794
|
"use strict";
|
|
110764
|
-
|
|
110795
|
+
import_node_module22 = require("node:module");
|
|
110765
110796
|
import_node_path138 = __toESM(require("node:path"), 1);
|
|
110766
110797
|
init_app_project();
|
|
110767
110798
|
init_app_config();
|
|
@@ -110811,7 +110842,7 @@ async function resolveExpoAndroidAutolinking(appRoot) {
|
|
|
110811
110842
|
async function resolveAndroidModules(appRoot) {
|
|
110812
110843
|
let autolinker;
|
|
110813
110844
|
try {
|
|
110814
|
-
autolinker = (0,
|
|
110845
|
+
autolinker = (0, import_node_module23.createRequire)(import_node_path139.default.join(appRoot, "package.json")).resolve(
|
|
110815
110846
|
"expo-modules-autolinking/package.json"
|
|
110816
110847
|
);
|
|
110817
110848
|
} catch (error) {
|
|
@@ -110865,12 +110896,12 @@ async function resolveReactNativeAndroidAutolinking(appRoot) {
|
|
|
110865
110896
|
}
|
|
110866
110897
|
return linked;
|
|
110867
110898
|
}
|
|
110868
|
-
var import_node_fs135,
|
|
110899
|
+
var import_node_fs135, import_node_module23, import_node_path139, resolving;
|
|
110869
110900
|
var init_android_autolinking = __esm({
|
|
110870
110901
|
"src/android-autolinking.ts"() {
|
|
110871
110902
|
"use strict";
|
|
110872
110903
|
import_node_fs135 = __toESM(require("node:fs"), 1);
|
|
110873
|
-
|
|
110904
|
+
import_node_module23 = require("node:module");
|
|
110874
110905
|
import_node_path139 = __toESM(require("node:path"), 1);
|
|
110875
110906
|
init_androidAutolinkingContract();
|
|
110876
110907
|
init_autolinker_process();
|
|
@@ -112623,7 +112654,7 @@ function loadKotlinSdk(moduleRoot, toolchain) {
|
|
|
112623
112654
|
}
|
|
112624
112655
|
function appKotlinLanguage(root) {
|
|
112625
112656
|
const reactNative = import_node_path149.default.dirname(
|
|
112626
|
-
(0,
|
|
112657
|
+
(0, import_node_module24.createRequire)(import_node_path149.default.join(root, "package.json")).resolve("react-native/package.json")
|
|
112627
112658
|
);
|
|
112628
112659
|
const versions = import_node_fs145.default.readFileSync(
|
|
112629
112660
|
import_node_path149.default.join(reactNative, "gradle", "libs.versions.toml"),
|
|
@@ -113774,14 +113805,14 @@ async function serveKotlinRequest(pathname, res, app) {
|
|
|
113774
113805
|
}
|
|
113775
113806
|
return true;
|
|
113776
113807
|
}
|
|
113777
|
-
var import_node_child_process70, import_node_crypto91, import_node_fs145,
|
|
113808
|
+
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;
|
|
113778
113809
|
var init_kotlin_host = __esm({
|
|
113779
113810
|
"src/kotlin-host.ts"() {
|
|
113780
113811
|
"use strict";
|
|
113781
113812
|
import_node_child_process70 = require("node:child_process");
|
|
113782
113813
|
import_node_crypto91 = require("node:crypto");
|
|
113783
113814
|
import_node_fs145 = __toESM(require("node:fs"), 1);
|
|
113784
|
-
|
|
113815
|
+
import_node_module24 = require("node:module");
|
|
113785
113816
|
import_node_path149 = __toESM(require("node:path"), 1);
|
|
113786
113817
|
import_node_util22 = require("node:util");
|
|
113787
113818
|
init_kotlinDiscoveryContract();
|
|
@@ -115726,8 +115757,8 @@ async function snapshotOneProductionBundle(projectRoot, entryFile, env = {}, { r
|
|
|
115726
115757
|
async function snapshotOneDevBundle(projectRoot, env = {}, { runtimeExecutable = process.execPath, platforms: platforms2 = ["ios", "android"] } = {}) {
|
|
115727
115758
|
const { spawn: spawn15 } = await import("node:child_process");
|
|
115728
115759
|
const { createServer: createServer2 } = await import("node:net");
|
|
115729
|
-
const { createRequire:
|
|
115730
|
-
const onePackage =
|
|
115760
|
+
const { createRequire: createRequire25 } = await import("node:module");
|
|
115761
|
+
const onePackage = createRequire25((0, import_node_path158.join)(projectRoot, "package.json")).resolve(
|
|
115731
115762
|
"one/package.json"
|
|
115732
115763
|
);
|
|
115733
115764
|
const oneBin = (0, import_node_path158.join)(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (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.2675 | (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-K234VYDM.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-BJGGCQKA.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.2675 | (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.2675 | (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-NNH7MSKJ.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-BJGGCQKA.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.2675 | (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,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-BJGGCQKA.mjs";
|
|
3
3
|
|
|
4
4
|
// src/cloud-test-args.ts
|
|
5
5
|
var CLOUD_TEST_ARGS_MAX_COUNT = 32;
|