peachsim 0.1.1978 → 0.1.1980
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/cli/commands/inspect.ts +6 -2
- 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 +134 -35
- 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 +133 -34
- 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 +134 -35
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- 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 +1 -1
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- 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 +134 -35
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/expo-discovery-cache.ts +2 -0
- package/src/expo-native-workspace.ts +4 -1
- package/src/expo-swift-host.ts +144 -31
- package/src/expoSwiftContract.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1980 | (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;
|
|
@@ -43428,7 +43428,7 @@ async function hashWorkspaceInputs(app, everyByte, signal, sourceOnly = false, p
|
|
|
43428
43428
|
}).join("\n");
|
|
43429
43429
|
};
|
|
43430
43430
|
const steersNative = (relative4) => !relative4.includes(import_node_path58.default.sep) || relative4.startsWith(`patches${import_node_path58.default.sep}`) || nativeDirectories.some(
|
|
43431
|
-
(directory2) => relative4 === directory2 || relative4.startsWith(directory2 + import_node_path58.default.sep)
|
|
43431
|
+
(directory2) => directory2 === "" || relative4 === directory2 || relative4.startsWith(directory2 + import_node_path58.default.sep)
|
|
43432
43432
|
);
|
|
43433
43433
|
const walk3 = async (directory2) => {
|
|
43434
43434
|
const entries = await import_node_fs58.default.promises.readdir(directory2, { withFileTypes: true });
|
|
@@ -44004,12 +44004,12 @@ function sharedDir() {
|
|
|
44004
44004
|
var strings = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
44005
44005
|
var stringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
44006
44006
|
function isExpoSwiftSourceUnit(value) {
|
|
44007
|
-
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && (value.nativeAppIdentity === void 0 || isNativeAppIdentity(value.nativeAppIdentity)) && strings(value.classes) && strings(value.bridgeModules) && strings(value.appDelegateSubscribers) && strings(value.reactDelegateHandlers) && stringRecord(value.files) && strings(value.frameworks) && (value.nativeTargets === void 0 || Array.isArray(value.nativeTargets) && value.nativeTargets.every(isRecord)) && (value.nativeFiles === void 0 || stringRecord(value.nativeFiles)) && (value.resources === void 0 || stringRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
44007
|
+
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && (value.nativeAppIdentity === void 0 || isNativeAppIdentity(value.nativeAppIdentity)) && strings(value.classes) && strings(value.bridgeModules) && strings(value.appDelegateSubscribers) && strings(value.reactDelegateHandlers) && stringRecord(value.files) && strings(value.frameworks) && (value.workspaceSources === void 0 || strings(value.workspaceSources)) && (value.nativeTargets === void 0 || Array.isArray(value.nativeTargets) && value.nativeTargets.every(isRecord)) && (value.nativeFiles === void 0 || stringRecord(value.nativeFiles)) && (value.resources === void 0 || stringRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
44008
44008
|
}
|
|
44009
44009
|
var isDigest = (value) => /^[0-9a-f]{64}$/.test(value);
|
|
44010
44010
|
var digestRecord = (value) => stringRecord(value) && Object.values(value).every(isDigest);
|
|
44011
44011
|
function isStoredUnit(value) {
|
|
44012
|
-
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && strings(value.classes) && strings(value.bridgeModules) && strings(value.appDelegateSubscribers) && strings(value.reactDelegateHandlers) && digestRecord(value.files) && strings(value.frameworks) && (value.nativeTargets === void 0 || strings(value.nativeTargets) && value.nativeTargets.every(isDigest)) && (value.nativeFiles === void 0 || digestRecord(value.nativeFiles)) && (value.resources === void 0 || digestRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
44012
|
+
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && strings(value.classes) && strings(value.bridgeModules) && strings(value.appDelegateSubscribers) && strings(value.reactDelegateHandlers) && digestRecord(value.files) && strings(value.frameworks) && (value.workspaceSources === void 0 || strings(value.workspaceSources)) && (value.nativeTargets === void 0 || strings(value.nativeTargets) && value.nativeTargets.every(isDigest)) && (value.nativeFiles === void 0 || digestRecord(value.nativeFiles)) && (value.resources === void 0 || digestRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
44013
44013
|
}
|
|
44014
44014
|
function readExpoDiscovery(key2) {
|
|
44015
44015
|
let parsed;
|
|
@@ -44758,7 +44758,7 @@ async function packageTreeDigest(root) {
|
|
|
44758
44758
|
|
|
44759
44759
|
// src/expo-native-prebuilt.ts
|
|
44760
44760
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
44761
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
44761
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "9b0c766d8fabc5a17b7a5192068af220bfdd1fdb80b28a47c3f3432a2409376b" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
44762
44762
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
44763
44763
|
function readSources(value) {
|
|
44764
44764
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -59441,11 +59441,16 @@ function cloneUnits(units) {
|
|
|
59441
59441
|
appDelegateSubscribers: unit2.appDelegateSubscribers.slice(),
|
|
59442
59442
|
reactDelegateHandlers: unit2.reactDelegateHandlers.slice(),
|
|
59443
59443
|
frameworks: unit2.frameworks.slice(),
|
|
59444
|
+
...unit2.workspaceSources ? { workspaceSources: unit2.workspaceSources.slice() } : {},
|
|
59444
59445
|
files: { ...unit2.files },
|
|
59445
59446
|
...unit2.nativeFiles ? { nativeFiles: { ...unit2.nativeFiles } } : {},
|
|
59446
59447
|
...unit2.headerAliases ? { headerAliases: { ...unit2.headerAliases } } : {},
|
|
59447
59448
|
...unit2.resources ? { resources: { ...unit2.resources } } : {},
|
|
59448
|
-
...unit2.resourceBundles ? {
|
|
59449
|
+
...unit2.resourceBundles ? {
|
|
59450
|
+
resourceBundles: unit2.resourceBundles.map((bundle) => ({
|
|
59451
|
+
...bundle
|
|
59452
|
+
}))
|
|
59453
|
+
} : {},
|
|
59449
59454
|
...unit2.nativeTargets ? { nativeTargets: unit2.nativeTargets.map(cloneNativeTarget) } : {}
|
|
59450
59455
|
}));
|
|
59451
59456
|
}
|
|
@@ -59888,24 +59893,40 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
59888
59893
|
installed?.input.files["Package.swift"] ?? ""
|
|
59889
59894
|
);
|
|
59890
59895
|
const units = [];
|
|
59896
|
+
const dependencyUnits = [];
|
|
59897
|
+
const processed = /* @__PURE__ */ new Set();
|
|
59891
59898
|
const namespacesSeen = /* @__PURE__ */ new Set();
|
|
59892
59899
|
const namespaceGroups = /* @__PURE__ */ new Map();
|
|
59893
59900
|
let answeredInstalled = false;
|
|
59894
59901
|
let needsNativeWorkspace = false;
|
|
59895
59902
|
let bytes = 0;
|
|
59896
59903
|
let fileCount = 0;
|
|
59897
|
-
|
|
59898
|
-
|
|
59899
|
-
))
|
|
59904
|
+
const entries = Object.entries(search).sort(([a], [b]) => a.localeCompare(b));
|
|
59905
|
+
const queue = entries.slice();
|
|
59906
|
+
const queued = new Set(entries.map(([name3]) => name3));
|
|
59907
|
+
const reconsider = () => {
|
|
59908
|
+
for (const entry of entries)
|
|
59909
|
+
if (!processed.has(entry[0]) && !queued.has(entry[0])) {
|
|
59910
|
+
queue.push(entry);
|
|
59911
|
+
queued.add(entry[0]);
|
|
59912
|
+
}
|
|
59913
|
+
};
|
|
59914
|
+
for (const [packageName, entry] of queue) {
|
|
59915
|
+
queued.delete(packageName);
|
|
59916
|
+
if (processed.has(packageName)) continue;
|
|
59900
59917
|
if (!entry || typeof entry !== "object")
|
|
59901
59918
|
throw new Error("invalid Expo autolinking entry");
|
|
59902
59919
|
const sourceRoot = Reflect.get(entry, "path");
|
|
59903
59920
|
if (typeof sourceRoot !== "string")
|
|
59904
59921
|
throw new Error("Expo autolinking entry has no path");
|
|
59905
59922
|
const canonical = import_node_fs83.default.realpathSync(sourceRoot);
|
|
59906
|
-
|
|
59923
|
+
const answered2 = canonical.split(import_node_path82.default.sep).includes("node_modules") && peachAnsweredNativePackages().has(packageName);
|
|
59924
|
+
if (answered2) {
|
|
59907
59925
|
answeredInstalled = true;
|
|
59908
|
-
|
|
59926
|
+
if (installed || prepareNative) {
|
|
59927
|
+
processed.add(packageName);
|
|
59928
|
+
continue;
|
|
59929
|
+
}
|
|
59909
59930
|
}
|
|
59910
59931
|
for (const name3 of ["expo-module.config.json", "unimodule.json"]) {
|
|
59911
59932
|
const descriptor = import_node_path82.default.join(canonical, name3);
|
|
@@ -59932,8 +59953,21 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
59932
59953
|
const subscriberNames = delegateNames("appDelegateSubscribers");
|
|
59933
59954
|
const handlerNames = delegateNames("reactDelegateHandlers");
|
|
59934
59955
|
const deferredToWorkspace = prepareNative && !installedWorkspace && Array.isArray(pods) && pods.length > 0;
|
|
59935
|
-
|
|
59936
|
-
|
|
59956
|
+
const dependencyOnly = answered2 || (!Array.isArray(modules) || modules.length === 0) && subscriberNames.length === 0 && handlerNames.length === 0;
|
|
59957
|
+
if (dependencyOnly) {
|
|
59958
|
+
if (installed || prepareNative || !Array.isArray(namespaces)) {
|
|
59959
|
+
processed.add(packageName);
|
|
59960
|
+
continue;
|
|
59961
|
+
}
|
|
59962
|
+
const imports2 = new Set(
|
|
59963
|
+
[...units, ...dependencyUnits].flatMap(
|
|
59964
|
+
(unit2) => Object.values(unit2.files).flatMap((source) => swiftImportNames(source))
|
|
59965
|
+
)
|
|
59966
|
+
);
|
|
59967
|
+
if (!namespaces.some((name3) => typeof name3 === "string" && imports2.has(name3)))
|
|
59968
|
+
continue;
|
|
59969
|
+
}
|
|
59970
|
+
processed.add(packageName);
|
|
59937
59971
|
if (!Array.isArray(namespaces) || namespaces.length === 0 || !namespaces.every(
|
|
59938
59972
|
(name3) => typeof name3 === "string" && /^[A-Za-z_][A-Za-z0-9_]*$/.test(name3)
|
|
59939
59973
|
))
|
|
@@ -59944,9 +59978,10 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
59944
59978
|
}
|
|
59945
59979
|
if (namespaces.length > 1 && !installed) {
|
|
59946
59980
|
if (!nativeWorkspaceAvailable()) {
|
|
59947
|
-
|
|
59948
|
-
|
|
59949
|
-
|
|
59981
|
+
if (!answered2)
|
|
59982
|
+
report(
|
|
59983
|
+
`${packageName}: ${namespaces.join(", ")} need CocoaPods target membership, which only a Mac prepares; not compiled`
|
|
59984
|
+
);
|
|
59950
59985
|
continue;
|
|
59951
59986
|
}
|
|
59952
59987
|
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
@@ -60039,8 +60074,13 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
60039
60074
|
walk3(file, binary2 || framework);
|
|
60040
60075
|
continue;
|
|
60041
60076
|
}
|
|
60042
|
-
if (!binary2 && target.isFile() && /\.(?:mm?|c|cc|cpp)$/.test(child.name))
|
|
60043
|
-
|
|
60077
|
+
if (!binary2 && target.isFile() && /\.(?:mm?|c|cc|cpp)$/.test(child.name)) {
|
|
60078
|
+
const source2 = linked ?? resolveSource(file);
|
|
60079
|
+
if (import_node_fs83.default.statSync(source2).size > 4096 || !/^(?:\s|\/\/[^\n]*|\/\*[\s\S]*?\*\/)*$/.test(
|
|
60080
|
+
import_node_fs83.default.readFileSync(source2, "utf8")
|
|
60081
|
+
))
|
|
60082
|
+
nativeSources.add(import_node_path82.default.relative(ios, file));
|
|
60083
|
+
}
|
|
60044
60084
|
if (!target.isFile() || !child.name.endsWith(".swift")) continue;
|
|
60045
60085
|
const source = linked ?? resolveSource(file);
|
|
60046
60086
|
if (sources.has(source)) continue;
|
|
@@ -60117,6 +60157,24 @@ ${import_node_fs83.default.readFileSync(source, "utf8")}`;
|
|
|
60117
60157
|
const podspecFloor = podspec ? /\.platforms\s*=\s*\{\s*:ios\s*=>\s*['"](\d+(?:\.\d+){0,2})['"]/.exec(
|
|
60118
60158
|
import_node_fs83.default.readFileSync(import_node_path82.default.join(ios, podspec), "utf8")
|
|
60119
60159
|
)?.[1] : void 0;
|
|
60160
|
+
if (dependencyOnly && Object.keys(files2).length > 0) {
|
|
60161
|
+
dependencyUnits.push({
|
|
60162
|
+
namespace,
|
|
60163
|
+
moduleId: namespace,
|
|
60164
|
+
classes: [],
|
|
60165
|
+
bridgeModules: [],
|
|
60166
|
+
appDelegateSubscribers: [],
|
|
60167
|
+
reactDelegateHandlers: [],
|
|
60168
|
+
files: files2,
|
|
60169
|
+
frameworks: [...frameworks],
|
|
60170
|
+
...nativeSources.size ? { workspaceSources: [namespace] } : {},
|
|
60171
|
+
...podspecFloor ? {
|
|
60172
|
+
nativeTargets: [synthesizedNativeTarget(namespace, podspecFloor)]
|
|
60173
|
+
} : {}
|
|
60174
|
+
});
|
|
60175
|
+
reconsider();
|
|
60176
|
+
}
|
|
60177
|
+
if (dependencyOnly) continue;
|
|
60120
60178
|
for (const declaration of declarations) {
|
|
60121
60179
|
const className = declaration.reference;
|
|
60122
60180
|
const owner = className.split(".")[0];
|
|
@@ -60149,10 +60207,13 @@ ${import_node_fs83.default.readFileSync(source, "utf8")}`;
|
|
|
60149
60207
|
files: closure,
|
|
60150
60208
|
frameworks: [...frameworks],
|
|
60151
60209
|
...absentFrameworks.length > 0 ? { absentFrameworks } : {},
|
|
60152
|
-
...podspecFloor ? {
|
|
60210
|
+
...podspecFloor ? {
|
|
60211
|
+
nativeTargets: [synthesizedNativeTarget(namespace, podspecFloor)]
|
|
60212
|
+
} : {}
|
|
60153
60213
|
};
|
|
60154
60214
|
unit2.files[EXPO_SWIFT_ENTRY] = expoEntry([unit2]);
|
|
60155
60215
|
units.push(unit2);
|
|
60216
|
+
reconsider();
|
|
60156
60217
|
}
|
|
60157
60218
|
}
|
|
60158
60219
|
if (namespaces.length > 1) {
|
|
@@ -60269,23 +60330,26 @@ ${import_node_fs83.default.readFileSync(file, "utf8")}`;
|
|
|
60269
60330
|
);
|
|
60270
60331
|
const allFiles = Object.assign(
|
|
60271
60332
|
{},
|
|
60272
|
-
...units.map((unit2) => unit2.files)
|
|
60333
|
+
...[...units, ...dependencyUnits].map((unit2) => unit2.files)
|
|
60273
60334
|
);
|
|
60274
|
-
const targets = [
|
|
60335
|
+
const targets = [
|
|
60336
|
+
...new Set([...units, ...dependencyUnits].map((unit2) => unit2.namespace))
|
|
60337
|
+
].map((namespace) => ({
|
|
60275
60338
|
name: namespace,
|
|
60276
60339
|
path: `Sources/${namespace}`
|
|
60277
60340
|
}));
|
|
60278
60341
|
const dependencies = swiftTargetDependencies(allFiles, targets);
|
|
60279
60342
|
const byNamespace = /* @__PURE__ */ new Map();
|
|
60280
|
-
for (const unit2 of units) {
|
|
60281
|
-
const
|
|
60282
|
-
|
|
60283
|
-
byNamespace.set(unit2.namespace,
|
|
60343
|
+
for (const unit2 of [...units, ...dependencyUnits]) {
|
|
60344
|
+
const entries2 = byNamespace.get(unit2.namespace) ?? [];
|
|
60345
|
+
entries2.push(unit2);
|
|
60346
|
+
byNamespace.set(unit2.namespace, entries2);
|
|
60284
60347
|
}
|
|
60285
60348
|
for (const unit2 of units) {
|
|
60286
60349
|
const included = /* @__PURE__ */ new Set([unit2.namespace]);
|
|
60350
|
+
const ownDependencies = swiftTargetDependencies(unit2.files, targets).get(unit2.namespace) ?? [];
|
|
60287
60351
|
const visit3 = (namespace) => {
|
|
60288
|
-
for (const dependency of dependencies.get(namespace) ?? []) {
|
|
60352
|
+
for (const dependency of namespace === unit2.namespace ? ownDependencies : dependencies.get(namespace) ?? []) {
|
|
60289
60353
|
if (!byNamespace.has(dependency) || included.has(dependency)) continue;
|
|
60290
60354
|
included.add(dependency);
|
|
60291
60355
|
visit3(dependency);
|
|
@@ -60302,6 +60366,12 @@ ${import_node_fs83.default.readFileSync(file, "utf8")}`;
|
|
|
60302
60366
|
...dependency.flatMap((item) => item.frameworks)
|
|
60303
60367
|
])
|
|
60304
60368
|
];
|
|
60369
|
+
unit2.workspaceSources = [
|
|
60370
|
+
.../* @__PURE__ */ new Set([
|
|
60371
|
+
...unit2.workspaceSources ?? [],
|
|
60372
|
+
...dependency.flatMap((item) => item.workspaceSources ?? [])
|
|
60373
|
+
])
|
|
60374
|
+
];
|
|
60305
60375
|
unit2.nativeTargets = [
|
|
60306
60376
|
...new Map(
|
|
60307
60377
|
[
|
|
@@ -60324,11 +60394,19 @@ ${import_node_fs83.default.readFileSync(file, "utf8")}`;
|
|
|
60324
60394
|
if (name3.startsWith(`Sources/${namespace}/`)) unit2.files[name3] = source;
|
|
60325
60395
|
}
|
|
60326
60396
|
}
|
|
60327
|
-
|
|
60328
|
-
|
|
60329
|
-
"",
|
|
60330
|
-
targetSettings2([...included].flatMap((namespace) => byNamespace.get(namespace)))
|
|
60397
|
+
const settings = targetSettings2(
|
|
60398
|
+
[...included].flatMap((namespace) => byNamespace.get(namespace))
|
|
60331
60399
|
);
|
|
60400
|
+
if (!installed)
|
|
60401
|
+
for (const namespace of included)
|
|
60402
|
+
settings.set(namespace, {
|
|
60403
|
+
languageMode: 5,
|
|
60404
|
+
mainActorIsolation: false,
|
|
60405
|
+
resources: false,
|
|
60406
|
+
...settings.get(namespace),
|
|
60407
|
+
dependencies: (namespace === unit2.namespace ? ownDependencies : dependencies.get(namespace) ?? []).filter((name3) => included.has(name3)).map((name3) => ({ kind: "target", name: name3 }))
|
|
60408
|
+
});
|
|
60409
|
+
unit2.files["Package.swift"] = expoManifest(unit2.files, "", settings);
|
|
60332
60410
|
}
|
|
60333
60411
|
if (nativeAppIdentity)
|
|
60334
60412
|
for (const unit2 of units) unit2.nativeAppIdentity = nativeAppIdentity;
|
|
@@ -60367,8 +60445,21 @@ let package = Package(name: "PeachExpo", targets: [${declarations.join(", ")}, .
|
|
|
60367
60445
|
function targetSettings2(units) {
|
|
60368
60446
|
const settings = /* @__PURE__ */ new Map();
|
|
60369
60447
|
for (const unit2 of units) {
|
|
60370
|
-
for (const target of swiftManifestTargets(unit2.files["Package.swift"] ?? ""))
|
|
60371
|
-
settings.
|
|
60448
|
+
for (const target of swiftManifestTargets(unit2.files["Package.swift"] ?? "")) {
|
|
60449
|
+
const previous = settings.get(target.name);
|
|
60450
|
+
const dependencies = [
|
|
60451
|
+
...previous?.dependencies ?? [],
|
|
60452
|
+
...target.dependencies ?? []
|
|
60453
|
+
];
|
|
60454
|
+
settings.set(target.name, {
|
|
60455
|
+
...target,
|
|
60456
|
+
dependencies: [
|
|
60457
|
+
...new Map(
|
|
60458
|
+
dependencies.map((dependency) => [JSON.stringify(dependency), dependency])
|
|
60459
|
+
).values()
|
|
60460
|
+
]
|
|
60461
|
+
});
|
|
60462
|
+
}
|
|
60372
60463
|
if (unit2.swiftLanguageMode !== void 0)
|
|
60373
60464
|
settings.set(unit2.namespace, {
|
|
60374
60465
|
...settings.get(unit2.namespace),
|
|
@@ -60730,7 +60821,11 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
60730
60821
|
projectFor(packagePath).nativeFiles = unit2.nativeFiles;
|
|
60731
60822
|
projectFor(packagePath).headerAliases = unit2.headerAliases;
|
|
60732
60823
|
projectFor(packagePath).resourceBundles = unit2.resourceBundles;
|
|
60733
|
-
projectFor(packagePath).bundleFiles = unit2.resources ? {
|
|
60824
|
+
projectFor(packagePath).bundleFiles = unit2.resources ? {
|
|
60825
|
+
files: unit2.resources,
|
|
60826
|
+
bundles: unit2.resourceBundles ?? [],
|
|
60827
|
+
watched: []
|
|
60828
|
+
} : void 0;
|
|
60734
60829
|
const stamp = sourceContentStamp(packagePath, module2.root);
|
|
60735
60830
|
const failed = readFailedCompilation(packagePath);
|
|
60736
60831
|
if (failed?.stamp === stamp) {
|
|
@@ -60906,8 +61001,12 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
60906
61001
|
linked.push(unit2);
|
|
60907
61002
|
} catch (error) {
|
|
60908
61003
|
signal.throwIfAborted();
|
|
61004
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
61005
|
+
const missingImports = [...message.matchAll(/^ (\S+)/gm)].map(
|
|
61006
|
+
(match) => match[1]
|
|
61007
|
+
);
|
|
60909
61008
|
const diagnostic = [
|
|
60910
|
-
error instanceof
|
|
61009
|
+
error instanceof SwiftMissingModulesError && unit2.workspaceSources?.length ? `${unit2.workspaceSources.map((name3) => `${name3} needs a Mac-prepared workspace`).join("; ")}; unresolved imports: ${missingImports.join(", ")}` : message,
|
|
60911
61010
|
...gaps.get(unit2) ?? []
|
|
60912
61011
|
].join("\n");
|
|
60913
61012
|
const unitFiles = [...Object.keys(unit2.files), ...expoUnitAppPaths(unit2)];
|
|
@@ -62429,7 +62528,7 @@ async function nitroSupersetInputs(options) {
|
|
|
62429
62528
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
62430
62529
|
return inputs;
|
|
62431
62530
|
}
|
|
62432
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
62531
|
+
var NITRO_COMPILER_DIGEST = true ? "45f5d8b518551c075d45327cab35942090fc26d4bd0c13137960037eb0c6ac68" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
62433
62532
|
function readInputs(value) {
|
|
62434
62533
|
if (!isRecord(value)) return null;
|
|
62435
62534
|
const inputs = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (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.1980 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1980 | (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.1980 | (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.1980 | (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/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1980 | (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/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1980 | (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.1980 | (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;
|