peachsim 0.1.2701 → 0.1.2702
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/cli/commands/package.ts +5 -5
- package/cli/package-duo-device.ts +24 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +105 -8
- 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-XYDEAJWX.mjs → acorn-I3ZAV2HM.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-KXQ6YPZJ.mjs → chunk-3TVOPWQ4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JAQLYGVS.mjs → chunk-4W62JNLV.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-43X64A24.mjs → chunk-55UUHJIF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NFVR346F.mjs → chunk-6Z2YJFQH.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-CMBYCFEF.mjs → chunk-74IQS3IW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5FIKQ7F4.mjs → chunk-7CNNZXLN.mjs} +116 -16
- package/dist-lib/esm-chunks/{chunk-JYSDQDL2.mjs → chunk-7ZXSFDJI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KGCR7O7F.mjs → chunk-AASQZJJD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OGJEDE5E.mjs → chunk-B2AJ3NG3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BGLOJMLA.mjs → chunk-C4ANQZOL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2GFDQ2RY.mjs → chunk-CTMG6TJS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DDGDFU4G.mjs → chunk-DUBZMBNO.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-DLRANZB6.mjs → chunk-GY7TSHXT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OPTGHXWZ.mjs → chunk-K6PYAFA7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A5WFZ2XX.mjs → chunk-OOGBJF7A.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-LGFEIKDM.mjs → chunk-OS4FVQQU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EBM3VDWK.mjs → chunk-P5TRIEZT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SSR5S6R3.mjs → chunk-PNFDFXED.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WWK6GMXB.mjs → chunk-PYE2SXBC.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-FW52XLFO.mjs → chunk-RRRO6O3P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YLVJRH27.mjs → chunk-SR5CKA77.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-STBRFFEL.mjs → chunk-W336OLQN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q5DBRTKN.mjs → chunk-ZSMI2FCL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-W6TXFCRI.mjs → chunk-ZYLZ676Y.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-NP3MSVX4.mjs → metro-layout-parser-FRE6D3WN.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-SVIMOFLA.mjs → swift-package-prebuilt-ZO6ZIEND.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-A6YJ4KNJ.mjs → swift-sdk-app-module-2CJZ7QH4.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-UYJ3VFF6.mjs → swift-sdk-image-RDVAVED4.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-7EWPBKNW.mjs → swift-sdk-image-producer-HDUM3MGT.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +105 -8
- 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 +105 -8
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- 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 +105 -8
- package/dist-lib/swift-compile.cjs +99 -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/package.json +1 -1
- package/src/swift-compile.ts +129 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -19553,7 +19553,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19553
19553
|
|
|
19554
19554
|
// src/swift-compiler-digest.ts
|
|
19555
19555
|
function swiftArchiveCompilerDigestValue() {
|
|
19556
|
-
return true ? "
|
|
19556
|
+
return true ? "39909834eb84be25ba8f28d5445119a2b1b1901ba6dc060eb55272a1b5bbc123" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19557
19557
|
}
|
|
19558
19558
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19559
19559
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19704,7 +19704,7 @@ var init_swift_standin_digest = __esm({
|
|
|
19704
19704
|
|
|
19705
19705
|
// src/expo-native-compiler-digest.ts
|
|
19706
19706
|
function expoNativeCompilerDigestValue() {
|
|
19707
|
-
return true ? "
|
|
19707
|
+
return true ? "f60137c13fc5ca6a134fa44208e6eee0b09cc5f73438fa80e93804f1a533fce4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19708
19708
|
}
|
|
19709
19709
|
var import_node_crypto18;
|
|
19710
19710
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -48276,6 +48276,93 @@ function readFrameworkProductsReceipt(scratch2, receiptKey) {
|
|
|
48276
48276
|
objcHeaders: new Map(parsed2.objcHeaders)
|
|
48277
48277
|
};
|
|
48278
48278
|
}
|
|
48279
|
+
function resolveBunBinary() {
|
|
48280
|
+
if (import_node_path70.default.basename(process.execPath).startsWith("bun")) return process.execPath;
|
|
48281
|
+
for (const candidate of [
|
|
48282
|
+
import_node_path70.default.join(import_node_os16.default.homedir(), "builders/bun/bin/bun"),
|
|
48283
|
+
import_node_path70.default.join(import_node_os16.default.homedir(), ".bun/bin/bun"),
|
|
48284
|
+
"/opt/homebrew/bin/bun",
|
|
48285
|
+
"/usr/local/bin/bun",
|
|
48286
|
+
"bun"
|
|
48287
|
+
]) {
|
|
48288
|
+
const probe = (0, import_node_child_process41.spawnSync)(candidate, ["--version"], { stdio: "ignore" });
|
|
48289
|
+
if (probe.status === 0) return candidate;
|
|
48290
|
+
}
|
|
48291
|
+
return null;
|
|
48292
|
+
}
|
|
48293
|
+
function frameworkHeaderContext(moduleRoot, products) {
|
|
48294
|
+
const sources = import_node_path70.default.join(moduleRoot, "Sources");
|
|
48295
|
+
const files2 = [];
|
|
48296
|
+
if ((0, import_node_fs70.existsSync)(sources)) {
|
|
48297
|
+
for (const entry of (0, import_node_fs70.readdirSync)(sources, { recursive: true, withFileTypes: true })) {
|
|
48298
|
+
if (!entry.isFile()) continue;
|
|
48299
|
+
const rel = import_node_path70.default.relative(sources, import_node_path70.default.join(entry.parentPath, entry.name));
|
|
48300
|
+
if (/\.(?:h|hh|hpp|hxx|inc|def|modulemap|apinotes)$/.test(rel)) files2.push(rel);
|
|
48301
|
+
}
|
|
48302
|
+
}
|
|
48303
|
+
return (0, import_node_crypto45.createHash)("sha256").update(JSON.stringify([[...products].sort(), files2.sort()])).digest("hex");
|
|
48304
|
+
}
|
|
48305
|
+
function shellQuote(value) {
|
|
48306
|
+
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
48307
|
+
}
|
|
48308
|
+
function prepareFrameworkCompileCache(scratch2, moduleRoot, toolchainBin, sdkOptions, products) {
|
|
48309
|
+
const launcher2 = import_node_path70.default.join(moduleRoot, "scripts/build-cache-launcher.ts");
|
|
48310
|
+
if (!(0, import_node_fs70.existsSync)(launcher2)) return null;
|
|
48311
|
+
const bunBin = resolveBunBinary();
|
|
48312
|
+
if (!bunBin) return null;
|
|
48313
|
+
const cacheRoot = import_node_path70.default.join(swiftCacheDir(), "swift-distribution-compile-cache");
|
|
48314
|
+
(0, import_node_fs70.mkdirSync)(cacheRoot, { recursive: true });
|
|
48315
|
+
const wrapperDir = import_node_path70.default.join(scratch2, "launch");
|
|
48316
|
+
(0, import_node_fs70.mkdirSync)(wrapperDir, { recursive: true });
|
|
48317
|
+
const wrapper = import_node_path70.default.join(wrapperDir, "swift-frontend");
|
|
48318
|
+
const statsFile = import_node_path70.default.join(scratch2, `compile-cache-stats-${process.pid}.jsonl`);
|
|
48319
|
+
(0, import_node_fs70.rmSync)(statsFile, { force: true });
|
|
48320
|
+
const sdkFlagIndex = sdkOptions.indexOf("--swift-sdks-path");
|
|
48321
|
+
const sdkViewDir = sdkFlagIndex >= 0 && sdkFlagIndex + 1 < sdkOptions.length ? sdkOptions[sdkFlagIndex + 1] : void 0;
|
|
48322
|
+
const pathMapEntries = [["$SLOT_ROOT", scratch2]];
|
|
48323
|
+
if (sdkViewDir) pathMapEntries.push(["$SDK_VIEW", sdkViewDir]);
|
|
48324
|
+
const pathMap = JSON.stringify(pathMapEntries);
|
|
48325
|
+
const context = frameworkHeaderContext(moduleRoot, products);
|
|
48326
|
+
const script = [
|
|
48327
|
+
"#!/bin/sh",
|
|
48328
|
+
`export SWIFT_SDK_COMPILE_CACHE=${shellQuote(cacheRoot)}`,
|
|
48329
|
+
"export SWIFT_SDK_COMPILE_CACHE_REUSE=1",
|
|
48330
|
+
`export SWIFT_SDK_COMPILE_CACHE_PATH_MAP=${shellQuote(pathMap)}`,
|
|
48331
|
+
`export SWIFT_SDK_COMPILE_CACHE_CONTEXT=${shellQuote(context)}`,
|
|
48332
|
+
`export SWIFT_SDK_COMPILE_CACHE_STATS=${shellQuote(statsFile)}`,
|
|
48333
|
+
`exec ${shellQuote(bunBin)} ${shellQuote(launcher2)} ${shellQuote(import_node_path70.default.join(toolchainBin, "swift-frontend"))} "$@"`,
|
|
48334
|
+
""
|
|
48335
|
+
].join("\n");
|
|
48336
|
+
const partial = `${wrapper}.${process.pid}.${(0, import_node_crypto45.randomUUID)()}.partial`;
|
|
48337
|
+
(0, import_node_fs70.writeFileSync)(partial, script, { mode: 493 });
|
|
48338
|
+
(0, import_node_fs70.chmodSync)(partial, 493);
|
|
48339
|
+
(0, import_node_fs70.renameSync)(partial, wrapper);
|
|
48340
|
+
return { wrapper, statsFile };
|
|
48341
|
+
}
|
|
48342
|
+
function reportFrameworkCompileCacheStats(scratch2, statsFile) {
|
|
48343
|
+
if (!(0, import_node_fs70.existsSync)(statsFile)) return;
|
|
48344
|
+
let hits = 0;
|
|
48345
|
+
let misses = 0;
|
|
48346
|
+
let savedMs = 0;
|
|
48347
|
+
try {
|
|
48348
|
+
for (const line of (0, import_node_fs70.readFileSync)(statsFile, "utf8").split("\n").filter(Boolean)) {
|
|
48349
|
+
const entry = JSON.parse(line);
|
|
48350
|
+
hits += entry.hits ?? 0;
|
|
48351
|
+
misses += entry.misses ?? 0;
|
|
48352
|
+
savedMs += entry.savedMs ?? 0;
|
|
48353
|
+
}
|
|
48354
|
+
} catch (error) {
|
|
48355
|
+
if (error instanceof SyntaxError) return;
|
|
48356
|
+
throw error;
|
|
48357
|
+
} finally {
|
|
48358
|
+
(0, import_node_fs70.rmSync)(statsFile, { force: true });
|
|
48359
|
+
}
|
|
48360
|
+
if (hits > 0 || misses > 0) {
|
|
48361
|
+
console.error(
|
|
48362
|
+
`[swift-framework-compile-cache] ${import_node_path70.default.basename(scratch2)} hits=${hits} misses=${misses} saved=${(savedMs / 1e3).toFixed(1)}s`
|
|
48363
|
+
);
|
|
48364
|
+
}
|
|
48365
|
+
}
|
|
48279
48366
|
async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
48280
48367
|
const linkedTargets = linkedFrameworkTargets(args.moduleRoot, args.input);
|
|
48281
48368
|
const unoptimized = args.input.unoptimized === true;
|
|
@@ -48305,6 +48392,13 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
48305
48392
|
const jobs = swiftCompilerJobs();
|
|
48306
48393
|
const targetJobs = jobs >= 4 ? 2 : 1;
|
|
48307
48394
|
const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
|
|
48395
|
+
const cache = unoptimized ? null : prepareFrameworkCompileCache(
|
|
48396
|
+
scratch2,
|
|
48397
|
+
args.moduleRoot,
|
|
48398
|
+
args.toolchainBin,
|
|
48399
|
+
sdkOptions,
|
|
48400
|
+
linkedTargets.products
|
|
48401
|
+
);
|
|
48308
48402
|
await runCompiler(
|
|
48309
48403
|
args.swift,
|
|
48310
48404
|
[
|
|
@@ -48326,6 +48420,7 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
48326
48420
|
args.sdk,
|
|
48327
48421
|
"-c",
|
|
48328
48422
|
"release",
|
|
48423
|
+
...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
|
|
48329
48424
|
"-Xswiftc",
|
|
48330
48425
|
unoptimized ? "-Onone" : "-Osize",
|
|
48331
48426
|
"-Xswiftc",
|
|
@@ -48381,6 +48476,8 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
48381
48476
|
SWIFTPM_NOISE
|
|
48382
48477
|
).catch((error) => {
|
|
48383
48478
|
throw new Error(outputOf(error), { cause: error });
|
|
48479
|
+
}).finally(() => {
|
|
48480
|
+
if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
|
|
48384
48481
|
});
|
|
48385
48482
|
const release = import_node_path70.default.join(scratch2, WASM_TRIPLE, "release");
|
|
48386
48483
|
const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
|
|
@@ -49859,7 +49956,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
49859
49956
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
49860
49957
|
MULTI_MANIFEST_VERSION = 76;
|
|
49861
49958
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
49862
|
-
compilerSourceDigest = true ? "
|
|
49959
|
+
compilerSourceDigest = true ? "4b5296f7b88a7be563cde8239498701a41c68229cacc781e4afdc07708efd060" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
49863
49960
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
49864
49961
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
49865
49962
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -79445,16 +79542,16 @@ if (result.error) throw result.error;
|
|
|
79445
79542
|
process.exit(result.status ?? 1);
|
|
79446
79543
|
`
|
|
79447
79544
|
);
|
|
79448
|
-
const
|
|
79545
|
+
const shellQuote2 = (value) => `'${value.replaceAll("'", "'\\''")}'`;
|
|
79449
79546
|
import_node_fs100.default.writeFileSync(
|
|
79450
79547
|
file,
|
|
79451
79548
|
`#!/bin/sh
|
|
79452
79549
|
for arg in "$@"; do
|
|
79453
79550
|
case "$arg" in
|
|
79454
|
-
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${
|
|
79551
|
+
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${shellQuote2(script)} "$@" ;;
|
|
79455
79552
|
esac
|
|
79456
79553
|
done
|
|
79457
|
-
exec ${
|
|
79554
|
+
exec ${shellQuote2(configuration.compiler)} "$@"
|
|
79458
79555
|
`,
|
|
79459
79556
|
{ mode: 493 }
|
|
79460
79557
|
);
|
|
@@ -105240,7 +105337,7 @@ var init_nitro_superset = __esm({
|
|
|
105240
105337
|
init_nitroContract();
|
|
105241
105338
|
init_swift_standin_digest();
|
|
105242
105339
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105243
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105340
|
+
NITRO_COMPILER_DIGEST = true ? "bf61434f349db22bddb8b6fef75eaf4ec568f1b954243c514a699b7b94b1f617" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105244
105341
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105245
105342
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105246
105343
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-GY7TSHXT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-4W62JNLV.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-55UUHJIF.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-ZSMI2FCL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-ZYLZ676Y.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-P5TRIEZT.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -6177,7 +6177,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6177
6177
|
|
|
6178
6178
|
// src/swift-compiler-digest.ts
|
|
6179
6179
|
function swiftArchiveCompilerDigestValue() {
|
|
6180
|
-
return true ? "
|
|
6180
|
+
return true ? "39909834eb84be25ba8f28d5445119a2b1b1901ba6dc060eb55272a1b5bbc123" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6181
6181
|
}
|
|
6182
6182
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6183
6183
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6328,7 +6328,7 @@ var init_swift_standin_digest = __esm({
|
|
|
6328
6328
|
|
|
6329
6329
|
// src/expo-native-compiler-digest.ts
|
|
6330
6330
|
function expoNativeCompilerDigestValue() {
|
|
6331
|
-
return true ? "
|
|
6331
|
+
return true ? "f60137c13fc5ca6a134fa44208e6eee0b09cc5f73438fa80e93804f1a533fce4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6332
6332
|
}
|
|
6333
6333
|
var import_node_crypto12;
|
|
6334
6334
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -53036,6 +53036,93 @@ function readFrameworkProductsReceipt(scratch2, receiptKey) {
|
|
|
53036
53036
|
objcHeaders: new Map(parsed2.objcHeaders)
|
|
53037
53037
|
};
|
|
53038
53038
|
}
|
|
53039
|
+
function resolveBunBinary() {
|
|
53040
|
+
if (import_node_path84.default.basename(process.execPath).startsWith("bun")) return process.execPath;
|
|
53041
|
+
for (const candidate of [
|
|
53042
|
+
import_node_path84.default.join(import_node_os18.default.homedir(), "builders/bun/bin/bun"),
|
|
53043
|
+
import_node_path84.default.join(import_node_os18.default.homedir(), ".bun/bin/bun"),
|
|
53044
|
+
"/opt/homebrew/bin/bun",
|
|
53045
|
+
"/usr/local/bin/bun",
|
|
53046
|
+
"bun"
|
|
53047
|
+
]) {
|
|
53048
|
+
const probe = (0, import_node_child_process43.spawnSync)(candidate, ["--version"], { stdio: "ignore" });
|
|
53049
|
+
if (probe.status === 0) return candidate;
|
|
53050
|
+
}
|
|
53051
|
+
return null;
|
|
53052
|
+
}
|
|
53053
|
+
function frameworkHeaderContext(moduleRoot, products) {
|
|
53054
|
+
const sources = import_node_path84.default.join(moduleRoot, "Sources");
|
|
53055
|
+
const files2 = [];
|
|
53056
|
+
if ((0, import_node_fs82.existsSync)(sources)) {
|
|
53057
|
+
for (const entry of (0, import_node_fs82.readdirSync)(sources, { recursive: true, withFileTypes: true })) {
|
|
53058
|
+
if (!entry.isFile()) continue;
|
|
53059
|
+
const rel = import_node_path84.default.relative(sources, import_node_path84.default.join(entry.parentPath, entry.name));
|
|
53060
|
+
if (/\.(?:h|hh|hpp|hxx|inc|def|modulemap|apinotes)$/.test(rel)) files2.push(rel);
|
|
53061
|
+
}
|
|
53062
|
+
}
|
|
53063
|
+
return (0, import_node_crypto50.createHash)("sha256").update(JSON.stringify([[...products].sort(), files2.sort()])).digest("hex");
|
|
53064
|
+
}
|
|
53065
|
+
function shellQuote(value) {
|
|
53066
|
+
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
53067
|
+
}
|
|
53068
|
+
function prepareFrameworkCompileCache(scratch2, moduleRoot, toolchainBin, sdkOptions, products) {
|
|
53069
|
+
const launcher2 = import_node_path84.default.join(moduleRoot, "scripts/build-cache-launcher.ts");
|
|
53070
|
+
if (!(0, import_node_fs82.existsSync)(launcher2)) return null;
|
|
53071
|
+
const bunBin = resolveBunBinary();
|
|
53072
|
+
if (!bunBin) return null;
|
|
53073
|
+
const cacheRoot = import_node_path84.default.join(swiftCacheDir(), "swift-distribution-compile-cache");
|
|
53074
|
+
(0, import_node_fs82.mkdirSync)(cacheRoot, { recursive: true });
|
|
53075
|
+
const wrapperDir = import_node_path84.default.join(scratch2, "launch");
|
|
53076
|
+
(0, import_node_fs82.mkdirSync)(wrapperDir, { recursive: true });
|
|
53077
|
+
const wrapper = import_node_path84.default.join(wrapperDir, "swift-frontend");
|
|
53078
|
+
const statsFile = import_node_path84.default.join(scratch2, `compile-cache-stats-${process.pid}.jsonl`);
|
|
53079
|
+
(0, import_node_fs82.rmSync)(statsFile, { force: true });
|
|
53080
|
+
const sdkFlagIndex = sdkOptions.indexOf("--swift-sdks-path");
|
|
53081
|
+
const sdkViewDir = sdkFlagIndex >= 0 && sdkFlagIndex + 1 < sdkOptions.length ? sdkOptions[sdkFlagIndex + 1] : void 0;
|
|
53082
|
+
const pathMapEntries = [["$SLOT_ROOT", scratch2]];
|
|
53083
|
+
if (sdkViewDir) pathMapEntries.push(["$SDK_VIEW", sdkViewDir]);
|
|
53084
|
+
const pathMap = JSON.stringify(pathMapEntries);
|
|
53085
|
+
const context = frameworkHeaderContext(moduleRoot, products);
|
|
53086
|
+
const script = [
|
|
53087
|
+
"#!/bin/sh",
|
|
53088
|
+
`export SWIFT_SDK_COMPILE_CACHE=${shellQuote(cacheRoot)}`,
|
|
53089
|
+
"export SWIFT_SDK_COMPILE_CACHE_REUSE=1",
|
|
53090
|
+
`export SWIFT_SDK_COMPILE_CACHE_PATH_MAP=${shellQuote(pathMap)}`,
|
|
53091
|
+
`export SWIFT_SDK_COMPILE_CACHE_CONTEXT=${shellQuote(context)}`,
|
|
53092
|
+
`export SWIFT_SDK_COMPILE_CACHE_STATS=${shellQuote(statsFile)}`,
|
|
53093
|
+
`exec ${shellQuote(bunBin)} ${shellQuote(launcher2)} ${shellQuote(import_node_path84.default.join(toolchainBin, "swift-frontend"))} "$@"`,
|
|
53094
|
+
""
|
|
53095
|
+
].join("\n");
|
|
53096
|
+
const partial = `${wrapper}.${process.pid}.${(0, import_node_crypto50.randomUUID)()}.partial`;
|
|
53097
|
+
(0, import_node_fs82.writeFileSync)(partial, script, { mode: 493 });
|
|
53098
|
+
(0, import_node_fs82.chmodSync)(partial, 493);
|
|
53099
|
+
(0, import_node_fs82.renameSync)(partial, wrapper);
|
|
53100
|
+
return { wrapper, statsFile };
|
|
53101
|
+
}
|
|
53102
|
+
function reportFrameworkCompileCacheStats(scratch2, statsFile) {
|
|
53103
|
+
if (!(0, import_node_fs82.existsSync)(statsFile)) return;
|
|
53104
|
+
let hits = 0;
|
|
53105
|
+
let misses = 0;
|
|
53106
|
+
let savedMs = 0;
|
|
53107
|
+
try {
|
|
53108
|
+
for (const line of (0, import_node_fs82.readFileSync)(statsFile, "utf8").split("\n").filter(Boolean)) {
|
|
53109
|
+
const entry = JSON.parse(line);
|
|
53110
|
+
hits += entry.hits ?? 0;
|
|
53111
|
+
misses += entry.misses ?? 0;
|
|
53112
|
+
savedMs += entry.savedMs ?? 0;
|
|
53113
|
+
}
|
|
53114
|
+
} catch (error) {
|
|
53115
|
+
if (error instanceof SyntaxError) return;
|
|
53116
|
+
throw error;
|
|
53117
|
+
} finally {
|
|
53118
|
+
(0, import_node_fs82.rmSync)(statsFile, { force: true });
|
|
53119
|
+
}
|
|
53120
|
+
if (hits > 0 || misses > 0) {
|
|
53121
|
+
console.error(
|
|
53122
|
+
`[swift-framework-compile-cache] ${import_node_path84.default.basename(scratch2)} hits=${hits} misses=${misses} saved=${(savedMs / 1e3).toFixed(1)}s`
|
|
53123
|
+
);
|
|
53124
|
+
}
|
|
53125
|
+
}
|
|
53039
53126
|
async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
53040
53127
|
const linkedTargets = linkedFrameworkTargets(args.moduleRoot, args.input);
|
|
53041
53128
|
const unoptimized = args.input.unoptimized === true;
|
|
@@ -53065,6 +53152,13 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53065
53152
|
const jobs = swiftCompilerJobs();
|
|
53066
53153
|
const targetJobs = jobs >= 4 ? 2 : 1;
|
|
53067
53154
|
const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
|
|
53155
|
+
const cache = unoptimized ? null : prepareFrameworkCompileCache(
|
|
53156
|
+
scratch2,
|
|
53157
|
+
args.moduleRoot,
|
|
53158
|
+
args.toolchainBin,
|
|
53159
|
+
sdkOptions,
|
|
53160
|
+
linkedTargets.products
|
|
53161
|
+
);
|
|
53068
53162
|
await runCompiler(
|
|
53069
53163
|
args.swift,
|
|
53070
53164
|
[
|
|
@@ -53086,6 +53180,7 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53086
53180
|
args.sdk,
|
|
53087
53181
|
"-c",
|
|
53088
53182
|
"release",
|
|
53183
|
+
...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
|
|
53089
53184
|
"-Xswiftc",
|
|
53090
53185
|
unoptimized ? "-Onone" : "-Osize",
|
|
53091
53186
|
"-Xswiftc",
|
|
@@ -53141,6 +53236,8 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53141
53236
|
SWIFTPM_NOISE
|
|
53142
53237
|
).catch((error) => {
|
|
53143
53238
|
throw new Error(outputOf(error), { cause: error });
|
|
53239
|
+
}).finally(() => {
|
|
53240
|
+
if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
|
|
53144
53241
|
});
|
|
53145
53242
|
const release = import_node_path84.default.join(scratch2, WASM_TRIPLE, "release");
|
|
53146
53243
|
const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
|
|
@@ -54619,7 +54716,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
54619
54716
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
54620
54717
|
MULTI_MANIFEST_VERSION = 76;
|
|
54621
54718
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
54622
|
-
compilerSourceDigest = true ? "
|
|
54719
|
+
compilerSourceDigest = true ? "4b5296f7b88a7be563cde8239498701a41c68229cacc781e4afdc07708efd060" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
54623
54720
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
54624
54721
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
54625
54722
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -84059,16 +84156,16 @@ if (result.error) throw result.error;
|
|
|
84059
84156
|
process.exit(result.status ?? 1);
|
|
84060
84157
|
`
|
|
84061
84158
|
);
|
|
84062
|
-
const
|
|
84159
|
+
const shellQuote2 = (value) => `'${value.replaceAll("'", "'\\''")}'`;
|
|
84063
84160
|
import_node_fs112.default.writeFileSync(
|
|
84064
84161
|
file,
|
|
84065
84162
|
`#!/bin/sh
|
|
84066
84163
|
for arg in "$@"; do
|
|
84067
84164
|
case "$arg" in
|
|
84068
|
-
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${
|
|
84165
|
+
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${shellQuote2(script)} "$@" ;;
|
|
84069
84166
|
esac
|
|
84070
84167
|
done
|
|
84071
|
-
exec ${
|
|
84168
|
+
exec ${shellQuote2(configuration2.compiler)} "$@"
|
|
84072
84169
|
`,
|
|
84073
84170
|
{ mode: 493 }
|
|
84074
84171
|
);
|
|
@@ -127261,7 +127358,7 @@ var init_nitro_superset = __esm({
|
|
|
127261
127358
|
init_nitroContract();
|
|
127262
127359
|
init_swift_standin_digest();
|
|
127263
127360
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
127264
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
127361
|
+
NITRO_COMPILER_DIGEST = true ? "bf61434f349db22bddb8b6fef75eaf4ec568f1b954243c514a699b7b94b1f617" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
127265
127362
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
127266
127363
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
127267
127364
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -1061,7 +1061,7 @@ var init_swift_standin_digest = __esm({
|
|
|
1061
1061
|
|
|
1062
1062
|
// src/expo-native-compiler-digest.ts
|
|
1063
1063
|
function expoNativeCompilerDigestValue() {
|
|
1064
|
-
return true ? "
|
|
1064
|
+
return true ? "f60137c13fc5ca6a134fa44208e6eee0b09cc5f73438fa80e93804f1a533fce4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
1065
1065
|
}
|
|
1066
1066
|
var import_node_crypto6;
|
|
1067
1067
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -6099,7 +6099,7 @@ var init_swift_compile = __esm({
|
|
|
6099
6099
|
ExpoModulesCore: []
|
|
6100
6100
|
};
|
|
6101
6101
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
6102
|
-
compilerSourceDigest = true ? "
|
|
6102
|
+
compilerSourceDigest = true ? "4b5296f7b88a7be563cde8239498701a41c68229cacc781e4afdc07708efd060" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
6103
6103
|
NOT_ON_IOS = new RegExp(
|
|
6104
6104
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
6105
6105
|
"g"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "../esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-P5TRIEZT.mjs";
|
|
3
3
|
|
|
4
4
|
// src/host/fetch-proxy-overrides.ts
|
|
5
5
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-AASQZJJD.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-P5TRIEZT.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-ZYLZ676Y.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-P5TRIEZT.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-fingerprint-registry.ts
|
|
8
8
|
var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-ZSMI2FCL.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-P5TRIEZT.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-production-bundle.ts
|
|
8
8
|
var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
|
|
@@ -131,7 +131,7 @@ function metroCalls(expression) {
|
|
|
131
131
|
return [];
|
|
132
132
|
}
|
|
133
133
|
async function readRNXMetroBundleLayout(source) {
|
|
134
|
-
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-
|
|
134
|
+
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-FRE6D3WN.mjs");
|
|
135
135
|
const MetroLayoutParser = await loadMetroLayoutParser();
|
|
136
136
|
const program = MetroLayoutParser.parse(source, {
|
|
137
137
|
ecmaVersion: "latest",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (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;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftNativePin
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
6
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-PYE2SXBC.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-B2AJ3NG3.mjs";
|
|
6
|
+
import "./esm-chunks/chunk-3TVOPWQ4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
NATIVE_GRAPH_SDK_VERSION,
|
|
9
9
|
cacheDir
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-SR5CKA77.mjs";
|
|
11
11
|
import {
|
|
12
12
|
privateSwiftRelease,
|
|
13
13
|
swiftEnvironment,
|
|
14
14
|
swiftToolchainBin
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-W336OLQN.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-GY7TSHXT.mjs";
|
|
17
17
|
import {
|
|
18
18
|
SWIFT_OBJCXX_LANGUAGE_FLAG,
|
|
19
19
|
isSwiftNativeTranslationUnit,
|
|
20
20
|
moduleMapName
|
|
21
|
-
} from "./esm-chunks/chunk-
|
|
21
|
+
} from "./esm-chunks/chunk-OS4FVQQU.mjs";
|
|
22
22
|
import {
|
|
23
23
|
androidMergedResourceValuesDirectory,
|
|
24
24
|
extractNativeAppIdentityFromFiles,
|
|
@@ -36,22 +36,22 @@ import {
|
|
|
36
36
|
xcodeBuildFileBuildsForIos,
|
|
37
37
|
xcodePathResolver,
|
|
38
38
|
xcodeTargetMemberVisitor
|
|
39
|
-
} from "./esm-chunks/chunk-
|
|
40
|
-
import "./esm-chunks/chunk-
|
|
39
|
+
} from "./esm-chunks/chunk-4W62JNLV.mjs";
|
|
40
|
+
import "./esm-chunks/chunk-55UUHJIF.mjs";
|
|
41
41
|
import {
|
|
42
42
|
buildPlist,
|
|
43
43
|
parsePlist,
|
|
44
44
|
parsePlistSource,
|
|
45
45
|
parseXmlPlist
|
|
46
|
-
} from "./esm-chunks/chunk-
|
|
47
|
-
import "./esm-chunks/chunk-
|
|
48
|
-
import "./esm-chunks/chunk-
|
|
46
|
+
} from "./esm-chunks/chunk-K6PYAFA7.mjs";
|
|
47
|
+
import "./esm-chunks/chunk-7ZXSFDJI.mjs";
|
|
48
|
+
import "./esm-chunks/chunk-ZSMI2FCL.mjs";
|
|
49
49
|
import {
|
|
50
50
|
isRecord
|
|
51
|
-
} from "./esm-chunks/chunk-
|
|
51
|
+
} from "./esm-chunks/chunk-ZYLZ676Y.mjs";
|
|
52
52
|
import {
|
|
53
53
|
__publicField
|
|
54
|
-
} from "./esm-chunks/chunk-
|
|
54
|
+
} from "./esm-chunks/chunk-P5TRIEZT.mjs";
|
|
55
55
|
|
|
56
56
|
// src/native-app-identity-project.ts
|
|
57
57
|
import fs8 from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2702 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|