peachsim 0.1.2434 → 0.1.2435
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 +95 -28
- 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 +94 -27
- 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 +95 -28
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +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 +14 -6
- 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 +14 -6
- package/dist-lib/native-app-identity-project.cjs +13 -5
- package/dist-lib/native-app-identity-project.mjs +13 -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 +101 -35
- package/dist-lib/swift-compile.cjs +69 -19
- package/dist-lib/swift-compile.mjs +69 -19
- 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 +92 -25
- package/dist-lib/vite.cjs +3 -3
- 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 +1 -0
- package/package.json +1 -1
- package/src/bazel-project.ts +11 -3
- package/src/swift-compile.ts +49 -5
- package/src/swift-guest-image-ledger.ts +15 -12
- package/src/swift-guest-link.ts +13 -2
- package/src/swift-host.ts +12 -0
- package/src/swift-submit.ts +2 -0
- package/src/swift-wasm-prune.ts +8 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2435 | (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;
|
|
@@ -26919,8 +26919,10 @@ function bazelGraph(root, label, configuration) {
|
|
|
26919
26919
|
);
|
|
26920
26920
|
const deps = app2.attrs.get("deps")?.list ?? [];
|
|
26921
26921
|
if (deps.length === 0) throw new Error(`${label} links no libraries`);
|
|
26922
|
+
const strings7 = app2.attrs.get("strings")?.list ?? [];
|
|
26922
26923
|
const infoplists = app2.attrs.get("infoplists")?.list ?? [];
|
|
26923
|
-
const
|
|
26924
|
+
const roots = [...deps, ...strings7];
|
|
26925
|
+
const query = `kind("${QUERIED_RULES.join("|")}", deps(set(${roots.join(" ")})))${infoplists.length > 0 ? ` + set(${infoplists.join(" ")})` : ""}`;
|
|
26924
26926
|
const output2 = run11(["cquery", query, ...flags, "--output=jsonproto"]);
|
|
26925
26927
|
const defaults = run11([
|
|
26926
26928
|
"cquery",
|
|
@@ -27297,8 +27299,14 @@ ${published3.map(
|
|
|
27297
27299
|
graph.app.attrs.get("infoplists")?.list ?? [],
|
|
27298
27300
|
graph.app.label
|
|
27299
27301
|
);
|
|
27302
|
+
const strings7 = files2.expand(
|
|
27303
|
+
graph.app.attrs.get("strings")?.list ?? [],
|
|
27304
|
+
graph.app.label
|
|
27305
|
+
);
|
|
27306
|
+
resources.push(...strings7);
|
|
27300
27307
|
const absent = () => [
|
|
27301
27308
|
...infoPlistFiles,
|
|
27309
|
+
...strings7,
|
|
27302
27310
|
...[...frameworks, appModule].flatMap((module2) => [
|
|
27303
27311
|
...module2.allSources,
|
|
27304
27312
|
...module2.objc?.headers ?? []
|
|
@@ -27342,7 +27350,7 @@ ${published3.map(
|
|
|
27342
27350
|
const missing2 = options.requireSources === false ? [] : absent();
|
|
27343
27351
|
if (missing2.length > 0)
|
|
27344
27352
|
throw new Error(
|
|
27345
|
-
`bazel
|
|
27353
|
+
`bazel application has ${missing2.length} unbuilt inputs: ${missing2.slice(0, 5).map((file) => import_node_path45.default.relative(root, file)).join(", ")}`
|
|
27346
27354
|
);
|
|
27347
27355
|
const archives = /* @__PURE__ */ new Map();
|
|
27348
27356
|
for (const rule of order) {
|
|
@@ -27650,7 +27658,7 @@ var init_bazel_project = __esm({
|
|
|
27650
27658
|
HEADER3 = /\.(?:h|hh|hpp|hxx|inc|inl|ipp)$/;
|
|
27651
27659
|
PRODUCTS = import_node_path45.default.join(".build", "peach-bazel", "Products");
|
|
27652
27660
|
graphs = /* @__PURE__ */ new Map();
|
|
27653
|
-
GRAPH_FORMAT =
|
|
27661
|
+
GRAPH_FORMAT = 6;
|
|
27654
27662
|
BazelFiles = class {
|
|
27655
27663
|
constructor(graph, root) {
|
|
27656
27664
|
this.graph = graph;
|
|
@@ -36134,7 +36142,11 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
36134
36142
|
const def = definedGlobalSyms.get(symName);
|
|
36135
36143
|
if (def) activateSymbolInObj(def.obj, def.symIdx);
|
|
36136
36144
|
}
|
|
36137
|
-
for (const symName of [
|
|
36145
|
+
for (const symName of [
|
|
36146
|
+
"__peach_dlsym_from_image",
|
|
36147
|
+
"__peach_dlerror",
|
|
36148
|
+
...link ? ["_dyld_register_func_for_add_image"] : []
|
|
36149
|
+
]) {
|
|
36138
36150
|
const provider = lazyProviders.get(symName)?.[0];
|
|
36139
36151
|
if (provider) extractObject(provider);
|
|
36140
36152
|
const def = definedGlobalSyms.get(symName);
|
|
@@ -36784,7 +36796,7 @@ function readString(bytes, position) {
|
|
|
36784
36796
|
const [length, start] = readNumber(bytes, position);
|
|
36785
36797
|
if (start + length > bytes.length) throw new Error("invalid wasm string");
|
|
36786
36798
|
return [
|
|
36787
|
-
Buffer.from(bytes.
|
|
36799
|
+
Buffer.from(bytes.buffer, bytes.byteOffset + start, length).toString("utf8"),
|
|
36788
36800
|
start + length
|
|
36789
36801
|
];
|
|
36790
36802
|
}
|
|
@@ -36809,7 +36821,7 @@ function llvmType(value) {
|
|
|
36809
36821
|
function rewriteObject(bytes, names, callerAlias, binding, instrumentDynamicLookups, preserveCanonical) {
|
|
36810
36822
|
if (Buffer.from(bytes.subarray(0, 8)).toString("hex") !== "0061736d01000000")
|
|
36811
36823
|
throw new Error("expected wasm object");
|
|
36812
|
-
const sections2 = [Buffer.from(bytes.subarray(0, 8))];
|
|
36824
|
+
const sections2 = binding ? [Buffer.from(bytes.subarray(0, 8))] : void 0;
|
|
36813
36825
|
const types = [];
|
|
36814
36826
|
const functionTypes = [];
|
|
36815
36827
|
const definitions = [];
|
|
@@ -36823,8 +36835,9 @@ function rewriteObject(bytes, names, callerAlias, binding, instrumentDynamicLook
|
|
|
36823
36835
|
const [size2, start] = readNumber(bytes, position);
|
|
36824
36836
|
const end = start + size2;
|
|
36825
36837
|
if (end > bytes.length) throw new Error("invalid wasm section");
|
|
36826
|
-
let section = Buffer.from(bytes.subarray(start, end));
|
|
36827
36838
|
position = end;
|
|
36839
|
+
if (!sections2 && id > 3) continue;
|
|
36840
|
+
let section = Buffer.from(bytes.buffer, bytes.byteOffset + start, size2);
|
|
36828
36841
|
let offset = 0;
|
|
36829
36842
|
const number4 = () => {
|
|
36830
36843
|
const [value, next] = readNumber(section, offset);
|
|
@@ -36852,7 +36865,7 @@ function rewriteObject(bytes, names, callerAlias, binding, instrumentDynamicLook
|
|
|
36852
36865
|
}
|
|
36853
36866
|
} else if (id === 2) {
|
|
36854
36867
|
const count = number4();
|
|
36855
|
-
const imports2 = [encodeNumber(count)];
|
|
36868
|
+
const imports2 = sections2 ? [encodeNumber(count)] : void 0;
|
|
36856
36869
|
for (let i = 0; i < count; i++) {
|
|
36857
36870
|
const module2 = string7();
|
|
36858
36871
|
const name3 = string7();
|
|
@@ -36896,17 +36909,17 @@ function rewriteObject(bytes, names, callerAlias, binding, instrumentDynamicLook
|
|
|
36896
36909
|
}
|
|
36897
36910
|
if (isDlsym) usesDlsym = true;
|
|
36898
36911
|
if (isDlerror) usesDlerror = true;
|
|
36899
|
-
imports2
|
|
36912
|
+
imports2?.push(
|
|
36900
36913
|
encodedString(module2),
|
|
36901
36914
|
encodedString(
|
|
36902
|
-
isDlsym ? callerAlias : isDlerror ? "__peach_dlerror" : module2 === "env" && name3 !== "dlsym" && name3 !== "dlerror" ? binding(name3) ?? name3 : name3
|
|
36915
|
+
isDlsym ? callerAlias : isDlerror ? "__peach_dlerror" : module2 === "env" && name3 !== "dlsym" && name3 !== "dlerror" ? binding?.(name3) ?? name3 : name3
|
|
36903
36916
|
),
|
|
36904
36917
|
Buffer.from([kind]),
|
|
36905
36918
|
section.subarray(typeStart, offset)
|
|
36906
36919
|
);
|
|
36907
36920
|
}
|
|
36908
36921
|
if (offset !== section.length) throw new Error("invalid wasm import section");
|
|
36909
|
-
section = Buffer.concat(imports2);
|
|
36922
|
+
if (imports2) section = Buffer.concat(imports2);
|
|
36910
36923
|
} else if (id === 3) {
|
|
36911
36924
|
const count = number4();
|
|
36912
36925
|
for (let i = 0; i < count; i++) functionTypes.push(number4());
|
|
@@ -36990,7 +37003,7 @@ function rewriteObject(bytes, names, callerAlias, binding, instrumentDynamicLook
|
|
|
36990
37003
|
encodedString(name3 === "dlsym" ? callerAlias : "__peach_dlerror"),
|
|
36991
37004
|
section.subarray(nameEnd, offset)
|
|
36992
37005
|
);
|
|
36993
|
-
} else if (flags & 16 && name3 !== "dlsym" && name3 !== "dlerror" && binding(name3) !== void 0) {
|
|
37006
|
+
} else if (flags & 16 && name3 !== "dlsym" && name3 !== "dlerror" && binding?.(name3) !== void 0) {
|
|
36994
37007
|
entries.push(
|
|
36995
37008
|
section.subarray(begin, nameStart),
|
|
36996
37009
|
encodedString(binding(name3)),
|
|
@@ -37065,10 +37078,10 @@ function rewriteObject(bytes, names, callerAlias, binding, instrumentDynamicLook
|
|
|
37065
37078
|
section = Buffer.concat(parts);
|
|
37066
37079
|
}
|
|
37067
37080
|
}
|
|
37068
|
-
sections2
|
|
37081
|
+
sections2?.push(Buffer.from([id]), encodeNumber(section.length), section);
|
|
37069
37082
|
}
|
|
37070
37083
|
return {
|
|
37071
|
-
bytes: Buffer.concat(sections2),
|
|
37084
|
+
bytes: sections2 ? Buffer.concat(sections2) : bytes,
|
|
37072
37085
|
definitions,
|
|
37073
37086
|
functionImports,
|
|
37074
37087
|
usesDlsym,
|
|
@@ -37124,7 +37137,7 @@ function createGuestImageLedger(input) {
|
|
|
37124
37137
|
object8.bytes,
|
|
37125
37138
|
aliases,
|
|
37126
37139
|
`__peach_dlsym_caller_${image.id}`,
|
|
37127
|
-
|
|
37140
|
+
void 0,
|
|
37128
37141
|
object8.instrumentDynamicLookups,
|
|
37129
37142
|
/* @__PURE__ */ new Set()
|
|
37130
37143
|
);
|
|
@@ -39792,13 +39805,21 @@ function verifyGuestSymbolScopes(options) {
|
|
|
39792
39805
|
continue;
|
|
39793
39806
|
if (!scope2.includes(provider)) {
|
|
39794
39807
|
const candidates = options.definitionObjects.get(symbol2) ?? /* @__PURE__ */ new Set();
|
|
39795
|
-
const
|
|
39808
|
+
const traced = [...record5.providers.keys()];
|
|
39809
|
+
const strongTraced = traced.filter(
|
|
39810
|
+
(definer) => !options.weakDefinitions.get(definer)?.has(symbol2)
|
|
39811
|
+
);
|
|
39812
|
+
const providers = strongTraced.length === 1 ? strongTraced : traced;
|
|
39796
39813
|
if (options.weakReferences.get(object8)?.has(symbol2) && !providers.some((provider2) => options.systemProviders.has(provider2)))
|
|
39797
39814
|
continue;
|
|
39798
39815
|
const equivalentCopies = providers.length === 1 && candidates.has(providers[0]) && [...candidates].every(
|
|
39799
39816
|
(definer) => options.weakDefinitions.get(definer)?.has(symbol2)
|
|
39800
39817
|
);
|
|
39801
|
-
|
|
39818
|
+
const strongCandidates = [...candidates].filter(
|
|
39819
|
+
(definer) => !options.weakDefinitions.get(definer)?.has(symbol2)
|
|
39820
|
+
);
|
|
39821
|
+
const soleCandidate = candidates.size === 1 || strongCandidates.length === 1 && strongCandidates[0] === providers[0];
|
|
39822
|
+
if (!equivalentCopies && (!soleCandidate || providers.length !== 1 || !candidates.has(providers[0]) || !(options.systemProviders.has(providers[0]) || // a strong undefined reference binds through the process global
|
|
39802
39823
|
// scope, the root image and its dependency closure, as in elf.
|
|
39803
39824
|
provider === 0 || callers.get(0)?.includes(provider) || !options.weakReferences.get(object8)?.has(symbol2) && options.frameworkProviders.get(object8)?.has(providers[0]))))
|
|
39804
39825
|
throw new Error(
|
|
@@ -43330,6 +43351,8 @@ ${WASM_LOWER_IDENTITY}
|
|
|
43330
43351
|
hash.update(JSON.stringify(input.staticClangTargets ?? []));
|
|
43331
43352
|
hash.update(JSON.stringify(input.headerAliases ?? {}));
|
|
43332
43353
|
hash.update(JSON.stringify(input.packageGuestImports ?? []));
|
|
43354
|
+
if (input.packageHostMacros?.length)
|
|
43355
|
+
hash.update("package-host-macros\n" + JSON.stringify(input.packageHostMacros));
|
|
43333
43356
|
if (input.defaultLocalization)
|
|
43334
43357
|
hash.update(`default-localization
|
|
43335
43358
|
${input.defaultLocalization}
|
|
@@ -46971,6 +46994,8 @@ function swiftLinkStamp(args) {
|
|
|
46971
46994
|
hash.update(`swift-link/v1
|
|
46972
46995
|
${args.frameworkKey}
|
|
46973
46996
|
`);
|
|
46997
|
+
if (args.packageHostMacros?.length)
|
|
46998
|
+
hash.update("package-host-macros\n" + JSON.stringify(args.packageHostMacros));
|
|
46974
46999
|
if (!args.prebuilt) return hash.digest("hex");
|
|
46975
47000
|
const statOf = (file) => {
|
|
46976
47001
|
const stat2 = (0, import_node_fs70.statSync)(file, { bigint: true });
|
|
@@ -47195,11 +47220,13 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
47195
47220
|
});
|
|
47196
47221
|
}
|
|
47197
47222
|
if (options.project) removeProjectLinks(root);
|
|
47223
|
+
const packageHostMacros = process.platform === "linux" ? input.packageHostMacros : void 0;
|
|
47198
47224
|
if (retireStaleSwiftLink(
|
|
47199
47225
|
root,
|
|
47200
47226
|
swiftLinkStamp({
|
|
47201
47227
|
frameworkKey,
|
|
47202
|
-
prebuilt
|
|
47228
|
+
prebuilt,
|
|
47229
|
+
packageHostMacros
|
|
47203
47230
|
})
|
|
47204
47231
|
))
|
|
47205
47232
|
report("framework revision changed; rebuilding the app link");
|
|
@@ -47222,8 +47249,38 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
47222
47249
|
).product.name
|
|
47223
47250
|
] : []
|
|
47224
47251
|
);
|
|
47225
|
-
const projectProcess = options.project ? prepareSwiftProjectProcess(root, options.project) : void 0;
|
|
47226
47252
|
const compiler = preparation.targetToolset ? { CC: import_node_path70.default.join(root, CLANG_TARGET_MODULE_WRAPPER) } : {};
|
|
47253
|
+
if (packageHostMacros?.length) {
|
|
47254
|
+
const swiftc = import_node_path70.default.join(root, SWIFT_HOST_COMPILER_WRAPPER);
|
|
47255
|
+
writeBuildFile(
|
|
47256
|
+
swiftc,
|
|
47257
|
+
[
|
|
47258
|
+
"#!/bin/sh",
|
|
47259
|
+
"target=",
|
|
47260
|
+
"module=",
|
|
47261
|
+
"compile=",
|
|
47262
|
+
"previous=",
|
|
47263
|
+
"for argument do",
|
|
47264
|
+
' case "$previous" in -target) target=$argument ;; -module-name) module=$argument ;; esac',
|
|
47265
|
+
' case "$argument" in -c|-emit-module|-scan-dependencies|-typecheck) compile=1 ;; esac',
|
|
47266
|
+
" previous=$argument",
|
|
47267
|
+
"done",
|
|
47268
|
+
'case "$target/$compile" in',
|
|
47269
|
+
" *-*-linux*/1)",
|
|
47270
|
+
' case ",$PEACH_SWIFT_HOST_MACROS," in',
|
|
47271
|
+
' *",$module,"*) set -- "$@" -Xfrontend -import-module -Xfrontend Foundation ;;',
|
|
47272
|
+
" esac ;;",
|
|
47273
|
+
"esac",
|
|
47274
|
+
'exec "$PEACH_SWIFTC" "$@"',
|
|
47275
|
+
""
|
|
47276
|
+
].join("\n")
|
|
47277
|
+
);
|
|
47278
|
+
(0, import_node_fs70.chmodSync)(swiftc, 493);
|
|
47279
|
+
compiler.SWIFT_EXEC = swiftc;
|
|
47280
|
+
compiler.PEACH_SWIFT_HOST_MACROS = packageHostMacros.join(",");
|
|
47281
|
+
compiler.PEACH_SWIFTC = import_node_path70.default.join(options.toolchainBin, "swiftc");
|
|
47282
|
+
}
|
|
47283
|
+
const projectProcess = options.project ? prepareSwiftProjectProcess(root, options.project) : void 0;
|
|
47227
47284
|
const appOptions = projectProcess ? {
|
|
47228
47285
|
...buildOptions,
|
|
47229
47286
|
uid: projectProcess.uid,
|
|
@@ -47578,7 +47635,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
47578
47635
|
releaseDirectory: import_node_path70.default.dirname(linked),
|
|
47579
47636
|
moduleRoot: frameworkRoot,
|
|
47580
47637
|
toolchainBin: options.toolchainBin,
|
|
47581
|
-
swiftCompiler: preparation.headerCompiler ? import_node_path70.default.join(root, SWIFT_HEADER_COMPILER_WRAPPER) : import_node_path70.default.join(options.toolchainBin, "swiftc"),
|
|
47638
|
+
swiftCompiler: preparation.headerCompiler ? import_node_path70.default.join(root, SWIFT_HEADER_COMPILER_WRAPPER) : compiler.SWIFT_EXEC ?? import_node_path70.default.join(options.toolchainBin, "swiftc"),
|
|
47582
47639
|
sysroot: swiftSdkPaths(frameworkRoot, options.toolchainBin).sysroot,
|
|
47583
47640
|
sdk: swiftModuleSdk(frameworkRoot),
|
|
47584
47641
|
staticClangTargets: input.staticClangTargets ?? [],
|
|
@@ -47616,7 +47673,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
47616
47673
|
options.signal
|
|
47617
47674
|
);
|
|
47618
47675
|
}
|
|
47619
|
-
var import_node_child_process34, import_node_crypto33, import_node_fs70, import_node_os14, import_node_path70, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, REACH_STAGED_FRAMEWORKS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, cPredefineTable, cPredefineCache, SWIFT_SCAN_KEYWORDS, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
|
|
47676
|
+
var import_node_child_process34, import_node_crypto33, import_node_fs70, import_node_os14, import_node_path70, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, REACH_STAGED_FRAMEWORKS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, cPredefineTable, cPredefineCache, SWIFT_SCAN_KEYWORDS, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
|
|
47620
47677
|
var init_swift_compile = __esm({
|
|
47621
47678
|
"src/swift-compile.ts"() {
|
|
47622
47679
|
"use strict";
|
|
@@ -47857,7 +47914,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
47857
47914
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
47858
47915
|
MULTI_MANIFEST_VERSION = 72;
|
|
47859
47916
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
47860
|
-
compilerSourceDigest = true ? "
|
|
47917
|
+
compilerSourceDigest = true ? "4a6e02699924195639b15c5cdfd8852b5f17fb2ffacb8f9f964ef3daeee8b9dc" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
47861
47918
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
47862
47919
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
47863
47920
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -48353,6 +48410,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
48353
48410
|
retainedArtifacts = /* @__PURE__ */ new Map();
|
|
48354
48411
|
FRAMEWORK_LINK_TARGET = "PeachFrameworkLink";
|
|
48355
48412
|
SWIFT_LINK_STAMP = ".peach-link-stamp";
|
|
48413
|
+
SWIFT_HOST_COMPILER_WRAPPER = ".peach-swiftc";
|
|
48356
48414
|
SWIFT_FRAMEWORK_SLOTS = 8;
|
|
48357
48415
|
SWIFT_FRAMEWORK_SLOT_KEY = ".peach-framework-key";
|
|
48358
48416
|
SWIFT_FRAMEWORK_SLOT_ORIGIN = ".peach-framework-origin";
|
|
@@ -52467,7 +52525,7 @@ var init_swift_standin_digest = __esm({
|
|
|
52467
52525
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
52468
52526
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
52469
52527
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
52470
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
52528
|
+
STANDIN_SOURCE_DIGEST = true ? "2517dacc106de8d2cadefded667b8502b029a35f04f5453646eb48792e0fb55c" : standinSourceDigest();
|
|
52471
52529
|
}
|
|
52472
52530
|
});
|
|
52473
52531
|
|
|
@@ -63974,6 +64032,13 @@ function packageSnapshot(project2, entry, moduleRoot) {
|
|
|
63974
64032
|
...Object.keys(projectFiles).length > 0 ? { projectFiles } : {},
|
|
63975
64033
|
...Object.keys(packageFiles2).length > 0 ? {
|
|
63976
64034
|
packageFiles: packageFiles2,
|
|
64035
|
+
packageHostMacros: [
|
|
64036
|
+
...new Set(
|
|
64037
|
+
(layout2?.packages.nativePackages ?? []).flatMap(
|
|
64038
|
+
({ manifest }) => [...manifest.targets.values()].filter((target) => target.type === "macro").map((target) => swiftTargetModuleName(target.name))
|
|
64039
|
+
)
|
|
64040
|
+
)
|
|
64041
|
+
].sort(),
|
|
63977
64042
|
packageGuestImports: [
|
|
63978
64043
|
...new Set(
|
|
63979
64044
|
(layout2?.packages.nativePackages ?? []).flatMap(
|
|
@@ -64040,7 +64105,8 @@ function snapshotCompileInput(snapshot) {
|
|
|
64040
64105
|
files: snapshot.files,
|
|
64041
64106
|
...snapshot.packageFiles ? {
|
|
64042
64107
|
packageFiles: snapshot.packageFiles,
|
|
64043
|
-
packageGuestImports: snapshot.packageGuestImports
|
|
64108
|
+
packageGuestImports: snapshot.packageGuestImports,
|
|
64109
|
+
packageHostMacros: snapshot.packageHostMacros
|
|
64044
64110
|
} : {},
|
|
64045
64111
|
...snapshot.projectFiles ? { projectFiles: snapshot.projectFiles } : {},
|
|
64046
64112
|
...snapshot.nativeTargets ? { nativeTargets: snapshot.nativeTargets } : {},
|
|
@@ -64306,7 +64372,8 @@ async function compileRemote(packagePath, snapshot, hosted, ownerSignal) {
|
|
|
64306
64372
|
files: snapshot.files,
|
|
64307
64373
|
...snapshot.packageFiles ? {
|
|
64308
64374
|
packageFiles: snapshot.packageFiles,
|
|
64309
|
-
packageGuestImports: snapshot.packageGuestImports
|
|
64375
|
+
packageGuestImports: snapshot.packageGuestImports,
|
|
64376
|
+
packageHostMacros: snapshot.packageHostMacros
|
|
64310
64377
|
} : {},
|
|
64311
64378
|
...snapshot.nativeTargets ? { nativeTargets: snapshot.nativeTargets } : {},
|
|
64312
64379
|
...snapshot.sourceLinkGraph ? { sourceLinkGraph: snapshot.sourceLinkGraph } : {},
|
|
@@ -70806,7 +70873,7 @@ var init_nitro_superset = __esm({
|
|
|
70806
70873
|
init_nitroContract();
|
|
70807
70874
|
init_swift_standin_digest();
|
|
70808
70875
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
70809
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
70876
|
+
NITRO_COMPILER_DIGEST = true ? "3856ca8527b7219f2b4be3736283df1fec84313b7dc56326d4d30f5e0e9b382a" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
70810
70877
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
70811
70878
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
70812
70879
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -89743,7 +89810,7 @@ init_swift_native_pin();
|
|
|
89743
89810
|
init_xcode_project();
|
|
89744
89811
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
89745
89812
|
function expoNativeCompilerDigestValue() {
|
|
89746
|
-
return true ? "
|
|
89813
|
+
return true ? "5f4ceb325a4bf4e4aa833707da1460384624555bbc7a3bed9d973bd2507d8db6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
89747
89814
|
}
|
|
89748
89815
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
89749
89816
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2435 | (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;
|
|
@@ -294,7 +294,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
294
294
|
var init_swift_standin_digest = __esm({
|
|
295
295
|
"src/swift-standin-digest.ts"() {
|
|
296
296
|
"use strict";
|
|
297
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
297
|
+
STANDIN_SOURCE_DIGEST = true ? "2517dacc106de8d2cadefded667b8502b029a35f04f5453646eb48792e0fb55c" : standinSourceDigest();
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
|
|
@@ -4095,7 +4095,7 @@ var init_swift_compile = __esm({
|
|
|
4095
4095
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4096
4096
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4097
4097
|
).join("");
|
|
4098
|
-
compilerSourceDigest = true ? "
|
|
4098
|
+
compilerSourceDigest = true ? "4a6e02699924195639b15c5cdfd8852b5f17fb2ffacb8f9f964ef3daeee8b9dc" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4099
4099
|
C_WORDS = new Set(
|
|
4100
4100
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
4101
4101
|
" "
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2435 | (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.2435 | (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.2435 | (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.2435 | (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;
|
|
@@ -10584,7 +10584,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
10584
10584
|
var init_swift_standin_digest = __esm({
|
|
10585
10585
|
"src/swift-standin-digest.ts"() {
|
|
10586
10586
|
"use strict";
|
|
10587
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
10587
|
+
STANDIN_SOURCE_DIGEST = true ? "2517dacc106de8d2cadefded667b8502b029a35f04f5453646eb48792e0fb55c" : standinSourceDigest();
|
|
10588
10588
|
}
|
|
10589
10589
|
});
|
|
10590
10590
|
|
|
@@ -10900,8 +10900,10 @@ function bazelGraph(root, label, configuration) {
|
|
|
10900
10900
|
);
|
|
10901
10901
|
const deps = app2.attrs.get("deps")?.list ?? [];
|
|
10902
10902
|
if (deps.length === 0) throw new Error(`${label} links no libraries`);
|
|
10903
|
+
const strings = app2.attrs.get("strings")?.list ?? [];
|
|
10903
10904
|
const infoplists = app2.attrs.get("infoplists")?.list ?? [];
|
|
10904
|
-
const
|
|
10905
|
+
const roots = [...deps, ...strings];
|
|
10906
|
+
const query = `kind("${QUERIED_RULES.join("|")}", deps(set(${roots.join(" ")})))${infoplists.length > 0 ? ` + set(${infoplists.join(" ")})` : ""}`;
|
|
10905
10907
|
const output2 = run7(["cquery", query, ...flags, "--output=jsonproto"]);
|
|
10906
10908
|
const defaults = run7([
|
|
10907
10909
|
"cquery",
|
|
@@ -11278,8 +11280,14 @@ ${published.map(
|
|
|
11278
11280
|
graph.app.attrs.get("infoplists")?.list ?? [],
|
|
11279
11281
|
graph.app.label
|
|
11280
11282
|
);
|
|
11283
|
+
const strings = files.expand(
|
|
11284
|
+
graph.app.attrs.get("strings")?.list ?? [],
|
|
11285
|
+
graph.app.label
|
|
11286
|
+
);
|
|
11287
|
+
resources.push(...strings);
|
|
11281
11288
|
const absent = () => [
|
|
11282
11289
|
...infoPlistFiles,
|
|
11290
|
+
...strings,
|
|
11283
11291
|
...[...frameworks, appModule].flatMap((module2) => [
|
|
11284
11292
|
...module2.allSources,
|
|
11285
11293
|
...module2.objc?.headers ?? []
|
|
@@ -11323,7 +11331,7 @@ ${published.map(
|
|
|
11323
11331
|
const missing2 = options.requireSources === false ? [] : absent();
|
|
11324
11332
|
if (missing2.length > 0)
|
|
11325
11333
|
throw new Error(
|
|
11326
|
-
`bazel
|
|
11334
|
+
`bazel application has ${missing2.length} unbuilt inputs: ${missing2.slice(0, 5).map((file) => import_node_path20.default.relative(root, file)).join(", ")}`
|
|
11327
11335
|
);
|
|
11328
11336
|
const archives = /* @__PURE__ */ new Map();
|
|
11329
11337
|
for (const rule of order) {
|
|
@@ -11631,7 +11639,7 @@ var init_bazel_project = __esm({
|
|
|
11631
11639
|
HEADER = /\.(?:h|hh|hpp|hxx|inc|inl|ipp)$/;
|
|
11632
11640
|
PRODUCTS = import_node_path20.default.join(".build", "peach-bazel", "Products");
|
|
11633
11641
|
graphs = /* @__PURE__ */ new Map();
|
|
11634
|
-
GRAPH_FORMAT =
|
|
11642
|
+
GRAPH_FORMAT = 6;
|
|
11635
11643
|
BazelFiles = class {
|
|
11636
11644
|
constructor(graph, root) {
|
|
11637
11645
|
this.graph = graph;
|
|
@@ -14049,7 +14057,7 @@ var init_swift_compile = __esm({
|
|
|
14049
14057
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
14050
14058
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
14051
14059
|
).join("");
|
|
14052
|
-
compilerSourceDigest = true ? "
|
|
14060
|
+
compilerSourceDigest = true ? "4a6e02699924195639b15c5cdfd8852b5f17fb2ffacb8f9f964ef3daeee8b9dc" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
14053
14061
|
C_WORDS = new Set(
|
|
14054
14062
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
14055
14063
|
" "
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2435 | (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.2435 | (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.2435 | (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.2435 | (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.2435 | (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.2435 | (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.2435 | (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() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2435 | (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;
|
|
@@ -1892,7 +1892,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
1892
1892
|
var init_swift_standin_digest = __esm({
|
|
1893
1893
|
"src/swift-standin-digest.ts"() {
|
|
1894
1894
|
"use strict";
|
|
1895
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
1895
|
+
STANDIN_SOURCE_DIGEST = true ? "2517dacc106de8d2cadefded667b8502b029a35f04f5453646eb48792e0fb55c" : standinSourceDigest();
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
|
|
@@ -7639,8 +7639,10 @@ function bazelGraph(root, label, configuration) {
|
|
|
7639
7639
|
);
|
|
7640
7640
|
const deps = app2.attrs.get("deps")?.list ?? [];
|
|
7641
7641
|
if (deps.length === 0) throw new Error(`${label} links no libraries`);
|
|
7642
|
+
const strings = app2.attrs.get("strings")?.list ?? [];
|
|
7642
7643
|
const infoplists = app2.attrs.get("infoplists")?.list ?? [];
|
|
7643
|
-
const
|
|
7644
|
+
const roots = [...deps, ...strings];
|
|
7645
|
+
const query = `kind("${QUERIED_RULES.join("|")}", deps(set(${roots.join(" ")})))${infoplists.length > 0 ? ` + set(${infoplists.join(" ")})` : ""}`;
|
|
7644
7646
|
const output2 = run6(["cquery", query, ...flags, "--output=jsonproto"]);
|
|
7645
7647
|
const defaults = run6([
|
|
7646
7648
|
"cquery",
|
|
@@ -8017,8 +8019,14 @@ ${published.map(
|
|
|
8017
8019
|
graph.app.attrs.get("infoplists")?.list ?? [],
|
|
8018
8020
|
graph.app.label
|
|
8019
8021
|
);
|
|
8022
|
+
const strings = files.expand(
|
|
8023
|
+
graph.app.attrs.get("strings")?.list ?? [],
|
|
8024
|
+
graph.app.label
|
|
8025
|
+
);
|
|
8026
|
+
resources.push(...strings);
|
|
8020
8027
|
const absent = () => [
|
|
8021
8028
|
...infoPlistFiles,
|
|
8029
|
+
...strings,
|
|
8022
8030
|
...[...frameworks, appModule].flatMap((module2) => [
|
|
8023
8031
|
...module2.allSources,
|
|
8024
8032
|
...module2.objc?.headers ?? []
|
|
@@ -8062,7 +8070,7 @@ ${published.map(
|
|
|
8062
8070
|
const missing2 = options.requireSources === false ? [] : absent();
|
|
8063
8071
|
if (missing2.length > 0)
|
|
8064
8072
|
throw new Error(
|
|
8065
|
-
`bazel
|
|
8073
|
+
`bazel application has ${missing2.length} unbuilt inputs: ${missing2.slice(0, 5).map((file) => import_node_path10.default.relative(root, file)).join(", ")}`
|
|
8066
8074
|
);
|
|
8067
8075
|
const archives = /* @__PURE__ */ new Map();
|
|
8068
8076
|
for (const rule of order) {
|
|
@@ -8370,7 +8378,7 @@ var init_bazel_project = __esm({
|
|
|
8370
8378
|
HEADER = /\.(?:h|hh|hpp|hxx|inc|inl|ipp)$/;
|
|
8371
8379
|
PRODUCTS = import_node_path10.default.join(".build", "peach-bazel", "Products");
|
|
8372
8380
|
graphs = /* @__PURE__ */ new Map();
|
|
8373
|
-
GRAPH_FORMAT =
|
|
8381
|
+
GRAPH_FORMAT = 6;
|
|
8374
8382
|
BazelFiles = class {
|
|
8375
8383
|
constructor(graph, root) {
|
|
8376
8384
|
this.graph = graph;
|
|
@@ -10725,7 +10733,7 @@ var init_swift_compile = __esm({
|
|
|
10725
10733
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
10726
10734
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
10727
10735
|
).join("");
|
|
10728
|
-
compilerSourceDigest = true ? "
|
|
10736
|
+
compilerSourceDigest = true ? "4a6e02699924195639b15c5cdfd8852b5f17fb2ffacb8f9f964ef3daeee8b9dc" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
10729
10737
|
C_WORDS = new Set(
|
|
10730
10738
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
10731
10739
|
" "
|