peachsim 0.1.1918 → 0.1.1920
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +71 -23
- 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 +68 -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 -20
- 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 +3 -3
- 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 +3 -3
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -3
- 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 +71 -23
- package/dist-lib/swift-compile.cjs +28 -10
- package/dist-lib/swift-compile.mjs +28 -10
- package/dist-lib/swift-package.cjs +4 -1
- package/dist-lib/swift-package.mjs +3 -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 +67 -18
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/expo-swift-host.ts +6 -6
- package/src/swift-compile.ts +29 -5
- package/src/swift-guest-link.ts +3 -3
- package/src/swift-host.ts +54 -9
- package/src/swift-installed-targets.ts +1 -1
- package/src/swift-package.ts +3 -0
- package/src/swift-standins.ts +0 -3
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -36589,7 +36589,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
|
|
|
36589
36589
|
const targets = swiftManifestTargets(manifest, resourcePaths);
|
|
36590
36590
|
return targets.length === 1 && targets[0].executable && targets[0].path === "." && targets[0].languageMode === 5 && !targets[0].iosDeploymentTarget && !targets[0].mainActorIsolation && !targets[0].defines?.length && !targets[0].experimentalFeatures?.length && !targets[0].upcomingFeatures?.length && !targets[0].swiftFlags?.length && !targets[0].linkedLibraries?.length && !targets[0].cxxInterop && !swiftManifestCxxLanguageStandard(manifest) ? [] : targets;
|
|
36591
36591
|
}
|
|
36592
|
-
var MANIFEST_DECLARATIONS, SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS, SWIFT_NATIVE_SOURCE_EXTENSIONS, withoutGlogModuleMap, swiftEscapes, unsafeFlagsOpen, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
|
|
36592
|
+
var MANIFEST_DECLARATIONS, SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS, SWIFT_STANDINS_DIR, SWIFT_NATIVE_SOURCE_EXTENSIONS, withoutGlogModuleMap, swiftEscapes, unsafeFlagsOpen, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
|
|
36593
36593
|
var init_swift_package = __esm({
|
|
36594
36594
|
"src/swift-package.ts"() {
|
|
36595
36595
|
"use strict";
|
|
@@ -36614,6 +36614,7 @@ var init_swift_package = __esm({
|
|
|
36614
36614
|
".m",
|
|
36615
36615
|
".mm"
|
|
36616
36616
|
];
|
|
36617
|
+
SWIFT_STANDINS_DIR = "__standins__";
|
|
36617
36618
|
SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
36618
36619
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
36619
36620
|
".s",
|
|
@@ -50067,7 +50068,7 @@ function linkGuestImages(options) {
|
|
|
50067
50068
|
);
|
|
50068
50069
|
const output2 = import_node_fs39.default.openSync(trace, "w");
|
|
50069
50070
|
try {
|
|
50070
|
-
(0, import_node_child_process22.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output2, "
|
|
50071
|
+
(0, import_node_child_process22.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output2, "pipe"] });
|
|
50071
50072
|
} finally {
|
|
50072
50073
|
import_node_fs39.default.closeSync(output2);
|
|
50073
50074
|
}
|
|
@@ -50439,7 +50440,7 @@ function discoverGuestLinkInputs(options) {
|
|
|
50439
50440
|
const traceOutput = import_node_fs39.default.openSync(trace, "w");
|
|
50440
50441
|
try {
|
|
50441
50442
|
(0, import_node_child_process22.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
50442
|
-
stdio: ["ignore", traceOutput, "
|
|
50443
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
50443
50444
|
});
|
|
50444
50445
|
} finally {
|
|
50445
50446
|
import_node_fs39.default.closeSync(traceOutput);
|
|
@@ -50594,7 +50595,7 @@ function verifyGuestSymbolScopes(options) {
|
|
|
50594
50595
|
const traceOutput = import_node_fs39.default.openSync(tracePath, "w");
|
|
50595
50596
|
try {
|
|
50596
50597
|
(0, import_node_child_process22.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
50597
|
-
stdio: ["ignore", traceOutput, "
|
|
50598
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
50598
50599
|
});
|
|
50599
50600
|
} finally {
|
|
50600
50601
|
import_node_fs39.default.closeSync(traceOutput);
|
|
@@ -53204,8 +53205,12 @@ function providedModulesPath(root, modules, excluded) {
|
|
|
53204
53205
|
return directory2;
|
|
53205
53206
|
}
|
|
53206
53207
|
function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWORKS) {
|
|
53207
|
-
const localNames = new Set(
|
|
53208
|
-
|
|
53208
|
+
const localNames = new Set(
|
|
53209
|
+
targets.flatMap(
|
|
53210
|
+
(target) => target.path.startsWith(`${SWIFT_STANDINS_DIR}/`) ? [] : [target.name]
|
|
53211
|
+
)
|
|
53212
|
+
);
|
|
53213
|
+
const names = /* @__PURE__ */ new Set([...frameworks, ...targets.map((target) => target.name)]);
|
|
53209
53214
|
const siblings = /* @__PURE__ */ new Map();
|
|
53210
53215
|
for (const target of targets) {
|
|
53211
53216
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
@@ -55057,7 +55062,15 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55057
55062
|
allowExisting: true
|
|
55058
55063
|
}
|
|
55059
55064
|
);
|
|
55060
|
-
const
|
|
55065
|
+
const stagedDir2 = import_node_path46.default.posix.dirname(file);
|
|
55066
|
+
const quoteDirs = [
|
|
55067
|
+
...stagedDir2 !== "." ? [stagedDir2] : [],
|
|
55068
|
+
...origin && origin !== stagedDir2 ? [origin] : []
|
|
55069
|
+
];
|
|
55070
|
+
const quoteFlags = quoteDirs.flatMap((dir) => [
|
|
55071
|
+
"-iquote",
|
|
55072
|
+
import_node_path46.default.join(layout2.root, dir)
|
|
55073
|
+
]);
|
|
55061
55074
|
const perFile = [
|
|
55062
55075
|
...file.endsWith(".c") && swiftWholeFileArm64Guard(contents) ? ["-D__arm64__=1"] : [],
|
|
55063
55076
|
.../\.mm?$/.test(file) ? ["-fobjc-exceptions"] : [],
|
|
@@ -55806,6 +55819,9 @@ module ${moduleName2}.Swift {
|
|
|
55806
55819
|
...producers.filter((name3) => !included.has(name3))
|
|
55807
55820
|
])
|
|
55808
55821
|
],
|
|
55822
|
+
emittedHeaderProducers: [
|
|
55823
|
+
.../* @__PURE__ */ new Set([...Object.keys(nativeHeaderDeclarations), ...producers])
|
|
55824
|
+
],
|
|
55809
55825
|
nativeHeaderDeclarations,
|
|
55810
55826
|
headerProductTarget,
|
|
55811
55827
|
targetFailures,
|
|
@@ -56721,7 +56737,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
56721
56737
|
SWIFTPM_PROGRESS,
|
|
56722
56738
|
SWIFTPM_NOISE
|
|
56723
56739
|
);
|
|
56724
|
-
for (const producer of build2 === preparation.headerProductTarget ? preparation.
|
|
56740
|
+
for (const producer of build2 === preparation.headerProductTarget ? preparation.emittedHeaderProducers : preparation.emittedHeaderProducers.filter(
|
|
56741
|
+
(candidate) => candidate === build2 || !preparation.headerProducers.includes(candidate)
|
|
56742
|
+
)) {
|
|
56725
56743
|
const emitted = import_node_path46.default.join(
|
|
56726
56744
|
root,
|
|
56727
56745
|
".build",
|
|
@@ -56913,7 +56931,7 @@ var init_swift_compile = __esm({
|
|
|
56913
56931
|
BUILD_JOBS = String(SWIFT_BUILD_JOBS);
|
|
56914
56932
|
SWIFT_BUILDER_TRANSPORT_MARGIN_MS = 3e5;
|
|
56915
56933
|
SWIFT_BUILDER_DEFAULT_COMPILE_MS = 18e5;
|
|
56916
|
-
clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1");
|
|
56934
|
+
clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
56917
56935
|
swiftInterfaceDeclarations = (header) => /* @__PURE__ */ new Set([
|
|
56918
56936
|
...[
|
|
56919
56937
|
...header.matchAll(
|
|
@@ -57036,7 +57054,7 @@ var init_swift_compile = __esm({
|
|
|
57036
57054
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
57037
57055
|
MULTI_MANIFEST_VERSION = 66;
|
|
57038
57056
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
57039
|
-
compilerSourceDigest = true ? "
|
|
57057
|
+
compilerSourceDigest = true ? "e0f99d38b4422622101a49acffd939440548c5e58e5bb4d73930126572c11683" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
57040
57058
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
57041
57059
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
57042
57060
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -63373,7 +63391,7 @@ var init_swift_standin_digest = __esm({
|
|
|
63373
63391
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
63374
63392
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
63375
63393
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
63376
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
63394
|
+
STANDIN_SOURCE_DIGEST = true ? "dd0f39366da15dd9d36186cc0427ce01492a37915ffe39f624ebda75d4f545a1" : standinSourceDigest();
|
|
63377
63395
|
}
|
|
63378
63396
|
});
|
|
63379
63397
|
|
|
@@ -64103,7 +64121,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
64103
64121
|
init_swift_native_pin();
|
|
64104
64122
|
init_xcode_project();
|
|
64105
64123
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64106
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
64124
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "2770fd2a3c2cea31988c749e7a29351f8392e488475b055ae04342db4226787a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64107
64125
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64108
64126
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
64109
64127
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -67734,7 +67752,7 @@ async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new
|
|
|
67734
67752
|
import_node_fs73.default.rmSync(modules, { recursive: true, force: true });
|
|
67735
67753
|
}
|
|
67736
67754
|
}
|
|
67737
|
-
var import_node_child_process40, import_node_crypto39, import_node_fs73, import_node_path70, TRIPLE, cacheDir4,
|
|
67755
|
+
var import_node_child_process40, import_node_crypto39, import_node_fs73, import_node_path70, TRIPLE, cacheDir4, key, digests, isBinaryLibraryFile, REACH_STAGED_FRAMEWORKS, OBJC_IMPORT, files, OBJC, OBJC_ATTRIBUTE, TYPE_DECLARATION, OPTIONAL_REQUIREMENT, WASM_EH_FLAGS, OBJC_UNREPRESENTABLE, INERT_VALUE, identChar, RUST_TARGET, UNSEARCHED, RUST_TOOLCHAIN, built;
|
|
67738
67756
|
var init_swift_standins = __esm({
|
|
67739
67757
|
"src/swift-standins.ts"() {
|
|
67740
67758
|
"use strict";
|
|
@@ -67760,7 +67778,6 @@ var init_swift_standins = __esm({
|
|
|
67760
67778
|
init_swift_xcframework();
|
|
67761
67779
|
TRIPLE = "wasm32-unknown-wasip1";
|
|
67762
67780
|
cacheDir4 = import_node_path70.default.join(cacheDir(), "swift-standins");
|
|
67763
|
-
SWIFT_STANDINS_DIR = "__standins__";
|
|
67764
67781
|
key = (...parts) => (0, import_node_crypto39.createHash)("sha256").update(parts.join("\0")).digest("hex").slice(0, 32);
|
|
67765
67782
|
digests = /* @__PURE__ */ new Map();
|
|
67766
67783
|
isBinaryLibraryFile = (file) => /\.(?:a|dylib|o|tbd)$/i.test(file);
|
|
@@ -72383,12 +72400,44 @@ async function buildXcodeLayout(root) {
|
|
|
72383
72400
|
for (const framework of app.frameworks) {
|
|
72384
72401
|
const target = targets.find((target2) => target2.name === frameworkNames.get(framework));
|
|
72385
72402
|
if (!target) continue;
|
|
72386
|
-
|
|
72387
|
-
|
|
72388
|
-
|
|
72389
|
-
|
|
72403
|
+
const productLinks = packages.sourceLinks.owners.find((owner) => owner.module === framework.moduleName)?.products ?? [];
|
|
72404
|
+
target.dependencies = [
|
|
72405
|
+
...framework.targetDependencies.flatMap(
|
|
72406
|
+
(identity2) => app.frameworks.filter((dependency) => dependency.targetIdentity === identity2).flatMap((dependency) => {
|
|
72407
|
+
const name3 = frameworkNames.get(dependency);
|
|
72408
|
+
return name3 ? [{ kind: "target", name: name3 }] : [];
|
|
72409
|
+
})
|
|
72410
|
+
),
|
|
72411
|
+
...productLinks.flatMap(({ target: productId }) => {
|
|
72412
|
+
const product = packages.sourceLinks.targets.find((item) => item.id === productId);
|
|
72413
|
+
return (product?.dependencies ?? []).flatMap(({ target: targetId }) => {
|
|
72414
|
+
const item = packages.sourceLinks.targets.find((node) => node.id === targetId);
|
|
72415
|
+
if (!item) return [];
|
|
72416
|
+
if (item.sourceTarget)
|
|
72417
|
+
return [
|
|
72418
|
+
{ kind: "target", name: item.sourceTarget }
|
|
72419
|
+
];
|
|
72420
|
+
return item.productType === "swiftpm.target.binary" ? standins.filter((standin) => standin.target === item.productName).map(
|
|
72421
|
+
(standin) => ({
|
|
72422
|
+
kind: "target",
|
|
72423
|
+
name: standin.module
|
|
72424
|
+
})
|
|
72425
|
+
) : [];
|
|
72426
|
+
});
|
|
72427
|
+
}),
|
|
72428
|
+
...(framework.packageProducts ?? []).flatMap(({ product, source }) => {
|
|
72429
|
+
const native = packages.nativeProducts.find(
|
|
72430
|
+
({ name: name3, source: origin }) => name3 === product && (source.kind === "unnamed" || origin === (source.kind === "remote" ? source.url : import_node_path76.default.resolve(source.dir)))
|
|
72431
|
+
);
|
|
72432
|
+
return native ? [
|
|
72433
|
+
{
|
|
72434
|
+
kind: "product",
|
|
72435
|
+
name: native.name,
|
|
72436
|
+
package: native.packageDir
|
|
72437
|
+
}
|
|
72438
|
+
] : [];
|
|
72390
72439
|
})
|
|
72391
|
-
|
|
72440
|
+
];
|
|
72392
72441
|
}
|
|
72393
72442
|
const packagePaths = /* @__PURE__ */ new Map();
|
|
72394
72443
|
const packageFiles2 = /* @__PURE__ */ new Map();
|
|
@@ -81339,7 +81388,6 @@ var init_swift_installed_targets = __esm({
|
|
|
81339
81388
|
import_node_path86 = __toESM(require("node:path"), 1);
|
|
81340
81389
|
init_swift_package();
|
|
81341
81390
|
init_swift_source_file();
|
|
81342
|
-
init_swift_standins();
|
|
81343
81391
|
}
|
|
81344
81392
|
});
|
|
81345
81393
|
|
|
@@ -82161,7 +82209,7 @@ var init_nitro_superset = __esm({
|
|
|
82161
82209
|
init_swift_standin_digest();
|
|
82162
82210
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
82163
82211
|
packageVersion = (root) => JSON.parse((0, import_node_fs92.readFileSync)((0, import_node_path89.join)(root, "package.json"), "utf8")).version;
|
|
82164
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
82212
|
+
NITRO_COMPILER_DIGEST = true ? "5b708634746d517534c51042c6f7dcbc5bc5144e433a3c1de5ccc8e3cb1313d5" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
82165
82213
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
82166
82214
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
82167
82215
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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;
|
|
@@ -3438,6 +3438,7 @@ function isSwiftNativeTranslationUnit(file) {
|
|
|
3438
3438
|
(extension) => file.endsWith(extension)
|
|
3439
3439
|
);
|
|
3440
3440
|
}
|
|
3441
|
+
var SWIFT_STANDINS_DIR = "__standins__";
|
|
3441
3442
|
var SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
3442
3443
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
3443
3444
|
".s",
|
|
@@ -8780,7 +8781,7 @@ function linkGuestImages(options) {
|
|
|
8780
8781
|
);
|
|
8781
8782
|
const output = import_node_fs13.default.openSync(trace, "w");
|
|
8782
8783
|
try {
|
|
8783
|
-
(0, import_node_child_process10.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output, "
|
|
8784
|
+
(0, import_node_child_process10.execFileSync)(wasmLd, [`@${response}`], { stdio: ["ignore", output, "pipe"] });
|
|
8784
8785
|
} finally {
|
|
8785
8786
|
import_node_fs13.default.closeSync(output);
|
|
8786
8787
|
}
|
|
@@ -9152,7 +9153,7 @@ function discoverGuestLinkInputs(options) {
|
|
|
9152
9153
|
const traceOutput = import_node_fs13.default.openSync(trace, "w");
|
|
9153
9154
|
try {
|
|
9154
9155
|
(0, import_node_child_process10.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
9155
|
-
stdio: ["ignore", traceOutput, "
|
|
9156
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
9156
9157
|
});
|
|
9157
9158
|
} finally {
|
|
9158
9159
|
import_node_fs13.default.closeSync(traceOutput);
|
|
@@ -9307,7 +9308,7 @@ function verifyGuestSymbolScopes(options) {
|
|
|
9307
9308
|
const traceOutput = import_node_fs13.default.openSync(tracePath, "w");
|
|
9308
9309
|
try {
|
|
9309
9310
|
(0, import_node_child_process10.execFileSync)(options.wasmLd, [`@${response}`], {
|
|
9310
|
-
stdio: ["ignore", traceOutput, "
|
|
9311
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
9311
9312
|
});
|
|
9312
9313
|
} finally {
|
|
9313
9314
|
import_node_fs13.default.closeSync(traceOutput);
|
|
@@ -11380,7 +11381,7 @@ function swiftModuleInterface(moduleRoot, name2, interfaceRoot) {
|
|
|
11380
11381
|
if (declared.size === 0) return null;
|
|
11381
11382
|
return { declared, header: clangInterfaceHeader((0, import_node_fs23.readFileSync)(built, "utf8")) };
|
|
11382
11383
|
}
|
|
11383
|
-
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1");
|
|
11384
|
+
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
11384
11385
|
var swiftInterfaceDeclarations = (header) => /* @__PURE__ */ new Set([
|
|
11385
11386
|
...[
|
|
11386
11387
|
...header.matchAll(
|
|
@@ -12058,8 +12059,12 @@ function providedModulesPath(root, modules, excluded) {
|
|
|
12058
12059
|
return directory;
|
|
12059
12060
|
}
|
|
12060
12061
|
function swiftTargetDependencies(files, targets, frameworks = OPTIONAL_FRAMEWORKS) {
|
|
12061
|
-
const localNames = new Set(
|
|
12062
|
-
|
|
12062
|
+
const localNames = new Set(
|
|
12063
|
+
targets.flatMap(
|
|
12064
|
+
(target) => target.path.startsWith(`${SWIFT_STANDINS_DIR}/`) ? [] : [target.name]
|
|
12065
|
+
)
|
|
12066
|
+
);
|
|
12067
|
+
const names = /* @__PURE__ */ new Set([...frameworks, ...targets.map((target) => target.name)]);
|
|
12063
12068
|
const siblings = /* @__PURE__ */ new Map();
|
|
12064
12069
|
for (const target of targets) {
|
|
12065
12070
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
@@ -12129,7 +12134,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12129
12134
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12130
12135
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12131
12136
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12132
|
-
var compilerSourceDigest = true ? "
|
|
12137
|
+
var compilerSourceDigest = true ? "e0f99d38b4422622101a49acffd939440548c5e58e5bb4d73930126572c11683" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12133
12138
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12134
12139
|
const hash = (0, import_node_crypto12.createHash)("sha256");
|
|
12135
12140
|
hash.update(`swift-compile
|
|
@@ -14667,7 +14672,15 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14667
14672
|
allowExisting: true
|
|
14668
14673
|
}
|
|
14669
14674
|
);
|
|
14670
|
-
const
|
|
14675
|
+
const stagedDir = import_node_path25.default.posix.dirname(file);
|
|
14676
|
+
const quoteDirs = [
|
|
14677
|
+
...stagedDir !== "." ? [stagedDir] : [],
|
|
14678
|
+
...origin && origin !== stagedDir ? [origin] : []
|
|
14679
|
+
];
|
|
14680
|
+
const quoteFlags = quoteDirs.flatMap((dir) => [
|
|
14681
|
+
"-iquote",
|
|
14682
|
+
import_node_path25.default.join(layout2.root, dir)
|
|
14683
|
+
]);
|
|
14671
14684
|
const perFile = [
|
|
14672
14685
|
...file.endsWith(".c") && swiftWholeFileArm64Guard(contents) ? ["-D__arm64__=1"] : [],
|
|
14673
14686
|
.../\.mm?$/.test(file) ? ["-fobjc-exceptions"] : [],
|
|
@@ -15416,6 +15429,9 @@ module ${moduleName}.Swift {
|
|
|
15416
15429
|
...producers.filter((name2) => !included.has(name2))
|
|
15417
15430
|
])
|
|
15418
15431
|
],
|
|
15432
|
+
emittedHeaderProducers: [
|
|
15433
|
+
.../* @__PURE__ */ new Set([...Object.keys(nativeHeaderDeclarations), ...producers])
|
|
15434
|
+
],
|
|
15419
15435
|
nativeHeaderDeclarations,
|
|
15420
15436
|
headerProductTarget,
|
|
15421
15437
|
targetFailures,
|
|
@@ -16342,7 +16358,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16342
16358
|
SWIFTPM_PROGRESS,
|
|
16343
16359
|
SWIFTPM_NOISE
|
|
16344
16360
|
);
|
|
16345
|
-
for (const producer of build === preparation.headerProductTarget ? preparation.
|
|
16361
|
+
for (const producer of build === preparation.headerProductTarget ? preparation.emittedHeaderProducers : preparation.emittedHeaderProducers.filter(
|
|
16362
|
+
(candidate) => candidate === build || !preparation.headerProducers.includes(candidate)
|
|
16363
|
+
)) {
|
|
16346
16364
|
const emitted = import_node_path25.default.join(
|
|
16347
16365
|
root,
|
|
16348
16366
|
".build",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -3386,6 +3386,7 @@ function isSwiftNativeTranslationUnit(file) {
|
|
|
3386
3386
|
(extension) => file.endsWith(extension)
|
|
3387
3387
|
);
|
|
3388
3388
|
}
|
|
3389
|
+
var SWIFT_STANDINS_DIR = "__standins__";
|
|
3389
3390
|
var SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
3390
3391
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
3391
3392
|
".s",
|
|
@@ -8729,7 +8730,7 @@ function linkGuestImages(options) {
|
|
|
8729
8730
|
);
|
|
8730
8731
|
const output = fs5.openSync(trace, "w");
|
|
8731
8732
|
try {
|
|
8732
|
-
execFileSync7(wasmLd, [`@${response}`], { stdio: ["ignore", output, "
|
|
8733
|
+
execFileSync7(wasmLd, [`@${response}`], { stdio: ["ignore", output, "pipe"] });
|
|
8733
8734
|
} finally {
|
|
8734
8735
|
fs5.closeSync(output);
|
|
8735
8736
|
}
|
|
@@ -9101,7 +9102,7 @@ function discoverGuestLinkInputs(options) {
|
|
|
9101
9102
|
const traceOutput = fs5.openSync(trace, "w");
|
|
9102
9103
|
try {
|
|
9103
9104
|
execFileSync7(options.wasmLd, [`@${response}`], {
|
|
9104
|
-
stdio: ["ignore", traceOutput, "
|
|
9105
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
9105
9106
|
});
|
|
9106
9107
|
} finally {
|
|
9107
9108
|
fs5.closeSync(traceOutput);
|
|
@@ -9256,7 +9257,7 @@ function verifyGuestSymbolScopes(options) {
|
|
|
9256
9257
|
const traceOutput = fs5.openSync(tracePath, "w");
|
|
9257
9258
|
try {
|
|
9258
9259
|
execFileSync7(options.wasmLd, [`@${response}`], {
|
|
9259
|
-
stdio: ["ignore", traceOutput, "
|
|
9260
|
+
stdio: ["ignore", traceOutput, "pipe"]
|
|
9260
9261
|
});
|
|
9261
9262
|
} finally {
|
|
9262
9263
|
fs5.closeSync(traceOutput);
|
|
@@ -11356,7 +11357,7 @@ function swiftModuleInterface(moduleRoot, name2, interfaceRoot) {
|
|
|
11356
11357
|
if (declared.size === 0) return null;
|
|
11357
11358
|
return { declared, header: clangInterfaceHeader(readFileSync16(built, "utf8")) };
|
|
11358
11359
|
}
|
|
11359
|
-
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1");
|
|
11360
|
+
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import CoreFoundation;$/gm, "@import Foundation;").replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
11360
11361
|
var swiftInterfaceDeclarations = (header) => /* @__PURE__ */ new Set([
|
|
11361
11362
|
...[
|
|
11362
11363
|
...header.matchAll(
|
|
@@ -12034,8 +12035,12 @@ function providedModulesPath(root, modules, excluded) {
|
|
|
12034
12035
|
return directory;
|
|
12035
12036
|
}
|
|
12036
12037
|
function swiftTargetDependencies(files, targets, frameworks = OPTIONAL_FRAMEWORKS) {
|
|
12037
|
-
const localNames = new Set(
|
|
12038
|
-
|
|
12038
|
+
const localNames = new Set(
|
|
12039
|
+
targets.flatMap(
|
|
12040
|
+
(target) => target.path.startsWith(`${SWIFT_STANDINS_DIR}/`) ? [] : [target.name]
|
|
12041
|
+
)
|
|
12042
|
+
);
|
|
12043
|
+
const names = /* @__PURE__ */ new Set([...frameworks, ...targets.map((target) => target.name)]);
|
|
12039
12044
|
const siblings = /* @__PURE__ */ new Map();
|
|
12040
12045
|
for (const target of targets) {
|
|
12041
12046
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
@@ -12105,7 +12110,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12105
12110
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12106
12111
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12107
12112
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12108
|
-
var compilerSourceDigest = true ? "
|
|
12113
|
+
var compilerSourceDigest = true ? "e0f99d38b4422622101a49acffd939440548c5e58e5bb4d73930126572c11683" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12109
12114
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12110
12115
|
const hash = createHash13("sha256");
|
|
12111
12116
|
hash.update(`swift-compile
|
|
@@ -14643,7 +14648,15 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14643
14648
|
allowExisting: true
|
|
14644
14649
|
}
|
|
14645
14650
|
);
|
|
14646
|
-
const
|
|
14651
|
+
const stagedDir = path25.posix.dirname(file);
|
|
14652
|
+
const quoteDirs = [
|
|
14653
|
+
...stagedDir !== "." ? [stagedDir] : [],
|
|
14654
|
+
...origin && origin !== stagedDir ? [origin] : []
|
|
14655
|
+
];
|
|
14656
|
+
const quoteFlags = quoteDirs.flatMap((dir) => [
|
|
14657
|
+
"-iquote",
|
|
14658
|
+
path25.join(layout2.root, dir)
|
|
14659
|
+
]);
|
|
14647
14660
|
const perFile = [
|
|
14648
14661
|
...file.endsWith(".c") && swiftWholeFileArm64Guard(contents) ? ["-D__arm64__=1"] : [],
|
|
14649
14662
|
.../\.mm?$/.test(file) ? ["-fobjc-exceptions"] : [],
|
|
@@ -15392,6 +15405,9 @@ module ${moduleName}.Swift {
|
|
|
15392
15405
|
...producers.filter((name2) => !included.has(name2))
|
|
15393
15406
|
])
|
|
15394
15407
|
],
|
|
15408
|
+
emittedHeaderProducers: [
|
|
15409
|
+
.../* @__PURE__ */ new Set([...Object.keys(nativeHeaderDeclarations), ...producers])
|
|
15410
|
+
],
|
|
15395
15411
|
nativeHeaderDeclarations,
|
|
15396
15412
|
headerProductTarget,
|
|
15397
15413
|
targetFailures,
|
|
@@ -16318,7 +16334,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16318
16334
|
SWIFTPM_PROGRESS,
|
|
16319
16335
|
SWIFTPM_NOISE
|
|
16320
16336
|
);
|
|
16321
|
-
for (const producer of build === preparation.headerProductTarget ? preparation.
|
|
16337
|
+
for (const producer of build === preparation.headerProductTarget ? preparation.emittedHeaderProducers : preparation.emittedHeaderProducers.filter(
|
|
16338
|
+
(candidate) => candidate === build || !preparation.headerProducers.includes(candidate)
|
|
16339
|
+
)) {
|
|
16322
16340
|
const emitted = path25.join(
|
|
16323
16341
|
root,
|
|
16324
16342
|
".build",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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;
|
|
@@ -25,6 +25,7 @@ __export(swift_package_exports, {
|
|
|
25
25
|
OBJC_RESOURCE_ACCESSOR_BODY: () => OBJC_RESOURCE_ACCESSOR_BODY,
|
|
26
26
|
OBJC_RESOURCE_ACCESSOR_HEADER: () => OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
27
27
|
SWIFT_NATIVE_SOURCE_EXTENSIONS: () => SWIFT_NATIVE_SOURCE_EXTENSIONS,
|
|
28
|
+
SWIFT_STANDINS_DIR: () => SWIFT_STANDINS_DIR,
|
|
28
29
|
clangImportNames: () => clangImportNames,
|
|
29
30
|
clangMacroSetting: () => clangMacroSetting,
|
|
30
31
|
clangSettingEntries: () => clangSettingEntries,
|
|
@@ -191,6 +192,7 @@ function isSwiftNativeTranslationUnit(file) {
|
|
|
191
192
|
(extension) => file.endsWith(extension)
|
|
192
193
|
);
|
|
193
194
|
}
|
|
195
|
+
var SWIFT_STANDINS_DIR = "__standins__";
|
|
194
196
|
var SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
195
197
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
196
198
|
".s",
|
|
@@ -653,6 +655,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
|
|
|
653
655
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
654
656
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
655
657
|
SWIFT_NATIVE_SOURCE_EXTENSIONS,
|
|
658
|
+
SWIFT_STANDINS_DIR,
|
|
656
659
|
clangImportNames,
|
|
657
660
|
clangMacroSetting,
|
|
658
661
|
clangSettingEntries,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-package.ts
|
|
4
4
|
function swiftManifestSettings(target) {
|
|
@@ -139,6 +139,7 @@ function isSwiftNativeTranslationUnit(file) {
|
|
|
139
139
|
(extension) => file.endsWith(extension)
|
|
140
140
|
);
|
|
141
141
|
}
|
|
142
|
+
var SWIFT_STANDINS_DIR = "__standins__";
|
|
142
143
|
var SWIFT_NATIVE_SOURCE_EXTENSIONS = [
|
|
143
144
|
...SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS,
|
|
144
145
|
".s",
|
|
@@ -600,6 +601,7 @@ export {
|
|
|
600
601
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
601
602
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
602
603
|
SWIFT_NATIVE_SOURCE_EXTENSIONS,
|
|
604
|
+
SWIFT_STANDINS_DIR,
|
|
603
605
|
clangImportNames,
|
|
604
606
|
clangMacroSetting,
|
|
605
607
|
clangSettingEntries,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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.1920 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1920 | (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;
|