peachsim 0.1.1846 → 0.1.1847
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/detox/index.ts +14 -4
- 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 +120 -55
- 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 +14 -6
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +44 -22
- 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 +119 -54
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +22 -11
- 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 +22 -11
- package/dist-lib/native-app-identity-project.cjs +21 -10
- package/dist-lib/native-app-identity-project.mjs +21 -10
- 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 +121 -56
- package/dist-lib/swift-compile.cjs +8 -3
- package/dist-lib/swift-compile.mjs +7 -3
- 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 +28 -13
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +3 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +29 -13
- package/src/swift-compile.ts +11 -3
- package/src/swift-host.ts +5 -1
- package/src/turbo-codegen-intake.ts +41 -6
- package/src/turbo-source.ts +56 -24
- package/src/xcode-project.ts +31 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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": "02dac6951dc7dd8465a421670901c932ac320fc9f8fe277885b2916149d40182", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -10408,7 +10408,7 @@ var init_standalone = __esm({
|
|
|
10408
10408
|
var runtime_companion_default;
|
|
10409
10409
|
var init_runtime_companion = __esm({
|
|
10410
10410
|
"runtime-companion.json"() {
|
|
10411
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
10411
|
+
runtime_companion_default = { abi: 1, sha256: "031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48", file: "node/cli-031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48.cjs" };
|
|
10412
10412
|
}
|
|
10413
10413
|
});
|
|
10414
10414
|
|
|
@@ -29917,6 +29917,9 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
29917
29917
|
FBAudienceNetwork: []
|
|
29918
29918
|
};
|
|
29919
29919
|
var OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
29920
|
+
function swiftOptionalFramework(name3) {
|
|
29921
|
+
return OPTIONAL_FRAMEWORKS.has(name3);
|
|
29922
|
+
}
|
|
29920
29923
|
var SWIFT_IMPORT = /^\s*(?:@\w+(?:\([^)]*\))?\s+)*import\s+(?:(?:typealias|struct|class|enum|protocol|let|var|func)\s+)?([A-Za-z_][A-Za-z0-9_]*)/;
|
|
29921
29924
|
var kleeneNot = (value) => value === void 0 ? void 0 : !value;
|
|
29922
29925
|
var kleeneAnd = (left, right) => left === false || right === false ? false : left === true && right === true ? true : void 0;
|
|
@@ -30192,7 +30195,7 @@ function swiftTargetDependencies(files2, targets) {
|
|
|
30192
30195
|
);
|
|
30193
30196
|
const deps = new Set(
|
|
30194
30197
|
(target.dependencies ?? []).flatMap(
|
|
30195
|
-
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) ? [dependency.name] : []
|
|
30198
|
+
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) || dependency.kind === "product" && dependency.package === "sootsim-swift" && OPTIONAL_FRAMEWORKS.has(dependency.name) ? [dependency.name] : []
|
|
30196
30199
|
)
|
|
30197
30200
|
);
|
|
30198
30201
|
for (const [file, contents] of Object.entries(files2)) {
|
|
@@ -30239,7 +30242,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
30239
30242
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
30240
30243
|
var MULTI_MANIFEST_VERSION = 65;
|
|
30241
30244
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
30242
|
-
var compilerSourceDigest = true ? "
|
|
30245
|
+
var compilerSourceDigest = true ? "de4cf043c56670d57d1dccc969b1b12b70e242e3015fd98011df86b7ce82c4d6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
30243
30246
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
30244
30247
|
const hash = (0, import_node_crypto17.createHash)("sha256");
|
|
30245
30248
|
hash.update(`swift-compile
|
|
@@ -36107,7 +36110,7 @@ function applyConditions(raw2, configuration) {
|
|
|
36107
36110
|
);
|
|
36108
36111
|
if (matches) conditional[key2.slice(0, bracket)] = value;
|
|
36109
36112
|
}
|
|
36110
|
-
return
|
|
36113
|
+
return [plain, conditional];
|
|
36111
36114
|
}
|
|
36112
36115
|
function applyOperator(value, operator) {
|
|
36113
36116
|
if (operator.startsWith("default=")) return value === "" ? operator.slice(8) : value;
|
|
@@ -36352,8 +36355,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
36352
36355
|
const fromFile = baseFile ? readXcconfig(baseFile, read) : {};
|
|
36353
36356
|
xcconfigs.push(...read);
|
|
36354
36357
|
return [
|
|
36355
|
-
applyConditions(fromFile, name3),
|
|
36356
|
-
applyConditions(
|
|
36358
|
+
...applyConditions(fromFile, name3),
|
|
36359
|
+
...applyConditions(
|
|
36357
36360
|
Object.fromEntries(
|
|
36358
36361
|
Object.entries(own).flatMap(
|
|
36359
36362
|
([key2, value]) => typeof value === "string" ? [[key2, value]] : Array.isArray(value) ? [[key2, list(value).join(" ")]] : []
|
|
@@ -37832,7 +37835,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
37832
37835
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
37833
37836
|
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
37834
37837
|
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
37838
|
+
const sdkFrameworks = /* @__PURE__ */ new Set();
|
|
37835
37839
|
for (const { ref, settings: settings2 } of builtTargets) {
|
|
37840
|
+
const ldflags = settingList(settings2("OTHER_LDFLAGS"));
|
|
37841
|
+
ldflags.forEach((flag, index) => {
|
|
37842
|
+
const name3 = ldflags[index + 1];
|
|
37843
|
+
if ((flag === "-framework" || flag === "-weak_framework") && name3)
|
|
37844
|
+
sdkFrameworks.add(name3);
|
|
37845
|
+
});
|
|
37836
37846
|
const absolute = (raw2) => import_node_path45.default.resolve(ref.project.projectDir, expand(raw2, settings2));
|
|
37837
37847
|
const requested = options.nativeModules;
|
|
37838
37848
|
const includeBinary = (name3, dir) => {
|
|
@@ -37949,10 +37959,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
37949
37959
|
const rawPath = str(file?.path) ?? "";
|
|
37950
37960
|
const name3 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
|
|
37951
37961
|
if (file?.isa !== "PBXFileReference" || !name3) continue;
|
|
37952
|
-
if (tree3 === "
|
|
37953
|
-
|
|
37954
|
-
|
|
37955
|
-
|
|
37962
|
+
if (tree3 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
|
|
37963
|
+
sdkFrameworks.add(name3);
|
|
37964
|
+
continue;
|
|
37965
|
+
}
|
|
37966
|
+
if (tree3 === "BUILT_PRODUCTS_DIR" || tree3 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
|
|
37956
37967
|
byProduct.has(import_node_path45.default.basename(rawPath)))
|
|
37957
37968
|
continue;
|
|
37958
37969
|
const resolved = fileId ? project2.resolvePath(fileId) : null;
|
|
@@ -38034,6 +38045,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
38034
38045
|
...new Set(localPackageDirs.map((dir) => import_node_fs46.default.realpathSync(dir)))
|
|
38035
38046
|
].sort(),
|
|
38036
38047
|
binaryFrameworks: [...binaryFrameworks].map(([name3, file]) => ({ name: name3, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
38048
|
+
sdkFrameworks: [...sdkFrameworks].filter(
|
|
38049
|
+
(name3) => !binaryFrameworks.has(name3) && !byProduct.has(`${name3}.framework`)
|
|
38050
|
+
).sort(),
|
|
38037
38051
|
packageResolved,
|
|
38038
38052
|
appTargets: appTargetNames,
|
|
38039
38053
|
configuration,
|
|
@@ -40605,7 +40619,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
40605
40619
|
}
|
|
40606
40620
|
return hash.digest("hex");
|
|
40607
40621
|
}
|
|
40608
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
40622
|
+
var STANDIN_SOURCE_DIGEST = true ? "a6f60f933c899da637801bc8d8f40e2f842fc5d4e54188240596b705c8b167fa" : standinSourceDigest();
|
|
40609
40623
|
|
|
40610
40624
|
// src/swift-standins.ts
|
|
40611
40625
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -47971,6 +47985,7 @@ function xcodeManifest(layout) {
|
|
|
47971
47985
|
);
|
|
47972
47986
|
return native ? [productDependency(native.name, native.packageDir)] : [];
|
|
47973
47987
|
});
|
|
47988
|
+
const sdkProducts = layout.app.sdkFrameworks.filter(swiftOptionalFramework).map((name3) => `.product(name: ${JSON.stringify(name3)}, package: "sootsim-swift")`);
|
|
47974
47989
|
const clangSettings = (target) => [
|
|
47975
47990
|
["cSettings", "c", target.cDefines],
|
|
47976
47991
|
["cxxSettings", "cxx", target.cxxDefines]
|
|
@@ -47993,7 +48008,7 @@ function xcodeManifest(layout) {
|
|
|
47993
48008
|
"// swift-tools-version: 6.2",
|
|
47994
48009
|
"import PackageDescription",
|
|
47995
48010
|
`let package = Package(name: "app", ${layout.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory2]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory2)})`).join(", ")}], targets: [`,
|
|
47996
|
-
` .executableTarget(name: "${layout.app.moduleName}", dependencies: [${appProducts.join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
48011
|
+
` .executableTarget(name: "${layout.app.moduleName}", dependencies: [${[...appProducts, ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
47997
48012
|
...layout.targets.map(
|
|
47998
48013
|
(target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", dependencies: [${dependencies(target)}], path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
|
|
47999
48014
|
),
|
|
@@ -51112,7 +51127,21 @@ var RENDERER_PODS_VERSIONED = /* @__PURE__ */ new Set([
|
|
|
51112
51127
|
"RCTSwiftUI"
|
|
51113
51128
|
]);
|
|
51114
51129
|
var COMPILED_SOURCE = /\.(?:c|cc|cpp|cxx|m|mm|swift)$/;
|
|
51115
|
-
|
|
51130
|
+
var LEGACY_BRIDGE_DEV_SUPPORT = [
|
|
51131
|
+
"RCTInspectorNetworkHelper.mm",
|
|
51132
|
+
"RCTInspectorUtils.mm",
|
|
51133
|
+
"RCTPausedInDebuggerOverlayController.mm"
|
|
51134
|
+
];
|
|
51135
|
+
var LEGACY_BRIDGE_PODS = /* @__PURE__ */ new Set([
|
|
51136
|
+
"React-Core",
|
|
51137
|
+
"React-cxxreact",
|
|
51138
|
+
"React-jsinspector",
|
|
51139
|
+
"React-jsinspectortracing",
|
|
51140
|
+
"React-perflogger",
|
|
51141
|
+
"React-jsiexecutor",
|
|
51142
|
+
"Yoga"
|
|
51143
|
+
]);
|
|
51144
|
+
function installedFabricSources(reactNativeRoot, { legacyBridge = false, bridgeOnly = false } = {}) {
|
|
51116
51145
|
const root = import_node_fs73.default.realpathSync(reactNativeRoot);
|
|
51117
51146
|
const specs = ["React", "ReactCommon", "ReactApple", "Libraries"].flatMap(
|
|
51118
51147
|
(directory2) => import_node_fs73.default.readdirSync(import_node_path71.default.join(root, directory2), {
|
|
@@ -51120,12 +51149,16 @@ function installedFabricSources(reactNativeRoot) {
|
|
|
51120
51149
|
withFileTypes: true
|
|
51121
51150
|
})
|
|
51122
51151
|
).filter(
|
|
51123
|
-
(entry) => entry.isFile() && (RENDERER_PODS.has(import_node_path71.default.basename(entry.name, ".podspec")) || RENDERER_PODS_VERSIONED.has(import_node_path71.default.basename(entry.name, ".podspec"))) && entry.name.endsWith(".podspec")
|
|
51124
|
-
).map((entry) => import_node_path71.default.join(entry.parentPath, entry.name)).concat(import_node_path71.default.join(root, "React-Core.podspec")).
|
|
51152
|
+
(entry) => entry.isFile() && (RENDERER_PODS.has(import_node_path71.default.basename(entry.name, ".podspec")) || RENDERER_PODS_VERSIONED.has(import_node_path71.default.basename(entry.name, ".podspec")) || bridgeOnly && LEGACY_BRIDGE_PODS.has(import_node_path71.default.basename(entry.name, ".podspec"))) && entry.name.endsWith(".podspec")
|
|
51153
|
+
).map((entry) => import_node_path71.default.join(entry.parentPath, entry.name)).concat(import_node_path71.default.join(root, "React-Core.podspec")).filter(
|
|
51154
|
+
(file) => !bridgeOnly || LEGACY_BRIDGE_PODS.has(import_node_path71.default.basename(file, ".podspec"))
|
|
51155
|
+
).sort();
|
|
51125
51156
|
const required = specs.filter(
|
|
51126
|
-
(file) => RENDERER_PODS.has(
|
|
51157
|
+
(file) => (bridgeOnly ? LEGACY_BRIDGE_PODS : RENDERER_PODS).has(
|
|
51158
|
+
import_node_path71.default.basename(file, ".podspec")
|
|
51159
|
+
)
|
|
51127
51160
|
);
|
|
51128
|
-
if (required.length !== RENDERER_PODS.size)
|
|
51161
|
+
if (required.length !== (bridgeOnly ? LEGACY_BRIDGE_PODS : RENDERER_PODS).size)
|
|
51129
51162
|
throw new Error(`${reactNativeRoot}: installed renderer podspecs are incomplete`);
|
|
51130
51163
|
return specs.map((file) => {
|
|
51131
51164
|
const directory2 = import_node_path71.default.dirname(file);
|
|
@@ -51135,7 +51168,7 @@ function installedFabricSources(reactNativeRoot) {
|
|
|
51135
51168
|
if (core) {
|
|
51136
51169
|
files2.push(
|
|
51137
51170
|
...podspecSourceFiles(directory2, podspecSubspec(spec, "DevSupport")).filter(
|
|
51138
|
-
(source) => import_node_path71.default.posix.basename(source) === "RCTDevLoadingViewSetEnabled.m"
|
|
51171
|
+
(source) => import_node_path71.default.posix.basename(source) === "RCTDevLoadingViewSetEnabled.m" || legacyBridge && LEGACY_BRIDGE_DEV_SUPPORT.includes(import_node_path71.default.posix.basename(source))
|
|
51139
51172
|
)
|
|
51140
51173
|
);
|
|
51141
51174
|
}
|
|
@@ -51214,6 +51247,7 @@ function codegenSpecRoot(codegen) {
|
|
|
51214
51247
|
return import_node_fs74.default.existsSync(nested) ? nested : codegen;
|
|
51215
51248
|
}
|
|
51216
51249
|
var TURBO_CORE_TARGET = "TurboCore";
|
|
51250
|
+
var TURBO_FMT_TARGET = "TurboFmt";
|
|
51217
51251
|
var TURBO_ENTRY_HEADER = "PeachTurboEntry.hpp";
|
|
51218
51252
|
var REGISTRATION = "registerCxxModuleToGlobalModuleMap";
|
|
51219
51253
|
var CODEGEN_OBJC = /@generated by codegen project: GenerateModuleObjCpp\b/;
|
|
@@ -52288,8 +52322,32 @@ async function collectTurboSources(options) {
|
|
|
52288
52322
|
original(TURBO_CORE_TARGET, "react-native", reactNative.root, unit2);
|
|
52289
52323
|
};
|
|
52290
52324
|
addUnits(REACT_NATIVE_UNITS);
|
|
52325
|
+
const addPodSources = (pods) => {
|
|
52326
|
+
for (const pod of pods) {
|
|
52327
|
+
const swift = pod.files.some((file) => file.endsWith(".swift"));
|
|
52328
|
+
const name3 = swift ? pod.module : TURBO_CORE_TARGET;
|
|
52329
|
+
if (swift) {
|
|
52330
|
+
if (!pod.swiftVersion || !/^[56](?:\.0)?$/.test(pod.swiftVersion))
|
|
52331
|
+
throw new Error(
|
|
52332
|
+
pod.module + ": renderer pod must declare its Swift language version"
|
|
52333
|
+
);
|
|
52334
|
+
result.targets.push({
|
|
52335
|
+
...target(name3, []),
|
|
52336
|
+
languageMode: Number(pod.swiftVersion),
|
|
52337
|
+
cxxInterop: false
|
|
52338
|
+
});
|
|
52339
|
+
result.rendererSwiftTargets.push(name3);
|
|
52340
|
+
}
|
|
52341
|
+
for (const file of pod.files) {
|
|
52342
|
+
const collected = original(name3, "react-native", reactNative.root, file);
|
|
52343
|
+
if (swift)
|
|
52344
|
+
result.externalPodSources.push({ moduleName: pod.module, file: collected });
|
|
52345
|
+
}
|
|
52346
|
+
}
|
|
52347
|
+
};
|
|
52291
52348
|
let objc = false;
|
|
52292
52349
|
let fabric = false;
|
|
52350
|
+
let legacyBridge = false;
|
|
52293
52351
|
const objcClasses = /* @__PURE__ */ new Set();
|
|
52294
52352
|
const unregisteredObjcClasses = /* @__PURE__ */ new Set();
|
|
52295
52353
|
const deferredDepUnits = [];
|
|
@@ -52747,6 +52805,9 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
52747
52805
|
);
|
|
52748
52806
|
addUnits(REACT_NATIVE_OBJC_UNITS);
|
|
52749
52807
|
addUnits(REACT_NATIVE_OBJC_VERSIONED_UNITS, true);
|
|
52808
|
+
legacyBridge = /\bRCTCxxBridge\b/.test(
|
|
52809
|
+
import_node_fs74.default.readFileSync(import_node_path72.default.join(reactNative.root, "React/Base/RCTBridge.mm"), "utf8")
|
|
52810
|
+
);
|
|
52750
52811
|
if (decoratorHasPerformanceLogger)
|
|
52751
52812
|
addUnits([
|
|
52752
52813
|
"React/Base/RCTPerformanceLogger.mm",
|
|
@@ -52763,28 +52824,11 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
52763
52824
|
);
|
|
52764
52825
|
}
|
|
52765
52826
|
}
|
|
52766
|
-
if (fabric) {
|
|
52767
|
-
|
|
52768
|
-
|
|
52769
|
-
|
|
52770
|
-
|
|
52771
|
-
if (!pod.swiftVersion || !/^[56](?:\.0)?$/.test(pod.swiftVersion))
|
|
52772
|
-
throw new Error(
|
|
52773
|
-
pod.module + ": renderer pod must declare its Swift language version"
|
|
52774
|
-
);
|
|
52775
|
-
result.targets.push({
|
|
52776
|
-
...target(name3, []),
|
|
52777
|
-
languageMode: Number(pod.swiftVersion),
|
|
52778
|
-
cxxInterop: false
|
|
52779
|
-
});
|
|
52780
|
-
result.rendererSwiftTargets.push(name3);
|
|
52781
|
-
}
|
|
52782
|
-
for (const file of pod.files) {
|
|
52783
|
-
const collected = original(name3, "react-native", reactNative.root, file);
|
|
52784
|
-
if (swift)
|
|
52785
|
-
result.externalPodSources.push({ moduleName: pod.module, file: collected });
|
|
52786
|
-
}
|
|
52787
|
-
}
|
|
52827
|
+
if (fabric || legacyBridge) {
|
|
52828
|
+
if (!fabric) result.targets[0].cxxDefines = [...defines, "USE_HERMES=1"];
|
|
52829
|
+
addPodSources(
|
|
52830
|
+
installedFabricSources(reactNative.root, { legacyBridge, bridgeOnly: !fabric })
|
|
52831
|
+
);
|
|
52788
52832
|
const patterns = installedRendererDependencyGlobs(reactNative.root);
|
|
52789
52833
|
const matchers = new Map(
|
|
52790
52834
|
Object.entries(patterns).map(([name3, globs]) => [name3, globs.map(globRegex)])
|
|
@@ -52794,13 +52838,27 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
52794
52838
|
reactNative.root,
|
|
52795
52839
|
(name3, relative4) => matchers.get(name3)?.some((pattern) => pattern.test(relative4)) ?? false
|
|
52796
52840
|
)) {
|
|
52797
|
-
const
|
|
52841
|
+
const fmtUnit = unit2.name === "fmt" && !fabric;
|
|
52842
|
+
const unitTarget = fmtUnit ? TURBO_FMT_TARGET : TURBO_CORE_TARGET;
|
|
52843
|
+
if (fmtUnit && !result.targets.some((t) => t.name === TURBO_FMT_TARGET)) {
|
|
52844
|
+
result.targets.push({
|
|
52845
|
+
...target(TURBO_FMT_TARGET, [TURBO_CORE_TARGET]),
|
|
52846
|
+
clangSettings: [
|
|
52847
|
+
{ tool: "cxx", flags: ["-fexperimental-new-constant-interpreter"] }
|
|
52848
|
+
]
|
|
52849
|
+
});
|
|
52850
|
+
add(
|
|
52851
|
+
`${targetPath(TURBO_FMT_TARGET)}/include/${TURBO_FMT_TARGET}.h`,
|
|
52852
|
+
"#pragma once\n"
|
|
52853
|
+
);
|
|
52854
|
+
}
|
|
52855
|
+
const key2 = `${targetPath(unitTarget)}/dependencies/${unit2.name}/${unit2.relative}`;
|
|
52798
52856
|
if (add(key2, unit2.text)) {
|
|
52799
52857
|
result.sources.push({ file: key2, source: unit2.source, sha256: unit2.sha256 });
|
|
52800
52858
|
scanText(
|
|
52801
52859
|
{
|
|
52802
52860
|
key: key2,
|
|
52803
|
-
targetName:
|
|
52861
|
+
targetName: unitTarget,
|
|
52804
52862
|
label: "",
|
|
52805
52863
|
root: "",
|
|
52806
52864
|
relative: unit2.includePath
|
|
@@ -53815,9 +53873,12 @@ ${source}` : source;
|
|
|
53815
53873
|
unit2.files["Package.swift"] = expoManifest(
|
|
53816
53874
|
unit2.files,
|
|
53817
53875
|
"",
|
|
53818
|
-
new Map(
|
|
53819
|
-
installedTargets.filter((target2) => included.has(target2.name)).map((target2) => [target2.name, target2])
|
|
53820
|
-
|
|
53876
|
+
new Map([
|
|
53877
|
+
...installedTargets.filter((target2) => included.has(target2.name)).map((target2) => [target2.name, target2]),
|
|
53878
|
+
...installedTargets.filter((target2) => target2.executable).map(
|
|
53879
|
+
(target2) => ["PeachExpoApp", target2]
|
|
53880
|
+
)
|
|
53881
|
+
])
|
|
53821
53882
|
);
|
|
53822
53883
|
}
|
|
53823
53884
|
const support = Object.assign(
|
|
@@ -54525,9 +54586,12 @@ function expoManifest(files2, generation = "", settings = /* @__PURE__ */ new Ma
|
|
|
54525
54586
|
);
|
|
54526
54587
|
return `.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON.stringify(dependencies)}, path: ${JSON.stringify(dir)}${declared?.resources ? ", resources: []" : ""}${configuration ? ", " + swiftManifestSettings(configuration) : ""})`;
|
|
54527
54588
|
});
|
|
54589
|
+
const appProducts = (settings.get("PeachExpoApp")?.dependencies ?? []).flatMap(
|
|
54590
|
+
(dependency) => dependency.kind === "product" && dependency.package === "sootsim-swift" ? [`.product(name: ${JSON.stringify(dependency.name)}, package: "sootsim-swift")`] : []
|
|
54591
|
+
);
|
|
54528
54592
|
return `// swift-tools-version: 6.0
|
|
54529
54593
|
import PackageDescription
|
|
54530
|
-
let package = Package(name: "PeachExpo", targets: [${declarations.join(", ")}, .executableTarget(name: "PeachExpoApp", path: "Sources/PeachExpoApp")])
|
|
54594
|
+
let package = Package(name: "PeachExpo", targets: [${declarations.join(", ")}, .executableTarget(name: "PeachExpoApp", dependencies: [${appProducts.join(", ")}], path: "Sources/PeachExpoApp")])
|
|
54531
54595
|
// stand-in inputs: ${generation}
|
|
54532
54596
|
`;
|
|
54533
54597
|
}
|
|
@@ -55055,13 +55119,14 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
55055
55119
|
error instanceof Error ? error.message : String(error),
|
|
55056
55120
|
...gaps.get(unit2) ?? []
|
|
55057
55121
|
].join("\n");
|
|
55058
|
-
const
|
|
55122
|
+
const unitFiles = [...Object.keys(unit2.files), ...expoUnitAppPaths(unit2)];
|
|
55059
55123
|
const errors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? [];
|
|
55060
|
-
const sourceErrors = errors.filter(
|
|
55061
|
-
|
|
55124
|
+
const sourceErrors = errors.filter((line) => {
|
|
55125
|
+
const file = /^.+?(?=:\d+(?::\d+)?: error:)/.exec(line)[0];
|
|
55126
|
+
return unitFiles.some((name3) => file === name3 || file.endsWith(`/${name3}`)) && !/external macro implementation type|failed to load library plugin/.test(
|
|
55062
55127
|
line
|
|
55063
|
-
)
|
|
55064
|
-
);
|
|
55128
|
+
);
|
|
55129
|
+
});
|
|
55065
55130
|
const targetErrors = diagnostic.match(
|
|
55066
55131
|
/^error: target .*$|^(?:error: )?[^\n:]+: missing or unsupported declared iOS deployment target .*$|^(?:ld(?:\.lld)?|wasm-ld): error: .*$/gm
|
|
55067
55132
|
) ?? [];
|
|
@@ -56646,7 +56711,7 @@ function nitroSupersetInputs(options) {
|
|
|
56646
56711
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${treeDigest3(root)}`;
|
|
56647
56712
|
return inputs;
|
|
56648
56713
|
}
|
|
56649
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
56714
|
+
var NITRO_COMPILER_DIGEST = true ? "381eedf9ef6738ad89af113ebb689916b0126afd7690eaff12e4e781695643e0" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56650
56715
|
function readInputs(value) {
|
|
56651
56716
|
if (!isRecord(value)) return null;
|
|
56652
56717
|
const inputs = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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;
|
|
@@ -4495,7 +4495,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
4495
4495
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4496
4496
|
|
|
4497
4497
|
// runtime-companion.json
|
|
4498
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
4498
|
+
var runtime_companion_default = { abi: 1, sha256: "031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48", file: "node/cli-031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48.cjs" };
|
|
4499
4499
|
|
|
4500
4500
|
// src/answeredNativePackages.ts
|
|
4501
4501
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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.1847 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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": "02dac6951dc7dd8465a421670901c932ac320fc9f8fe277885b2916149d40182", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -6922,7 +6922,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
6922
6922
|
init_version();
|
|
6923
6923
|
|
|
6924
6924
|
// runtime-companion.json
|
|
6925
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
6925
|
+
var runtime_companion_default = { abi: 1, sha256: "031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48", file: "node/cli-031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48.cjs" };
|
|
6926
6926
|
|
|
6927
6927
|
// src/answeredNativePackages.ts
|
|
6928
6928
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -19273,7 +19273,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
19273
19273
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
19274
19274
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
19275
19275
|
).join("");
|
|
19276
|
-
var compilerSourceDigest = true ? "
|
|
19276
|
+
var compilerSourceDigest = true ? "de4cf043c56670d57d1dccc969b1b12b70e242e3015fd98011df86b7ce82c4d6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
19277
19277
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
19278
19278
|
"CFAllocator",
|
|
19279
19279
|
"CFArray",
|
|
@@ -19786,7 +19786,7 @@ function applyConditions(raw, configuration) {
|
|
|
19786
19786
|
);
|
|
19787
19787
|
if (matches) conditional[key.slice(0, bracket)] = value;
|
|
19788
19788
|
}
|
|
19789
|
-
return
|
|
19789
|
+
return [plain, conditional];
|
|
19790
19790
|
}
|
|
19791
19791
|
function applyOperator(value, operator) {
|
|
19792
19792
|
if (operator.startsWith("default=")) return value === "" ? operator.slice(8) : value;
|
|
@@ -19948,8 +19948,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
19948
19948
|
const fromFile = baseFile ? readXcconfig(baseFile, read) : {};
|
|
19949
19949
|
xcconfigs.push(...read);
|
|
19950
19950
|
return [
|
|
19951
|
-
applyConditions(fromFile, name2),
|
|
19952
|
-
applyConditions(
|
|
19951
|
+
...applyConditions(fromFile, name2),
|
|
19952
|
+
...applyConditions(
|
|
19953
19953
|
Object.fromEntries(
|
|
19954
19954
|
Object.entries(own).flatMap(
|
|
19955
19955
|
([key, value]) => typeof value === "string" ? [[key, value]] : Array.isArray(value) ? [[key, list(value).join(" ")]] : []
|
|
@@ -21371,7 +21371,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21371
21371
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
21372
21372
|
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
21373
21373
|
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
21374
|
+
const sdkFrameworks = /* @__PURE__ */ new Set();
|
|
21374
21375
|
for (const { ref, settings: settings2 } of builtTargets) {
|
|
21376
|
+
const ldflags = settingList(settings2("OTHER_LDFLAGS"));
|
|
21377
|
+
ldflags.forEach((flag, index) => {
|
|
21378
|
+
const name2 = ldflags[index + 1];
|
|
21379
|
+
if ((flag === "-framework" || flag === "-weak_framework") && name2)
|
|
21380
|
+
sdkFrameworks.add(name2);
|
|
21381
|
+
});
|
|
21375
21382
|
const absolute = (raw) => import_node_path26.default.resolve(ref.project.projectDir, expand(raw, settings2));
|
|
21376
21383
|
const requested = options.nativeModules;
|
|
21377
21384
|
const includeBinary = (name2, dir) => {
|
|
@@ -21488,10 +21495,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21488
21495
|
const rawPath = str(file?.path) ?? "";
|
|
21489
21496
|
const name2 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
|
|
21490
21497
|
if (file?.isa !== "PBXFileReference" || !name2) continue;
|
|
21491
|
-
if (tree2 === "
|
|
21492
|
-
|
|
21493
|
-
|
|
21494
|
-
|
|
21498
|
+
if (tree2 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
|
|
21499
|
+
sdkFrameworks.add(name2);
|
|
21500
|
+
continue;
|
|
21501
|
+
}
|
|
21502
|
+
if (tree2 === "BUILT_PRODUCTS_DIR" || tree2 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
|
|
21495
21503
|
byProduct.has(import_node_path26.default.basename(rawPath)))
|
|
21496
21504
|
continue;
|
|
21497
21505
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
@@ -21573,6 +21581,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21573
21581
|
...new Set(localPackageDirs.map((dir) => import_node_fs23.default.realpathSync(dir)))
|
|
21574
21582
|
].sort(),
|
|
21575
21583
|
binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
21584
|
+
sdkFrameworks: [...sdkFrameworks].filter(
|
|
21585
|
+
(name2) => !binaryFrameworks.has(name2) && !byProduct.has(`${name2}.framework`)
|
|
21586
|
+
).sort(),
|
|
21576
21587
|
packageResolved,
|
|
21577
21588
|
appTargets: appTargetNames,
|
|
21578
21589
|
configuration,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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.1847 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|