peachsim 0.1.2784 → 0.1.2785
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 +31 -17
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-P6MDYABT.mjs → acorn-PN3K7RNC.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-X5ZK5NZV.mjs → chunk-274XFKYK.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-SR6G23PR.mjs → chunk-5ME3MQQK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4MBBYWQJ.mjs → chunk-7UZMIGSE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YG7GIAFE.mjs → chunk-AMEQJNNJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-533GB37H.mjs → chunk-BKHPUGEZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-B7DQQTL3.mjs → chunk-CHYYRIEZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IM2YXHNW.mjs → chunk-E4RESLG2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-J2CRHT6W.mjs → chunk-HKHHZRCQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EE6XG3SH.mjs → chunk-HOWYZDD5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EOE3AIFY.mjs → chunk-JOPTMNV4.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-XRUJKE3U.mjs → chunk-JP7SFHDB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IRPLZT4W.mjs → chunk-KQJKP4ZX.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-XNBEDCDU.mjs → chunk-L65GBCCG.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-LVTOV2E6.mjs → chunk-LDQNCHXS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NWV5OFN5.mjs → chunk-M7CA45GM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5KYO7Z6Y.mjs → chunk-NDAYZVPV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JBFGKNY2.mjs → chunk-NS2CAKI2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5MIMI3FC.mjs → chunk-OCG7AB5X.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-5MW3WJZ3.mjs → chunk-Q3NYGCRJ.mjs} +41 -27
- package/dist-lib/esm-chunks/{chunk-5EB7S5CN.mjs → chunk-QY3QPMZS.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-ANGHMUTH.mjs → chunk-UAUULDRJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UWSDIZLD.mjs → chunk-VGPN5RSM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7BULVZET.mjs → chunk-WNEPIRBW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HQN5T6YR.mjs → chunk-Y57YKI5Y.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-LECJWA2K.mjs → metro-layout-parser-H5RC2JJK.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-UAPKVFAP.mjs → swift-package-prebuilt-5ZBUTTOB.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-IEDS224O.mjs → swift-sdk-app-module-6LYCDQBC.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-HD2MZNI2.mjs → swift-sdk-image-GDPHXT6X.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-IZ65NBVZ.mjs → swift-sdk-image-producer-UQZDGCCO.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +31 -17
- 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 +31 -17
- 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 +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 +1 -1
- 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 +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- 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 +8 -8
- package/dist-lib/skills.cjs +31 -17
- package/dist-lib/swift-compile.cjs +28 -14
- package/dist-lib/swift-compile.mjs +12 -12
- 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 +6 -6
- 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/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.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/engine/native-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/scene-packet-feed.d.ts +2 -0
- package/package.json +1 -1
- package/src/swift-compile.ts +17 -6
- package/src/swift-header-compiler.ts +11 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
5
|
retainSwiftRootReadHold,
|
|
6
6
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-274XFKYK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CORE_FOUNDATION_OVERLAY_GLOBALS,
|
|
10
10
|
NATIVE_GRAPH_SDK_VERSION,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
withoutImportedSdkEnumForwards,
|
|
68
68
|
withoutSwiftDeclarations,
|
|
69
69
|
writeBuildFile
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-QY3QPMZS.mjs";
|
|
71
71
|
import {
|
|
72
72
|
SWIFT_AUTOLINK_LINKER,
|
|
73
73
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
wasmThreadLinkFlags,
|
|
85
85
|
windowAdmission,
|
|
86
86
|
writeSwiftAutolinkLinker
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-NDAYZVPV.mjs";
|
|
88
88
|
import {
|
|
89
89
|
SWIFT_BINARY_TREES_DIR,
|
|
90
90
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
isSwiftResourcePath,
|
|
100
100
|
isSwiftSourceLinkGraph,
|
|
101
101
|
swiftProjectFilesProblems
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-BKHPUGEZ.mjs";
|
|
103
103
|
import {
|
|
104
104
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
105
105
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -122,16 +122,16 @@ import {
|
|
|
122
122
|
swiftPackagePartition,
|
|
123
123
|
swiftTargetModuleName,
|
|
124
124
|
withoutGlogModuleMap
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-VGPN5RSM.mjs";
|
|
126
126
|
import {
|
|
127
127
|
rnxPublicBrand
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-E4RESLG2.mjs";
|
|
129
129
|
import {
|
|
130
130
|
isRecord
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-UAUULDRJ.mjs";
|
|
132
132
|
import {
|
|
133
133
|
__publicField
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-NS2CAKI2.mjs";
|
|
135
135
|
|
|
136
136
|
// src/swift-compile.ts
|
|
137
137
|
import {
|
|
@@ -14437,7 +14437,7 @@ async function compileGuestLink(options) {
|
|
|
14437
14437
|
};
|
|
14438
14438
|
const sdk = options.sdkImage;
|
|
14439
14439
|
const sdkCallers = sdk.sdkInterface.guestCallers;
|
|
14440
|
-
const sdkObjects = (await import("./swift-sdk-image-
|
|
14440
|
+
const sdkObjects = (await import("./swift-sdk-image-GDPHXT6X.mjs")).readSwiftSdkManifestIndex(
|
|
14441
14441
|
sdk
|
|
14442
14442
|
).guestObjects;
|
|
14443
14443
|
if (!sdkCallers || !sdkObjects)
|
|
@@ -14737,7 +14737,7 @@ async function compileGuestLink(options) {
|
|
|
14737
14737
|
swiftAppModuleThunkSection,
|
|
14738
14738
|
swiftSdkProjectionSpans,
|
|
14739
14739
|
writeSwiftSdkAppLink
|
|
14740
|
-
} = await import("./swift-sdk-app-module-
|
|
14740
|
+
} = await import("./swift-sdk-app-module-6LYCDQBC.mjs");
|
|
14741
14741
|
const project = options.project;
|
|
14742
14742
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14743
14743
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -15023,6 +15023,12 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
|
|
|
15023
15023
|
const socketFile = path15.join(root, ".build", "peach-swift-header-socket");
|
|
15024
15024
|
mkdirSync6(checkpoints, { recursive: true });
|
|
15025
15025
|
const swiftc = argument(path15.join(toolchainBin, "swiftc"));
|
|
15026
|
+
const producersByJobs = /* @__PURE__ */ new Map();
|
|
15027
|
+
for (const [name, { jobs }] of producers) {
|
|
15028
|
+
const names = producersByJobs.get(jobs) ?? [];
|
|
15029
|
+
names.push(argument(`1:${name}`));
|
|
15030
|
+
producersByJobs.set(jobs, names);
|
|
15031
|
+
}
|
|
15026
15032
|
writeBuildFile(script, client);
|
|
15027
15033
|
writeBuildFile(
|
|
15028
15034
|
wrapper,
|
|
@@ -15035,8 +15041,10 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
|
|
|
15035
15041
|
" previous=$flag",
|
|
15036
15042
|
"done",
|
|
15037
15043
|
'case "$compile:$module" in',
|
|
15038
|
-
|
|
15039
|
-
|
|
15044
|
+
...[...producersByJobs].flatMap(([jobs, names]) => [
|
|
15045
|
+
` ${names.join("|")})`,
|
|
15046
|
+
` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@"${jobs === void 0 ? "" : ` -j ${jobs}`} ;;`
|
|
15047
|
+
]),
|
|
15040
15048
|
"esac",
|
|
15041
15049
|
`exec ${swiftc} "$@"`,
|
|
15042
15050
|
""
|
|
@@ -16728,7 +16736,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16728
16736
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16729
16737
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16730
16738
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16731
|
-
var compilerSourceDigest = true ? "
|
|
16739
|
+
var compilerSourceDigest = true ? "baac85ca6f30bfff118b7d4063d9361ee1667b3d7716774bc1ae52da63e27be0" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16732
16740
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16733
16741
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16734
16742
|
}
|
|
@@ -21353,7 +21361,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21353
21361
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
21354
21362
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
21355
21363
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
21356
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
21364
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-5ZBUTTOB.mjs")).useSwiftPackagePrebuilts(
|
|
21357
21365
|
sources,
|
|
21358
21366
|
moduleRoot,
|
|
21359
21367
|
options.toolchainBin
|
|
@@ -21366,7 +21374,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21366
21374
|
sources: path23.join(root, "Sources", "App"),
|
|
21367
21375
|
multi: compileTargets(input).length > 0
|
|
21368
21376
|
};
|
|
21369
|
-
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-
|
|
21377
|
+
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-GDPHXT6X.mjs")).buildSwiftSdkImage(
|
|
21370
21378
|
moduleRoot,
|
|
21371
21379
|
!!guestGraph,
|
|
21372
21380
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21688,6 +21696,8 @@ ${compatShape}` : "";
|
|
|
21688
21696
|
const jobs = swiftCompilerJobs();
|
|
21689
21697
|
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options.project && !input.optimize && !input.unoptimized;
|
|
21690
21698
|
const batchGuest = guestGraph !== void 0 && !options.project && !input.unoptimized;
|
|
21699
|
+
const guestDriverJobs = Math.min(8, jobs);
|
|
21700
|
+
const singleProducerJobs = Math.min(16, Math.floor(jobs / 2));
|
|
21691
21701
|
const batch = incrementalPreview || batchGuest;
|
|
21692
21702
|
const perFile = input.unoptimized || batch;
|
|
21693
21703
|
const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
|
|
@@ -21714,7 +21724,7 @@ ${compatShape}` : "";
|
|
|
21714
21724
|
"-Xswiftc",
|
|
21715
21725
|
"-j",
|
|
21716
21726
|
"-Xswiftc",
|
|
21717
|
-
String(batchGuest ?
|
|
21727
|
+
String(batchGuest ? guestDriverJobs : jobs)
|
|
21718
21728
|
] : [],
|
|
21719
21729
|
// optimized batches can move specialized definitions between objects.
|
|
21720
21730
|
...incrementalPreview ? ["-Xswiftc", "-incremental"] : [],
|
|
@@ -21991,15 +22001,19 @@ ${compatShape}` : "";
|
|
|
21991
22001
|
options.toolchainBin,
|
|
21992
22002
|
recipe,
|
|
21993
22003
|
new Map(
|
|
21994
|
-
preparation.headerBuilds.flatMap((
|
|
21995
|
-
const
|
|
21996
|
-
return
|
|
21997
|
-
|
|
21998
|
-
|
|
21999
|
-
|
|
22000
|
-
|
|
22001
|
-
|
|
22002
|
-
|
|
22004
|
+
preparation.headerBuilds.flatMap(({ producers }) => {
|
|
22005
|
+
const driverJobs = batchGuest && producers.length === 1 && singleProducerJobs > guestDriverJobs ? singleProducerJobs : void 0;
|
|
22006
|
+
return producers.map((producer) => {
|
|
22007
|
+
const paths = headerPaths(producer);
|
|
22008
|
+
return [
|
|
22009
|
+
swiftTargetModuleName(producer),
|
|
22010
|
+
{
|
|
22011
|
+
header: paths.original,
|
|
22012
|
+
publish: () => publishHeader(paths),
|
|
22013
|
+
jobs: driverJobs
|
|
22014
|
+
}
|
|
22015
|
+
];
|
|
22016
|
+
});
|
|
22003
22017
|
})
|
|
22004
22018
|
),
|
|
22005
22019
|
runApp
|
|
@@ -22105,7 +22119,7 @@ ${compatShape}` : "";
|
|
|
22105
22119
|
});
|
|
22106
22120
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
22107
22121
|
} else {
|
|
22108
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
22122
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-6LYCDQBC.mjs");
|
|
22109
22123
|
const binding = await buildSwiftAppModule({
|
|
22110
22124
|
buildRoot: root2,
|
|
22111
22125
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_CACHE_HOLD_MARKER,
|
|
4
4
|
SWIFT_WASM_TRIPLE,
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
terminateProcessGroup,
|
|
13
13
|
wasmThreadFlags,
|
|
14
14
|
windowAdmission
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NDAYZVPV.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isSwiftResourcePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BKHPUGEZ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
swiftManifestDeclarations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VGPN5RSM.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UAUULDRJ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NS2CAKI2.mjs";
|
|
28
28
|
|
|
29
29
|
// src/write-build-file.ts
|
|
30
30
|
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
package/dist-lib/esm-chunks/{metro-layout-parser-LECJWA2K.mjs → metro-layout-parser-H5RC2JJK.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-NS2CAKI2.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-PN3K7RNC.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
5
5
|
nativeEntryKey,
|
|
6
6
|
swiftAvailableModules
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Q3NYGCRJ.mjs";
|
|
8
|
+
import "./chunk-274XFKYK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QY3QPMZS.mjs";
|
|
13
|
+
import "./chunk-NDAYZVPV.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BKHPUGEZ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
manifestCalls
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-VGPN5RSM.mjs";
|
|
20
|
+
import "./chunk-5ME3MQQK.mjs";
|
|
21
|
+
import "./chunk-E4RESLG2.mjs";
|
|
22
|
+
import "./chunk-LDQNCHXS.mjs";
|
|
23
|
+
import "./chunk-UAUULDRJ.mjs";
|
|
24
|
+
import "./chunk-NS2CAKI2.mjs";
|
|
25
25
|
|
|
26
26
|
// src/swift-package-prebuilt.ts
|
|
27
27
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-IEDS224O.mjs → swift-sdk-app-module-6LYCDQBC.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_MEMORY_BASE,
|
|
5
5
|
SWIFT_SDK_PIECE_FIELDS,
|
|
6
6
|
readSwiftSdkManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KQJKP4ZX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
ADDEND_RELOCATIONS,
|
|
10
10
|
KEEP_WASM_NAMES,
|
|
@@ -36,26 +36,26 @@ import {
|
|
|
36
36
|
wasmReader,
|
|
37
37
|
wasmSections,
|
|
38
38
|
writeWasmCustomSection
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-Q3NYGCRJ.mjs";
|
|
40
|
+
import "./chunk-274XFKYK.mjs";
|
|
41
|
+
import "./chunk-JOPTMNV4.mjs";
|
|
42
|
+
import "./chunk-7UZMIGSE.mjs";
|
|
43
|
+
import "./chunk-WNEPIRBW.mjs";
|
|
44
44
|
import {
|
|
45
45
|
encodeWasmName,
|
|
46
46
|
encodeWasmNumber,
|
|
47
47
|
encodeWasmSigned
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QY3QPMZS.mjs";
|
|
49
49
|
import {
|
|
50
50
|
SWIFT_WASM_TRIPLE
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-NDAYZVPV.mjs";
|
|
52
|
+
import "./chunk-BKHPUGEZ.mjs";
|
|
53
|
+
import "./chunk-VGPN5RSM.mjs";
|
|
54
|
+
import "./chunk-5ME3MQQK.mjs";
|
|
55
|
+
import "./chunk-E4RESLG2.mjs";
|
|
56
|
+
import "./chunk-LDQNCHXS.mjs";
|
|
57
|
+
import "./chunk-UAUULDRJ.mjs";
|
|
58
|
+
import "./chunk-NS2CAKI2.mjs";
|
|
59
59
|
|
|
60
60
|
// src/swift-sdk-app-module.ts
|
|
61
61
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
swiftSdkImageFile,
|
|
14
14
|
swiftSdkImageKey,
|
|
15
15
|
swiftSdkImageProducts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./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-
|
|
30
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-KQJKP4ZX.mjs";
|
|
17
|
+
import "./chunk-Q3NYGCRJ.mjs";
|
|
18
|
+
import "./chunk-274XFKYK.mjs";
|
|
19
|
+
import "./chunk-JOPTMNV4.mjs";
|
|
20
|
+
import "./chunk-7UZMIGSE.mjs";
|
|
21
|
+
import "./chunk-WNEPIRBW.mjs";
|
|
22
|
+
import "./chunk-QY3QPMZS.mjs";
|
|
23
|
+
import "./chunk-NDAYZVPV.mjs";
|
|
24
|
+
import "./chunk-BKHPUGEZ.mjs";
|
|
25
|
+
import "./chunk-VGPN5RSM.mjs";
|
|
26
|
+
import "./chunk-5ME3MQQK.mjs";
|
|
27
|
+
import "./chunk-E4RESLG2.mjs";
|
|
28
|
+
import "./chunk-LDQNCHXS.mjs";
|
|
29
|
+
import "./chunk-UAUULDRJ.mjs";
|
|
30
|
+
import "./chunk-NS2CAKI2.mjs";
|
|
31
31
|
export {
|
|
32
32
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
33
33
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-274XFKYK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NDAYZVPV.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-UAUULDRJ.mjs";
|
|
12
|
+
import "./chunk-NS2CAKI2.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (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;
|
|
@@ -19579,7 +19579,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19579
19579
|
|
|
19580
19580
|
// src/swift-compiler-digest.ts
|
|
19581
19581
|
function swiftArchiveCompilerDigestValue() {
|
|
19582
|
-
return true ? "
|
|
19582
|
+
return true ? "55785eec94200dfda30d22e849c5f0b474eb704b467ed3db4d211ae938ad0081" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19583
19583
|
}
|
|
19584
19584
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19585
19585
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19732,7 +19732,7 @@ var init_swift_standin_digest = __esm({
|
|
|
19732
19732
|
|
|
19733
19733
|
// src/expo-native-compiler-digest.ts
|
|
19734
19734
|
function expoNativeCompilerDigestValue() {
|
|
19735
|
-
return true ? "
|
|
19735
|
+
return true ? "961309423c70382ee300d27bf70fd784ea3bb4377edb357aa9cd6e703de37f4e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19736
19736
|
}
|
|
19737
19737
|
var import_node_crypto18;
|
|
19738
19738
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -43353,6 +43353,12 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
|
|
|
43353
43353
|
const socketFile = import_node_path61.default.join(root, ".build", "peach-swift-header-socket");
|
|
43354
43354
|
(0, import_node_fs63.mkdirSync)(checkpoints, { recursive: true });
|
|
43355
43355
|
const swiftc = argument(import_node_path61.default.join(toolchainBin, "swiftc"));
|
|
43356
|
+
const producersByJobs = /* @__PURE__ */ new Map();
|
|
43357
|
+
for (const [name3, { jobs }] of producers) {
|
|
43358
|
+
const names = producersByJobs.get(jobs) ?? [];
|
|
43359
|
+
names.push(argument(`1:${name3}`));
|
|
43360
|
+
producersByJobs.set(jobs, names);
|
|
43361
|
+
}
|
|
43356
43362
|
writeBuildFile(script, client);
|
|
43357
43363
|
writeBuildFile(
|
|
43358
43364
|
wrapper,
|
|
@@ -43365,8 +43371,10 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
|
|
|
43365
43371
|
" previous=$flag",
|
|
43366
43372
|
"done",
|
|
43367
43373
|
'case "$compile:$module" in',
|
|
43368
|
-
|
|
43369
|
-
|
|
43374
|
+
...[...producersByJobs].flatMap(([jobs, names]) => [
|
|
43375
|
+
` ${names.join("|")})`,
|
|
43376
|
+
` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@"${jobs === void 0 ? "" : ` -j ${jobs}`} ;;`
|
|
43377
|
+
]),
|
|
43370
43378
|
"esac",
|
|
43371
43379
|
`exec ${swiftc} "$@"`,
|
|
43372
43380
|
""
|
|
@@ -49846,6 +49854,8 @@ ${compatShape}` : "";
|
|
|
49846
49854
|
const jobs = swiftCompilerJobs();
|
|
49847
49855
|
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options2.project && !input.optimize && !input.unoptimized;
|
|
49848
49856
|
const batchGuest = guestGraph !== void 0 && !options2.project && !input.unoptimized;
|
|
49857
|
+
const guestDriverJobs = Math.min(8, jobs);
|
|
49858
|
+
const singleProducerJobs = Math.min(16, Math.floor(jobs / 2));
|
|
49849
49859
|
const batch = incrementalPreview || batchGuest;
|
|
49850
49860
|
const perFile = input.unoptimized || batch;
|
|
49851
49861
|
const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
|
|
@@ -49872,7 +49882,7 @@ ${compatShape}` : "";
|
|
|
49872
49882
|
"-Xswiftc",
|
|
49873
49883
|
"-j",
|
|
49874
49884
|
"-Xswiftc",
|
|
49875
|
-
String(batchGuest ?
|
|
49885
|
+
String(batchGuest ? guestDriverJobs : jobs)
|
|
49876
49886
|
] : [],
|
|
49877
49887
|
// optimized batches can move specialized definitions between objects.
|
|
49878
49888
|
...incrementalPreview ? ["-Xswiftc", "-incremental"] : [],
|
|
@@ -50149,15 +50159,19 @@ ${compatShape}` : "";
|
|
|
50149
50159
|
options2.toolchainBin,
|
|
50150
50160
|
recipe2,
|
|
50151
50161
|
new Map(
|
|
50152
|
-
preparation.headerBuilds.flatMap((
|
|
50153
|
-
const
|
|
50154
|
-
return
|
|
50155
|
-
|
|
50156
|
-
|
|
50157
|
-
|
|
50158
|
-
|
|
50159
|
-
|
|
50160
|
-
|
|
50162
|
+
preparation.headerBuilds.flatMap(({ producers }) => {
|
|
50163
|
+
const driverJobs = batchGuest && producers.length === 1 && singleProducerJobs > guestDriverJobs ? singleProducerJobs : void 0;
|
|
50164
|
+
return producers.map((producer) => {
|
|
50165
|
+
const paths = headerPaths(producer);
|
|
50166
|
+
return [
|
|
50167
|
+
swiftTargetModuleName(producer),
|
|
50168
|
+
{
|
|
50169
|
+
header: paths.original,
|
|
50170
|
+
publish: () => publishHeader(paths),
|
|
50171
|
+
jobs: driverJobs
|
|
50172
|
+
}
|
|
50173
|
+
];
|
|
50174
|
+
});
|
|
50161
50175
|
})
|
|
50162
50176
|
),
|
|
50163
50177
|
runApp
|
|
@@ -50534,7 +50548,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50534
50548
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
50535
50549
|
MULTI_MANIFEST_VERSION = 76;
|
|
50536
50550
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
50537
|
-
compilerSourceDigest = true ? "
|
|
50551
|
+
compilerSourceDigest = true ? "baac85ca6f30bfff118b7d4063d9361ee1667b3d7716774bc1ae52da63e27be0" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
50538
50552
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
50539
50553
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
50540
50554
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -105911,7 +105925,7 @@ var init_nitro_superset = __esm({
|
|
|
105911
105925
|
init_nitroContract();
|
|
105912
105926
|
init_swift_standin_digest();
|
|
105913
105927
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105914
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105928
|
+
NITRO_COMPILER_DIGEST = true ? "792552c7293b0b18138700877b417617e7c7d5377e8dbb1b4830ccfc7fa12d93" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105915
105929
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105916
105930
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105917
105931
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2785 | (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.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-BKHPUGEZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-L65GBCCG.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-5ME3MQQK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-HKHHZRCQ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-UAUULDRJ.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-NS2CAKI2.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.2785 | (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;
|