peachsim 0.1.2674 → 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 +86 -64
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-7UZN4VYK.mjs → acorn-VEOPTKVF.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-JN5AITFW.mjs → chunk-35JRIGP7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YTLETAHS.mjs → chunk-3Q3LIOE4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-S6FAF3O6.mjs → chunk-5F7IW22G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K6YX77B2.mjs → chunk-5INXUSJ3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-64GNURGG.mjs → chunk-ADOQU6SI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5HLALTZU.mjs → chunk-AJTT2VYL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YTVAFL2C.mjs → chunk-ATBIBLXB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BVXC4YET.mjs → chunk-BJGGCQKA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DDKNMOMP.mjs → chunk-DBPA4NE7.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-TCJINVW7.mjs → chunk-E663VVCN.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-GR6LZLL3.mjs → chunk-FOTVQGKC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OSSY6ZNV.mjs → chunk-FSMKZOTX.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-UQLURJW5.mjs → chunk-GM75SEKY.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-Y3Y67ML7.mjs → chunk-I5Z73FXT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6MQE6NHP.mjs → chunk-IZB357DH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-54JOIACB.mjs → chunk-K234VYDM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JGCL2DFM.mjs → chunk-LCSKGJ7G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ASL76C2M.mjs → chunk-LFD67UJA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OICCOALD.mjs → chunk-MED7BRBB.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-UYNBXPDJ.mjs → chunk-MJBRJSOV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7LVYKI6B.mjs → chunk-NNH7MSKJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GY2LAJOJ.mjs → chunk-SKQE5DWK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UR4364IC.mjs → chunk-YPE76EEE.mjs} +15 -15
- package/dist-lib/esm-chunks/{chunk-PGWO5WJS.mjs → chunk-ZATDP3O2.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-SIV4DJUF.mjs → metro-layout-parser-RYUGORYR.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-U4TO4A5N.mjs → swift-package-prebuilt-M55UCSKN.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-J5OL6AQS.mjs → swift-sdk-app-module-L2HB3XBS.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-CV5NS7AQ.mjs → swift-sdk-image-AHIIWTZ6.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-I4HX7YZO.mjs → swift-sdk-image-producer-4S5ZPC2A.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +56 -39
- 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 +85 -63
- 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 +98 -76
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +4 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h +14 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h +20 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h +71 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/AssetsLibrary.h +5 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h +21 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h +24 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h +32 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BackgroundTasks.h +5 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h +17 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h +18 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LinkPresentation.h +4 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Modules/module.modulemap +5 -0
- package/src/expo-native-workspace.ts +3 -4
- package/src/turbo-source.ts +60 -23
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;
|
|
@@ -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"))) {
|
|
@@ -129255,7 +129256,7 @@ function transcribeLoad(text7, file) {
|
|
|
129255
129256
|
throw refuse4("+load sends Objective-C messages");
|
|
129256
129257
|
return { includes, usings, body };
|
|
129257
129258
|
}
|
|
129258
|
-
function viewManagers(root, files2) {
|
|
129259
|
+
function viewManagers(root, files2, inherited) {
|
|
129259
129260
|
const classes = /* @__PURE__ */ new Map();
|
|
129260
129261
|
for (const file of files2) {
|
|
129261
129262
|
if (!HEADER5.test(file) && !OBJC2.test(file)) continue;
|
|
@@ -129267,7 +129268,7 @@ function viewManagers(root, files2) {
|
|
|
129267
129268
|
))
|
|
129268
129269
|
classes.set(name3, parent);
|
|
129269
129270
|
}
|
|
129270
|
-
const managers =
|
|
129271
|
+
const managers = new Set(inherited ?? ["RCTViewManager"]);
|
|
129271
129272
|
for (let remaining = classes.size; remaining > 0; remaining--) {
|
|
129272
129273
|
let changed2 = false;
|
|
129273
129274
|
for (const [name3, parent] of classes) {
|
|
@@ -129280,9 +129281,15 @@ function viewManagers(root, files2) {
|
|
|
129280
129281
|
}
|
|
129281
129282
|
return managers;
|
|
129282
129283
|
}
|
|
129283
|
-
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) {
|
|
129284
129291
|
const sources = [...files2];
|
|
129285
|
-
const managers = viewManagers(root, sources);
|
|
129292
|
+
const managers = viewManagers(root, sources, inherited);
|
|
129286
129293
|
const exported2 = /* @__PURE__ */ new Set();
|
|
129287
129294
|
for (const file of sources) {
|
|
129288
129295
|
if (!OBJC2.test(file)) continue;
|
|
@@ -129299,15 +129306,15 @@ function paperViewManagers(root, files2) {
|
|
|
129299
129306
|
}
|
|
129300
129307
|
return [...exported2].sort();
|
|
129301
129308
|
}
|
|
129302
|
-
function registers(root, files2,
|
|
129309
|
+
function registers(root, files2, inherited) {
|
|
129303
129310
|
const sources = [...files2];
|
|
129304
|
-
const managers =
|
|
129311
|
+
const managers = viewManagers(root, sources, inherited);
|
|
129305
129312
|
for (const file of sources) {
|
|
129306
129313
|
if (!UNIT.test(file) && !OBJC2.test(file)) continue;
|
|
129307
129314
|
const text7 = import_node_fs139.default.readFileSync(import_node_path141.default.join(root, file), "utf8");
|
|
129308
129315
|
if (text7.includes(REGISTRATION)) return true;
|
|
129309
129316
|
const stripped2 = stripComments3(text7);
|
|
129310
|
-
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(
|
|
129311
129318
|
([, name3]) => managers.has(name3)
|
|
129312
129319
|
)))
|
|
129313
129320
|
return true;
|
|
@@ -129335,6 +129342,11 @@ async function turboProviderCandidates(appRoot, answered = peachAnsweredNativePa
|
|
|
129335
129342
|
async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered = /* @__PURE__ */ new Set(), answeredPackages) {
|
|
129336
129343
|
const providers = [];
|
|
129337
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
|
+
);
|
|
129338
129350
|
const installed2 = projectRoot && installedXcodeWorkspace(projectRoot) ? installedNativeSources(
|
|
129339
129351
|
candidates.map(({ provider }) => provider),
|
|
129340
129352
|
projectRoot,
|
|
@@ -129345,7 +129357,7 @@ async function discoverTurboProviders(appRoot, projectRoot, iosTarget, answered
|
|
|
129345
129357
|
const sources = installed2 ? installed2.get(provider.name) : { root: pod.root, files: fabric ? null : podGlobFiles(pod) };
|
|
129346
129358
|
if (!sources) continue;
|
|
129347
129359
|
const { root, files: files2 } = sources;
|
|
129348
|
-
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)) {
|
|
129349
129361
|
const nameFiles = files2 ?? podGlobFiles(pod);
|
|
129350
129362
|
if (answered.size > 0 && nameFiles && moduleNamesAnswered(root, nameFiles, answered))
|
|
129351
129363
|
continue;
|
|
@@ -129401,11 +129413,20 @@ async function collectTurboSources(options2) {
|
|
|
129401
129413
|
const reactNative = packageInfo2(options2.reactNativeRoot);
|
|
129402
129414
|
if (reactNative.name !== "react-native")
|
|
129403
129415
|
throw new Error(`${options2.reactNativeRoot} is not react-native`);
|
|
129404
|
-
const
|
|
129405
|
-
|
|
129406
|
-
|
|
129407
|
-
|
|
129408
|
-
|
|
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));
|
|
129409
129430
|
const installedHeaderPods = (options2.reactNativeProvider || options2.reactNativeCore ? [] : await installedTurboHeaderPods(options2.appRoot)).map(
|
|
129410
129431
|
(provider) => readPod(provider, options2.appRoot, options2.installedPods?.get(provider.name))
|
|
129411
129432
|
);
|
|
@@ -129431,7 +129452,7 @@ async function collectTurboSources(options2) {
|
|
|
129431
129452
|
const providers = [];
|
|
129432
129453
|
for (const provider of rawProviders) {
|
|
129433
129454
|
const componentLibraries = provider.libraries.filter((library) => library.components);
|
|
129434
|
-
if (componentLibraries.length === 0) {
|
|
129455
|
+
if (componentLibraries.length === 0 || provider.paper) {
|
|
129435
129456
|
providers.push({ ...provider, providerFabric: false });
|
|
129436
129457
|
continue;
|
|
129437
129458
|
}
|
|
@@ -129466,7 +129487,7 @@ async function collectTurboSources(options2) {
|
|
|
129466
129487
|
const text7 = import_node_fs139.default.readFileSync(import_node_path141.default.join(pod.root, file), "utf8");
|
|
129467
129488
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
129468
129489
|
});
|
|
129469
|
-
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)
|
|
129470
129491
|
continue;
|
|
129471
129492
|
}
|
|
129472
129493
|
providers.push({ ...provider, providerFabric });
|
|
@@ -129480,13 +129501,12 @@ async function collectTurboSources(options2) {
|
|
|
129480
129501
|
const targetPath = (name3) => `Sources/${name3}`;
|
|
129481
129502
|
const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
|
|
129482
129503
|
const folly = readFollyConfig(reactNative.root);
|
|
129483
|
-
const
|
|
129504
|
+
const baseDefines = [
|
|
129484
129505
|
options2.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
|
|
129485
|
-
"RCT_NEW_ARCH_ENABLED=1",
|
|
129486
|
-
"RCT_REMOVE_LEGACY_ARCH=1",
|
|
129487
129506
|
"RCT_REMOTE_PROFILE=0",
|
|
129488
129507
|
...folly.defines
|
|
129489
129508
|
];
|
|
129509
|
+
const defines = [...baseDefines, "RCT_NEW_ARCH_ENABLED=1", "RCT_REMOVE_LEGACY_ARCH=1"];
|
|
129490
129510
|
const target = (name3, dependencies) => ({
|
|
129491
129511
|
name: name3,
|
|
129492
129512
|
path: targetPath(name3),
|
|
@@ -129997,6 +130017,7 @@ async function collectTurboSources(options2) {
|
|
|
129997
130017
|
options2.appRoot,
|
|
129998
130018
|
options2.installedPods?.get(provider.name)
|
|
129999
130019
|
);
|
|
130020
|
+
if (provider.paper) providerTargetInput.cxxDefines = baseDefines;
|
|
130000
130021
|
if (pod.installed)
|
|
130001
130022
|
providerTargetInput.clangSettings = [
|
|
130002
130023
|
{ tool: "c", flags: pod.installed.preprocessorFlags.c },
|
|
@@ -130018,8 +130039,8 @@ async function collectTurboSources(options2) {
|
|
|
130018
130039
|
const text7 = import_node_fs139.default.readFileSync(import_node_path141.default.join(root, file), "utf8");
|
|
130019
130040
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
130020
130041
|
});
|
|
130021
|
-
const managers = viewManagers(root, files2);
|
|
130022
|
-
const paper = paperViewManagers(root, files2);
|
|
130042
|
+
const managers = viewManagers(root, files2, nativeManagers);
|
|
130043
|
+
const paper = paperViewManagers(root, files2, nativeManagers);
|
|
130023
130044
|
if (paper.length > 0) {
|
|
130024
130045
|
fabric = true;
|
|
130025
130046
|
paperClasses.push(...paper);
|
|
@@ -130280,7 +130301,7 @@ async function collectTurboSources(options2) {
|
|
|
130280
130301
|
].join("\n")
|
|
130281
130302
|
);
|
|
130282
130303
|
}
|
|
130283
|
-
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)
|
|
130284
130305
|
throw new Error(`${label}: its pod sources register no TurboModule`);
|
|
130285
130306
|
objc ||= providerObjC;
|
|
130286
130307
|
const specs = provider.libraries.flatMap(({ spec }) => spec ?? []);
|
|
@@ -131952,7 +131973,7 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
131952
131973
|
// the event type and its payload with the target tag and timestamp
|
|
131953
131974
|
const auto fabricDispatchEvent = [](
|
|
131954
131975
|
jsi::Runtime &rt,
|
|
131955
|
-
react::EventTarget *target,
|
|
131976
|
+
const react::EventTarget *target,
|
|
131956
131977
|
const std::string &type,
|
|
131957
131978
|
react::ReactEventPriority,
|
|
131958
131979
|
const react::EventPayload &eventPayload,
|
|
@@ -132708,12 +132729,13 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
|
|
|
132708
132729
|
}
|
|
132709
132730
|
`;
|
|
132710
132731
|
}
|
|
132711
|
-
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;
|
|
132712
132733
|
var init_turbo_source = __esm({
|
|
132713
132734
|
"src/turbo-source.ts"() {
|
|
132714
132735
|
"use strict";
|
|
132715
132736
|
import_node_crypto84 = require("node:crypto");
|
|
132716
132737
|
import_node_fs139 = __toESM(require("node:fs"), 1);
|
|
132738
|
+
import_node_module18 = require("node:module");
|
|
132717
132739
|
import_node_path141 = __toESM(require("node:path"), 1);
|
|
132718
132740
|
init_cocoapods_trunk();
|
|
132719
132741
|
init_installed_native_libraries();
|
|
@@ -133665,7 +133687,7 @@ function retainInstalledReactNativeDeclarations(snapshot, options2, skipped) {
|
|
|
133665
133687
|
const reactNative = [options2.appRoot, options2.projectRoot].map(
|
|
133666
133688
|
(root) => import_node_path142.default.dirname(
|
|
133667
133689
|
import_node_fs140.default.realpathSync(
|
|
133668
|
-
(0,
|
|
133690
|
+
(0, import_node_module19.createRequire)(import_node_path142.default.join(root, "package.json")).resolve(
|
|
133669
133691
|
"react-native/package.json"
|
|
133670
133692
|
)
|
|
133671
133693
|
)
|
|
@@ -133901,13 +133923,13 @@ async function compileTurboModule(options2) {
|
|
|
133901
133923
|
collection
|
|
133902
133924
|
};
|
|
133903
133925
|
}
|
|
133904
|
-
var import_node_crypto85, import_node_fs140,
|
|
133926
|
+
var import_node_crypto85, import_node_fs140, import_node_module19, import_node_os30, import_node_path142;
|
|
133905
133927
|
var init_turbo_compile = __esm({
|
|
133906
133928
|
"src/turbo-compile.ts"() {
|
|
133907
133929
|
"use strict";
|
|
133908
133930
|
import_node_crypto85 = require("node:crypto");
|
|
133909
133931
|
import_node_fs140 = __toESM(require("node:fs"), 1);
|
|
133910
|
-
|
|
133932
|
+
import_node_module19 = require("node:module");
|
|
133911
133933
|
import_node_os30 = __toESM(require("node:os"), 1);
|
|
133912
133934
|
import_node_path142 = __toESM(require("node:path"), 1);
|
|
133913
133935
|
init_native_app_identity_project();
|
|
@@ -134120,7 +134142,7 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
|
|
|
134120
134142
|
};
|
|
134121
134143
|
walk4("");
|
|
134122
134144
|
const codegenRoot = import_node_path144.default.dirname(
|
|
134123
|
-
(0,
|
|
134145
|
+
(0, import_node_module20.createRequire)(import_node_path144.default.join(reactNativeRoot, "package.json")).resolve(
|
|
134124
134146
|
"@react-native/codegen/package.json"
|
|
134125
134147
|
)
|
|
134126
134148
|
);
|
|
@@ -134221,13 +134243,13 @@ function linkReactNativeCore(collection, core, moduleRoot) {
|
|
|
134221
134243
|
}
|
|
134222
134244
|
}
|
|
134223
134245
|
}
|
|
134224
|
-
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;
|
|
134225
134247
|
var init_react_native_core = __esm({
|
|
134226
134248
|
"src/react-native-core.ts"() {
|
|
134227
134249
|
"use strict";
|
|
134228
134250
|
import_node_crypto86 = require("node:crypto");
|
|
134229
134251
|
import_node_fs142 = __toESM(require("node:fs"), 1);
|
|
134230
|
-
|
|
134252
|
+
import_node_module20 = require("node:module");
|
|
134231
134253
|
import_node_path144 = __toESM(require("node:path"), 1);
|
|
134232
134254
|
import_node_util18 = require("node:util");
|
|
134233
134255
|
init_home_paths();
|
|
@@ -134240,7 +134262,7 @@ var init_react_native_core = __esm({
|
|
|
134240
134262
|
init_swift_distribution();
|
|
134241
134263
|
init_swift_package();
|
|
134242
134264
|
init_swiftContract();
|
|
134243
|
-
recipe = true ? "
|
|
134265
|
+
recipe = true ? "2e0302e75afcc89d7a2fcfb892b78f125d6f1ccf37b50bb950c86fd5db6db939" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
134244
134266
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
134245
134267
|
building = /* @__PURE__ */ new Map();
|
|
134246
134268
|
}
|
|
@@ -134815,7 +134837,7 @@ function enrichInstalledUnits(units, installed2, namespaceGroups, provided, modu
|
|
|
134815
134837
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
|
|
134816
134838
|
const reactNativeRoot = import_node_fs144.default.realpathSync(
|
|
134817
134839
|
import_node_path146.default.dirname(
|
|
134818
|
-
(0,
|
|
134840
|
+
(0, import_node_module21.createRequire)(import_node_path146.default.join(workspaceAppRoot, "package.json")).resolve(
|
|
134819
134841
|
"react-native/package.json"
|
|
134820
134842
|
)
|
|
134821
134843
|
)
|
|
@@ -135268,7 +135290,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
135268
135290
|
signal?.throwIfAborted();
|
|
135269
135291
|
appRoot = import_node_fs144.default.realpathSync(appRoot);
|
|
135270
135292
|
const appConfig = await loadRNXAppConfig(resolveAppProject(appRoot));
|
|
135271
|
-
const appRequire = (0,
|
|
135293
|
+
const appRequire = (0, import_node_module21.createRequire)(import_node_path146.default.join(appRoot, "package.json"));
|
|
135272
135294
|
let expoRoot;
|
|
135273
135295
|
try {
|
|
135274
135296
|
expoRoot = import_node_path146.default.dirname(appRequire.resolve("expo/package.json"));
|
|
@@ -136398,7 +136420,7 @@ async function compileExpoSwiftModulesTraced(root, base2, publishArtifact, optio
|
|
|
136398
136420
|
const reactProvider = units.some((unit2) => unit2.reactNativeProvider) ? await (async () => {
|
|
136399
136421
|
const projectRoot = options2.installedWorkspace ? import_node_path146.default.dirname(import_node_path146.default.dirname(options2.installedWorkspace)) : (await prepareExpoNativeWorkspace(root, signal, options2.iosTarget)).app;
|
|
136400
136422
|
const reactNativeRoot = import_node_path146.default.dirname(
|
|
136401
|
-
(0,
|
|
136423
|
+
(0, import_node_module21.createRequire)(import_node_path146.default.join(projectRoot, "package.json")).resolve(
|
|
136402
136424
|
"react-native/package.json"
|
|
136403
136425
|
)
|
|
136404
136426
|
);
|
|
@@ -136868,7 +136890,7 @@ ${diagnostics}`}`
|
|
|
136868
136890
|
}
|
|
136869
136891
|
return true;
|
|
136870
136892
|
}
|
|
136871
|
-
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;
|
|
136872
136894
|
var init_expo_swift_host = __esm({
|
|
136873
136895
|
"src/expo-swift-host.ts"() {
|
|
136874
136896
|
"use strict";
|
|
@@ -136876,7 +136898,7 @@ var init_expo_swift_host = __esm({
|
|
|
136876
136898
|
import_node_child_process71 = require("node:child_process");
|
|
136877
136899
|
import_node_crypto88 = require("node:crypto");
|
|
136878
136900
|
import_node_fs144 = __toESM(require("node:fs"), 1);
|
|
136879
|
-
|
|
136901
|
+
import_node_module21 = require("node:module");
|
|
136880
136902
|
import_node_os31 = __toESM(require("node:os"), 1);
|
|
136881
136903
|
import_node_path146 = __toESM(require("node:path"), 1);
|
|
136882
136904
|
import_node_url7 = require("node:url");
|
|
@@ -142604,7 +142626,7 @@ public func peachOneSDK(_ pointer: UnsafePointer<UInt8>, _ length: Int32) -> Uns
|
|
|
142604
142626
|
// src/one-native-controls-package.ts
|
|
142605
142627
|
function resolveOneNativeAppleIosDir(appRoot) {
|
|
142606
142628
|
if (appRoot && import_node_fs154.default.existsSync(import_node_path157.default.join(appRoot, "package.json"))) {
|
|
142607
|
-
const appRequire = (0,
|
|
142629
|
+
const appRequire = (0, import_node_module22.createRequire)(import_node_path157.default.join(appRoot, "package.json"));
|
|
142608
142630
|
let oneManifest;
|
|
142609
142631
|
try {
|
|
142610
142632
|
oneManifest = appRequire.resolve("one/package.json");
|
|
@@ -142798,13 +142820,13 @@ async function oneNativeControlsPackage(appRoot, linkedGroups, sdk2) {
|
|
|
142798
142820
|
...oneSDKShards.size ? { oneSDKShards } : {}
|
|
142799
142821
|
};
|
|
142800
142822
|
}
|
|
142801
|
-
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;
|
|
142802
142824
|
var init_one_native_controls_package = __esm({
|
|
142803
142825
|
"src/one-native-controls-package.ts"() {
|
|
142804
142826
|
"use strict";
|
|
142805
142827
|
import_node_crypto92 = require("node:crypto");
|
|
142806
142828
|
import_node_fs154 = __toESM(require("node:fs"), 1);
|
|
142807
|
-
|
|
142829
|
+
import_node_module22 = require("node:module");
|
|
142808
142830
|
import_node_path157 = __toESM(require("node:path"), 1);
|
|
142809
142831
|
import_node_url8 = require("node:url");
|
|
142810
142832
|
init_one_swift_control_source();
|
|
@@ -146059,7 +146081,7 @@ function loadKotlinSdk(moduleRoot, toolchain) {
|
|
|
146059
146081
|
}
|
|
146060
146082
|
function appKotlinLanguage(root) {
|
|
146061
146083
|
const reactNative = import_node_path169.default.dirname(
|
|
146062
|
-
(0,
|
|
146084
|
+
(0, import_node_module23.createRequire)(import_node_path169.default.join(root, "package.json")).resolve("react-native/package.json")
|
|
146063
146085
|
);
|
|
146064
146086
|
const versions = import_node_fs166.default.readFileSync(
|
|
146065
146087
|
import_node_path169.default.join(reactNative, "gradle", "libs.versions.toml"),
|
|
@@ -147210,14 +147232,14 @@ async function serveKotlinRequest(pathname, res, app) {
|
|
|
147210
147232
|
}
|
|
147211
147233
|
return true;
|
|
147212
147234
|
}
|
|
147213
|
-
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;
|
|
147214
147236
|
var init_kotlin_host = __esm({
|
|
147215
147237
|
"src/kotlin-host.ts"() {
|
|
147216
147238
|
"use strict";
|
|
147217
147239
|
import_node_child_process78 = require("node:child_process");
|
|
147218
147240
|
import_node_crypto101 = require("node:crypto");
|
|
147219
147241
|
import_node_fs166 = __toESM(require("node:fs"), 1);
|
|
147220
|
-
|
|
147242
|
+
import_node_module23 = require("node:module");
|
|
147221
147243
|
import_node_path169 = __toESM(require("node:path"), 1);
|
|
147222
147244
|
import_node_util23 = require("node:util");
|
|
147223
147245
|
init_kotlinDiscoveryContract();
|
|
@@ -147357,7 +147379,7 @@ function send2(app, change) {
|
|
|
147357
147379
|
if (client2.readyState === import_ws2.WebSocket.OPEN) client2.send(message);
|
|
147358
147380
|
}
|
|
147359
147381
|
async function swiftPackages2(root) {
|
|
147360
|
-
const resolved = (0,
|
|
147382
|
+
const resolved = (0, import_node_module24.createRequire)(import_node_path170.default.join(root, "package.json")).resolve(
|
|
147361
147383
|
"vxrn/swift-package-id"
|
|
147362
147384
|
);
|
|
147363
147385
|
const loaded4 = await import((0, import_node_url9.pathToFileURL)(resolved).href);
|
|
@@ -147523,12 +147545,12 @@ function handleOneNativeSourceUpgrade(req, socket, head) {
|
|
|
147523
147545
|
});
|
|
147524
147546
|
return true;
|
|
147525
147547
|
}
|
|
147526
|
-
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;
|
|
147527
147549
|
var init_one_native_source = __esm({
|
|
147528
147550
|
"src/one-native-source.ts"() {
|
|
147529
147551
|
"use strict";
|
|
147530
147552
|
import_node_fs167 = __toESM(require("node:fs"), 1);
|
|
147531
|
-
|
|
147553
|
+
import_node_module24 = require("node:module");
|
|
147532
147554
|
import_node_path170 = __toESM(require("node:path"), 1);
|
|
147533
147555
|
import_node_url9 = require("node:url");
|
|
147534
147556
|
import_node_util24 = require("node:util");
|
|
@@ -148956,7 +148978,7 @@ var init_nitro_compiler_digest = __esm({
|
|
|
148956
148978
|
|
|
148957
148979
|
// src/nitro-superset-inputs.ts
|
|
148958
148980
|
async function nitroSupersetInputs(options2) {
|
|
148959
|
-
const resolve16 = (0,
|
|
148981
|
+
const resolve16 = (0, import_node_module25.createRequire)((0, import_node_path178.join)(options2.appRoot, "package.json")).resolve;
|
|
148960
148982
|
const pin2 = swiftNativePin();
|
|
148961
148983
|
const inputs2 = {
|
|
148962
148984
|
configuration: options2.configuration,
|
|
@@ -148973,12 +148995,12 @@ async function nitroSupersetInputs(options2) {
|
|
|
148973
148995
|
inputs2[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
148974
148996
|
return inputs2;
|
|
148975
148997
|
}
|
|
148976
|
-
var import_node_fs174,
|
|
148998
|
+
var import_node_fs174, import_node_module25, import_node_path178, packageVersion;
|
|
148977
148999
|
var init_nitro_superset_inputs = __esm({
|
|
148978
149000
|
"src/nitro-superset-inputs.ts"() {
|
|
148979
149001
|
"use strict";
|
|
148980
149002
|
import_node_fs174 = require("node:fs");
|
|
148981
|
-
|
|
149003
|
+
import_node_module25 = require("node:module");
|
|
148982
149004
|
import_node_path178 = require("node:path");
|
|
148983
149005
|
init_package_tree_digest();
|
|
148984
149006
|
init_swift_native_pin();
|
|
@@ -149085,7 +149107,7 @@ var init_nitro_superset = __esm({
|
|
|
149085
149107
|
init_nitroContract();
|
|
149086
149108
|
init_swift_standin_digest();
|
|
149087
149109
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
149088
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
149110
|
+
NITRO_COMPILER_DIGEST = true ? "b70bb01dee774bd0e8d8b4b3b061b909c0f840af3a94a190380b0335fc86103e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
149089
149111
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
149090
149112
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
149091
149113
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -149264,7 +149286,7 @@ __export(expo_widgets_bundle_exports, {
|
|
|
149264
149286
|
handleExpoWidgetsRequest: () => handleExpoWidgetsRequest
|
|
149265
149287
|
});
|
|
149266
149288
|
async function buildExpoWidgetsBundle(appRoot, origin = "") {
|
|
149267
|
-
const require4 = (0,
|
|
149289
|
+
const require4 = (0, import_node_module26.createRequire)(import_node_path180.default.join(appRoot, "package.json"));
|
|
149268
149290
|
let manifest;
|
|
149269
149291
|
try {
|
|
149270
149292
|
manifest = require4.resolve("expo-widgets/package.json");
|
|
@@ -149293,13 +149315,13 @@ async function buildExpoWidgetsBundle(appRoot, origin = "") {
|
|
|
149293
149315
|
}
|
|
149294
149316
|
};
|
|
149295
149317
|
}
|
|
149296
|
-
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;
|
|
149297
149319
|
var init_expo_widgets_bundle = __esm({
|
|
149298
149320
|
"src/expo-widgets-bundle.ts"() {
|
|
149299
149321
|
"use strict";
|
|
149300
149322
|
import_node_child_process79 = require("node:child_process");
|
|
149301
149323
|
import_promises19 = __toESM(require("node:fs/promises"), 1);
|
|
149302
|
-
|
|
149324
|
+
import_node_module26 = require("node:module");
|
|
149303
149325
|
import_node_path180 = __toESM(require("node:path"), 1);
|
|
149304
149326
|
import_node_util25 = require("node:util");
|
|
149305
149327
|
init_expo_widget_assets();
|
|
@@ -149577,7 +149599,7 @@ async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget, prepareRe
|
|
|
149577
149599
|
const { artifact, collection } = await compileTurboModule({
|
|
149578
149600
|
appRoot,
|
|
149579
149601
|
reactNativeRoot: import_node_path182.default.dirname(
|
|
149580
|
-
(0,
|
|
149602
|
+
(0, import_node_module27.createRequire)(import_node_path182.default.join(projectRoot, "package.json")).resolve(
|
|
149581
149603
|
"react-native/package.json"
|
|
149582
149604
|
)
|
|
149583
149605
|
),
|
|
@@ -149616,11 +149638,11 @@ async function buildTurboBundle(appRoot, moduleRoot, prepareReactNativeCore) {
|
|
|
149616
149638
|
assets: compiled.artifact ? await compiledModuleAssets(compiled.artifact) : []
|
|
149617
149639
|
};
|
|
149618
149640
|
}
|
|
149619
|
-
var
|
|
149641
|
+
var import_node_module27, import_node_path182, TURBO_ROUTE, handleTurboRequest;
|
|
149620
149642
|
var init_turbo_bundle = __esm({
|
|
149621
149643
|
"src/turbo-bundle.ts"() {
|
|
149622
149644
|
"use strict";
|
|
149623
|
-
|
|
149645
|
+
import_node_module27 = require("node:module");
|
|
149624
149646
|
import_node_path182 = __toESM(require("node:path"), 1);
|
|
149625
149647
|
init_app_project();
|
|
149626
149648
|
init_app_config();
|
|
@@ -149688,7 +149710,7 @@ async function resolveExpoAndroidAutolinking(appRoot) {
|
|
|
149688
149710
|
async function resolveAndroidModules(appRoot) {
|
|
149689
149711
|
let autolinker;
|
|
149690
149712
|
try {
|
|
149691
|
-
autolinker = (0,
|
|
149713
|
+
autolinker = (0, import_node_module28.createRequire)(import_node_path183.default.join(appRoot, "package.json")).resolve(
|
|
149692
149714
|
"expo-modules-autolinking/package.json"
|
|
149693
149715
|
);
|
|
149694
149716
|
} catch (error) {
|
|
@@ -149752,12 +149774,12 @@ async function resolveReactNativeAndroidAutolinking(appRoot) {
|
|
|
149752
149774
|
}
|
|
149753
149775
|
return linked;
|
|
149754
149776
|
}
|
|
149755
|
-
var import_node_fs177,
|
|
149777
|
+
var import_node_fs177, import_node_module28, import_node_path183, resolving;
|
|
149756
149778
|
var init_android_autolinking = __esm({
|
|
149757
149779
|
"src/android-autolinking.ts"() {
|
|
149758
149780
|
"use strict";
|
|
149759
149781
|
import_node_fs177 = __toESM(require("node:fs"), 1);
|
|
149760
|
-
|
|
149782
|
+
import_node_module28 = require("node:module");
|
|
149761
149783
|
import_node_path183 = __toESM(require("node:path"), 1);
|
|
149762
149784
|
init_androidAutolinkingContract();
|
|
149763
149785
|
init_autolinker_process();
|
|
@@ -158962,17 +158984,17 @@ function splashImageUrls(spec) {
|
|
|
158962
158984
|
if (spec.dark?.backgroundImageUrl) urls.add(spec.dark.backgroundImageUrl);
|
|
158963
158985
|
return [...urls];
|
|
158964
158986
|
}
|
|
158965
|
-
var import_node_crypto112,
|
|
158987
|
+
var import_node_crypto112, import_node_module29, require2;
|
|
158966
158988
|
var init_app_splash = __esm({
|
|
158967
158989
|
"cli/app-splash.ts"() {
|
|
158968
158990
|
"use strict";
|
|
158969
158991
|
import_node_crypto112 = require("node:crypto");
|
|
158970
|
-
|
|
158992
|
+
import_node_module29 = require("node:module");
|
|
158971
158993
|
init_backend_origin();
|
|
158972
158994
|
init_cli_runtime();
|
|
158973
158995
|
init_native_firebase_config();
|
|
158974
158996
|
init_app_project();
|
|
158975
|
-
require2 = (0,
|
|
158997
|
+
require2 = (0, import_node_module29.createRequire)(__sootsim_import_meta_url);
|
|
158976
158998
|
}
|
|
158977
158999
|
});
|
|
158978
159000
|
|
|
@@ -167249,7 +167271,7 @@ var init_material_symbol_fonts = __esm({
|
|
|
167249
167271
|
|
|
167250
167272
|
// cli/material-symbol-fonts.ts
|
|
167251
167273
|
function materialSymbolFontPaths(appDir) {
|
|
167252
|
-
const appRequire = (0,
|
|
167274
|
+
const appRequire = (0, import_node_module30.createRequire)(import_node_path199.default.join(appDir, "package.json"));
|
|
167253
167275
|
let nativeManifest;
|
|
167254
167276
|
try {
|
|
167255
167277
|
nativeManifest = appRequire.resolve("@react-navigation/native/package.json");
|
|
@@ -167260,7 +167282,7 @@ function materialSymbolFontPaths(appDir) {
|
|
|
167260
167282
|
const dependencies = nativePackage && typeof nativePackage === "object" ? Reflect.get(nativePackage, "dependencies") : null;
|
|
167261
167283
|
if (!dependencies || typeof dependencies !== "object" || !Reflect.has(dependencies, "@react-navigation/material-symbols"))
|
|
167262
167284
|
return [];
|
|
167263
|
-
const nativeRequire = (0,
|
|
167285
|
+
const nativeRequire = (0, import_node_module30.createRequire)(nativeManifest);
|
|
167264
167286
|
const symbolsDir = import_node_path199.default.dirname(
|
|
167265
167287
|
nativeRequire.resolve("@react-navigation/material-symbols/package.json")
|
|
167266
167288
|
);
|
|
@@ -167295,13 +167317,13 @@ function materialSymbolFontAssets(fontPaths) {
|
|
|
167295
167317
|
mirroredPath: mirroredFile
|
|
167296
167318
|
};
|
|
167297
167319
|
}
|
|
167298
|
-
var import_node_crypto118, import_node_fs195,
|
|
167320
|
+
var import_node_crypto118, import_node_fs195, import_node_module30, import_node_path199;
|
|
167299
167321
|
var init_material_symbol_fonts2 = __esm({
|
|
167300
167322
|
"cli/material-symbol-fonts.ts"() {
|
|
167301
167323
|
"use strict";
|
|
167302
167324
|
import_node_crypto118 = require("node:crypto");
|
|
167303
167325
|
import_node_fs195 = __toESM(require("node:fs"), 1);
|
|
167304
|
-
|
|
167326
|
+
import_node_module30 = require("node:module");
|
|
167305
167327
|
import_node_path199 = __toESM(require("node:path"), 1);
|
|
167306
167328
|
init_material_symbol_fonts();
|
|
167307
167329
|
}
|
|
@@ -167350,7 +167372,7 @@ function resolveDeclaredFontPath(appDir, declared) {
|
|
|
167350
167372
|
let resolved = import_node_path200.default.resolve(appDir, declared);
|
|
167351
167373
|
if (!import_node_fs196.default.existsSync(resolved)) {
|
|
167352
167374
|
try {
|
|
167353
|
-
resolved = (0,
|
|
167375
|
+
resolved = (0, import_node_module31.createRequire)(import_node_path200.default.join(appDir, "package.json")).resolve(declared);
|
|
167354
167376
|
} catch {
|
|
167355
167377
|
return [];
|
|
167356
167378
|
}
|
|
@@ -167446,7 +167468,7 @@ function discoverNativeLinkedAppFontAssets(opts) {
|
|
|
167446
167468
|
if (!relativeRoot.startsWith("..") && !import_node_path200.default.isAbsolute(relativeRoot)) {
|
|
167447
167469
|
collectFontFiles(root);
|
|
167448
167470
|
}
|
|
167449
|
-
const vectorIconRequire = (0,
|
|
167471
|
+
const vectorIconRequire = (0, import_node_module31.createRequire)(import_node_path200.default.join(selectedAppDir, "package.json"));
|
|
167450
167472
|
for (const dependencyName of vectorIconDependencies) {
|
|
167451
167473
|
try {
|
|
167452
167474
|
const entryPath = vectorIconRequire.resolve(dependencyName);
|
|
@@ -167466,7 +167488,7 @@ function discoverNativeLinkedAppFontAssets(opts) {
|
|
|
167466
167488
|
try {
|
|
167467
167489
|
const configPath = import_node_path200.default.join(selectedAppDir, "react-native.config.js");
|
|
167468
167490
|
if (import_node_fs196.default.statSync(configPath).isFile()) {
|
|
167469
|
-
const appConfigRequire = (0,
|
|
167491
|
+
const appConfigRequire = (0, import_node_module31.createRequire)(import_node_path200.default.join(selectedAppDir, "package.json"));
|
|
167470
167492
|
const rnConfig = appConfigRequire(configPath);
|
|
167471
167493
|
const assets2 = rnConfig && typeof rnConfig === "object" ? Reflect.get(rnConfig, "assets") : null;
|
|
167472
167494
|
if (Array.isArray(assets2)) {
|
|
@@ -167538,13 +167560,13 @@ function discoverNativeLinkedAppFontAssets(opts) {
|
|
|
167538
167560
|
materialSymbols: materialSymbolFontAssets(materialFonts)
|
|
167539
167561
|
};
|
|
167540
167562
|
}
|
|
167541
|
-
var import_node_crypto119, import_node_fs196,
|
|
167563
|
+
var import_node_crypto119, import_node_fs196, import_node_module31, import_node_path200, require3;
|
|
167542
167564
|
var init_app_fonts = __esm({
|
|
167543
167565
|
"cli/app-fonts.ts"() {
|
|
167544
167566
|
"use strict";
|
|
167545
167567
|
import_node_crypto119 = require("node:crypto");
|
|
167546
167568
|
import_node_fs196 = __toESM(require("node:fs"), 1);
|
|
167547
|
-
|
|
167569
|
+
import_node_module31 = require("node:module");
|
|
167548
167570
|
import_node_path200 = __toESM(require("node:path"), 1);
|
|
167549
167571
|
init_cli_runtime();
|
|
167550
167572
|
init_staged_host_files();
|
|
@@ -167553,7 +167575,7 @@ var init_app_fonts = __esm({
|
|
|
167553
167575
|
init_xcode_project();
|
|
167554
167576
|
init_app_project();
|
|
167555
167577
|
init_material_symbol_fonts2();
|
|
167556
|
-
require3 = (0,
|
|
167578
|
+
require3 = (0, import_node_module31.createRequire)(__sootsim_import_meta_url);
|
|
167557
167579
|
}
|
|
167558
167580
|
});
|
|
167559
167581
|
|
|
@@ -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;
|
|
@@ -29571,7 +29571,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
29571
29571
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
29572
29572
|
MULTI_MANIFEST_VERSION = 76;
|
|
29573
29573
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
29574
|
-
compilerSourceDigest = true ? "
|
|
29574
|
+
compilerSourceDigest = true ? "9514fd3df63e23aff60b29d712c1253d5b24a143e35f726b153690421d62974e" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
29575
29575
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
29576
29576
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
29577
29577
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|