peachsim 0.1.2560 → 0.1.2562
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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +52 -12
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-CO5WASBN.mjs → acorn-Q22M6WOR.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-3BESMJQO.mjs → chunk-2SO2C5FV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RL2FZIJ4.mjs → chunk-36FHDERF.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-XOEBZM45.mjs → chunk-A4JEVAJE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D2E3LXDA.mjs → chunk-AM4K5S4B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JGCU4O43.mjs → chunk-BHYC2MNS.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-3BCOQ4H2.mjs → chunk-CNAMYVUQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KVRVF6Q6.mjs → chunk-GKMAR3UN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-B5EXH3LW.mjs → chunk-GZISBWKM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-27TSGHLA.mjs → chunk-HJZRIROU.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-2HHFMQBN.mjs → chunk-JKZVLPH3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TBSCDD2J.mjs → chunk-MNFZO6P7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GKOJM3J2.mjs → chunk-ONETXZWG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5PEKPAXB.mjs → chunk-PDHKRXLR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2UZ7WW4Y.mjs → chunk-PLJGPUCK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SSY2MDJY.mjs → chunk-QAR3QLGG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HLKBS5IR.mjs → chunk-QN6HZZRJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2GEELRIL.mjs → chunk-SCRYU7HQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P6EKH2IL.mjs → chunk-UESWZZED.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-R7VDCV2V.mjs → chunk-VOOX3EIF.mjs} +59 -19
- package/dist-lib/esm-chunks/{chunk-LAHNJ2GO.mjs → chunk-XGXCADRS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YCGMZYJG.mjs → chunk-YHV5ITC4.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-O2CVDM6R.mjs → metro-layout-parser-6NROM3NC.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-SY3FNEHX.mjs → swift-package-prebuilt-4SGKMCEQ.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-J3RFODQ7.mjs → swift-sdk-app-module-K2BBOWB3.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-4OZNBMXU.mjs → swift-sdk-image-2OORMZCP.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-ZPXRBMCV.mjs → swift-sdk-image-producer-XQ3KW7BR.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +50 -10
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +92 -41
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +7 -7
- package/dist-lib/skills.cjs +98 -47
- package/dist-lib/swift-compile.cjs +48 -8
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/browser-object-url.d.ts +1 -8
- package/dist-types/packages/peach-globals/src/browser-url.d.ts +8 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/runtime-assets.ts +49 -43
- package/src/swift-compile.ts +54 -8
- package/src/swiftContract.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
windowAdmission,
|
|
19
19
|
withSwiftRootLock,
|
|
20
20
|
writeSwiftAutolinkLinker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SWIFT_BINARY_TREES_DIR,
|
|
24
24
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isSwiftResourcePath,
|
|
34
34
|
isSwiftSourceLinkGraph,
|
|
35
35
|
swiftProjectFilesProblems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AM4K5S4B.mjs";
|
|
37
37
|
import {
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
swiftPackagePartition,
|
|
58
58
|
swiftTargetModuleName,
|
|
59
59
|
withoutGlogModuleMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SCRYU7HQ.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QAR3QLGG.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GZISBWKM.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-JKZVLPH3.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -13486,7 +13486,7 @@ async function compileGuestLink(options) {
|
|
|
13486
13486
|
};
|
|
13487
13487
|
const sdk = options.sdkImage;
|
|
13488
13488
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13489
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13489
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-2OORMZCP.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13490
13490
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13491
13491
|
throw new Error("the SDK image has no guest link manifest");
|
|
13492
13492
|
const result = linkPrunedGuestImages({
|
|
@@ -13773,7 +13773,7 @@ async function compileGuestLink(options) {
|
|
|
13773
13773
|
finishSwiftAppModule,
|
|
13774
13774
|
linkSwiftAppModule,
|
|
13775
13775
|
readSwiftSdkUsage
|
|
13776
|
-
} = await import("./swift-sdk-app-module-
|
|
13776
|
+
} = await import("./swift-sdk-app-module-K2BBOWB3.mjs");
|
|
13777
13777
|
const project = options.project;
|
|
13778
13778
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13779
13779
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16284,7 +16284,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16284
16284
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16285
16285
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16286
16286
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16287
|
-
var compilerSourceDigest = true ? "
|
|
16287
|
+
var compilerSourceDigest = true ? "5b77b32ba9e1a5e77c9671faafe9ac0e7669eb9003445901ffff10b5a9b03550" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16288
16288
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16289
16289
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16290
16290
|
}
|
|
@@ -19956,16 +19956,54 @@ package.targets += [.target(name: ${JSON.stringify(name)}, dependencies: ${JSON.
|
|
|
19956
19956
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
19957
19957
|
producers: producers2
|
|
19958
19958
|
}));
|
|
19959
|
-
const
|
|
19959
|
+
const earlyNativeTargets = [
|
|
19960
19960
|
.../* @__PURE__ */ new Set([
|
|
19961
19961
|
...input.staticClangTargets ?? [],
|
|
19962
|
-
...[...native].flatMap(
|
|
19963
|
-
|
|
19964
|
-
|
|
19965
|
-
|
|
19962
|
+
...[...native].flatMap(
|
|
19963
|
+
([name, plan]) => !plan.mixed && plan.sources.length > 0 ? [name] : []
|
|
19964
|
+
)
|
|
19965
|
+
])
|
|
19966
|
+
];
|
|
19967
|
+
const nativeBuildTargets = [
|
|
19968
|
+
.../* @__PURE__ */ new Set([
|
|
19969
|
+
...earlyNativeTargets,
|
|
19970
|
+
...[...native].flatMap(
|
|
19971
|
+
([, plan]) => plan.groups?.map((group) => group.name) ?? (plan.late ? [plan.late.name] : [])
|
|
19972
|
+
)
|
|
19966
19973
|
])
|
|
19967
19974
|
];
|
|
19968
|
-
|
|
19975
|
+
let nativePrerequisiteTargets = [];
|
|
19976
|
+
if (headerCompiler && earlyNativeTargets.length > 0) {
|
|
19977
|
+
const reachableFromProducers = /* @__PURE__ */ new Set();
|
|
19978
|
+
const visitReachable = (name) => {
|
|
19979
|
+
if (reachableFromProducers.has(name)) return;
|
|
19980
|
+
reachableFromProducers.add(name);
|
|
19981
|
+
for (const dependency of dependencies.get(name) ?? []) visitReachable(dependency);
|
|
19982
|
+
};
|
|
19983
|
+
for (const producer of orderedProducers) visitReachable(producer);
|
|
19984
|
+
const swiftDependent = /* @__PURE__ */ new Map();
|
|
19985
|
+
const reachesSwift = (name, seen = /* @__PURE__ */ new Set()) => {
|
|
19986
|
+
const cached = swiftDependent.get(name);
|
|
19987
|
+
if (cached !== void 0) return cached;
|
|
19988
|
+
if (seen.has(name)) return false;
|
|
19989
|
+
seen.add(name);
|
|
19990
|
+
const result = swiftTargets.has(name) || (dependencies.get(name) ?? []).some(
|
|
19991
|
+
(dependency) => reachesSwift(dependency, seen)
|
|
19992
|
+
);
|
|
19993
|
+
seen.delete(name);
|
|
19994
|
+
if (seen.size === 0) swiftDependent.set(name, result);
|
|
19995
|
+
return result;
|
|
19996
|
+
};
|
|
19997
|
+
nativePrerequisiteTargets = earlyNativeTargets.filter(
|
|
19998
|
+
(name) => reachableFromProducers.has(name) && !reachesSwift(name)
|
|
19999
|
+
);
|
|
20000
|
+
}
|
|
20001
|
+
const nativePrerequisiteSet = new Set(nativePrerequisiteTargets);
|
|
20002
|
+
const remainingNativeBuildTargets = nativeBuildTargets.filter(
|
|
20003
|
+
(name) => !nativePrerequisiteSet.has(name)
|
|
20004
|
+
);
|
|
20005
|
+
const nativePrerequisiteTarget = nativePrerequisiteTargets.length ? buildProduct("PeachHeaderNativePrereqs", nativePrerequisiteTargets) : void 0;
|
|
20006
|
+
const nativeProductTarget = remainingNativeBuildTargets.length ? buildProduct("PeachNativeProducts", remainingNativeBuildTargets) : void 0;
|
|
19969
20007
|
files.set(manifestPath, manifest);
|
|
19970
20008
|
syncSwiftTree(layout2.root, files);
|
|
19971
20009
|
if (layout2.multi)
|
|
@@ -19975,6 +20013,7 @@ package.targets += [.target(name: ${JSON.stringify(name)}, dependencies: ${JSON.
|
|
|
19975
20013
|
if (files.has(clangWrapper) && (statSync4(clangWrapper).mode & 4095) !== 493)
|
|
19976
20014
|
chmodSync3(clangWrapper, 493);
|
|
19977
20015
|
return {
|
|
20016
|
+
nativePrerequisiteTarget,
|
|
19978
20017
|
headerBuilds,
|
|
19979
20018
|
nativeHeaderDeclarations,
|
|
19980
20019
|
nativeProductTarget,
|
|
@@ -20843,7 +20882,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20843
20882
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20844
20883
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20845
20884
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20846
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20885
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-4SGKMCEQ.mjs")).useSwiftPackagePrebuilts(
|
|
20847
20886
|
sources,
|
|
20848
20887
|
moduleRoot,
|
|
20849
20888
|
options.toolchainBin
|
|
@@ -20857,7 +20896,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20857
20896
|
multi: compileTargets(input).length > 0
|
|
20858
20897
|
};
|
|
20859
20898
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20860
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20899
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-2OORMZCP.mjs")).buildSwiftSdkImage(
|
|
20861
20900
|
moduleRoot,
|
|
20862
20901
|
!!guestGraph,
|
|
20863
20902
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21330,6 +21369,7 @@ ${cap}` : "";
|
|
|
21330
21369
|
const runApp = async (compiler2) => {
|
|
21331
21370
|
const optionsWithCompiler = compiler2 ? { ...appOptions, env: { ...appOptions.env, ...compiler2 } } : appOptions;
|
|
21332
21371
|
const stages = [
|
|
21372
|
+
...preparation.nativePrerequisiteTarget ? [{ target: preparation.nativePrerequisiteTarget, producers: [] }] : [],
|
|
21333
21373
|
...preparation.headerBuilds,
|
|
21334
21374
|
...preparation.nativeProductTarget ? [{ target: preparation.nativeProductTarget, producers: [] }] : []
|
|
21335
21375
|
];
|
|
@@ -21507,7 +21547,7 @@ ${cap}` : "";
|
|
|
21507
21547
|
if (sdkImage && binding)
|
|
21508
21548
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21509
21549
|
} else if (sdkImage) {
|
|
21510
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21550
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-K2BBOWB3.mjs");
|
|
21511
21551
|
const binding = await buildSwiftAppModule({
|
|
21512
21552
|
buildRoot: root,
|
|
21513
21553
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36FHDERF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
swiftSdkPaths,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VOOX3EIF.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-XQ3KW7BR.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
package/dist-lib/esm-chunks/{metro-layout-parser-O2CVDM6R.mjs → metro-layout-parser-6NROM3NC.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-Q22M6WOR.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-VOOX3EIF.mjs";
|
|
10
|
+
import "./chunk-PDHKRXLR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AM4K5S4B.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-SCRYU7HQ.mjs";
|
|
17
|
+
import "./chunk-ONETXZWG.mjs";
|
|
18
|
+
import "./chunk-QAR3QLGG.mjs";
|
|
19
|
+
import "./chunk-GKMAR3UN.mjs";
|
|
20
|
+
import "./chunk-GZISBWKM.mjs";
|
|
21
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-J3RFODQ7.mjs → swift-sdk-app-module-K2BBOWB3.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-YHV5ITC4.mjs";
|
|
9
|
+
import "./chunk-36FHDERF.mjs";
|
|
10
|
+
import "./chunk-MNFZO6P7.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
wasmReader,
|
|
36
36
|
wasmSections,
|
|
37
37
|
writeWasmCustomSection
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VOOX3EIF.mjs";
|
|
39
39
|
import {
|
|
40
40
|
SWIFT_WASM_TRIPLE
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
42
|
+
import "./chunk-AM4K5S4B.mjs";
|
|
43
|
+
import "./chunk-SCRYU7HQ.mjs";
|
|
44
|
+
import "./chunk-ONETXZWG.mjs";
|
|
45
|
+
import "./chunk-QAR3QLGG.mjs";
|
|
46
|
+
import "./chunk-GKMAR3UN.mjs";
|
|
47
|
+
import "./chunk-GZISBWKM.mjs";
|
|
48
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
49
49
|
|
|
50
50
|
// src/swift-sdk-app-module.ts
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-YHV5ITC4.mjs";
|
|
19
|
+
import "./chunk-36FHDERF.mjs";
|
|
20
|
+
import "./chunk-MNFZO6P7.mjs";
|
|
21
|
+
import "./chunk-VOOX3EIF.mjs";
|
|
22
|
+
import "./chunk-PDHKRXLR.mjs";
|
|
23
|
+
import "./chunk-AM4K5S4B.mjs";
|
|
24
|
+
import "./chunk-SCRYU7HQ.mjs";
|
|
25
|
+
import "./chunk-ONETXZWG.mjs";
|
|
26
|
+
import "./chunk-QAR3QLGG.mjs";
|
|
27
|
+
import "./chunk-GKMAR3UN.mjs";
|
|
28
|
+
import "./chunk-GZISBWKM.mjs";
|
|
29
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GZISBWKM.mjs";
|
|
10
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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;
|
|
@@ -26242,13 +26242,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26242
26242
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26243
26243
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26244
26244
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26245
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26245
|
+
STANDIN_SOURCE_DIGEST = true ? "011f6261bb9e287a79b39ffd6ca7c5bf1591a45ee9fc1487cde75cde7a7ccaef" : standinSourceDigest();
|
|
26246
26246
|
}
|
|
26247
26247
|
});
|
|
26248
26248
|
|
|
26249
26249
|
// src/expo-native-compiler-digest.ts
|
|
26250
26250
|
function expoNativeCompilerDigestValue() {
|
|
26251
|
-
return true ? "
|
|
26251
|
+
return true ? "2fba6e51b588bbf3f9b9a6d63f017535bcb0a5c85d67064158e38752b96ddf26" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26252
26252
|
}
|
|
26253
26253
|
var import_node_crypto17;
|
|
26254
26254
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -50454,16 +50454,54 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
50454
50454
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
50455
50455
|
producers: producers2
|
|
50456
50456
|
}));
|
|
50457
|
-
const
|
|
50457
|
+
const earlyNativeTargets = [
|
|
50458
50458
|
.../* @__PURE__ */ new Set([
|
|
50459
50459
|
...input.staticClangTargets ?? [],
|
|
50460
|
-
...[...native].flatMap(
|
|
50461
|
-
|
|
50462
|
-
|
|
50463
|
-
|
|
50460
|
+
...[...native].flatMap(
|
|
50461
|
+
([name3, plan]) => !plan.mixed && plan.sources.length > 0 ? [name3] : []
|
|
50462
|
+
)
|
|
50463
|
+
])
|
|
50464
|
+
];
|
|
50465
|
+
const nativeBuildTargets = [
|
|
50466
|
+
.../* @__PURE__ */ new Set([
|
|
50467
|
+
...earlyNativeTargets,
|
|
50468
|
+
...[...native].flatMap(
|
|
50469
|
+
([, plan]) => plan.groups?.map((group) => group.name) ?? (plan.late ? [plan.late.name] : [])
|
|
50470
|
+
)
|
|
50464
50471
|
])
|
|
50465
50472
|
];
|
|
50466
|
-
|
|
50473
|
+
let nativePrerequisiteTargets = [];
|
|
50474
|
+
if (headerCompiler && earlyNativeTargets.length > 0) {
|
|
50475
|
+
const reachableFromProducers = /* @__PURE__ */ new Set();
|
|
50476
|
+
const visitReachable = (name3) => {
|
|
50477
|
+
if (reachableFromProducers.has(name3)) return;
|
|
50478
|
+
reachableFromProducers.add(name3);
|
|
50479
|
+
for (const dependency of dependencies.get(name3) ?? []) visitReachable(dependency);
|
|
50480
|
+
};
|
|
50481
|
+
for (const producer of orderedProducers) visitReachable(producer);
|
|
50482
|
+
const swiftDependent = /* @__PURE__ */ new Map();
|
|
50483
|
+
const reachesSwift = (name3, seen = /* @__PURE__ */ new Set()) => {
|
|
50484
|
+
const cached2 = swiftDependent.get(name3);
|
|
50485
|
+
if (cached2 !== void 0) return cached2;
|
|
50486
|
+
if (seen.has(name3)) return false;
|
|
50487
|
+
seen.add(name3);
|
|
50488
|
+
const result = swiftTargets.has(name3) || (dependencies.get(name3) ?? []).some(
|
|
50489
|
+
(dependency) => reachesSwift(dependency, seen)
|
|
50490
|
+
);
|
|
50491
|
+
seen.delete(name3);
|
|
50492
|
+
if (seen.size === 0) swiftDependent.set(name3, result);
|
|
50493
|
+
return result;
|
|
50494
|
+
};
|
|
50495
|
+
nativePrerequisiteTargets = earlyNativeTargets.filter(
|
|
50496
|
+
(name3) => reachableFromProducers.has(name3) && !reachesSwift(name3)
|
|
50497
|
+
);
|
|
50498
|
+
}
|
|
50499
|
+
const nativePrerequisiteSet = new Set(nativePrerequisiteTargets);
|
|
50500
|
+
const remainingNativeBuildTargets = nativeBuildTargets.filter(
|
|
50501
|
+
(name3) => !nativePrerequisiteSet.has(name3)
|
|
50502
|
+
);
|
|
50503
|
+
const nativePrerequisiteTarget = nativePrerequisiteTargets.length ? buildProduct("PeachHeaderNativePrereqs", nativePrerequisiteTargets) : void 0;
|
|
50504
|
+
const nativeProductTarget = remainingNativeBuildTargets.length ? buildProduct("PeachNativeProducts", remainingNativeBuildTargets) : void 0;
|
|
50467
50505
|
files2.set(manifestPath, manifest);
|
|
50468
50506
|
syncSwiftTree(layout2.root, files2);
|
|
50469
50507
|
if (layout2.multi)
|
|
@@ -50473,6 +50511,7 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
50473
50511
|
if (files2.has(clangWrapper) && ((0, import_node_fs68.statSync)(clangWrapper).mode & 4095) !== 493)
|
|
50474
50512
|
(0, import_node_fs68.chmodSync)(clangWrapper, 493);
|
|
50475
50513
|
return {
|
|
50514
|
+
nativePrerequisiteTarget,
|
|
50476
50515
|
headerBuilds,
|
|
50477
50516
|
nativeHeaderDeclarations,
|
|
50478
50517
|
nativeProductTarget,
|
|
@@ -51814,6 +51853,7 @@ ${cap}` : "";
|
|
|
51814
51853
|
const runApp = async (compiler2) => {
|
|
51815
51854
|
const optionsWithCompiler = compiler2 ? { ...appOptions, env: { ...appOptions.env, ...compiler2 } } : appOptions;
|
|
51816
51855
|
const stages = [
|
|
51856
|
+
...preparation.nativePrerequisiteTarget ? [{ target: preparation.nativePrerequisiteTarget, producers: [] }] : [],
|
|
51817
51857
|
...preparation.headerBuilds,
|
|
51818
51858
|
...preparation.nativeProductTarget ? [{ target: preparation.nativeProductTarget, producers: [] }] : []
|
|
51819
51859
|
];
|
|
@@ -52288,7 +52328,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52288
52328
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52289
52329
|
MULTI_MANIFEST_VERSION = 76;
|
|
52290
52330
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52291
|
-
compilerSourceDigest = true ? "
|
|
52331
|
+
compilerSourceDigest = true ? "5b77b32ba9e1a5e77c9671faafe9ac0e7669eb9003445901ffff10b5a9b03550" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52292
52332
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52293
52333
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52294
52334
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-AM4K5S4B.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-HJZRIROU.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-ONETXZWG.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-2SO2C5FV.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-GZISBWKM.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-JKZVLPH3.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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;
|