peachsim 0.1.2064 → 0.1.2066
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 +1959 -1783
- 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 +1444 -1285
- 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 +2146 -1968
- 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 +3 -3
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +60 -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 +2669 -2482
- package/dist-lib/swift-compile.cjs +27 -9
- package/dist-lib/swift-compile.mjs +26 -9
- 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 +1063 -918
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +18 -18
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h +4 -4
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +8 -8
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +9 -9
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap +1 -0
- package/src/expo-pod-prebuilt.ts +21 -4
- package/src/expo-swift-host.ts +12 -0
- package/src/host/dev-server-package-versions.ts +5 -1
- package/src/native-swift-slices.ts +130 -0
- package/src/nitro-adapter.lock.json +280 -280
- package/src/nitro-compile.ts +2 -0
- package/src/nitro-source.ts +1 -0
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-compile.ts +47 -19
- package/src/swift-distribution.lock.json +11 -11
- package/src/swift-host.ts +44 -1
- package/src/swift-installed-targets.ts +5 -0
- package/src/swift-standins.ts +29 -11
- package/src/swift-xcframework.ts +4 -0
- package/src/turbo-compile.ts +2 -0
- package/src/turbo-runtime.lock.json +23 -23
- package/src/turbo-source.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2066 | (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;
|
|
@@ -68,6 +68,7 @@ __export(swift_compile_exports, {
|
|
|
68
68
|
swiftIcuBundleAsset: () => swiftIcuBundleAsset,
|
|
69
69
|
swiftIcuPacked: () => swiftIcuPacked,
|
|
70
70
|
swiftImportNames: () => swiftImportNames,
|
|
71
|
+
swiftInterfaceDeclarations: () => swiftInterfaceDeclarations,
|
|
71
72
|
swiftMacroPlugins: () => swiftMacroPlugins,
|
|
72
73
|
swiftModuleDigest: () => swiftModuleDigest,
|
|
73
74
|
swiftModuleInputFiles: () => swiftModuleInputFiles,
|
|
@@ -11709,13 +11710,16 @@ function withoutSwiftDeclarations(text2, declared, interfaceImport) {
|
|
|
11709
11710
|
}
|
|
11710
11711
|
if (regionStart < 0 && /^NS_ASSUME_NONNULL_BEGIN\b/.test(line))
|
|
11711
11712
|
regionStart = out.length;
|
|
11712
|
-
const name2 =
|
|
11713
|
+
const name2 = /^\s*(?:[A-Z_]\w*(?:\([^()\n]*\))?\s+)*@(?:protocol|interface)\s+(\w+)\s*(?=[:<{]|$)/.exec(
|
|
11714
|
+
line
|
|
11715
|
+
)?.[1];
|
|
11713
11716
|
const enumeration = /^\s*typedef\s+(?:NS_ENUM|NS_OPTIONS|SWIFT_ENUM(?:_NAMED)?)\s*\(\s*\w+\s*,\s*(\w+)\b/.exec(
|
|
11714
11717
|
line
|
|
11715
11718
|
)?.[1];
|
|
11716
11719
|
if (name2 && declared.has(name2) || enumeration && declared.has(enumeration)) {
|
|
11717
11720
|
skipping = name2 ? "objc" : line.includes("};") ? void 0 : "enum";
|
|
11718
|
-
while (/^SWIFT_[A-Z_]
|
|
11721
|
+
while (/^(?:SWIFT_[A-Z_]+|(?:NS|CF)_SWIFT_NAME)(?:\(.*\))?\s*$/.test(out.at(-1) ?? ""))
|
|
11722
|
+
out.pop();
|
|
11719
11723
|
if (!imported)
|
|
11720
11724
|
out.splice(regionStart < 0 ? out.length : regionStart, 0, interfaceImport);
|
|
11721
11725
|
imported = true;
|
|
@@ -12436,7 +12440,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12436
12440
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12437
12441
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12438
12442
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12439
|
-
var compilerSourceDigest = true ? "
|
|
12443
|
+
var compilerSourceDigest = true ? "e94b86c87d63b484a0d1e9d964eba432b5169d3abe3717f7b360aa31e14b9556" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12440
12444
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12441
12445
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12442
12446
|
hash.update(`swift-compile
|
|
@@ -12506,6 +12510,8 @@ ${target}
|
|
|
12506
12510
|
(0, import_node_crypto13.createHash)("sha256").update(input.libraries?.[target] ?? "").digest()
|
|
12507
12511
|
);
|
|
12508
12512
|
}
|
|
12513
|
+
for (const [name2, bytes] of Object.entries(input.binaryModules ?? {}).sort())
|
|
12514
|
+
hash.update(`binary-module\0${name2}\0${bytes}\0`);
|
|
12509
12515
|
const targets = compileTargets(input);
|
|
12510
12516
|
if (targets.length > 0) {
|
|
12511
12517
|
hash.update(`swift-multi/v${MULTI_MANIFEST_VERSION}
|
|
@@ -12685,13 +12691,14 @@ function emitSwiftPackageManifest(args) {
|
|
|
12685
12691
|
const upstream = (target.swiftFlags ?? []).map(
|
|
12686
12692
|
(flag) => `, ${JSON.stringify(flag.replaceAll(SWIFT_NATIVE_INPUT_ROOT, args.root))}`
|
|
12687
12693
|
).join("");
|
|
12688
|
-
const
|
|
12694
|
+
const binaryImports = args.binaryModules ? `, "-I", ${JSON.stringify(args.binaryModules)}` : "";
|
|
12695
|
+
const imports = binaryImports + (distribution ? `, "-Isystem", ${JSON.stringify(
|
|
12689
12696
|
providedModulesPath(
|
|
12690
12697
|
args.root,
|
|
12691
12698
|
import_node_path27.default.join(moduleRoot, "modules"),
|
|
12692
12699
|
args.moduleExcludes
|
|
12693
12700
|
)
|
|
12694
|
-
)}` : prebuilt ? `, "-Isystem", ${JSON.stringify(providedModulesPath(args.root, prebuilt.modules, args.moduleExcludes))}${prebuilt.moduleMaps.map((map) => `, "-Xcc", ${JSON.stringify(`-fmodule-map-file=${map}`)}`).join("")}` : "";
|
|
12701
|
+
)}` : prebuilt ? `, "-Isystem", ${JSON.stringify(providedModulesPath(args.root, prebuilt.modules, args.moduleExcludes))}${prebuilt.moduleMaps.map((map) => `, "-Xcc", ${JSON.stringify(`-fmodule-map-file=${map}`)}`).join("")}` : "");
|
|
12695
12702
|
const nativeFlags = [
|
|
12696
12703
|
...args.nativeFlags?.get(target.name) ?? [],
|
|
12697
12704
|
...args.nativeHeaderFlags ?? []
|
|
@@ -15462,6 +15469,15 @@ module ${moduleName}.Swift {
|
|
|
15462
15469
|
} else {
|
|
15463
15470
|
const base = layout2.multi ? layout2.root : layout2.sources;
|
|
15464
15471
|
const libraries = /* @__PURE__ */ new Map();
|
|
15472
|
+
const binaryModules = import_node_path27.default.join(layout2.root, ".peach-binary-modules");
|
|
15473
|
+
for (const [name2, data] of Object.entries(input.binaryModules ?? {})) {
|
|
15474
|
+
if (!/^[A-Za-z_]\w*$/.test(name2) || !input.libraries?.[name2])
|
|
15475
|
+
throw new Error(`invalid native Swift module ${name2}: its library is required`);
|
|
15476
|
+
files.set(
|
|
15477
|
+
import_node_path27.default.join(binaryModules, `${name2}.swiftmodule`),
|
|
15478
|
+
Buffer.from(data, "base64")
|
|
15479
|
+
);
|
|
15480
|
+
}
|
|
15465
15481
|
for (const [target, data] of Object.entries(input.libraries ?? {})) {
|
|
15466
15482
|
const bytes = Buffer.from(data, "base64");
|
|
15467
15483
|
const digest = (0, import_node_crypto13.createHash)("sha256").update(bytes).digest("hex");
|
|
@@ -15579,6 +15595,7 @@ module ${moduleName}.Swift {
|
|
|
15579
15595
|
}
|
|
15580
15596
|
} : {},
|
|
15581
15597
|
libraries,
|
|
15598
|
+
...Object.keys(input.binaryModules ?? {}).length > 0 ? { binaryModules } : {},
|
|
15582
15599
|
...input.defaultLocalization ? { defaultLocalization: input.defaultLocalization } : {}
|
|
15583
15600
|
}) + moduleFiles
|
|
15584
15601
|
);
|
|
@@ -16430,13 +16447,13 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16430
16447
|
root,
|
|
16431
16448
|
async () => {
|
|
16432
16449
|
const retained = retainedArtifacts.get(root)?.find((old) => old.hash === hash);
|
|
16433
|
-
if (retained) {
|
|
16450
|
+
if (retained && !options.intermediates) {
|
|
16434
16451
|
report("reusing memory artifact");
|
|
16435
16452
|
return retain(root, retained);
|
|
16436
16453
|
}
|
|
16437
16454
|
const cached = readCompiledArtifact(import_node_path27.default.join(sharedRoot, "artifact"), hash);
|
|
16438
16455
|
const previous = cached ?? (options.project ? null : readCompiledArtifact(import_node_path27.default.join(root, "artifact"), hash));
|
|
16439
|
-
if (previous) {
|
|
16456
|
+
if (previous && !options.intermediates) {
|
|
16440
16457
|
if (cached) renewSharedArtifact(sharedRoot);
|
|
16441
16458
|
else saveSharedArtifact(sharedRoot, previous);
|
|
16442
16459
|
report("reusing verified disk artifact");
|
|
@@ -16499,7 +16516,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16499
16516
|
root,
|
|
16500
16517
|
async (lease) => {
|
|
16501
16518
|
const built = readCompiledArtifact(import_node_path27.default.join(sharedRoot, "artifact"), hash);
|
|
16502
|
-
if (built) {
|
|
16519
|
+
if (built && !options.intermediates) {
|
|
16503
16520
|
report("reusing verified disk artifact");
|
|
16504
16521
|
return retain(root, built);
|
|
16505
16522
|
}
|
|
@@ -16851,6 +16868,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16851
16868
|
swiftIcuBundleAsset,
|
|
16852
16869
|
swiftIcuPacked,
|
|
16853
16870
|
swiftImportNames,
|
|
16871
|
+
swiftInterfaceDeclarations,
|
|
16854
16872
|
swiftMacroPlugins,
|
|
16855
16873
|
swiftModuleDigest,
|
|
16856
16874
|
swiftModuleInputFiles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2066 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -11691,13 +11691,16 @@ function withoutSwiftDeclarations(text2, declared, interfaceImport) {
|
|
|
11691
11691
|
}
|
|
11692
11692
|
if (regionStart < 0 && /^NS_ASSUME_NONNULL_BEGIN\b/.test(line))
|
|
11693
11693
|
regionStart = out.length;
|
|
11694
|
-
const name2 =
|
|
11694
|
+
const name2 = /^\s*(?:[A-Z_]\w*(?:\([^()\n]*\))?\s+)*@(?:protocol|interface)\s+(\w+)\s*(?=[:<{]|$)/.exec(
|
|
11695
|
+
line
|
|
11696
|
+
)?.[1];
|
|
11695
11697
|
const enumeration = /^\s*typedef\s+(?:NS_ENUM|NS_OPTIONS|SWIFT_ENUM(?:_NAMED)?)\s*\(\s*\w+\s*,\s*(\w+)\b/.exec(
|
|
11696
11698
|
line
|
|
11697
11699
|
)?.[1];
|
|
11698
11700
|
if (name2 && declared.has(name2) || enumeration && declared.has(enumeration)) {
|
|
11699
11701
|
skipping = name2 ? "objc" : line.includes("};") ? void 0 : "enum";
|
|
11700
|
-
while (/^SWIFT_[A-Z_]
|
|
11702
|
+
while (/^(?:SWIFT_[A-Z_]+|(?:NS|CF)_SWIFT_NAME)(?:\(.*\))?\s*$/.test(out.at(-1) ?? ""))
|
|
11703
|
+
out.pop();
|
|
11701
11704
|
if (!imported)
|
|
11702
11705
|
out.splice(regionStart < 0 ? out.length : regionStart, 0, interfaceImport);
|
|
11703
11706
|
imported = true;
|
|
@@ -12418,7 +12421,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12418
12421
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12419
12422
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12420
12423
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12421
|
-
var compilerSourceDigest = true ? "
|
|
12424
|
+
var compilerSourceDigest = true ? "e94b86c87d63b484a0d1e9d964eba432b5169d3abe3717f7b360aa31e14b9556" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12422
12425
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12423
12426
|
const hash = createHash13("sha256");
|
|
12424
12427
|
hash.update(`swift-compile
|
|
@@ -12488,6 +12491,8 @@ ${target}
|
|
|
12488
12491
|
createHash13("sha256").update(input.libraries?.[target] ?? "").digest()
|
|
12489
12492
|
);
|
|
12490
12493
|
}
|
|
12494
|
+
for (const [name2, bytes] of Object.entries(input.binaryModules ?? {}).sort())
|
|
12495
|
+
hash.update(`binary-module\0${name2}\0${bytes}\0`);
|
|
12491
12496
|
const targets = compileTargets(input);
|
|
12492
12497
|
if (targets.length > 0) {
|
|
12493
12498
|
hash.update(`swift-multi/v${MULTI_MANIFEST_VERSION}
|
|
@@ -12667,13 +12672,14 @@ function emitSwiftPackageManifest(args) {
|
|
|
12667
12672
|
const upstream = (target.swiftFlags ?? []).map(
|
|
12668
12673
|
(flag) => `, ${JSON.stringify(flag.replaceAll(SWIFT_NATIVE_INPUT_ROOT, args.root))}`
|
|
12669
12674
|
).join("");
|
|
12670
|
-
const
|
|
12675
|
+
const binaryImports = args.binaryModules ? `, "-I", ${JSON.stringify(args.binaryModules)}` : "";
|
|
12676
|
+
const imports = binaryImports + (distribution ? `, "-Isystem", ${JSON.stringify(
|
|
12671
12677
|
providedModulesPath(
|
|
12672
12678
|
args.root,
|
|
12673
12679
|
path27.join(moduleRoot, "modules"),
|
|
12674
12680
|
args.moduleExcludes
|
|
12675
12681
|
)
|
|
12676
|
-
)}` : prebuilt ? `, "-Isystem", ${JSON.stringify(providedModulesPath(args.root, prebuilt.modules, args.moduleExcludes))}${prebuilt.moduleMaps.map((map) => `, "-Xcc", ${JSON.stringify(`-fmodule-map-file=${map}`)}`).join("")}` : "";
|
|
12682
|
+
)}` : prebuilt ? `, "-Isystem", ${JSON.stringify(providedModulesPath(args.root, prebuilt.modules, args.moduleExcludes))}${prebuilt.moduleMaps.map((map) => `, "-Xcc", ${JSON.stringify(`-fmodule-map-file=${map}`)}`).join("")}` : "");
|
|
12677
12683
|
const nativeFlags = [
|
|
12678
12684
|
...args.nativeFlags?.get(target.name) ?? [],
|
|
12679
12685
|
...args.nativeHeaderFlags ?? []
|
|
@@ -15444,6 +15450,15 @@ module ${moduleName}.Swift {
|
|
|
15444
15450
|
} else {
|
|
15445
15451
|
const base = layout2.multi ? layout2.root : layout2.sources;
|
|
15446
15452
|
const libraries = /* @__PURE__ */ new Map();
|
|
15453
|
+
const binaryModules = path27.join(layout2.root, ".peach-binary-modules");
|
|
15454
|
+
for (const [name2, data] of Object.entries(input.binaryModules ?? {})) {
|
|
15455
|
+
if (!/^[A-Za-z_]\w*$/.test(name2) || !input.libraries?.[name2])
|
|
15456
|
+
throw new Error(`invalid native Swift module ${name2}: its library is required`);
|
|
15457
|
+
files.set(
|
|
15458
|
+
path27.join(binaryModules, `${name2}.swiftmodule`),
|
|
15459
|
+
Buffer.from(data, "base64")
|
|
15460
|
+
);
|
|
15461
|
+
}
|
|
15447
15462
|
for (const [target, data] of Object.entries(input.libraries ?? {})) {
|
|
15448
15463
|
const bytes = Buffer.from(data, "base64");
|
|
15449
15464
|
const digest = createHash13("sha256").update(bytes).digest("hex");
|
|
@@ -15561,6 +15576,7 @@ module ${moduleName}.Swift {
|
|
|
15561
15576
|
}
|
|
15562
15577
|
} : {},
|
|
15563
15578
|
libraries,
|
|
15579
|
+
...Object.keys(input.binaryModules ?? {}).length > 0 ? { binaryModules } : {},
|
|
15564
15580
|
...input.defaultLocalization ? { defaultLocalization: input.defaultLocalization } : {}
|
|
15565
15581
|
}) + moduleFiles
|
|
15566
15582
|
);
|
|
@@ -16412,13 +16428,13 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16412
16428
|
root,
|
|
16413
16429
|
async () => {
|
|
16414
16430
|
const retained = retainedArtifacts.get(root)?.find((old) => old.hash === hash);
|
|
16415
|
-
if (retained) {
|
|
16431
|
+
if (retained && !options.intermediates) {
|
|
16416
16432
|
report("reusing memory artifact");
|
|
16417
16433
|
return retain(root, retained);
|
|
16418
16434
|
}
|
|
16419
16435
|
const cached = readCompiledArtifact(path27.join(sharedRoot, "artifact"), hash);
|
|
16420
16436
|
const previous = cached ?? (options.project ? null : readCompiledArtifact(path27.join(root, "artifact"), hash));
|
|
16421
|
-
if (previous) {
|
|
16437
|
+
if (previous && !options.intermediates) {
|
|
16422
16438
|
if (cached) renewSharedArtifact(sharedRoot);
|
|
16423
16439
|
else saveSharedArtifact(sharedRoot, previous);
|
|
16424
16440
|
report("reusing verified disk artifact");
|
|
@@ -16481,7 +16497,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16481
16497
|
root,
|
|
16482
16498
|
async (lease) => {
|
|
16483
16499
|
const built = readCompiledArtifact(path27.join(sharedRoot, "artifact"), hash);
|
|
16484
|
-
if (built) {
|
|
16500
|
+
if (built && !options.intermediates) {
|
|
16485
16501
|
report("reusing verified disk artifact");
|
|
16486
16502
|
return retain(root, built);
|
|
16487
16503
|
}
|
|
@@ -16832,6 +16848,7 @@ export {
|
|
|
16832
16848
|
swiftIcuBundleAsset,
|
|
16833
16849
|
swiftIcuPacked,
|
|
16834
16850
|
swiftImportNames,
|
|
16851
|
+
swiftInterfaceDeclarations,
|
|
16835
16852
|
swiftMacroPlugins,
|
|
16836
16853
|
swiftModuleDigest,
|
|
16837
16854
|
swiftModuleInputFiles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2066 | (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.2066 | (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.2066 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2066 | (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;
|