peachsim 0.1.1879 → 0.1.1881
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 +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +109 -54
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +104 -51
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +107 -52
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +2 -2
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +2 -2
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +5 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- 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 +1 -1
- package/dist-lib/skills.cjs +109 -54
- package/dist-lib/swift-compile.cjs +97 -48
- package/dist-lib/swift-compile.mjs +100 -48
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +98 -49
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +4 -0
- package/src/swift-compile.ts +135 -64
- package/src/turbo-source.ts +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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.1881 | (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.1881 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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;
|
|
@@ -27222,13 +27222,6 @@ function removeCaseCollidingModuleArtifacts(modulesDir, keep) {
|
|
|
27222
27222
|
(0, import_node_fs40.rmSync)(import_node_path38.default.join(modulesDir, name3), { recursive: true, force: true });
|
|
27223
27223
|
}
|
|
27224
27224
|
}
|
|
27225
|
-
async function compileFrameworkProducts(args) {
|
|
27226
|
-
const scratch2 = swiftFrameworkScratch(args.frameworkKey);
|
|
27227
|
-
(0, import_node_fs40.mkdirSync)(scratch2, { recursive: true });
|
|
27228
|
-
const now = /* @__PURE__ */ new Date();
|
|
27229
|
-
(0, import_node_fs40.utimesSync)(scratch2, now, now);
|
|
27230
|
-
return buildFrameworkProducts(scratch2, args);
|
|
27231
|
-
}
|
|
27232
27225
|
async function buildFrameworkProducts(scratch2, args) {
|
|
27233
27226
|
const linkedTargets = linkedFrameworkTargets(args.moduleRoot, args.input);
|
|
27234
27227
|
const linkRoot = import_node_path38.default.join(scratch2, "link");
|
|
@@ -27351,30 +27344,97 @@ function swiftFrameworksDir() {
|
|
|
27351
27344
|
function swiftFrameworkScratch(frameworkKey) {
|
|
27352
27345
|
return import_node_path38.default.join(swiftFrameworksDir(), frameworkKey);
|
|
27353
27346
|
}
|
|
27354
|
-
function
|
|
27355
|
-
|
|
27356
|
-
|
|
27357
|
-
|
|
27358
|
-
|
|
27359
|
-
|
|
27360
|
-
|
|
27361
|
-
|
|
27362
|
-
|
|
27363
|
-
|
|
27364
|
-
|
|
27347
|
+
function swiftFrameworkSlotKey(slot) {
|
|
27348
|
+
try {
|
|
27349
|
+
return (0, import_node_fs40.readFileSync)(import_node_path38.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), "utf8").trim();
|
|
27350
|
+
} catch (error) {
|
|
27351
|
+
if (!vanished(error)) throw error;
|
|
27352
|
+
return null;
|
|
27353
|
+
}
|
|
27354
|
+
}
|
|
27355
|
+
async function withSwiftFrameworkSlot(frameworkKey, signal, work) {
|
|
27356
|
+
const slots = Array.from({ length: SWIFT_FRAMEWORK_SLOTS }, (_, index) => {
|
|
27357
|
+
const slot = import_node_path38.default.join(swiftFrameworksDir(), `slot-${index}`);
|
|
27358
|
+
(0, import_node_fs40.mkdirSync)(slot, { recursive: true });
|
|
27359
|
+
return slot;
|
|
27365
27360
|
});
|
|
27366
|
-
(
|
|
27367
|
-
|
|
27368
|
-
|
|
27369
|
-
|
|
27370
|
-
|
|
27371
|
-
|
|
27372
|
-
|
|
27373
|
-
|
|
27374
|
-
|
|
27375
|
-
|
|
27376
|
-
|
|
27377
|
-
|
|
27361
|
+
const run11 = (slot) => (lease) => {
|
|
27362
|
+
const now = /* @__PURE__ */ new Date();
|
|
27363
|
+
(0, import_node_fs40.utimesSync)(slot, now, now);
|
|
27364
|
+
return work(slot, lease);
|
|
27365
|
+
};
|
|
27366
|
+
const staged = slots.find((slot) => swiftFrameworkSlotKey(slot) === frameworkKey);
|
|
27367
|
+
if (staged) return withSwiftRootLock(staged, run11(staged), signal);
|
|
27368
|
+
const oldest = slots.sort(
|
|
27369
|
+
(left, right) => (0, import_node_fs40.statSync)(left).mtimeMs - (0, import_node_fs40.statSync)(right).mtimeMs
|
|
27370
|
+
);
|
|
27371
|
+
for (const slot of oldest) {
|
|
27372
|
+
const result = await withSwiftRootLock(
|
|
27373
|
+
slot,
|
|
27374
|
+
async (lease) => ({ value: await run11(slot)(lease) }),
|
|
27375
|
+
signal,
|
|
27376
|
+
false
|
|
27377
|
+
);
|
|
27378
|
+
if (result) return result.value;
|
|
27379
|
+
}
|
|
27380
|
+
return withSwiftRootLock(oldest[0], run11(oldest[0]), signal);
|
|
27381
|
+
}
|
|
27382
|
+
function mirrorTree2(source, target, skip) {
|
|
27383
|
+
(0, import_node_fs40.mkdirSync)(target, { recursive: true });
|
|
27384
|
+
const wanted = /* @__PURE__ */ new Set();
|
|
27385
|
+
for (const entry of (0, import_node_fs40.readdirSync)(source, { withFileTypes: true })) {
|
|
27386
|
+
if (entry.name === skip) continue;
|
|
27387
|
+
wanted.add(entry.name);
|
|
27388
|
+
const from = import_node_path38.default.join(source, entry.name);
|
|
27389
|
+
const to = import_node_path38.default.join(target, entry.name);
|
|
27390
|
+
let existing = null;
|
|
27391
|
+
try {
|
|
27392
|
+
existing = (0, import_node_fs40.lstatSync)(to);
|
|
27393
|
+
} catch (error) {
|
|
27394
|
+
if (!vanished(error)) throw error;
|
|
27395
|
+
}
|
|
27396
|
+
if (entry.isDirectory()) {
|
|
27397
|
+
if (existing && !existing.isDirectory()) (0, import_node_fs40.rmSync)(to, { force: true });
|
|
27398
|
+
mirrorTree2(from, to);
|
|
27399
|
+
} else if (entry.isSymbolicLink()) {
|
|
27400
|
+
const link = (0, import_node_fs40.readlinkSync)(from);
|
|
27401
|
+
if (existing?.isSymbolicLink() && (0, import_node_fs40.readlinkSync)(to) === link) continue;
|
|
27402
|
+
if (existing) (0, import_node_fs40.rmSync)(to, { recursive: true, force: true });
|
|
27403
|
+
(0, import_node_fs40.symlinkSync)(link, to);
|
|
27404
|
+
} else {
|
|
27405
|
+
const stat = (0, import_node_fs40.statSync)(from);
|
|
27406
|
+
if (existing?.isFile() && existing.size === stat.size && (existing.mtimeMs === stat.mtimeMs || (0, import_node_fs40.readFileSync)(from).equals((0, import_node_fs40.readFileSync)(to))))
|
|
27407
|
+
continue;
|
|
27408
|
+
if (existing) (0, import_node_fs40.rmSync)(to, { recursive: true, force: true });
|
|
27409
|
+
const partial = `${to}.${(0, import_node_crypto16.randomUUID)()}`;
|
|
27410
|
+
(0, import_node_fs40.copyFileSync)(from, partial);
|
|
27411
|
+
(0, import_node_fs40.utimesSync)(partial, stat.atime, stat.mtime);
|
|
27412
|
+
(0, import_node_fs40.renameSync)(partial, to);
|
|
27413
|
+
}
|
|
27414
|
+
}
|
|
27415
|
+
for (const name3 of (0, import_node_fs40.readdirSync)(target))
|
|
27416
|
+
if (!wanted.has(name3) && name3 !== skip)
|
|
27417
|
+
(0, import_node_fs40.rmSync)(import_node_path38.default.join(target, name3), { recursive: true, force: true });
|
|
27418
|
+
}
|
|
27419
|
+
function stageFrameworkSource(moduleRoot, slot, frameworkKey) {
|
|
27420
|
+
if (!slot) return moduleRoot;
|
|
27421
|
+
const staged = import_node_path38.default.join(slot, "source");
|
|
27422
|
+
const stagedModule = import_node_path38.default.join(staged, "packages", import_node_path38.default.basename(moduleRoot));
|
|
27423
|
+
if (swiftFrameworkSlotKey(slot) !== frameworkKey) {
|
|
27424
|
+
(0, import_node_fs40.rmSync)(import_node_path38.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
27425
|
+
mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
27426
|
+
mirrorTree2(
|
|
27427
|
+
swiftSharedSdkRoot(moduleRoot, false),
|
|
27428
|
+
import_node_path38.default.join(staged, "packages/peachsim/sdk/ios")
|
|
27429
|
+
);
|
|
27430
|
+
const modules = import_node_path38.default.join(staged, "node_modules");
|
|
27431
|
+
const target = (0, import_node_fs40.realpathSync)(import_node_path38.default.join(moduleRoot, "../../node_modules"));
|
|
27432
|
+
if (!(0, import_node_fs40.existsSync)(modules) || (0, import_node_fs40.readlinkSync)(modules) !== target) {
|
|
27433
|
+
(0, import_node_fs40.rmSync)(modules, { recursive: true, force: true });
|
|
27434
|
+
(0, import_node_fs40.symlinkSync)(target, modules);
|
|
27435
|
+
}
|
|
27436
|
+
(0, import_node_fs40.writeFileSync)(import_node_path38.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), frameworkKey);
|
|
27437
|
+
}
|
|
27378
27438
|
return stagedModule;
|
|
27379
27439
|
}
|
|
27380
27440
|
function swiftLinkStamp(args) {
|
|
@@ -27410,17 +27470,6 @@ ${args.prebuilt.modules}
|
|
|
27410
27470
|
${statOf(import_node_path38.default.join(args.prebuilt.modules, entry))}`);
|
|
27411
27471
|
return hash.digest("hex");
|
|
27412
27472
|
}
|
|
27413
|
-
async function pruneFrameworkScratches(keep) {
|
|
27414
|
-
const dir = swiftFrameworksDir();
|
|
27415
|
-
const idle = (0, import_node_fs40.readdirSync)(dir).filter((name3) => name3 !== keep).map((name3) => ({ name: name3, modified: (0, import_node_fs40.statSync)(import_node_path38.default.join(dir, name3)).mtimeMs })).sort((left, right) => right.modified - left.modified).slice(SWIFT_FRAMEWORK_SCRATCHES_KEPT - 1);
|
|
27416
|
-
for (const { name: name3 } of idle)
|
|
27417
|
-
await withSwiftRootLock(
|
|
27418
|
-
import_node_path38.default.join(dir, name3),
|
|
27419
|
-
async () => (0, import_node_fs40.rmSync)(import_node_path38.default.join(dir, name3), { recursive: true, force: true }),
|
|
27420
|
-
void 0,
|
|
27421
|
-
false
|
|
27422
|
-
);
|
|
27423
|
-
}
|
|
27424
27473
|
function retireStaleSwiftLink(root, stamp) {
|
|
27425
27474
|
const receipt = import_node_path38.default.join(root, SWIFT_LINK_STAMP);
|
|
27426
27475
|
let previous = null;
|
|
@@ -27549,9 +27598,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
27549
27598
|
);
|
|
27550
27599
|
}
|
|
27551
27600
|
const frameworkScratch = swiftFrameworkScratch(frameworkKey);
|
|
27552
|
-
const withFrameworkLock = (work) => distribution ? work() :
|
|
27553
|
-
return withFrameworkLock(async (frameworkLease) => {
|
|
27554
|
-
const frameworkRoot = stageFrameworkSource(moduleRoot, frameworkKey);
|
|
27601
|
+
const withFrameworkLock = (work) => distribution ? work(null) : withSwiftFrameworkSlot(frameworkKey, options.signal, work);
|
|
27602
|
+
return withFrameworkLock(async (slot, frameworkLease) => {
|
|
27603
|
+
const frameworkRoot = stageFrameworkSource(moduleRoot, slot, frameworkKey);
|
|
27555
27604
|
report("preparing compiler plugins");
|
|
27556
27605
|
const pluginsFor = (pluginLease) => ensureMacroPlugins(
|
|
27557
27606
|
frameworkRoot,
|
|
@@ -27585,7 +27634,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
27585
27634
|
let prebuilt;
|
|
27586
27635
|
if (!distribution) {
|
|
27587
27636
|
report("compiling framework products");
|
|
27588
|
-
prebuilt = await
|
|
27637
|
+
prebuilt = await buildFrameworkProducts(slot, {
|
|
27589
27638
|
moduleRoot: frameworkRoot,
|
|
27590
27639
|
frameworkKey,
|
|
27591
27640
|
input,
|
|
@@ -27595,7 +27644,6 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
27595
27644
|
plugins: macroPlugins,
|
|
27596
27645
|
buildOptions
|
|
27597
27646
|
});
|
|
27598
|
-
await pruneFrameworkScratches(frameworkKey);
|
|
27599
27647
|
}
|
|
27600
27648
|
if (options.project) removeProjectLinks(root);
|
|
27601
27649
|
if (retireStaleSwiftLink(
|
|
@@ -27820,7 +27868,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
27820
27868
|
options.signal
|
|
27821
27869
|
);
|
|
27822
27870
|
}
|
|
27823
|
-
var import_node_child_process22, import_node_crypto16, import_node_fs40, import_node_os10, import_node_path38, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, admittedCores, SWIFT_BUILD_JOBS, BUILD_JOBS, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, ONE_PRODUCT, SPRITEKIT_PRODUCT, importsSpriteKit, FOUNDATION_IMPLICIT_MODULES, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, DIRECTIVE, OS_IOS, DELEGATE_CLASS, REUSABLE_INIT, REUSABLE_VIEW_BASES, CLASS_BASE, FRAME_INIT, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP,
|
|
27871
|
+
var import_node_child_process22, import_node_crypto16, import_node_fs40, import_node_os10, import_node_path38, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, admittedCores, SWIFT_BUILD_JOBS, BUILD_JOBS, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, ONE_PRODUCT, SPRITEKIT_PRODUCT, importsSpriteKit, FOUNDATION_IMPLICIT_MODULES, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, DIRECTIVE, OS_IOS, DELEGATE_CLASS, REUSABLE_INIT, REUSABLE_VIEW_BASES, CLASS_BASE, FRAME_INIT, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY;
|
|
27824
27872
|
var init_swift_compile = __esm({
|
|
27825
27873
|
"src/swift-compile.ts"() {
|
|
27826
27874
|
"use strict";
|
|
@@ -27985,7 +28033,7 @@ var init_swift_compile = __esm({
|
|
|
27985
28033
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
27986
28034
|
MULTI_MANIFEST_VERSION = 65;
|
|
27987
28035
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
27988
|
-
compilerSourceDigest = true ? "
|
|
28036
|
+
compilerSourceDigest = true ? "86990d3bb695dc1b9f0c4cd7f4db499ad1f3e86d93eb50b44f1cb72a69322840" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
27989
28037
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
27990
28038
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
27991
28039
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -28669,7 +28717,8 @@ var init_swift_compile = __esm({
|
|
|
28669
28717
|
retainedArtifacts = /* @__PURE__ */ new Map();
|
|
28670
28718
|
FRAMEWORK_LINK_TARGET = "PeachFrameworkLink";
|
|
28671
28719
|
SWIFT_LINK_STAMP = ".peach-link-stamp";
|
|
28672
|
-
|
|
28720
|
+
SWIFT_FRAMEWORK_SLOTS = 3;
|
|
28721
|
+
SWIFT_FRAMEWORK_SLOT_KEY = ".peach-framework-key";
|
|
28673
28722
|
}
|
|
28674
28723
|
});
|
|
28675
28724
|
|
|
@@ -33054,6 +33103,10 @@ async function prepareNativeProject(app, manifest, stage, execute, run11, report
|
|
|
33054
33103
|
const sourcePodEnv = { EXPO_USE_PRECOMPILED_MODULES: "0", RCT_NEW_ARCH_ENABLED: "1" };
|
|
33055
33104
|
const declares2 = (name3) => Object.hasOwn(manifest.dependencies ?? {}, name3) || Object.hasOwn(manifest.devDependencies ?? {}, name3);
|
|
33056
33105
|
if (!import_node_fs50.default.existsSync(import_node_path49.default.join(app, "ios", "Podfile"))) {
|
|
33106
|
+
if (!declares2("expo") && !declares2("one"))
|
|
33107
|
+
throw new Error(
|
|
33108
|
+
`${app} has no ios/Podfile and declares neither expo nor one, so peach cannot generate an iOS project for it`
|
|
33109
|
+
);
|
|
33057
33110
|
const prebuild = declares2("expo") ? [appRequire.resolve("expo/bin/cli"), "prebuild"] : [
|
|
33058
33111
|
import_node_path49.default.join(import_node_path49.default.dirname(appRequire.resolve("one/package.json")), "run.mjs"),
|
|
33059
33112
|
"prebuild"
|
|
@@ -33609,7 +33662,7 @@ var init_swift_standin_digest = __esm({
|
|
|
33609
33662
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
33610
33663
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
33611
33664
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
33612
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
33665
|
+
STANDIN_SOURCE_DIGEST = true ? "1cd682598c8039d3c836ff5b04a7395ad1178aeedac94ecc42645a0cb76b3ce0" : standinSourceDigest();
|
|
33613
33666
|
}
|
|
33614
33667
|
});
|
|
33615
33668
|
|
|
@@ -34098,7 +34151,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
34098
34151
|
init_swift_native_pin();
|
|
34099
34152
|
init_xcode_project();
|
|
34100
34153
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
34101
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
34154
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "05cc4f0fc2f5cef07d79c3495fdaa4d6f39e244b76f4b9dd1584140b9b1f6209" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
34102
34155
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
34103
34156
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
34104
34157
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -46316,7 +46369,9 @@ function readFollyConfig(reactNativeRoot) {
|
|
|
46316
46369
|
import_node_path72.default.join(reactNativeRoot, "scripts/cocoapods/helpers.rb"),
|
|
46317
46370
|
"utf8"
|
|
46318
46371
|
);
|
|
46319
|
-
const config =
|
|
46372
|
+
const config = /(?:@@folly_config\s*=|def self\.folly_config\s+return)\s*\{([\s\S]*?)\n\s*\}/.exec(
|
|
46373
|
+
helpers
|
|
46374
|
+
)?.[1];
|
|
46320
46375
|
const flags = config && /:compiler_flags\s*=>\s*'([^']*)'/.exec(config)?.[1];
|
|
46321
46376
|
const lines = config && /:config_file\s*=>\s*\[([\s\S]*?)\]/.exec(config)?.[1];
|
|
46322
46377
|
if (!flags) throw new Error(`${reactNativeRoot}: helpers.rb has no folly config`);
|
|
@@ -51001,7 +51056,7 @@ var init_nitro_superset = __esm({
|
|
|
51001
51056
|
init_swift_standin_digest();
|
|
51002
51057
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
51003
51058
|
packageVersion = (root) => JSON.parse((0, import_node_fs80.readFileSync)((0, import_node_path78.join)(root, "package.json"), "utf8")).version;
|
|
51004
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
51059
|
+
NITRO_COMPILER_DIGEST = true ? "249d1b10f55c061a04c2d66f15d82f7abd750ff6d3e4846b69c9c6c41ee91634" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
51005
51060
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
51006
51061
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
51007
51062
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1881 | (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.1881 | (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;
|