peachsim 0.1.1843 → 0.1.1845
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/shell-url.ts +1 -1
- 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 +65 -29
- 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 +45 -19
- 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 +69 -30
- 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 +207 -12
- 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 +207 -12
- package/dist-lib/native-app-identity-project.cjs +10 -5
- package/dist-lib/native-app-identity-project.mjs +10 -5
- 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 +269 -48
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +11 -3
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +1 -1
- package/package.json +1 -1
- package/src/expo-swift-host.ts +36 -12
- package/src/expoSwiftContract.ts +1 -0
- package/src/native-firebase-config.ts +268 -9
- package/src/nitro-dependencies.ts +14 -0
- package/src/turbo-source.ts +12 -3
- package/src/xcode-project.ts +23 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "1594a888c8d4d1f26bb06e522ccbdeecf314934063ac635eedd6f4938e0684fd", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -2201,6 +2201,14 @@ var RN_FMT_11_DEPENDENCIES = [
|
|
|
2201
2201
|
sourceDirectories: ["include/fmt", "src"]
|
|
2202
2202
|
}
|
|
2203
2203
|
];
|
|
2204
|
+
var RN_FAST_FLOAT_6_DEPENDENCIES = RN_FMT_11_DEPENDENCIES.map(
|
|
2205
|
+
(dependency) => dependency.name === "fast_float" ? {
|
|
2206
|
+
...dependency,
|
|
2207
|
+
url: "https://github.com/fastfloat/fast_float/archive/v6.1.4.tar.gz",
|
|
2208
|
+
sha256: "12cb6d250824160ca16bcb9d51f0ca7693d0d10cb444f34f1093bc02acfce704",
|
|
2209
|
+
prefix: "fast_float-6.1.4"
|
|
2210
|
+
} : dependency
|
|
2211
|
+
);
|
|
2204
2212
|
var RN_FMT_12_DEPENDENCIES = [
|
|
2205
2213
|
...RN_SHARED_DEPENDENCIES,
|
|
2206
2214
|
{
|
|
@@ -27366,7 +27374,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
27366
27374
|
}
|
|
27367
27375
|
return hash.digest("hex");
|
|
27368
27376
|
}
|
|
27369
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
27377
|
+
var STANDIN_SOURCE_DIGEST = true ? "1fd57281ceaf1317ebbd3df4334dd41fce5931f51ce3a48d3b2870e4e9670d8c" : standinSourceDigest();
|
|
27370
27378
|
|
|
27371
27379
|
// src/swift-standins.ts
|
|
27372
27380
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -36125,12 +36133,12 @@ async function witnessMatches(witness) {
|
|
|
36125
36133
|
}
|
|
36126
36134
|
return true;
|
|
36127
36135
|
}
|
|
36128
|
-
async function discoveryKey(root, installedWorkspace, prepareNative) {
|
|
36136
|
+
async function discoveryKey(root, installedWorkspace, prepareNative, iosTarget) {
|
|
36129
36137
|
const [config, expoConfig] = await Promise.all([
|
|
36130
36138
|
loadRNXAppConfig(resolveAppProject(root)),
|
|
36131
36139
|
readExpoConfigAsync(root)
|
|
36132
36140
|
]);
|
|
36133
|
-
return `${import_node_fs65.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
|
|
36141
|
+
return `${import_node_fs65.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
|
|
36134
36142
|
}
|
|
36135
36143
|
function cloneNativeTarget(target) {
|
|
36136
36144
|
return {
|
|
@@ -36482,17 +36490,18 @@ ${source}` : source;
|
|
|
36482
36490
|
}
|
|
36483
36491
|
for (const unit2 of units) unit2.nativeFiles = { ...unit2.nativeFiles, ...support };
|
|
36484
36492
|
}
|
|
36485
|
-
async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prepareNative = false) {
|
|
36493
|
+
async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prepareNative = false, iosTarget) {
|
|
36486
36494
|
if (traceStore.getStore())
|
|
36487
36495
|
return collectExpoSwiftSourcesUncached(
|
|
36488
36496
|
appRoot,
|
|
36489
36497
|
signal,
|
|
36490
36498
|
installedWorkspace,
|
|
36491
|
-
prepareNative
|
|
36499
|
+
prepareNative,
|
|
36500
|
+
iosTarget
|
|
36492
36501
|
);
|
|
36493
36502
|
signal?.throwIfAborted();
|
|
36494
36503
|
installSwiftInputTrace();
|
|
36495
|
-
const key2 = await discoveryKey(appRoot, installedWorkspace, prepareNative);
|
|
36504
|
+
const key2 = await discoveryKey(appRoot, installedWorkspace, prepareNative, iosTarget);
|
|
36496
36505
|
const cached2 = discoveryCache.get(key2);
|
|
36497
36506
|
if (cached2 && await witnessMatches(cached2.witness)) {
|
|
36498
36507
|
signal?.throwIfAborted();
|
|
@@ -36501,13 +36510,19 @@ async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prep
|
|
|
36501
36510
|
const witness = { marks: /* @__PURE__ */ new Map(), tainted: false };
|
|
36502
36511
|
const units = await traceStore.run(
|
|
36503
36512
|
witness,
|
|
36504
|
-
() => collectExpoSwiftSourcesUncached(
|
|
36513
|
+
() => collectExpoSwiftSourcesUncached(
|
|
36514
|
+
appRoot,
|
|
36515
|
+
signal,
|
|
36516
|
+
installedWorkspace,
|
|
36517
|
+
prepareNative,
|
|
36518
|
+
iosTarget
|
|
36519
|
+
)
|
|
36505
36520
|
);
|
|
36506
36521
|
if (witness.marks.size > 0 && await witnessMatches(witness))
|
|
36507
36522
|
discoveryCache.set(key2, { witness, units: cloneUnits(units) });
|
|
36508
36523
|
return cloneUnits(units);
|
|
36509
36524
|
}
|
|
36510
|
-
async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspace, prepareNative = false) {
|
|
36525
|
+
async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspace, prepareNative = false, iosTarget) {
|
|
36511
36526
|
const started = performance.now();
|
|
36512
36527
|
const report = (message) => console.error(`[expo-swift ${Math.round(performance.now() - started)}ms] ${message}`);
|
|
36513
36528
|
signal?.throwIfAborted();
|
|
@@ -36596,12 +36611,13 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
36596
36611
|
const module2 = await resolveSwiftModule({ signal });
|
|
36597
36612
|
moduleRoot = module2.root;
|
|
36598
36613
|
provided = new Set(swiftPeachModules(module2.root));
|
|
36599
|
-
await prepareXcodeSwiftPackages(installedWorkspace,
|
|
36614
|
+
await prepareXcodeSwiftPackages(installedWorkspace, iosTarget, void 0, signal);
|
|
36600
36615
|
moduleRoot = module2.root;
|
|
36601
36616
|
provided = new Set(swiftPeachModules(module2.root));
|
|
36602
36617
|
const snapshot = await withXcodeProject(
|
|
36603
36618
|
installedWorkspace,
|
|
36604
36619
|
{
|
|
36620
|
+
target: iosTarget,
|
|
36605
36621
|
configuration: "Debug",
|
|
36606
36622
|
interfaceRoot: module2.root,
|
|
36607
36623
|
moduleRoot: module2.root,
|
|
@@ -36688,8 +36704,14 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
36688
36704
|
);
|
|
36689
36705
|
continue;
|
|
36690
36706
|
}
|
|
36691
|
-
const prepared = await prepareExpoNativeWorkspace(appRoot, signal);
|
|
36692
|
-
return collectExpoSwiftSources(
|
|
36707
|
+
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
36708
|
+
return collectExpoSwiftSources(
|
|
36709
|
+
prepared.app,
|
|
36710
|
+
signal,
|
|
36711
|
+
prepared.workspace,
|
|
36712
|
+
false,
|
|
36713
|
+
iosTarget
|
|
36714
|
+
);
|
|
36693
36715
|
}
|
|
36694
36716
|
const declarations = [];
|
|
36695
36717
|
for (const descriptor of Array.isArray(modules) ? modules : []) {
|
|
@@ -36901,11 +36923,13 @@ ${import_node_fs65.default.readFileSync(source, "utf8")}`;
|
|
|
36901
36923
|
});
|
|
36902
36924
|
const cached2 = readExpoDiscovery(discovery.key);
|
|
36903
36925
|
if (cached2 !== void 0) return cached2;
|
|
36904
|
-
const prepared = await prepareExpoNativeWorkspace(appRoot, signal);
|
|
36926
|
+
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
36905
36927
|
const discovered = await collectExpoSwiftSources(
|
|
36906
36928
|
prepared.app,
|
|
36907
36929
|
signal,
|
|
36908
|
-
prepared.workspace
|
|
36930
|
+
prepared.workspace,
|
|
36931
|
+
false,
|
|
36932
|
+
iosTarget
|
|
36909
36933
|
);
|
|
36910
36934
|
const stored = writeExpoDiscovery({
|
|
36911
36935
|
key: discovery.key,
|
|
@@ -37190,7 +37214,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact, options = {}
|
|
|
37190
37214
|
installSwiftInputTrace();
|
|
37191
37215
|
let key2;
|
|
37192
37216
|
try {
|
|
37193
|
-
key2 = await discoveryKey(root, options.installedWorkspace, true);
|
|
37217
|
+
key2 = await discoveryKey(root, options.installedWorkspace, true, options.iosTarget);
|
|
37194
37218
|
} catch {
|
|
37195
37219
|
return compileExpoSwiftModulesTraced(root, base, publishArtifact, options);
|
|
37196
37220
|
}
|
|
@@ -37225,7 +37249,8 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
37225
37249
|
root,
|
|
37226
37250
|
signal,
|
|
37227
37251
|
options.installedWorkspace,
|
|
37228
|
-
nativeWorkspaceAvailable()
|
|
37252
|
+
nativeWorkspaceAvailable(),
|
|
37253
|
+
options.iosTarget
|
|
37229
37254
|
);
|
|
37230
37255
|
signal.throwIfAborted();
|
|
37231
37256
|
const ios = import_node_path62.default.join(root, "ios");
|
|
@@ -37238,12 +37263,13 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
37238
37263
|
await ensureSwiftToolchain(signal);
|
|
37239
37264
|
const bridge = collectBridgeModuleSources(import_node_fs65.default.realpathSync(root), signal);
|
|
37240
37265
|
if (bridge && bridge.installedNamespaces.length > 0) {
|
|
37241
|
-
const workspace = options.installedWorkspace ?? (await prepareExpoNativeWorkspace(root, signal)).workspace;
|
|
37266
|
+
const workspace = options.installedWorkspace ?? (await prepareExpoNativeWorkspace(root, signal, options.iosTarget)).workspace;
|
|
37242
37267
|
const module3 = await resolveSwiftModule({ signal });
|
|
37243
|
-
await prepareXcodeSwiftPackages(workspace,
|
|
37268
|
+
await prepareXcodeSwiftPackages(workspace, options.iosTarget, void 0, signal);
|
|
37244
37269
|
await withXcodeProject(
|
|
37245
37270
|
workspace,
|
|
37246
37271
|
{
|
|
37272
|
+
target: options.iosTarget,
|
|
37247
37273
|
configuration: "Debug",
|
|
37248
37274
|
interfaceRoot: module3.root,
|
|
37249
37275
|
nativeModules: bridge.installedNamespaces
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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.1845 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "1594a888c8d4d1f26bb06e522ccbdeecf314934063ac635eedd6f4938e0684fd", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -17254,6 +17254,14 @@ var RN_FMT_11_DEPENDENCIES = [
|
|
|
17254
17254
|
sourceDirectories: ["include/fmt", "src"]
|
|
17255
17255
|
}
|
|
17256
17256
|
];
|
|
17257
|
+
var RN_FAST_FLOAT_6_DEPENDENCIES = RN_FMT_11_DEPENDENCIES.map(
|
|
17258
|
+
(dependency) => dependency.name === "fast_float" ? {
|
|
17259
|
+
...dependency,
|
|
17260
|
+
url: "https://github.com/fastfloat/fast_float/archive/v6.1.4.tar.gz",
|
|
17261
|
+
sha256: "12cb6d250824160ca16bcb9d51f0ca7693d0d10cb444f34f1093bc02acfce704",
|
|
17262
|
+
prefix: "fast_float-6.1.4"
|
|
17263
|
+
} : dependency
|
|
17264
|
+
);
|
|
17257
17265
|
var RN_FMT_12_DEPENDENCIES = [
|
|
17258
17266
|
...RN_SHARED_DEPENDENCIES,
|
|
17259
17267
|
{
|
|
@@ -17308,6 +17316,7 @@ function rnDependencies(reactNativeVersion, reactNativeRoot) {
|
|
|
17308
17316
|
const minor = Number(/^0\.(\d+)\./.exec(reactNativeVersion)?.[1]);
|
|
17309
17317
|
if (minor >= 85) return RN_FMT_12_DEPENDENCIES;
|
|
17310
17318
|
if (minor >= 80) return RN_FMT_11_DEPENDENCIES;
|
|
17319
|
+
if (minor >= 78) return RN_FAST_FLOAT_6_DEPENDENCIES;
|
|
17311
17320
|
return [];
|
|
17312
17321
|
}
|
|
17313
17322
|
var HEADER = /\.(?:h|hpp|hxx|inl|ipp)$/;
|
|
@@ -36987,7 +36996,12 @@ var NativeAppTargetSelectionError = class extends Error {
|
|
|
36987
36996
|
function selectIosAppTarget(projectRoot, iosTarget) {
|
|
36988
36997
|
const nested = import_node_path45.default.join(projectRoot, "ios");
|
|
36989
36998
|
const iosRoot = import_node_fs46.default.existsSync(nested) ? nested : projectRoot;
|
|
36990
|
-
const
|
|
36999
|
+
const entries = import_node_fs46.default.readdirSync(iosRoot, { withFileTypes: true });
|
|
37000
|
+
const projects2 = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) => import_node_path45.default.join(iosRoot, entry.name)) : entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcworkspace")).flatMap((entry) => workspaceReferences(import_node_path45.default.join(iosRoot, entry.name))).filter(
|
|
37001
|
+
(xcodeproj2) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(import_node_path45.default.sep).includes("Pods") && import_node_fs46.default.existsSync(xcodeproj2)
|
|
37002
|
+
).filter(
|
|
37003
|
+
(xcodeproj2) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
37004
|
+
)).map((xcodeproj2) => ({ xcodeproj: xcodeproj2, name: import_node_path45.default.basename(xcodeproj2) }));
|
|
36991
37005
|
if (projects2.length === 0) return null;
|
|
36992
37006
|
if (projects2.length > 1 && !iosTarget) {
|
|
36993
37007
|
throw new NativeAppTargetSelectionError(
|
|
@@ -36997,7 +37011,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
36997
37011
|
let project2 = projects2[0];
|
|
36998
37012
|
if (iosTarget && projects2.length > 1) {
|
|
36999
37013
|
const matches = projects2.filter(
|
|
37000
|
-
(entry) => listXcodeAppTargets(
|
|
37014
|
+
(entry) => listXcodeAppTargets(entry.xcodeproj, {
|
|
37001
37015
|
requireSources: false
|
|
37002
37016
|
}).includes(iosTarget)
|
|
37003
37017
|
);
|
|
@@ -37009,7 +37023,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
37009
37023
|
);
|
|
37010
37024
|
project2 = matches[0];
|
|
37011
37025
|
}
|
|
37012
|
-
const xcodeproj =
|
|
37026
|
+
const xcodeproj = project2.xcodeproj;
|
|
37013
37027
|
const appTargets = listXcodeAppTargets(xcodeproj, { requireSources: false });
|
|
37014
37028
|
let target = iosTarget ?? defaultXcodeAppTarget(xcodeproj);
|
|
37015
37029
|
if (!target) throw new Error("native app identity has no iOS application target");
|
|
@@ -40578,7 +40592,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
40578
40592
|
}
|
|
40579
40593
|
return hash.digest("hex");
|
|
40580
40594
|
}
|
|
40581
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
40595
|
+
var STANDIN_SOURCE_DIGEST = true ? "1fd57281ceaf1317ebbd3df4334dd41fce5931f51ce3a48d3b2870e4e9670d8c" : standinSourceDigest();
|
|
40582
40596
|
|
|
40583
40597
|
// src/swift-standins.ts
|
|
40584
40598
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -51859,6 +51873,7 @@ async function collectTurboSources(options) {
|
|
|
51859
51873
|
(provider) => readPod(provider, options.appRoot, options.installedPods?.get(provider.name))
|
|
51860
51874
|
);
|
|
51861
51875
|
let codegen = null;
|
|
51876
|
+
let moduleProviders = false;
|
|
51862
51877
|
const installedCodegenNames = new Set(
|
|
51863
51878
|
installedHeaderPods.flatMap((pod) => {
|
|
51864
51879
|
const manifest = JSON.parse(
|
|
@@ -52727,6 +52742,7 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
52727
52742
|
codegen ??= (await runInstalledTurboCodegen(options.appRoot, options.codegenDir)).generatedRoot;
|
|
52728
52743
|
const generated = codegenSpecRoot(codegen);
|
|
52729
52744
|
if (import_node_fs74.default.existsSync(import_node_path72.default.join(generated, "RCTModuleProviders.mm"))) {
|
|
52745
|
+
moduleProviders = true;
|
|
52730
52746
|
original(TURBO_CORE_TARGET, "ReactCodegen", generated, "RCTModuleProviders.mm");
|
|
52731
52747
|
alias(
|
|
52732
52748
|
`${core}/include/ReactCodegen/RCTModuleProviders.h`,
|
|
@@ -52790,7 +52806,8 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
52790
52806
|
[...objcClasses].sort(),
|
|
52791
52807
|
[...unregisteredObjcClasses].sort(),
|
|
52792
52808
|
decoratorHasPerformanceLogger,
|
|
52793
|
-
managerHasDevMenuDecorator
|
|
52809
|
+
managerHasDevMenuDecorator,
|
|
52810
|
+
moduleProviders
|
|
52794
52811
|
) : turboHostSource(withRuntime)
|
|
52795
52812
|
);
|
|
52796
52813
|
scanText(
|
|
@@ -52918,7 +52935,7 @@ extern "C" __attribute__((export_name("peach_turbo_module_names"))) const char*
|
|
|
52918
52935
|
}
|
|
52919
52936
|
`;
|
|
52920
52937
|
}
|
|
52921
|
-
function turboObjCHostSource(objcClasses, unregisteredClasses, decoratorHasPerformanceLogger, managerHasDevMenuDecorator) {
|
|
52938
|
+
function turboObjCHostSource(objcClasses, unregisteredClasses, decoratorHasPerformanceLogger, managerHasDevMenuDecorator, moduleProviders) {
|
|
52922
52939
|
const classNamesList = objcClasses.map((name3) => `@${JSON.stringify(name3)}`).join(", ");
|
|
52923
52940
|
const unregisteredList = unregisteredClasses.map((name3) => `@${JSON.stringify(name3)}`).join(", ");
|
|
52924
52941
|
return `// React Native's RCTTurboModuleManager on the process's JSI runtime, set up
|
|
@@ -52939,7 +52956,7 @@ function turboObjCHostSource(objcClasses, unregisteredClasses, decoratorHasPerfo
|
|
|
52939
52956
|
${decoratorHasPerformanceLogger ? "#import <React/RCTPerformanceLogger.h>" : ""}
|
|
52940
52957
|
#import <React/RCTBridgeModule.h>
|
|
52941
52958
|
#import <React/RCTEventDispatcherProtocol.h>
|
|
52942
|
-
#import <ReactCodegen/RCTModuleProviders.h>
|
|
52959
|
+
${moduleProviders ? "#import <ReactCodegen/RCTModuleProviders.h>" : ""}
|
|
52943
52960
|
#import <ReactCommon/CxxTurboModuleUtils.h>
|
|
52944
52961
|
#import <ReactCommon/RCTTurboModuleManager.h>
|
|
52945
52962
|
#include <os/log.h>
|
|
@@ -53182,10 +53199,11 @@ static RCTTurboModuleManager *manager;
|
|
|
53182
53199
|
return module;
|
|
53183
53200
|
}
|
|
53184
53201
|
|
|
53185
|
-
|
|
53202
|
+
${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)name
|
|
53186
53203
|
{
|
|
53187
53204
|
return RCTModuleProviders.moduleProviders[@(name)];
|
|
53188
53205
|
}
|
|
53206
|
+
` : ""}
|
|
53189
53207
|
|
|
53190
53208
|
- (std::shared_ptr<react::TurboModule>)getTurboModule:(const std::string &)name
|
|
53191
53209
|
jsInvoker:(std::shared_ptr<react::CallInvoker>)jsInvoker
|
|
@@ -53273,7 +53291,7 @@ extern "C" __attribute__((export_name("peach_turbo_module_names"))) const char*
|
|
|
53273
53291
|
NSMutableOrderedSet<NSString *> *found = [NSMutableOrderedSet new];
|
|
53274
53292
|
for (const auto& [name, provider] : react::globalExportedCxxTurboModuleMap())
|
|
53275
53293
|
[found addObject:@(name.c_str())];
|
|
53276
|
-
[found addObjectsFromArray:RCTModuleProviders.moduleProviders.allKeys];
|
|
53294
|
+
${moduleProviders ? " [found addObjectsFromArray:RCTModuleProviders.moduleProviders.allKeys];" : ""}
|
|
53277
53295
|
for (Class moduleClass in RCTGetModuleClasses())
|
|
53278
53296
|
if (moduleClass != [PeachTurboRegistry class] &&
|
|
53279
53297
|
moduleClass != [PeachImageURLLoading class] &&
|
|
@@ -53527,12 +53545,12 @@ async function witnessMatches(witness) {
|
|
|
53527
53545
|
}
|
|
53528
53546
|
return true;
|
|
53529
53547
|
}
|
|
53530
|
-
async function discoveryKey(root, installedWorkspace, prepareNative) {
|
|
53548
|
+
async function discoveryKey(root, installedWorkspace, prepareNative, iosTarget) {
|
|
53531
53549
|
const [config, expoConfig] = await Promise.all([
|
|
53532
53550
|
loadRNXAppConfig(resolveAppProject(root)),
|
|
53533
53551
|
readExpoConfigAsync(root)
|
|
53534
53552
|
]);
|
|
53535
|
-
return `${import_node_fs75.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
|
|
53553
|
+
return `${import_node_fs75.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
|
|
53536
53554
|
}
|
|
53537
53555
|
function cloneNativeTarget(target) {
|
|
53538
53556
|
return {
|
|
@@ -53884,17 +53902,18 @@ ${source}` : source;
|
|
|
53884
53902
|
}
|
|
53885
53903
|
for (const unit2 of units) unit2.nativeFiles = { ...unit2.nativeFiles, ...support };
|
|
53886
53904
|
}
|
|
53887
|
-
async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prepareNative = false) {
|
|
53905
|
+
async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prepareNative = false, iosTarget) {
|
|
53888
53906
|
if (traceStore.getStore())
|
|
53889
53907
|
return collectExpoSwiftSourcesUncached(
|
|
53890
53908
|
appRoot,
|
|
53891
53909
|
signal,
|
|
53892
53910
|
installedWorkspace,
|
|
53893
|
-
prepareNative
|
|
53911
|
+
prepareNative,
|
|
53912
|
+
iosTarget
|
|
53894
53913
|
);
|
|
53895
53914
|
signal?.throwIfAborted();
|
|
53896
53915
|
installSwiftInputTrace();
|
|
53897
|
-
const key2 = await discoveryKey(appRoot, installedWorkspace, prepareNative);
|
|
53916
|
+
const key2 = await discoveryKey(appRoot, installedWorkspace, prepareNative, iosTarget);
|
|
53898
53917
|
const cached3 = discoveryCache.get(key2);
|
|
53899
53918
|
if (cached3 && await witnessMatches(cached3.witness)) {
|
|
53900
53919
|
signal?.throwIfAborted();
|
|
@@ -53903,13 +53922,19 @@ async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prep
|
|
|
53903
53922
|
const witness = { marks: /* @__PURE__ */ new Map(), tainted: false };
|
|
53904
53923
|
const units = await traceStore.run(
|
|
53905
53924
|
witness,
|
|
53906
|
-
() => collectExpoSwiftSourcesUncached(
|
|
53925
|
+
() => collectExpoSwiftSourcesUncached(
|
|
53926
|
+
appRoot,
|
|
53927
|
+
signal,
|
|
53928
|
+
installedWorkspace,
|
|
53929
|
+
prepareNative,
|
|
53930
|
+
iosTarget
|
|
53931
|
+
)
|
|
53907
53932
|
);
|
|
53908
53933
|
if (witness.marks.size > 0 && await witnessMatches(witness))
|
|
53909
53934
|
discoveryCache.set(key2, { witness, units: cloneUnits(units) });
|
|
53910
53935
|
return cloneUnits(units);
|
|
53911
53936
|
}
|
|
53912
|
-
async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspace, prepareNative = false) {
|
|
53937
|
+
async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspace, prepareNative = false, iosTarget) {
|
|
53913
53938
|
const started = performance.now();
|
|
53914
53939
|
const report = (message) => console.error(`[expo-swift ${Math.round(performance.now() - started)}ms] ${message}`);
|
|
53915
53940
|
signal?.throwIfAborted();
|
|
@@ -53998,12 +54023,13 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
53998
54023
|
const module2 = await resolveSwiftModule({ signal });
|
|
53999
54024
|
moduleRoot = module2.root;
|
|
54000
54025
|
provided = new Set(swiftPeachModules(module2.root));
|
|
54001
|
-
await prepareXcodeSwiftPackages(installedWorkspace,
|
|
54026
|
+
await prepareXcodeSwiftPackages(installedWorkspace, iosTarget, void 0, signal);
|
|
54002
54027
|
moduleRoot = module2.root;
|
|
54003
54028
|
provided = new Set(swiftPeachModules(module2.root));
|
|
54004
54029
|
const snapshot = await withXcodeProject(
|
|
54005
54030
|
installedWorkspace,
|
|
54006
54031
|
{
|
|
54032
|
+
target: iosTarget,
|
|
54007
54033
|
configuration: "Debug",
|
|
54008
54034
|
interfaceRoot: module2.root,
|
|
54009
54035
|
moduleRoot: module2.root,
|
|
@@ -54090,8 +54116,14 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
54090
54116
|
);
|
|
54091
54117
|
continue;
|
|
54092
54118
|
}
|
|
54093
|
-
const prepared = await prepareExpoNativeWorkspace(appRoot, signal);
|
|
54094
|
-
return collectExpoSwiftSources(
|
|
54119
|
+
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
54120
|
+
return collectExpoSwiftSources(
|
|
54121
|
+
prepared.app,
|
|
54122
|
+
signal,
|
|
54123
|
+
prepared.workspace,
|
|
54124
|
+
false,
|
|
54125
|
+
iosTarget
|
|
54126
|
+
);
|
|
54095
54127
|
}
|
|
54096
54128
|
const declarations = [];
|
|
54097
54129
|
for (const descriptor of Array.isArray(modules) ? modules : []) {
|
|
@@ -54303,11 +54335,13 @@ ${import_node_fs75.default.readFileSync(source, "utf8")}`;
|
|
|
54303
54335
|
});
|
|
54304
54336
|
const cached3 = readExpoDiscovery(discovery.key);
|
|
54305
54337
|
if (cached3 !== void 0) return cached3;
|
|
54306
|
-
const prepared = await prepareExpoNativeWorkspace(appRoot, signal);
|
|
54338
|
+
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
54307
54339
|
const discovered = await collectExpoSwiftSources(
|
|
54308
54340
|
prepared.app,
|
|
54309
54341
|
signal,
|
|
54310
|
-
prepared.workspace
|
|
54342
|
+
prepared.workspace,
|
|
54343
|
+
false,
|
|
54344
|
+
iosTarget
|
|
54311
54345
|
);
|
|
54312
54346
|
const stored = writeExpoDiscovery({
|
|
54313
54347
|
key: discovery.key,
|
|
@@ -54593,7 +54627,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact, options = {}
|
|
|
54593
54627
|
installSwiftInputTrace();
|
|
54594
54628
|
let key2;
|
|
54595
54629
|
try {
|
|
54596
|
-
key2 = await discoveryKey(root, options.installedWorkspace, true);
|
|
54630
|
+
key2 = await discoveryKey(root, options.installedWorkspace, true, options.iosTarget);
|
|
54597
54631
|
} catch {
|
|
54598
54632
|
return compileExpoSwiftModulesTraced(root, base, publishArtifact, options);
|
|
54599
54633
|
}
|
|
@@ -54628,7 +54662,8 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
54628
54662
|
root,
|
|
54629
54663
|
signal,
|
|
54630
54664
|
options.installedWorkspace,
|
|
54631
|
-
nativeWorkspaceAvailable()
|
|
54665
|
+
nativeWorkspaceAvailable(),
|
|
54666
|
+
options.iosTarget
|
|
54632
54667
|
);
|
|
54633
54668
|
signal.throwIfAborted();
|
|
54634
54669
|
const ios = import_node_path73.default.join(root, "ios");
|
|
@@ -54641,12 +54676,13 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
54641
54676
|
await ensureSwiftToolchain(signal);
|
|
54642
54677
|
const bridge = collectBridgeModuleSources(import_node_fs75.default.realpathSync(root), signal);
|
|
54643
54678
|
if (bridge && bridge.installedNamespaces.length > 0) {
|
|
54644
|
-
const workspace = options.installedWorkspace ?? (await prepareExpoNativeWorkspace(root, signal)).workspace;
|
|
54679
|
+
const workspace = options.installedWorkspace ?? (await prepareExpoNativeWorkspace(root, signal, options.iosTarget)).workspace;
|
|
54645
54680
|
const module3 = await resolveSwiftModule({ signal });
|
|
54646
|
-
await prepareXcodeSwiftPackages(workspace,
|
|
54681
|
+
await prepareXcodeSwiftPackages(workspace, options.iosTarget, void 0, signal);
|
|
54647
54682
|
await withXcodeProject(
|
|
54648
54683
|
workspace,
|
|
54649
54684
|
{
|
|
54685
|
+
target: options.iosTarget,
|
|
54650
54686
|
configuration: "Debug",
|
|
54651
54687
|
interfaceRoot: module3.root,
|
|
54652
54688
|
nativeModules: bridge.installedNamespaces
|
|
@@ -55128,7 +55164,8 @@ async function handleExpoSwiftRequest(req, res) {
|
|
|
55128
55164
|
res.end("Expo Swift request has no host");
|
|
55129
55165
|
return true;
|
|
55130
55166
|
}
|
|
55131
|
-
const
|
|
55167
|
+
const iosTarget = url.searchParams.get("iosTarget") ?? void 0;
|
|
55168
|
+
const flightKey = `${host2}\0${key2}\0${iosTarget ?? ""}`;
|
|
55132
55169
|
const prepared = openPreparations.take(
|
|
55133
55170
|
flightKey,
|
|
55134
55171
|
url.searchParams.get(NATIVE_PREPARED_QUERY_PARAM)
|
|
@@ -55143,7 +55180,9 @@ async function handleExpoSwiftRequest(req, res) {
|
|
|
55143
55180
|
}
|
|
55144
55181
|
let pending = compiling.get(flightKey);
|
|
55145
55182
|
if (!pending) {
|
|
55146
|
-
pending = compileExpoSwiftModules(key2, `http://${host2}
|
|
55183
|
+
pending = compileExpoSwiftModules(key2, `http://${host2}`, void 0, {
|
|
55184
|
+
iosTarget
|
|
55185
|
+
}).finally(() => {
|
|
55147
55186
|
compiling.delete(flightKey);
|
|
55148
55187
|
});
|
|
55149
55188
|
compiling.set(flightKey, pending);
|
|
@@ -56594,7 +56633,7 @@ function nitroSupersetInputs(options) {
|
|
|
56594
56633
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${treeDigest3(root)}`;
|
|
56595
56634
|
return inputs;
|
|
56596
56635
|
}
|
|
56597
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
56636
|
+
var NITRO_COMPILER_DIGEST = true ? "46c9ec53b7f124c900190b26e640f0ebee0ac3c78438141107125e04700eb25e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56598
56637
|
function readInputs(value) {
|
|
56599
56638
|
if (!isRecord(value)) return null;
|
|
56600
56639
|
const inputs = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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.1845 | (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.1845 | (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.1845 | (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;
|