peachsim 0.1.2701 → 0.1.2703
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/commands/perf-native.ts +100 -58
- 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 +117 -10
- 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-43Q5KRLL.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-JAQLYGVS.mjs → chunk-3XOKPZGS.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-43X64A24.mjs → chunk-42K537BB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KXQ6YPZJ.mjs → chunk-4BMF44KC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2GFDQ2RY.mjs → chunk-4N7DHUC6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LGFEIKDM.mjs → chunk-B3AGCWOJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YLVJRH27.mjs → chunk-DMHSTMXP.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-BGLOJMLA.mjs → chunk-F3RRYYLF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CMBYCFEF.mjs → chunk-GUR2WE4P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WWK6GMXB.mjs → chunk-H5ELVRKG.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-EBM3VDWK.mjs → chunk-HFPHOP7B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FW52XLFO.mjs → chunk-HXDBQN66.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A5WFZ2XX.mjs → chunk-JZ5XJAXQ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-JYSDQDL2.mjs → chunk-K2OOA65C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q5DBRTKN.mjs → chunk-KP2NMWWX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NFVR346F.mjs → chunk-NFKOUEBN.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-OGJEDE5E.mjs → chunk-NNWFER2D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OPTGHXWZ.mjs → chunk-ODCTJTKL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DLRANZB6.mjs → chunk-SG3PGG3S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-W6TXFCRI.mjs → chunk-SMBH32NF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SSR5S6R3.mjs → chunk-SOAH7CMP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-STBRFFEL.mjs → chunk-TT3PYTWA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KGCR7O7F.mjs → chunk-UJSEYJ2F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DDGDFU4G.mjs → chunk-VSD7SG36.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-5FIKQ7F4.mjs → chunk-YF5O3ABY.mjs} +128 -18
- package/dist-lib/esm-chunks/{metro-layout-parser-NP3MSVX4.mjs → metro-layout-parser-UY33H5NJ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-SVIMOFLA.mjs → swift-package-prebuilt-H3JZE3QC.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-A6YJ4KNJ.mjs → swift-sdk-app-module-FZWIOWZN.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-UYJ3VFF6.mjs → swift-sdk-image-7WNTYEJX.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-7EWPBKNW.mjs → swift-sdk-image-producer-MJD3U6GW.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +117 -10
- 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 +392 -14
- 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 +392 -14
- package/dist-lib/swift-compile.cjs +111 -4
- 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/{core-abi → shared}/value/kernel-client.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -1
- package/package.json +1 -1
- package/src/one-native-controls-package.ts +306 -5
- package/src/swift-compile.ts +147 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2703 | (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 ? "10a1dc09394bc0196745c5277f51cf1355975d7ad316a0844781a3da3c3d2793" : 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 ? "6fd4ab24d79c8c63d4ebc87630e9d6bb5d9d51c189783ea4af28911a52e01ead" : 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);
|
|
@@ -48508,6 +48605,16 @@ ${args.frameworkKey}`,
|
|
|
48508
48605
|
(0, import_node_fs70.renameSync)(partialReceipt, receiptFile2);
|
|
48509
48606
|
return result;
|
|
48510
48607
|
}
|
|
48608
|
+
function swiftFrameworkSlotCount(unoptimized) {
|
|
48609
|
+
const base = unoptimized ? SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS : SWIFT_FRAMEWORK_SLOTS;
|
|
48610
|
+
if (process.platform !== "linux") return base;
|
|
48611
|
+
const cores = import_node_os16.default.availableParallelism();
|
|
48612
|
+
return unoptimized ? Math.min(8, Math.max(base, Math.floor(cores / 16))) : Math.min(16, Math.max(base, Math.floor(cores / 8)));
|
|
48613
|
+
}
|
|
48614
|
+
function swiftBuildRootSlotCount() {
|
|
48615
|
+
if (process.platform !== "linux") return SWIFT_BUILD_ROOT_SLOTS;
|
|
48616
|
+
return import_node_os16.default.availableParallelism() >= 64 ? 8 : SWIFT_BUILD_ROOT_SLOTS;
|
|
48617
|
+
}
|
|
48511
48618
|
function swiftFrameworksDir(unoptimized = false) {
|
|
48512
48619
|
return import_node_path70.default.join(
|
|
48513
48620
|
swiftCacheDir(),
|
|
@@ -48529,7 +48636,7 @@ function swiftFrameworkSlotRelease(slot) {
|
|
|
48529
48636
|
return swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_RELEASE);
|
|
48530
48637
|
}
|
|
48531
48638
|
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized = false) {
|
|
48532
|
-
const slotCount = unoptimized
|
|
48639
|
+
const slotCount = swiftFrameworkSlotCount(unoptimized);
|
|
48533
48640
|
const slotsDir = swiftFrameworksDir(unoptimized);
|
|
48534
48641
|
const slots = Array.from({ length: slotCount }, (_, index) => {
|
|
48535
48642
|
const slot = import_node_path70.default.join(slotsDir, `slot-${index}`);
|
|
@@ -48623,7 +48730,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
48623
48730
|
}
|
|
48624
48731
|
}
|
|
48625
48732
|
async function withSwiftBuildRootSlot(baseRoot, exactShape, compatShape, signal, work) {
|
|
48626
|
-
const slots = Array.from({ length:
|
|
48733
|
+
const slots = Array.from({ length: swiftBuildRootSlotCount() }, (_, index) => {
|
|
48627
48734
|
const slot = index === 0 ? baseRoot : `${baseRoot}-s${index}`;
|
|
48628
48735
|
(0, import_node_fs70.mkdirSync)(slot, { recursive: true });
|
|
48629
48736
|
return slot;
|
|
@@ -49859,7 +49966,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
49859
49966
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
49860
49967
|
MULTI_MANIFEST_VERSION = 76;
|
|
49861
49968
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
49862
|
-
compilerSourceDigest = true ? "
|
|
49969
|
+
compilerSourceDigest = true ? "f8823b39a6f101e159cffdd4e1598d7edb8645267453be7613ef42f7c3ee4154" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
49863
49970
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
49864
49971
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
49865
49972
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -79445,16 +79552,16 @@ if (result.error) throw result.error;
|
|
|
79445
79552
|
process.exit(result.status ?? 1);
|
|
79446
79553
|
`
|
|
79447
79554
|
);
|
|
79448
|
-
const
|
|
79555
|
+
const shellQuote2 = (value) => `'${value.replaceAll("'", "'\\''")}'`;
|
|
79449
79556
|
import_node_fs100.default.writeFileSync(
|
|
79450
79557
|
file,
|
|
79451
79558
|
`#!/bin/sh
|
|
79452
79559
|
for arg in "$@"; do
|
|
79453
79560
|
case "$arg" in
|
|
79454
|
-
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${
|
|
79561
|
+
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${shellQuote2(script)} "$@" ;;
|
|
79455
79562
|
esac
|
|
79456
79563
|
done
|
|
79457
|
-
exec ${
|
|
79564
|
+
exec ${shellQuote2(configuration.compiler)} "$@"
|
|
79458
79565
|
`,
|
|
79459
79566
|
{ mode: 493 }
|
|
79460
79567
|
);
|
|
@@ -105240,7 +105347,7 @@ var init_nitro_superset = __esm({
|
|
|
105240
105347
|
init_nitroContract();
|
|
105241
105348
|
init_swift_standin_digest();
|
|
105242
105349
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105243
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105350
|
+
NITRO_COMPILER_DIGEST = true ? "feb0b5221554104f81d7bdc24e12aa9338b9c204bb8d00be16850a92c5a80330" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105244
105351
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105245
105352
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105246
105353
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2703 | (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.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-SG3PGG3S.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-3XOKPZGS.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-42K537BB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-KP2NMWWX.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-SMBH32NF.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-HFPHOP7B.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.2703 | (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;
|