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
package/dist-lib/skills.cjs
CHANGED
|
@@ -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;
|
|
@@ -30555,7 +30555,7 @@ var init_swift_submit = __esm({
|
|
|
30555
30555
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
30556
30556
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
30557
30557
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
30558
|
-
SWIFT_HOST_ABI =
|
|
30558
|
+
SWIFT_HOST_ABI = 115;
|
|
30559
30559
|
POLL_INTERVAL_MS = 1500;
|
|
30560
30560
|
}
|
|
30561
30561
|
});
|
|
@@ -36017,7 +36017,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
36017
36017
|
|
|
36018
36018
|
// src/swift-compiler-digest.ts
|
|
36019
36019
|
function swiftArchiveCompilerDigestValue() {
|
|
36020
|
-
return true ? "
|
|
36020
|
+
return true ? "91982cf5fdcc3e5053d8a39c2f18a9928d7cfbd48744cc2d27664c46f06c2321" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
36021
36021
|
}
|
|
36022
36022
|
var import_node_crypto11, import_node_fs27, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
36023
36023
|
var init_swift_compiler_digest = __esm({
|
|
@@ -36168,7 +36168,7 @@ var init_swift_standin_digest = __esm({
|
|
|
36168
36168
|
|
|
36169
36169
|
// src/expo-native-compiler-digest.ts
|
|
36170
36170
|
function expoNativeCompilerDigestValue() {
|
|
36171
|
-
return true ? "
|
|
36171
|
+
return true ? "56584752089834fe4f58ff1c0a7ed110a3ef77646613a5606d98e02de2d3418d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
36172
36172
|
}
|
|
36173
36173
|
var import_node_crypto13;
|
|
36174
36174
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -84456,7 +84456,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
84456
84456
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
84457
84457
|
MULTI_MANIFEST_VERSION = 76;
|
|
84458
84458
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
84459
|
-
compilerSourceDigest = true ? "
|
|
84459
|
+
compilerSourceDigest = true ? "9514fd3df63e23aff60b29d712c1253d5b24a143e35f726b153690421d62974e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
84460
84460
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
84461
84461
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
84462
84462
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -103630,6 +103630,7 @@ function cleanWorkspaceGitEnv() {
|
|
|
103630
103630
|
}
|
|
103631
103631
|
function reactNativePodsEnvironment() {
|
|
103632
103632
|
return {
|
|
103633
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED,
|
|
103633
103634
|
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
|
|
103634
103635
|
RCT_USE_RN_DEP: process.env.RCT_USE_RN_DEP
|
|
103635
103636
|
};
|
|
@@ -103846,7 +103847,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
103846
103847
|
{ cwd: root }
|
|
103847
103848
|
);
|
|
103848
103849
|
const toolchain = JSON.stringify({
|
|
103849
|
-
preparation:
|
|
103850
|
+
preparation: 13,
|
|
103850
103851
|
appRelative,
|
|
103851
103852
|
xcode: xcodeInstallationIdentity(),
|
|
103852
103853
|
node: node.stdout.trim(),
|
|
@@ -104318,7 +104319,7 @@ async function prepareNativeProject(app, workspace, manifest, stage, execute, re
|
|
|
104318
104319
|
const sourcePodEnv = {
|
|
104319
104320
|
EXPO_USE_PRECOMPILED_MODULES: "0",
|
|
104320
104321
|
ONE_PREBUILT_IOS: "0",
|
|
104321
|
-
RCT_NEW_ARCH_ENABLED: "1"
|
|
104322
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED ?? "1"
|
|
104322
104323
|
};
|
|
104323
104324
|
const declares2 = (name3) => declaresNativeDependency(manifest, name3);
|
|
104324
104325
|
if (!import_node_fs103.default.existsSync(import_node_path105.default.join(app, "ios", "Podfile"))) {
|
|
@@ -128555,6 +128556,12 @@ namespace {
|
|
|
128555
128556
|
using AppNode = std::shared_ptr<const react::ShadowNode>;
|
|
128556
128557
|
using AppChildren = std::vector<AppNode>;
|
|
128557
128558
|
|
|
128559
|
+
void setFabricViewportSize(auto &layout, const react::Size &size) {
|
|
128560
|
+
if constexpr (requires { layout.viewportSize = size; }) {
|
|
128561
|
+
layout.viewportSize = size;
|
|
128562
|
+
}
|
|
128563
|
+
}
|
|
128564
|
+
|
|
128558
128565
|
class PeachAppShadowTree {
|
|
128559
128566
|
public:
|
|
128560
128567
|
PeachAppShadowTree(std::shared_ptr<react::UIManager> manager, const react::ContextContainer &context)
|
|
@@ -128572,7 +128579,7 @@ class PeachAppShadowTree {
|
|
|
128572
128579
|
constraints.layoutDirection = rtl ? react::LayoutDirection::RightToLeft : react::LayoutDirection::LeftToRight;
|
|
128573
128580
|
react::LayoutContext layout;
|
|
128574
128581
|
layout.pointScaleFactor = static_cast<react::Float>(scale);
|
|
128575
|
-
layout
|
|
128582
|
+
setFabricViewportSize(layout, constraints.maximumSize);
|
|
128576
128583
|
if (surface_ != 0 && surface_ != surface)
|
|
128577
128584
|
throw jsi::JSError(rt, "Fabric runtime is already bound to another app surface");
|
|
128578
128585
|
if (surface_ == 0) {
|
|
@@ -129249,7 +129256,7 @@ function transcribeLoad(text7, file) {
|
|
|
129249
129256
|
throw refuse4("+load sends Objective-C messages");
|
|
129250
129257
|
return { includes, usings, body };
|
|
129251
129258
|
}
|
|
129252
|
-
function viewManagers(root, files2) {
|
|
129259
|
+
function viewManagers(root, files2, inherited) {
|
|
129253
129260
|
const classes = /* @__PURE__ */ new Map();
|
|
129254
129261
|
for (const file of files2) {
|
|
129255
129262
|
if (!HEADER5.test(file) && !OBJC2.test(file)) continue;
|
|
@@ -129261,7 +129268,7 @@ function viewManagers(root, files2) {
|
|
|
129261
129268
|
))
|
|
129262
129269
|
classes.set(name3, parent);
|
|
129263
129270
|
}
|
|
129264
|
-
const managers =
|
|
129271
|
+
const managers = new Set(inherited ?? ["RCTViewManager"]);
|
|
129265
129272
|
for (let remaining = classes.size; remaining > 0; remaining--) {
|
|
129266
129273
|
let changed2 = false;
|
|
129267
129274
|
for (const [name3, parent] of classes) {
|
|
@@ -129274,9 +129281,15 @@ function viewManagers(root, files2) {
|
|
|
129274
129281
|
}
|
|
129275
129282
|
return managers;
|
|
129276
129283
|
}
|
|
129277
|
-
function
|
|
129284
|
+
function reactNativeViewManagers(root) {
|
|
129285
|
+
const files2 = /* @__PURE__ */ new Set();
|
|
129286
|
+
for (const { from, to } of REACT_NATIVE_HEADER_DIRS)
|
|
129287
|
+
if (to === "React") walkFiles2(root, from, files2);
|
|
129288
|
+
return viewManagers(root, files2);
|
|
129289
|
+
}
|
|
129290
|
+
function paperViewManagers(root, files2, inherited) {
|
|
129278
129291
|
const sources = [...files2];
|
|
129279
|
-
const managers = viewManagers(root, sources);
|
|
129292
|
+
const managers = viewManagers(root, sources, inherited);
|
|
129280
129293
|
const exported2 = /* @__PURE__ */ new Set();
|
|
129281
129294
|
for (const file of sources) {
|
|
129282
129295
|
if (!OBJC2.test(file)) continue;
|
|
@@ -129293,15 +129306,15 @@ function paperViewManagers(root, files2) {
|
|
|
129293
129306
|
}
|
|
129294
129307
|
return [...exported2].sort();
|
|
129295
129308
|
}
|
|
129296
|
-
function registers(root, files2,
|
|
129309
|
+
function registers(root, files2, inherited) {
|
|
129297
129310
|
const sources = [...files2];
|
|
129298
|
-
const managers =
|
|
129311
|
+
const managers = viewManagers(root, sources, inherited);
|
|
129299
129312
|
for (const file of sources) {
|
|
129300
129313
|
if (!UNIT.test(file) && !OBJC2.test(file)) continue;
|
|
129301
129314
|
const text7 = import_node_fs139.default.readFileSync(import_node_path141.default.join(root, file), "utf8");
|
|
129302
129315
|
if (text7.includes(REGISTRATION)) return true;
|
|
129303
129316
|
const stripped2 = stripComments3(text7);
|
|
129304
|
-
if (
|
|
129317
|
+
if (OBJC2.test(file) && !CODEGEN_OBJC.test(text7) && (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2) && ![...stripped2.matchAll(/@implementation\s+(\w+)/g)].some(
|
|
129305
129318
|
([, name3]) => managers.has(name3)
|
|
129306
129319
|
)))
|
|
129307
129320
|
return true;
|
|
@@ -129329,6 +129342,11 @@ async function turboProviderCandidates(appRoot, answered = peachAnsweredNativePa
|
|
|
129329
129342
|
async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered = /* @__PURE__ */ new Set(), answeredPackages) {
|
|
129330
129343
|
const providers = [];
|
|
129331
129344
|
const candidates = await turboProviderCandidates(appRoot, answeredPackages);
|
|
129345
|
+
if (!candidates.length) return providers;
|
|
129346
|
+
const appRequire = (0, import_node_module18.createRequire)(import_node_path141.default.join(appRoot, "package.json"));
|
|
129347
|
+
const nativeManagers = reactNativeViewManagers(
|
|
129348
|
+
import_node_path141.default.dirname(appRequire.resolve("react-native/package.json"))
|
|
129349
|
+
);
|
|
129332
129350
|
const installed2 = projectRoot && installedXcodeWorkspace(projectRoot) ? installedNativeSources(
|
|
129333
129351
|
candidates.map(({ provider }) => provider),
|
|
129334
129352
|
projectRoot,
|
|
@@ -129339,7 +129357,7 @@ async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered
|
|
|
129339
129357
|
const sources = installed2 ? installed2.get(provider.name) : { root: pod.root, files: fabric ? null : podGlobFiles(pod) };
|
|
129340
129358
|
if (!sources) continue;
|
|
129341
129359
|
const { root, files: files2 } = sources;
|
|
129342
|
-
if (fabric || files2 !== null && (registers(root, files2) || paperViewManagers(root, files2).length > 0)) {
|
|
129360
|
+
if (fabric || files2 !== null && (registers(root, files2, nativeManagers) || paperViewManagers(root, files2, nativeManagers).length > 0)) {
|
|
129343
129361
|
const nameFiles = files2 ?? podGlobFiles(pod);
|
|
129344
129362
|
if (answered.size > 0 && nameFiles && moduleNamesAnswered(root, nameFiles, answered))
|
|
129345
129363
|
continue;
|
|
@@ -129395,11 +129413,20 @@ async function collectTurboSources(options2) {
|
|
|
129395
129413
|
const reactNative = packageInfo2(options2.reactNativeRoot);
|
|
129396
129414
|
if (reactNative.name !== "react-native")
|
|
129397
129415
|
throw new Error(`${options2.reactNativeRoot} is not react-native`);
|
|
129398
|
-
const
|
|
129399
|
-
|
|
129400
|
-
|
|
129401
|
-
|
|
129402
|
-
|
|
129416
|
+
const nativeManagers = reactNativeViewManagers(reactNative.root);
|
|
129417
|
+
const paperWorkspace = process.env.RCT_NEW_ARCH_ENABLED === "0";
|
|
129418
|
+
const rawProviders = options2.providers.map((provider) => {
|
|
129419
|
+
const installed2 = options2.installedPods?.get(provider.name);
|
|
129420
|
+
const paper = paperWorkspace && installed2 !== void 0 && !/(?:^| )-D ?RCT_NEW_ARCH_ENABLED(?:=[^ ]+)?(?: |$)/.test(
|
|
129421
|
+
installed2.preprocessorFlags.cxx.join(" ")
|
|
129422
|
+
);
|
|
129423
|
+
return {
|
|
129424
|
+
...provider,
|
|
129425
|
+
info: packageInfo2(provider.root),
|
|
129426
|
+
libraries: packageCodegenLibraries(provider.root),
|
|
129427
|
+
paper
|
|
129428
|
+
};
|
|
129429
|
+
}).sort((a, b) => a.info.name.localeCompare(b.info.name));
|
|
129403
129430
|
const installedHeaderPods = (options2.reactNativeProvider || options2.reactNativeCore ? [] : await installedTurboHeaderPods(options2.appRoot)).map(
|
|
129404
129431
|
(provider) => readPod(provider, options2.appRoot, options2.installedPods?.get(provider.name))
|
|
129405
129432
|
);
|
|
@@ -129425,7 +129452,7 @@ async function collectTurboSources(options2) {
|
|
|
129425
129452
|
const providers = [];
|
|
129426
129453
|
for (const provider of rawProviders) {
|
|
129427
129454
|
const componentLibraries = provider.libraries.filter((library) => library.components);
|
|
129428
|
-
if (componentLibraries.length === 0) {
|
|
129455
|
+
if (componentLibraries.length === 0 || provider.paper) {
|
|
129429
129456
|
providers.push({ ...provider, providerFabric: false });
|
|
129430
129457
|
continue;
|
|
129431
129458
|
}
|
|
@@ -129460,7 +129487,7 @@ async function collectTurboSources(options2) {
|
|
|
129460
129487
|
const text7 = import_node_fs139.default.readFileSync(import_node_path141.default.join(pod.root, file), "utf8");
|
|
129461
129488
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
129462
129489
|
});
|
|
129463
|
-
if (!registers(pod.root, filteredFiles) && paperViewManagers(pod.root, filteredFiles).length === 0)
|
|
129490
|
+
if (!registers(pod.root, filteredFiles, nativeManagers) && paperViewManagers(pod.root, filteredFiles, nativeManagers).length === 0)
|
|
129464
129491
|
continue;
|
|
129465
129492
|
}
|
|
129466
129493
|
providers.push({ ...provider, providerFabric });
|
|
@@ -129474,13 +129501,12 @@ async function collectTurboSources(options2) {
|
|
|
129474
129501
|
const targetPath = (name3) => `Sources/${name3}`;
|
|
129475
129502
|
const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
|
|
129476
129503
|
const folly = readFollyConfig(reactNative.root);
|
|
129477
|
-
const
|
|
129504
|
+
const baseDefines = [
|
|
129478
129505
|
options2.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
|
|
129479
|
-
"RCT_NEW_ARCH_ENABLED=1",
|
|
129480
|
-
"RCT_REMOVE_LEGACY_ARCH=1",
|
|
129481
129506
|
"RCT_REMOTE_PROFILE=0",
|
|
129482
129507
|
...folly.defines
|
|
129483
129508
|
];
|
|
129509
|
+
const defines = [...baseDefines, "RCT_NEW_ARCH_ENABLED=1", "RCT_REMOVE_LEGACY_ARCH=1"];
|
|
129484
129510
|
const target = (name3, dependencies) => ({
|
|
129485
129511
|
name: name3,
|
|
129486
129512
|
path: targetPath(name3),
|
|
@@ -129991,6 +130017,7 @@ async function collectTurboSources(options2) {
|
|
|
129991
130017
|
options2.appRoot,
|
|
129992
130018
|
options2.installedPods?.get(provider.name)
|
|
129993
130019
|
);
|
|
130020
|
+
if (provider.paper) providerTargetInput.cxxDefines = baseDefines;
|
|
129994
130021
|
if (pod.installed)
|
|
129995
130022
|
providerTargetInput.clangSettings = [
|
|
129996
130023
|
{ tool: "c", flags: pod.installed.preprocessorFlags.c },
|
|
@@ -130012,8 +130039,8 @@ async function collectTurboSources(options2) {
|
|
|
130012
130039
|
const text7 = import_node_fs139.default.readFileSync(import_node_path141.default.join(root, file), "utf8");
|
|
130013
130040
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
130014
130041
|
});
|
|
130015
|
-
const managers = viewManagers(root, files2);
|
|
130016
|
-
const paper = paperViewManagers(root, files2);
|
|
130042
|
+
const managers = viewManagers(root, files2, nativeManagers);
|
|
130043
|
+
const paper = paperViewManagers(root, files2, nativeManagers);
|
|
130017
130044
|
if (paper.length > 0) {
|
|
130018
130045
|
fabric = true;
|
|
130019
130046
|
paperClasses.push(...paper);
|
|
@@ -130274,7 +130301,7 @@ async function collectTurboSources(options2) {
|
|
|
130274
130301
|
].join("\n")
|
|
130275
130302
|
);
|
|
130276
130303
|
}
|
|
130277
|
-
if (loads.length === 0 && !registers(root, files2) && !provider.providerFabric && paper.length === 0)
|
|
130304
|
+
if (loads.length === 0 && !registers(root, files2, nativeManagers) && !provider.providerFabric && paper.length === 0)
|
|
130278
130305
|
throw new Error(`${label}: its pod sources register no TurboModule`);
|
|
130279
130306
|
objc ||= providerObjC;
|
|
130280
130307
|
const specs = provider.libraries.flatMap(({ spec }) => spec ?? []);
|
|
@@ -131944,13 +131971,13 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
131944
131971
|
|
|
131945
131972
|
// UIManager::dispatchEventToJS: the instance handle the engine gave the view,
|
|
131946
131973
|
// the event type and its payload with the target tag and timestamp
|
|
131947
|
-
|
|
131974
|
+
const auto fabricDispatchEvent = [](
|
|
131948
131975
|
jsi::Runtime &rt,
|
|
131949
|
-
react::EventTarget *target,
|
|
131976
|
+
const react::EventTarget *target,
|
|
131950
131977
|
const std::string &type,
|
|
131951
131978
|
react::ReactEventPriority,
|
|
131952
131979
|
const react::EventPayload &eventPayload,
|
|
131953
|
-
|
|
131980
|
+
auto... timestamps) {
|
|
131954
131981
|
auto payload = eventPayload.asJSIValue(rt);
|
|
131955
131982
|
if (payload.isNull() || !fabricEventHandler || !target) return;
|
|
131956
131983
|
auto handle = target->getInstanceHandle(rt);
|
|
@@ -131958,11 +131985,14 @@ void fabricDispatchEvent(
|
|
|
131958
131985
|
if (payload.isObject()) {
|
|
131959
131986
|
auto object = payload.asObject(rt);
|
|
131960
131987
|
object.setProperty(rt, "target", target->getTag());
|
|
131961
|
-
if (
|
|
131962
|
-
object.
|
|
131988
|
+
if constexpr (sizeof...(timestamps) != 0) {
|
|
131989
|
+
if (!object.hasProperty(rt, "timeStamp")) {
|
|
131990
|
+
(object.setProperty(rt, "timeStamp", timestamps.toDOMHighResTimeStamp()), ...);
|
|
131991
|
+
}
|
|
131992
|
+
}
|
|
131963
131993
|
}
|
|
131964
131994
|
fabricEventHandler->call(rt, std::move(handle), jsi::String::createFromUtf8(rt, type), std::move(payload));
|
|
131965
|
-
}
|
|
131995
|
+
};
|
|
131966
131996
|
|
|
131967
131997
|
// UIManager::updateState with the engine's tree in place of the shadow tree:
|
|
131968
131998
|
// the view's next state, then the update its commit would mount
|
|
@@ -132699,12 +132729,13 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
|
|
|
132699
132729
|
}
|
|
132700
132730
|
`;
|
|
132701
132731
|
}
|
|
132702
|
-
var import_node_crypto84, import_node_fs139, import_node_path141, 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;
|
|
132732
|
+
var import_node_crypto84, import_node_fs139, import_node_module18, import_node_path141, 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;
|
|
132703
132733
|
var init_turbo_source = __esm({
|
|
132704
132734
|
"src/turbo-source.ts"() {
|
|
132705
132735
|
"use strict";
|
|
132706
132736
|
import_node_crypto84 = require("node:crypto");
|
|
132707
132737
|
import_node_fs139 = __toESM(require("node:fs"), 1);
|
|
132738
|
+
import_node_module18 = require("node:module");
|
|
132708
132739
|
import_node_path141 = __toESM(require("node:path"), 1);
|
|
132709
132740
|
init_cocoapods_trunk();
|
|
132710
132741
|
init_installed_native_libraries();
|
|
@@ -133656,7 +133687,7 @@ function retainInstalledReactNativeDeclarations(snapshot, options2, skipped) {
|
|
|
133656
133687
|
const reactNative = [options2.appRoot, options2.projectRoot].map(
|
|
133657
133688
|
(root) => import_node_path142.default.dirname(
|
|
133658
133689
|
import_node_fs140.default.realpathSync(
|
|
133659
|
-
(0,
|
|
133690
|
+
(0, import_node_module19.createRequire)(import_node_path142.default.join(root, "package.json")).resolve(
|
|
133660
133691
|
"react-native/package.json"
|
|
133661
133692
|
)
|
|
133662
133693
|
)
|
|
@@ -133892,13 +133923,13 @@ async function compileTurboModule(options2) {
|
|
|
133892
133923
|
collection
|
|
133893
133924
|
};
|
|
133894
133925
|
}
|
|
133895
|
-
var import_node_crypto85, import_node_fs140,
|
|
133926
|
+
var import_node_crypto85, import_node_fs140, import_node_module19, import_node_os30, import_node_path142;
|
|
133896
133927
|
var init_turbo_compile = __esm({
|
|
133897
133928
|
"src/turbo-compile.ts"() {
|
|
133898
133929
|
"use strict";
|
|
133899
133930
|
import_node_crypto85 = require("node:crypto");
|
|
133900
133931
|
import_node_fs140 = __toESM(require("node:fs"), 1);
|
|
133901
|
-
|
|
133932
|
+
import_node_module19 = require("node:module");
|
|
133902
133933
|
import_node_os30 = __toESM(require("node:os"), 1);
|
|
133903
133934
|
import_node_path142 = __toESM(require("node:path"), 1);
|
|
133904
133935
|
init_native_app_identity_project();
|
|
@@ -134111,7 +134142,7 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
|
|
|
134111
134142
|
};
|
|
134112
134143
|
walk4("");
|
|
134113
134144
|
const codegenRoot = import_node_path144.default.dirname(
|
|
134114
|
-
(0,
|
|
134145
|
+
(0, import_node_module20.createRequire)(import_node_path144.default.join(reactNativeRoot, "package.json")).resolve(
|
|
134115
134146
|
"@react-native/codegen/package.json"
|
|
134116
134147
|
)
|
|
134117
134148
|
);
|
|
@@ -134212,13 +134243,13 @@ function linkReactNativeCore(collection, core, moduleRoot) {
|
|
|
134212
134243
|
}
|
|
134213
134244
|
}
|
|
134214
134245
|
}
|
|
134215
|
-
var import_node_crypto86, import_node_fs142,
|
|
134246
|
+
var import_node_crypto86, import_node_fs142, import_node_module20, import_node_path144, import_node_util18, recipe, strings4, building;
|
|
134216
134247
|
var init_react_native_core = __esm({
|
|
134217
134248
|
"src/react-native-core.ts"() {
|
|
134218
134249
|
"use strict";
|
|
134219
134250
|
import_node_crypto86 = require("node:crypto");
|
|
134220
134251
|
import_node_fs142 = __toESM(require("node:fs"), 1);
|
|
134221
|
-
|
|
134252
|
+
import_node_module20 = require("node:module");
|
|
134222
134253
|
import_node_path144 = __toESM(require("node:path"), 1);
|
|
134223
134254
|
import_node_util18 = require("node:util");
|
|
134224
134255
|
init_home_paths();
|
|
@@ -134231,7 +134262,7 @@ var init_react_native_core = __esm({
|
|
|
134231
134262
|
init_swift_distribution();
|
|
134232
134263
|
init_swift_package();
|
|
134233
134264
|
init_swiftContract();
|
|
134234
|
-
recipe = true ? "
|
|
134265
|
+
recipe = true ? "2e0302e75afcc89d7a2fcfb892b78f125d6f1ccf37b50bb950c86fd5db6db939" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
134235
134266
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
134236
134267
|
building = /* @__PURE__ */ new Map();
|
|
134237
134268
|
}
|
|
@@ -134806,7 +134837,7 @@ function enrichInstalledUnits(units, installed2, namespaceGroups, provided, modu
|
|
|
134806
134837
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
|
|
134807
134838
|
const reactNativeRoot = import_node_fs144.default.realpathSync(
|
|
134808
134839
|
import_node_path146.default.dirname(
|
|
134809
|
-
(0,
|
|
134840
|
+
(0, import_node_module21.createRequire)(import_node_path146.default.join(workspaceAppRoot, "package.json")).resolve(
|
|
134810
134841
|
"react-native/package.json"
|
|
134811
134842
|
)
|
|
134812
134843
|
)
|
|
@@ -135259,7 +135290,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
135259
135290
|
signal?.throwIfAborted();
|
|
135260
135291
|
appRoot = import_node_fs144.default.realpathSync(appRoot);
|
|
135261
135292
|
const appConfig = await loadRNXAppConfig(resolveAppProject(appRoot));
|
|
135262
|
-
const appRequire = (0,
|
|
135293
|
+
const appRequire = (0, import_node_module21.createRequire)(import_node_path146.default.join(appRoot, "package.json"));
|
|
135263
135294
|
let expoRoot;
|
|
135264
135295
|
try {
|
|
135265
135296
|
expoRoot = import_node_path146.default.dirname(appRequire.resolve("expo/package.json"));
|
|
@@ -136389,7 +136420,7 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
|
|
|
136389
136420
|
const reactProvider = units.some((unit2) => unit2.reactNativeProvider) ? await (async () => {
|
|
136390
136421
|
const projectRoot = options2.installedWorkspace ? import_node_path146.default.dirname(import_node_path146.default.dirname(options2.installedWorkspace)) : (await prepareExpoNativeWorkspace(root, signal, options2.iosTarget)).app;
|
|
136391
136422
|
const reactNativeRoot = import_node_path146.default.dirname(
|
|
136392
|
-
(0,
|
|
136423
|
+
(0, import_node_module21.createRequire)(import_node_path146.default.join(projectRoot, "package.json")).resolve(
|
|
136393
136424
|
"react-native/package.json"
|
|
136394
136425
|
)
|
|
136395
136426
|
);
|
|
@@ -136859,7 +136890,7 @@ ${diagnostics}`}`
|
|
|
136859
136890
|
}
|
|
136860
136891
|
return true;
|
|
136861
136892
|
}
|
|
136862
|
-
var import_node_async_hooks4, import_node_child_process71, import_node_crypto88, import_node_fs144,
|
|
136893
|
+
var import_node_async_hooks4, import_node_child_process71, import_node_crypto88, import_node_fs144, import_node_module21, import_node_os31, import_node_path146, import_node_url7, import_node_util19, run13, scriptEnv, EXPO_SWIFT_ROUTE, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
136863
136894
|
var init_expo_swift_host = __esm({
|
|
136864
136895
|
"src/expo-swift-host.ts"() {
|
|
136865
136896
|
"use strict";
|
|
@@ -136867,7 +136898,7 @@ var init_expo_swift_host = __esm({
|
|
|
136867
136898
|
import_node_child_process71 = require("node:child_process");
|
|
136868
136899
|
import_node_crypto88 = require("node:crypto");
|
|
136869
136900
|
import_node_fs144 = __toESM(require("node:fs"), 1);
|
|
136870
|
-
|
|
136901
|
+
import_node_module21 = require("node:module");
|
|
136871
136902
|
import_node_os31 = __toESM(require("node:os"), 1);
|
|
136872
136903
|
import_node_path146 = __toESM(require("node:path"), 1);
|
|
136873
136904
|
import_node_url7 = require("node:url");
|
|
@@ -142595,7 +142626,7 @@ public func peachOneSDK(_ pointer: UnsafePointer<UInt8>, _ length: Int32) -> Uns
|
|
|
142595
142626
|
// src/one-native-controls-package.ts
|
|
142596
142627
|
function resolveOneNativeAppleIosDir(appRoot) {
|
|
142597
142628
|
if (appRoot && import_node_fs154.default.existsSync(import_node_path157.default.join(appRoot, "package.json"))) {
|
|
142598
|
-
const appRequire = (0,
|
|
142629
|
+
const appRequire = (0, import_node_module22.createRequire)(import_node_path157.default.join(appRoot, "package.json"));
|
|
142599
142630
|
let oneManifest;
|
|
142600
142631
|
try {
|
|
142601
142632
|
oneManifest = appRequire.resolve("one/package.json");
|
|
@@ -142789,13 +142820,13 @@ async function oneNativeControlsPackage(appRoot, linkedGroups, sdk2) {
|
|
|
142789
142820
|
...oneSDKShards.size ? { oneSDKShards } : {}
|
|
142790
142821
|
};
|
|
142791
142822
|
}
|
|
142792
|
-
var import_node_crypto92, import_node_fs154,
|
|
142823
|
+
var import_node_crypto92, import_node_fs154, import_node_module22, import_node_path157, import_node_url8, ONE_SDK_DEFINES, BRIDGE_SWIFT, ONE_SDK_RUNTIME_SOURCES;
|
|
142793
142824
|
var init_one_native_controls_package = __esm({
|
|
142794
142825
|
"src/one-native-controls-package.ts"() {
|
|
142795
142826
|
"use strict";
|
|
142796
142827
|
import_node_crypto92 = require("node:crypto");
|
|
142797
142828
|
import_node_fs154 = __toESM(require("node:fs"), 1);
|
|
142798
|
-
|
|
142829
|
+
import_node_module22 = require("node:module");
|
|
142799
142830
|
import_node_path157 = __toESM(require("node:path"), 1);
|
|
142800
142831
|
import_node_url8 = require("node:url");
|
|
142801
142832
|
init_one_swift_control_source();
|
|
@@ -146050,7 +146081,7 @@ function loadKotlinSdk(moduleRoot, toolchain) {
|
|
|
146050
146081
|
}
|
|
146051
146082
|
function appKotlinLanguage(root) {
|
|
146052
146083
|
const reactNative = import_node_path169.default.dirname(
|
|
146053
|
-
(0,
|
|
146084
|
+
(0, import_node_module23.createRequire)(import_node_path169.default.join(root, "package.json")).resolve("react-native/package.json")
|
|
146054
146085
|
);
|
|
146055
146086
|
const versions = import_node_fs166.default.readFileSync(
|
|
146056
146087
|
import_node_path169.default.join(reactNative, "gradle", "libs.versions.toml"),
|
|
@@ -147201,14 +147232,14 @@ async function serveKotlinRequest(pathname, res, app) {
|
|
|
147201
147232
|
}
|
|
147202
147233
|
return true;
|
|
147203
147234
|
}
|
|
147204
|
-
var import_node_child_process78, import_node_crypto101, import_node_fs166,
|
|
147235
|
+
var import_node_child_process78, import_node_crypto101, import_node_fs166, import_node_module23, import_node_path169, import_node_util23, run17, KOTLIN_ARTIFACT_PREFIX, SKIP_DIRS, configureDeviceSource, BUILD_FORMAT, builds, toolScans, BRIDGE_PARAMETERS, BRIDGE_CASTS, BRIDGE_RETURNS, bridgeType, JAVA_CLASSES, argb, escapes2, literal5, CONTENT_TYPES;
|
|
147205
147236
|
var init_kotlin_host = __esm({
|
|
147206
147237
|
"src/kotlin-host.ts"() {
|
|
147207
147238
|
"use strict";
|
|
147208
147239
|
import_node_child_process78 = require("node:child_process");
|
|
147209
147240
|
import_node_crypto101 = require("node:crypto");
|
|
147210
147241
|
import_node_fs166 = __toESM(require("node:fs"), 1);
|
|
147211
|
-
|
|
147242
|
+
import_node_module23 = require("node:module");
|
|
147212
147243
|
import_node_path169 = __toESM(require("node:path"), 1);
|
|
147213
147244
|
import_node_util23 = require("node:util");
|
|
147214
147245
|
init_kotlinDiscoveryContract();
|
|
@@ -147348,7 +147379,7 @@ function send2(app, change) {
|
|
|
147348
147379
|
if (client2.readyState === import_ws2.WebSocket.OPEN) client2.send(message);
|
|
147349
147380
|
}
|
|
147350
147381
|
async function swiftPackages2(root) {
|
|
147351
|
-
const resolved = (0,
|
|
147382
|
+
const resolved = (0, import_node_module24.createRequire)(import_node_path170.default.join(root, "package.json")).resolve(
|
|
147352
147383
|
"vxrn/swift-package-id"
|
|
147353
147384
|
);
|
|
147354
147385
|
const loaded4 = await import((0, import_node_url9.pathToFileURL)(resolved).href);
|
|
@@ -147514,12 +147545,12 @@ function handleOneNativeSourceUpgrade(req, socket, head) {
|
|
|
147514
147545
|
});
|
|
147515
147546
|
return true;
|
|
147516
147547
|
}
|
|
147517
|
-
var import_node_fs167,
|
|
147548
|
+
var import_node_fs167, import_node_module24, import_node_path170, import_node_url9, import_node_util24, import_node_zlib11, import_ws2, apps, compressMetadata;
|
|
147518
147549
|
var init_one_native_source = __esm({
|
|
147519
147550
|
"src/one-native-source.ts"() {
|
|
147520
147551
|
"use strict";
|
|
147521
147552
|
import_node_fs167 = __toESM(require("node:fs"), 1);
|
|
147522
|
-
|
|
147553
|
+
import_node_module24 = require("node:module");
|
|
147523
147554
|
import_node_path170 = __toESM(require("node:path"), 1);
|
|
147524
147555
|
import_node_url9 = require("node:url");
|
|
147525
147556
|
import_node_util24 = require("node:util");
|
|
@@ -148947,7 +148978,7 @@ var init_nitro_compiler_digest = __esm({
|
|
|
148947
148978
|
|
|
148948
148979
|
// src/nitro-superset-inputs.ts
|
|
148949
148980
|
async function nitroSupersetInputs(options2) {
|
|
148950
|
-
const resolve16 = (0,
|
|
148981
|
+
const resolve16 = (0, import_node_module25.createRequire)((0, import_node_path178.join)(options2.appRoot, "package.json")).resolve;
|
|
148951
148982
|
const pin2 = swiftNativePin();
|
|
148952
148983
|
const inputs2 = {
|
|
148953
148984
|
configuration: options2.configuration,
|
|
@@ -148964,12 +148995,12 @@ async function nitroSupersetInputs(options2) {
|
|
|
148964
148995
|
inputs2[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
148965
148996
|
return inputs2;
|
|
148966
148997
|
}
|
|
148967
|
-
var import_node_fs174,
|
|
148998
|
+
var import_node_fs174, import_node_module25, import_node_path178, packageVersion;
|
|
148968
148999
|
var init_nitro_superset_inputs = __esm({
|
|
148969
149000
|
"src/nitro-superset-inputs.ts"() {
|
|
148970
149001
|
"use strict";
|
|
148971
149002
|
import_node_fs174 = require("node:fs");
|
|
148972
|
-
|
|
149003
|
+
import_node_module25 = require("node:module");
|
|
148973
149004
|
import_node_path178 = require("node:path");
|
|
148974
149005
|
init_package_tree_digest();
|
|
148975
149006
|
init_swift_native_pin();
|
|
@@ -149076,7 +149107,7 @@ var init_nitro_superset = __esm({
|
|
|
149076
149107
|
init_nitroContract();
|
|
149077
149108
|
init_swift_standin_digest();
|
|
149078
149109
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
149079
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
149110
|
+
NITRO_COMPILER_DIGEST = true ? "b70bb01dee774bd0e8d8b4b3b061b909c0f840af3a94a190380b0335fc86103e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
149080
149111
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
149081
149112
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
149082
149113
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -149255,7 +149286,7 @@ __export(expo_widgets_bundle_exports, {
|
|
|
149255
149286
|
handleExpoWidgetsRequest: () => handleExpoWidgetsRequest
|
|
149256
149287
|
});
|
|
149257
149288
|
async function buildExpoWidgetsBundle(appRoot, origin = "") {
|
|
149258
|
-
const require4 = (0,
|
|
149289
|
+
const require4 = (0, import_node_module26.createRequire)(import_node_path180.default.join(appRoot, "package.json"));
|
|
149259
149290
|
let manifest;
|
|
149260
149291
|
try {
|
|
149261
149292
|
manifest = require4.resolve("expo-widgets/package.json");
|
|
@@ -149284,13 +149315,13 @@ async function buildExpoWidgetsBundle(appRoot, origin = "") {
|
|
|
149284
149315
|
}
|
|
149285
149316
|
};
|
|
149286
149317
|
}
|
|
149287
|
-
var import_node_child_process79, import_promises19,
|
|
149318
|
+
var import_node_child_process79, import_promises19, import_node_module26, import_node_path180, import_node_util25, EXPO_WIDGETS_ROUTE, handleExpoWidgetsRequest;
|
|
149288
149319
|
var init_expo_widgets_bundle = __esm({
|
|
149289
149320
|
"src/expo-widgets-bundle.ts"() {
|
|
149290
149321
|
"use strict";
|
|
149291
149322
|
import_node_child_process79 = require("node:child_process");
|
|
149292
149323
|
import_promises19 = __toESM(require("node:fs/promises"), 1);
|
|
149293
|
-
|
|
149324
|
+
import_node_module26 = require("node:module");
|
|
149294
149325
|
import_node_path180 = __toESM(require("node:path"), 1);
|
|
149295
149326
|
import_node_util25 = require("node:util");
|
|
149296
149327
|
init_expo_widget_assets();
|
|
@@ -149568,7 +149599,7 @@ async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget, prepareRe
|
|
|
149568
149599
|
const { artifact, collection } = await compileTurboModule({
|
|
149569
149600
|
appRoot,
|
|
149570
149601
|
reactNativeRoot: import_node_path182.default.dirname(
|
|
149571
|
-
(0,
|
|
149602
|
+
(0, import_node_module27.createRequire)(import_node_path182.default.join(projectRoot, "package.json")).resolve(
|
|
149572
149603
|
"react-native/package.json"
|
|
149573
149604
|
)
|
|
149574
149605
|
),
|
|
@@ -149607,11 +149638,11 @@ async function buildTurboBundle(appRoot, moduleRoot, prepareReactNativeCore) {
|
|
|
149607
149638
|
assets: compiled.artifact ? await compiledModuleAssets(compiled.artifact) : []
|
|
149608
149639
|
};
|
|
149609
149640
|
}
|
|
149610
|
-
var
|
|
149641
|
+
var import_node_module27, import_node_path182, TURBO_ROUTE, handleTurboRequest;
|
|
149611
149642
|
var init_turbo_bundle = __esm({
|
|
149612
149643
|
"src/turbo-bundle.ts"() {
|
|
149613
149644
|
"use strict";
|
|
149614
|
-
|
|
149645
|
+
import_node_module27 = require("node:module");
|
|
149615
149646
|
import_node_path182 = __toESM(require("node:path"), 1);
|
|
149616
149647
|
init_app_project();
|
|
149617
149648
|
init_app_config();
|
|
@@ -149679,7 +149710,7 @@ async function resolveExpoAndroidAutolinking(appRoot) {
|
|
|
149679
149710
|
async function resolveAndroidModules(appRoot) {
|
|
149680
149711
|
let autolinker;
|
|
149681
149712
|
try {
|
|
149682
|
-
autolinker = (0,
|
|
149713
|
+
autolinker = (0, import_node_module28.createRequire)(import_node_path183.default.join(appRoot, "package.json")).resolve(
|
|
149683
149714
|
"expo-modules-autolinking/package.json"
|
|
149684
149715
|
);
|
|
149685
149716
|
} catch (error) {
|
|
@@ -149743,12 +149774,12 @@ async function resolveReactNativeAndroidAutolinking(appRoot) {
|
|
|
149743
149774
|
}
|
|
149744
149775
|
return linked;
|
|
149745
149776
|
}
|
|
149746
|
-
var import_node_fs177,
|
|
149777
|
+
var import_node_fs177, import_node_module28, import_node_path183, resolving;
|
|
149747
149778
|
var init_android_autolinking = __esm({
|
|
149748
149779
|
"src/android-autolinking.ts"() {
|
|
149749
149780
|
"use strict";
|
|
149750
149781
|
import_node_fs177 = __toESM(require("node:fs"), 1);
|
|
149751
|
-
|
|
149782
|
+
import_node_module28 = require("node:module");
|
|
149752
149783
|
import_node_path183 = __toESM(require("node:path"), 1);
|
|
149753
149784
|
init_androidAutolinkingContract();
|
|
149754
149785
|
init_autolinker_process();
|
|
@@ -158953,17 +158984,17 @@ function splashImageUrls(spec) {
|
|
|
158953
158984
|
if (spec.dark?.backgroundImageUrl) urls.add(spec.dark.backgroundImageUrl);
|
|
158954
158985
|
return [...urls];
|
|
158955
158986
|
}
|
|
158956
|
-
var import_node_crypto112,
|
|
158987
|
+
var import_node_crypto112, import_node_module29, require2;
|
|
158957
158988
|
var init_app_splash = __esm({
|
|
158958
158989
|
"cli/app-splash.ts"() {
|
|
158959
158990
|
"use strict";
|
|
158960
158991
|
import_node_crypto112 = require("node:crypto");
|
|
158961
|
-
|
|
158992
|
+
import_node_module29 = require("node:module");
|
|
158962
158993
|
init_backend_origin();
|
|
158963
158994
|
init_cli_runtime();
|
|
158964
158995
|
init_native_firebase_config();
|
|
158965
158996
|
init_app_project();
|
|
158966
|
-
require2 = (0,
|
|
158997
|
+
require2 = (0, import_node_module29.createRequire)(__sootsim_import_meta_url);
|
|
158967
158998
|
}
|
|
158968
158999
|
});
|
|
158969
159000
|
|
|
@@ -167240,7 +167271,7 @@ var init_material_symbol_fonts = __esm({
|
|
|
167240
167271
|
|
|
167241
167272
|
// cli/material-symbol-fonts.ts
|
|
167242
167273
|
function materialSymbolFontPaths(appDir) {
|
|
167243
|
-
const appRequire = (0,
|
|
167274
|
+
const appRequire = (0, import_node_module30.createRequire)(import_node_path199.default.join(appDir, "package.json"));
|
|
167244
167275
|
let nativeManifest;
|
|
167245
167276
|
try {
|
|
167246
167277
|
nativeManifest = appRequire.resolve("@react-navigation/native/package.json");
|
|
@@ -167251,7 +167282,7 @@ function materialSymbolFontPaths(appDir) {
|
|
|
167251
167282
|
const dependencies = nativePackage && typeof nativePackage === "object" ? Reflect.get(nativePackage, "dependencies") : null;
|
|
167252
167283
|
if (!dependencies || typeof dependencies !== "object" || !Reflect.has(dependencies, "@react-navigation/material-symbols"))
|
|
167253
167284
|
return [];
|
|
167254
|
-
const nativeRequire = (0,
|
|
167285
|
+
const nativeRequire = (0, import_node_module30.createRequire)(nativeManifest);
|
|
167255
167286
|
const symbolsDir = import_node_path199.default.dirname(
|
|
167256
167287
|
nativeRequire.resolve("@react-navigation/material-symbols/package.json")
|
|
167257
167288
|
);
|
|
@@ -167286,13 +167317,13 @@ function materialSymbolFontAssets(fontPaths) {
|
|
|
167286
167317
|
mirroredPath: mirroredFile
|
|
167287
167318
|
};
|
|
167288
167319
|
}
|
|
167289
|
-
var import_node_crypto118, import_node_fs195,
|
|
167320
|
+
var import_node_crypto118, import_node_fs195, import_node_module30, import_node_path199;
|
|
167290
167321
|
var init_material_symbol_fonts2 = __esm({
|
|
167291
167322
|
"cli/material-symbol-fonts.ts"() {
|
|
167292
167323
|
"use strict";
|
|
167293
167324
|
import_node_crypto118 = require("node:crypto");
|
|
167294
167325
|
import_node_fs195 = __toESM(require("node:fs"), 1);
|
|
167295
|
-
|
|
167326
|
+
import_node_module30 = require("node:module");
|
|
167296
167327
|
import_node_path199 = __toESM(require("node:path"), 1);
|
|
167297
167328
|
init_material_symbol_fonts();
|
|
167298
167329
|
}
|
|
@@ -167341,7 +167372,7 @@ function resolveDeclaredFontPath(appDir, declared) {
|
|
|
167341
167372
|
let resolved = import_node_path200.default.resolve(appDir, declared);
|
|
167342
167373
|
if (!import_node_fs196.default.existsSync(resolved)) {
|
|
167343
167374
|
try {
|
|
167344
|
-
resolved = (0,
|
|
167375
|
+
resolved = (0, import_node_module31.createRequire)(import_node_path200.default.join(appDir, "package.json")).resolve(declared);
|
|
167345
167376
|
} catch {
|
|
167346
167377
|
return [];
|
|
167347
167378
|
}
|
|
@@ -167437,7 +167468,7 @@ function discoverNativeLinkedAppFontAssets(opts) {
|
|
|
167437
167468
|
if (!relativeRoot.startsWith("..") && !import_node_path200.default.isAbsolute(relativeRoot)) {
|
|
167438
167469
|
collectFontFiles(root);
|
|
167439
167470
|
}
|
|
167440
|
-
const vectorIconRequire = (0,
|
|
167471
|
+
const vectorIconRequire = (0, import_node_module31.createRequire)(import_node_path200.default.join(selectedAppDir, "package.json"));
|
|
167441
167472
|
for (const dependencyName of vectorIconDependencies) {
|
|
167442
167473
|
try {
|
|
167443
167474
|
const entryPath = vectorIconRequire.resolve(dependencyName);
|
|
@@ -167457,7 +167488,7 @@ function discoverNativeLinkedAppFontAssets(opts) {
|
|
|
167457
167488
|
try {
|
|
167458
167489
|
const configPath = import_node_path200.default.join(selectedAppDir, "react-native.config.js");
|
|
167459
167490
|
if (import_node_fs196.default.statSync(configPath).isFile()) {
|
|
167460
|
-
const appConfigRequire = (0,
|
|
167491
|
+
const appConfigRequire = (0, import_node_module31.createRequire)(import_node_path200.default.join(selectedAppDir, "package.json"));
|
|
167461
167492
|
const rnConfig = appConfigRequire(configPath);
|
|
167462
167493
|
const assets2 = rnConfig && typeof rnConfig === "object" ? Reflect.get(rnConfig, "assets") : null;
|
|
167463
167494
|
if (Array.isArray(assets2)) {
|
|
@@ -167529,13 +167560,13 @@ function discoverNativeLinkedAppFontAssets(opts) {
|
|
|
167529
167560
|
materialSymbols: materialSymbolFontAssets(materialFonts)
|
|
167530
167561
|
};
|
|
167531
167562
|
}
|
|
167532
|
-
var import_node_crypto119, import_node_fs196,
|
|
167563
|
+
var import_node_crypto119, import_node_fs196, import_node_module31, import_node_path200, require3;
|
|
167533
167564
|
var init_app_fonts = __esm({
|
|
167534
167565
|
"cli/app-fonts.ts"() {
|
|
167535
167566
|
"use strict";
|
|
167536
167567
|
import_node_crypto119 = require("node:crypto");
|
|
167537
167568
|
import_node_fs196 = __toESM(require("node:fs"), 1);
|
|
167538
|
-
|
|
167569
|
+
import_node_module31 = require("node:module");
|
|
167539
167570
|
import_node_path200 = __toESM(require("node:path"), 1);
|
|
167540
167571
|
init_cli_runtime();
|
|
167541
167572
|
init_staged_host_files();
|
|
@@ -167544,7 +167575,7 @@ var init_app_fonts = __esm({
|
|
|
167544
167575
|
init_xcode_project();
|
|
167545
167576
|
init_app_project();
|
|
167546
167577
|
init_material_symbol_fonts2();
|
|
167547
|
-
require3 = (0,
|
|
167578
|
+
require3 = (0, import_node_module31.createRequire)(__sootsim_import_meta_url);
|
|
167548
167579
|
}
|
|
167549
167580
|
});
|
|
167550
167581
|
|