peachsim 0.1.2180 → 0.1.2182
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/shell-url.ts +28 -22
- 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 +141 -70
- 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 +68 -36
- 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 +106 -59
- 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 +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 +131 -67
- package/dist-lib/swift-compile.cjs +13 -4
- package/dist-lib/swift-compile.mjs +13 -4
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +15 -6
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/map-command-channel.d.ts +14 -0
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +17 -20
- package/src/expo-swift-bundle.ts +6 -1
- package/src/expo-swift-host.ts +35 -6
- package/src/expoSwiftContract.ts +3 -0
- package/src/native-bundles.ts +30 -10
- package/src/one-sdk/source.ts +10 -4
- package/src/one-sdk-bundle.ts +56 -24
- package/src/swift-compile.ts +3 -1
- package/src/swift-submit.ts +2 -1
- package/src/wasm-optimize.ts +11 -1
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
readInstalledNativePackageVersions,
|
|
31
31
|
readInstalledPackageVersions,
|
|
32
32
|
} from '../../src/installed-package-versions'
|
|
33
|
+
import { LAUNCH_METADATA_QUERY_PARAM } from '../../src/launchMetadataContract'
|
|
33
34
|
import { resolveMetroProjectRoot } from '../../src/metro-project-root'
|
|
34
35
|
import {
|
|
35
36
|
canExtractNativeAppIdentity,
|
|
@@ -731,6 +732,21 @@ export async function buildShellUrl(
|
|
|
731
732
|
opts: BuildShellUrlOptions = {},
|
|
732
733
|
): Promise<string> {
|
|
733
734
|
const resolved = await resolveShellUrl(target, baseUrl, opts)
|
|
735
|
+
const supplied = new URL(resolved)
|
|
736
|
+
if (
|
|
737
|
+
!opts.project &&
|
|
738
|
+
looksLikeSootsimUrl(target) &&
|
|
739
|
+
[
|
|
740
|
+
LAUNCH_METADATA_QUERY_PARAM,
|
|
741
|
+
'oneSDK',
|
|
742
|
+
'expoSwift',
|
|
743
|
+
'expoWidgets',
|
|
744
|
+
'nitro',
|
|
745
|
+
'turbo',
|
|
746
|
+
'expoKotlin',
|
|
747
|
+
].some((key) => supplied.searchParams.has(key))
|
|
748
|
+
)
|
|
749
|
+
return applyShellLaunchOptions(supplied, opts).toString()
|
|
734
750
|
// callers that hand us a bare port or url (the flow/maestro runner, the
|
|
735
751
|
// electron companion) have no project to pass. derive it from the bundle
|
|
736
752
|
// metro advertises so those paths get the same UIAppFonts and splash
|
|
@@ -882,9 +898,6 @@ export async function buildShellUrl(
|
|
|
882
898
|
: null
|
|
883
899
|
if (manifest) expoStamped.searchParams.set('appManifest', manifest)
|
|
884
900
|
}
|
|
885
|
-
if (opts.bundleOriginOverride)
|
|
886
|
-
expoStamped.searchParams.set('bundleOriginOverride', opts.bundleOriginOverride)
|
|
887
|
-
if (opts.hostDriver) expoStamped.searchParams.set('peachHostDriver', opts.hostDriver)
|
|
888
901
|
if (expoRoot && !opts.offline) {
|
|
889
902
|
if (packageVersions?.['expo-widgets'])
|
|
890
903
|
expoStamped.searchParams.set(
|
|
@@ -919,24 +932,17 @@ export async function buildShellUrl(
|
|
|
919
932
|
`${nativeAssetOrigin}/__peach/expo-kotlin?root=${encodeURIComponent(expoRoot)}`,
|
|
920
933
|
)
|
|
921
934
|
}
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
!opts.args?.length &&
|
|
934
|
-
!opts.dotEnv
|
|
935
|
-
)
|
|
936
|
-
return opts.offline
|
|
937
|
-
? expoStamped.toString()
|
|
938
|
-
: stageHostLaunchMetadata(expoStamped, nativeAssetOrigin)
|
|
939
|
-
const url = expoStamped
|
|
935
|
+
const url = applyShellLaunchOptions(expoStamped, opts)
|
|
936
|
+
return opts.offline ? url.toString() : stageHostLaunchMetadata(url, nativeAssetOrigin)
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
function applyShellLaunchOptions(url: URL, opts: BuildShellUrlOptions): URL {
|
|
940
|
+
const bundle = url.searchParams.get('bundle')
|
|
941
|
+
if (bundle && opts.hot !== undefined)
|
|
942
|
+
url.searchParams.set('bundle', applyHotMode(bundle, opts.hot))
|
|
943
|
+
if (opts.bundleOriginOverride)
|
|
944
|
+
url.searchParams.set('bundleOriginOverride', opts.bundleOriginOverride)
|
|
945
|
+
if (opts.hostDriver) url.searchParams.set('peachHostDriver', opts.hostDriver)
|
|
940
946
|
if (opts.dotEnv) url.searchParams.set('dotEnv', JSON.stringify(opts.dotEnv))
|
|
941
947
|
if (opts.device) url.searchParams.set('device', opts.device)
|
|
942
948
|
if (opts.posture) url.searchParams.set('posture', opts.posture)
|
|
@@ -956,5 +962,5 @@ export async function buildShellUrl(
|
|
|
956
962
|
if (opts.ephemeral) url.searchParams.set('ephemeral', '1')
|
|
957
963
|
for (const entry of opts.env ?? []) url.searchParams.append('env', entry)
|
|
958
964
|
for (const entry of opts.args ?? []) url.searchParams.append('arg', entry)
|
|
959
|
-
return
|
|
965
|
+
return url
|
|
960
966
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2182 | (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.2182 | (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.2182 | (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.2182 | (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.2182 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2182 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2182 | (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.2182 | (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.2182 | (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.2182 | (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;
|
|
@@ -24546,6 +24546,13 @@ var init_swift_guest_source_inputs = __esm({
|
|
|
24546
24546
|
|
|
24547
24547
|
// src/wasm-optimize.ts
|
|
24548
24548
|
async function runWasmOpt(file, output2, skipPasses, binary2) {
|
|
24549
|
+
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
24550
|
+
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
24551
|
+
const environment = { ...process.env, WASM_OPT_PATH: binary2 };
|
|
24552
|
+
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
24553
|
+
environment.BINARYEN_CORES = String(
|
|
24554
|
+
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
24555
|
+
);
|
|
24549
24556
|
const result = await (0, import_wasm_opt.wasmOpt)(
|
|
24550
24557
|
[
|
|
24551
24558
|
"-Oz",
|
|
@@ -24555,7 +24562,7 @@ async function runWasmOpt(file, output2, skipPasses, binary2) {
|
|
|
24555
24562
|
"-o",
|
|
24556
24563
|
output2
|
|
24557
24564
|
],
|
|
24558
|
-
{ env:
|
|
24565
|
+
{ env: environment }
|
|
24559
24566
|
);
|
|
24560
24567
|
if (result.status !== 0)
|
|
24561
24568
|
throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
|
|
@@ -24591,6 +24598,7 @@ var init_wasm_optimize = __esm({
|
|
|
24591
24598
|
import_node_path32 = require("node:path");
|
|
24592
24599
|
init_src();
|
|
24593
24600
|
import_wasm_opt = require("wasm-opt");
|
|
24601
|
+
init_admitted_mac_build();
|
|
24594
24602
|
init_home_paths();
|
|
24595
24603
|
FEATURES = [
|
|
24596
24604
|
"threads",
|
|
@@ -29283,7 +29291,7 @@ function readCompiledArtifact(directory2, hash) {
|
|
|
29283
29291
|
return null;
|
|
29284
29292
|
const bytes = (0, import_node_fs42.readFileSync)(import_node_path41.default.join(directory2, "app.wasm"));
|
|
29285
29293
|
const gzip2 = (0, import_node_fs42.readFileSync)(import_node_path41.default.join(directory2, "icu.gz"));
|
|
29286
|
-
if ((0, import_node_crypto20.createHash)("sha256").update(bytes).digest("hex") !== receipt.wasm || (0, import_node_crypto20.createHash)("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length
|
|
29294
|
+
if ((0, import_node_crypto20.createHash)("sha256").update(bytes).digest("hex") !== receipt.wasm || (0, import_node_crypto20.createHash)("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
|
|
29287
29295
|
return null;
|
|
29288
29296
|
return { hash, bytes, icu: { sha256: receipt.icu, gzip: gzip2 } };
|
|
29289
29297
|
} catch (error) {
|
|
@@ -30336,6 +30344,8 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
30336
30344
|
bytes: (0, import_node_fs42.readFileSync)(executable),
|
|
30337
30345
|
icu: await icu
|
|
30338
30346
|
};
|
|
30347
|
+
if (artifact.bytes.length <= 8)
|
|
30348
|
+
throw new Error("swift-compile: deferred linker produced no executable");
|
|
30339
30349
|
if (!options.project) saveCompiledArtifact(root, artifact);
|
|
30340
30350
|
saveSharedArtifact(sharedRoot, artifact);
|
|
30341
30351
|
report("compiled artifact verified");
|
|
@@ -30514,7 +30524,7 @@ var init_swift_compile = __esm({
|
|
|
30514
30524
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
30515
30525
|
MULTI_MANIFEST_VERSION = 68;
|
|
30516
30526
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
30517
|
-
compilerSourceDigest = true ? "
|
|
30527
|
+
compilerSourceDigest = true ? "73960368f0b83cf042511655d857d5f64204fa539e2c984423a12c08657b068e" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
30518
30528
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
30519
30529
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
30520
30530
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -35524,7 +35534,7 @@ var init_swift_submit = __esm({
|
|
|
35524
35534
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
35525
35535
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
35526
35536
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
35527
|
-
SWIFT_HOST_ABI =
|
|
35537
|
+
SWIFT_HOST_ABI = 70;
|
|
35528
35538
|
POLL_INTERVAL_MS = 1500;
|
|
35529
35539
|
}
|
|
35530
35540
|
});
|
|
@@ -37634,6 +37644,7 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
|
37634
37644
|
const nodeVersion = typeof manifest.engines?.node === "string" && /^\d+(\.\d+){0,2}$/.test(manifest.engines.node) ? manifest.engines.node : null;
|
|
37635
37645
|
const prefix = nodeVersion ? ["mise", "exec", `node@${nodeVersion}`, "--"] : [];
|
|
37636
37646
|
const bunPrefix = import_node_path57.default.join(cacheDir(), "package-managers", manager);
|
|
37647
|
+
const bunExecutable = import_node_path57.default.join(bunPrefix, "node_modules/.bin/bun");
|
|
37637
37648
|
const install = manager === "pnpm" || manager.startsWith("pnpm@") ? [
|
|
37638
37649
|
"npx",
|
|
37639
37650
|
"--yes",
|
|
@@ -37642,11 +37653,7 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
|
37642
37653
|
"--frozen-lockfile",
|
|
37643
37654
|
// the copied node_modules link into the store pnpm chose on the app's volume
|
|
37644
37655
|
...pnpmStoreArgs(root)
|
|
37645
|
-
] : manager === "yarn" || manager.startsWith("yarn@") ? ["corepack", "yarn", "install", "--immutable"] : manager === "bun" || manager.startsWith("bun@") ? manager === "bun" ? ["bun", "install", "--frozen-lockfile"] : [
|
|
37646
|
-
import_node_path57.default.join(bunPrefix, "node_modules/.bin/bun"),
|
|
37647
|
-
"install",
|
|
37648
|
-
"--frozen-lockfile"
|
|
37649
|
-
] : (
|
|
37656
|
+
] : manager === "yarn" || manager.startsWith("yarn@") ? ["corepack", "yarn", "install", "--immutable"] : manager === "bun" || manager.startsWith("bun@") ? manager === "bun" ? ["bun", "install", "--frozen-lockfile"] : [bunExecutable, "install", "--frozen-lockfile"] : (
|
|
37650
37657
|
// npm ci would delete the cloned tree before installing it again
|
|
37651
37658
|
["npm", "install", "--no-audit", "--no-fund"]
|
|
37652
37659
|
);
|
|
@@ -37655,22 +37662,22 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
|
37655
37662
|
const command = [...prefix, ...args];
|
|
37656
37663
|
await run11(command[0], command.slice(1), cwd, env);
|
|
37657
37664
|
};
|
|
37665
|
+
if (manager.startsWith("bun@") && (!projectReady || !import_node_fs57.default.existsSync(bunExecutable)))
|
|
37666
|
+
await execute(
|
|
37667
|
+
[
|
|
37668
|
+
"npm",
|
|
37669
|
+
"install",
|
|
37670
|
+
"--prefix",
|
|
37671
|
+
bunPrefix,
|
|
37672
|
+
// the bun package ships a placeholder binary its postinstall replaces
|
|
37673
|
+
"--ignore-scripts=false",
|
|
37674
|
+
"--no-audit",
|
|
37675
|
+
"--no-fund",
|
|
37676
|
+
manager
|
|
37677
|
+
],
|
|
37678
|
+
work
|
|
37679
|
+
);
|
|
37658
37680
|
if (!projectReady) {
|
|
37659
|
-
if (manager.startsWith("bun@"))
|
|
37660
|
-
await execute(
|
|
37661
|
-
[
|
|
37662
|
-
"npm",
|
|
37663
|
-
"install",
|
|
37664
|
-
"--prefix",
|
|
37665
|
-
bunPrefix,
|
|
37666
|
-
// the bun package ships a placeholder binary its postinstall replaces
|
|
37667
|
-
"--ignore-scripts=false",
|
|
37668
|
-
"--no-audit",
|
|
37669
|
-
"--no-fund",
|
|
37670
|
-
manager
|
|
37671
|
-
],
|
|
37672
|
-
work
|
|
37673
|
-
);
|
|
37674
37681
|
if (install[0] === "npm" && import_node_fs57.default.existsSync(import_node_path57.default.join(work, "package-lock.json"))) {
|
|
37675
37682
|
await execute(
|
|
37676
37683
|
["npm", "ci", "--dry-run", "--ignore-scripts", "--no-audit", "--no-fund"],
|
|
@@ -42712,7 +42719,7 @@ var init_swift_standin_digest = __esm({
|
|
|
42712
42719
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
42713
42720
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
42714
42721
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
42715
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
42722
|
+
STANDIN_SOURCE_DIGEST = true ? "cc396d180b261e922288f645807b4a704fa92410ffc902bfbaac72b81af6413a" : standinSourceDigest();
|
|
42716
42723
|
}
|
|
42717
42724
|
});
|
|
42718
42725
|
|
|
@@ -54691,7 +54698,7 @@ var init_nitro_superset = __esm({
|
|
|
54691
54698
|
init_nitroContract();
|
|
54692
54699
|
init_swift_standin_digest();
|
|
54693
54700
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
54694
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
54701
|
+
NITRO_COMPILER_DIGEST = true ? "4b0c1069391aa3533d7f86ec0218e3db332433aaaa017425707f0273d51d8ce5" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
54695
54702
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
54696
54703
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
54697
54704
|
published = /* @__PURE__ */ new Map();
|
|
@@ -54909,7 +54916,7 @@ var init_nitro_bundle = __esm({
|
|
|
54909
54916
|
});
|
|
54910
54917
|
|
|
54911
54918
|
// src/one-sdk/source.ts
|
|
54912
|
-
var oneSDKModule, oneSDKApp, oneSDKTransport;
|
|
54919
|
+
var oneSDKModule, oneSDKHost, oneSDKApp, oneSDKTransport;
|
|
54913
54920
|
var init_source = __esm({
|
|
54914
54921
|
"src/one-sdk/source.ts"() {
|
|
54915
54922
|
"use strict";
|
|
@@ -54945,12 +54952,11 @@ extension OneNativeComposable {
|
|
|
54945
54952
|
public func propagateActive(_ active: Bool) {}
|
|
54946
54953
|
}
|
|
54947
54954
|
`;
|
|
54948
|
-
|
|
54955
|
+
oneSDKHost = String.raw`import SwiftUI
|
|
54949
54956
|
@_spi(Peach) import UIKit
|
|
54950
54957
|
import One
|
|
54951
|
-
import OneSDKBindings
|
|
54952
54958
|
|
|
54953
|
-
|
|
54959
|
+
struct OneSDKUIKitHost: UIViewRepresentable {
|
|
54954
54960
|
let props: JSON
|
|
54955
54961
|
func makeUIView(context: Context) -> OneNativeUIKitHostView { OneNativeUIKitHostView() }
|
|
54956
54962
|
func updateUIView(_ view: OneNativeUIKitHostView, context: Context) {
|
|
@@ -54962,10 +54968,14 @@ private struct UIKitHost: UIViewRepresentable {
|
|
|
54962
54968
|
}
|
|
54963
54969
|
static func dismantleUIView(_ view: OneNativeUIKitHostView, coordinator: Coordinator) { view.reset() }
|
|
54964
54970
|
}
|
|
54971
|
+
`;
|
|
54972
|
+
oneSDKApp = String.raw`import SwiftUI
|
|
54973
|
+
import One
|
|
54974
|
+
import OneSDKBindings
|
|
54965
54975
|
|
|
54966
54976
|
@main
|
|
54967
54977
|
struct SDKGuest: PeachPackage {
|
|
54968
|
-
func view(props: JSON) -> some View {
|
|
54978
|
+
func view(props: JSON) -> some View { OneSDKUIKitHost(props: props) }
|
|
54969
54979
|
}
|
|
54970
54980
|
`;
|
|
54971
54981
|
oneSDKTransport = String.raw`import Foundation
|
|
@@ -55260,10 +55270,12 @@ public func peachOneSDK(_ pointer: UnsafePointer<UInt8>, _ length: Int32) -> Uns
|
|
|
55260
55270
|
var one_sdk_bundle_exports = {};
|
|
55261
55271
|
__export(one_sdk_bundle_exports, {
|
|
55262
55272
|
ONE_SDK_ROUTE: () => ONE_SDK_ROUTE,
|
|
55273
|
+
appOneSDKLinkSources: () => appOneSDKLinkSources,
|
|
55263
55274
|
buildOneSDKBundle: () => buildOneSDKBundle,
|
|
55264
55275
|
compileOneSDKApp: () => compileOneSDKApp,
|
|
55265
55276
|
compilePreparedOneSDKApp: () => compilePreparedOneSDKApp,
|
|
55266
|
-
handleOneSDKRequest: () => handleOneSDKRequest
|
|
55277
|
+
handleOneSDKRequest: () => handleOneSDKRequest,
|
|
55278
|
+
oneSDKLinkSources: () => oneSDKLinkSources
|
|
55267
55279
|
});
|
|
55268
55280
|
async function compileOneSDKApp(appRoot, origin, moduleRootOverride) {
|
|
55269
55281
|
const selected = await selectOneSDK(appRoot);
|
|
@@ -55271,7 +55283,7 @@ async function compileOneSDKApp(appRoot, origin, moduleRootOverride) {
|
|
|
55271
55283
|
const prepared = await prepareExpoNativeProject(appRoot);
|
|
55272
55284
|
return compilePreparedOneSDKApp(appRoot, prepared.app, origin, moduleRootOverride);
|
|
55273
55285
|
}
|
|
55274
|
-
async function
|
|
55286
|
+
async function oneSDKLinkSources(appRoot, preparedRoot) {
|
|
55275
55287
|
const selected = await selectOneSDK(appRoot);
|
|
55276
55288
|
if (!selected) throw new Error("prepared app has no One SDK imports");
|
|
55277
55289
|
const { one, frameworks } = selected;
|
|
@@ -55286,6 +55298,39 @@ async function compilePreparedOneSDKApp(appRoot, preparedRoot, origin, moduleRoo
|
|
|
55286
55298
|
throw new Error(
|
|
55287
55299
|
"prepared One SDK sources differ from the installed facades or app imports"
|
|
55288
55300
|
);
|
|
55301
|
+
const targets = /* @__PURE__ */ new Map();
|
|
55302
|
+
targets.set("Sources/One/One.swift", oneSDKModule);
|
|
55303
|
+
for (const source of [
|
|
55304
|
+
"SDK/OneSDKRuntime.swift",
|
|
55305
|
+
"OneNativeUIKitHostView.swift",
|
|
55306
|
+
"OneNativeContent.swift",
|
|
55307
|
+
"OneNativeAccessibility.swift",
|
|
55308
|
+
"SDKViews/OneNativeViewsTable.swift"
|
|
55309
|
+
])
|
|
55310
|
+
targets.set(
|
|
55311
|
+
`Sources/One/${import_node_path88.default.basename(source)}`,
|
|
55312
|
+
import_node_fs89.default.readFileSync(import_node_path88.default.join(one, "ios", source), "utf8")
|
|
55313
|
+
);
|
|
55314
|
+
for (const name3 of generated.files)
|
|
55315
|
+
targets.set(
|
|
55316
|
+
`Sources/OneSDKBindings/${name3}`,
|
|
55317
|
+
import_node_fs89.default.readFileSync(import_node_path88.default.join(sourceRoot, name3), "utf8")
|
|
55318
|
+
);
|
|
55319
|
+
return {
|
|
55320
|
+
targets,
|
|
55321
|
+
entry: /* @__PURE__ */ new Map([
|
|
55322
|
+
["OneSDKHost.swift", oneSDKHost],
|
|
55323
|
+
["OneSDKTransport.swift", oneSDKTransport]
|
|
55324
|
+
]),
|
|
55325
|
+
modules: frameworks.map((name3) => `${name3}_${generated.generation}`)
|
|
55326
|
+
};
|
|
55327
|
+
}
|
|
55328
|
+
async function appOneSDKLinkSources(appRoot) {
|
|
55329
|
+
if (!await selectOneSDK(appRoot)) return null;
|
|
55330
|
+
return oneSDKLinkSources(appRoot, (await prepareExpoNativeProject(appRoot)).app);
|
|
55331
|
+
}
|
|
55332
|
+
async function compilePreparedOneSDKApp(appRoot, preparedRoot, origin, moduleRootOverride) {
|
|
55333
|
+
const sources = await oneSDKLinkSources(appRoot, preparedRoot);
|
|
55289
55334
|
const moduleRoot = moduleRootOverride ?? (await resolveSwiftModule()).root;
|
|
55290
55335
|
const packagePath = import_node_path88.default.join(
|
|
55291
55336
|
swiftCacheDir(),
|
|
@@ -55305,25 +55350,9 @@ let package = Package(name: "OneSDKGuest", targets: [
|
|
|
55305
55350
|
])
|
|
55306
55351
|
`
|
|
55307
55352
|
);
|
|
55308
|
-
files2.set(
|
|
55309
|
-
for (const source of
|
|
55310
|
-
"SDK/OneSDKRuntime.swift",
|
|
55311
|
-
"OneNativeUIKitHostView.swift",
|
|
55312
|
-
"OneNativeContent.swift",
|
|
55313
|
-
"OneNativeAccessibility.swift",
|
|
55314
|
-
"SDKViews/OneNativeViewsTable.swift"
|
|
55315
|
-
])
|
|
55316
|
-
files2.set(
|
|
55317
|
-
`Sources/One/${import_node_path88.default.basename(source)}`,
|
|
55318
|
-
import_node_fs89.default.readFileSync(import_node_path88.default.join(one, "ios", source), "utf8")
|
|
55319
|
-
);
|
|
55320
|
-
for (const name3 of generated.files)
|
|
55321
|
-
files2.set(
|
|
55322
|
-
`Sources/OneSDKBindings/${name3}`,
|
|
55323
|
-
import_node_fs89.default.readFileSync(import_node_path88.default.join(sourceRoot, name3), "utf8")
|
|
55324
|
-
);
|
|
55353
|
+
for (const [name3, source] of sources.targets) files2.set(name3, source);
|
|
55354
|
+
for (const [name3, source] of sources.entry) files2.set(`Sources/App/${name3}`, source);
|
|
55325
55355
|
files2.set("Sources/App/App.swift", oneSDKApp);
|
|
55326
|
-
files2.set("Sources/App/Transport.swift", oneSDKTransport);
|
|
55327
55356
|
import_node_fs89.default.mkdirSync(packagePath, { recursive: true });
|
|
55328
55357
|
syncSwiftTree(
|
|
55329
55358
|
packagePath,
|
|
@@ -55339,7 +55368,7 @@ let package = Package(name: "OneSDKGuest", targets: [
|
|
|
55339
55368
|
icuUrl: icuUrl(origin, artifact),
|
|
55340
55369
|
rootId: `one-sdk-${artifact.hash.slice(0, 16)}`,
|
|
55341
55370
|
bundleFiles: artifact.package.bundleFiles.files,
|
|
55342
|
-
modules:
|
|
55371
|
+
modules: sources.modules
|
|
55343
55372
|
};
|
|
55344
55373
|
return { metadata, artifact };
|
|
55345
55374
|
}
|
|
@@ -55894,7 +55923,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
55894
55923
|
|
|
55895
55924
|
// src/expo-native-prebuilt.ts
|
|
55896
55925
|
function expoNativeCompilerDigestValue() {
|
|
55897
|
-
return true ? "
|
|
55926
|
+
return true ? "2799fbdcc514ac59227047679bf5780658834c45f46965b7b41455f6453d53e2" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
55898
55927
|
}
|
|
55899
55928
|
function readSources(value) {
|
|
55900
55929
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -58280,7 +58309,15 @@ function targetSettings2(units) {
|
|
|
58280
58309
|
}
|
|
58281
58310
|
return settings;
|
|
58282
58311
|
}
|
|
58283
|
-
function
|
|
58312
|
+
function oneSDKStamp(oneSDK) {
|
|
58313
|
+
if (!oneSDK) return "";
|
|
58314
|
+
const hash = (0, import_node_crypto50.createHash)("sha256");
|
|
58315
|
+
for (const files2 of [oneSDK.targets, oneSDK.entry])
|
|
58316
|
+
for (const [name3, source] of [...files2].sort(([a], [b]) => a.localeCompare(b)))
|
|
58317
|
+
hash.update(`${name3}\0${source}\0`);
|
|
58318
|
+
return hash.digest("hex");
|
|
58319
|
+
}
|
|
58320
|
+
function expoEntry(units, oneSDK = false) {
|
|
58284
58321
|
const namespaces = [...new Set(units.map((unit2) => unit2.namespace))].filter((namespace) => namespace !== "PeachExpoApp").filter(
|
|
58285
58322
|
(namespace) => units.some(
|
|
58286
58323
|
(unit2) => Object.keys(unit2.files).some((file) => file.startsWith(`Sources/${namespace}/`))
|
|
@@ -58290,13 +58327,14 @@ function expoEntry(units) {
|
|
|
58290
58327
|
const subscribers = units.flatMap((unit2) => unit2.appDelegateSubscribers);
|
|
58291
58328
|
const handlers = units.flatMap((unit2) => unit2.reactDelegateHandlers);
|
|
58292
58329
|
const delegates = subscribers.length + handlers.length > 0 ? `; PeachExpoRuntime.registerDelegates(subscribers: [${subscribers.join(", ")}], handlers: [${handlers.join(", ")}])` : "";
|
|
58330
|
+
const view = oneSDK ? '@ViewBuilder func view(props: JSON) -> some View {\n if props["oneSDKHost"] != nil { OneSDKUIKitHost(props: props) } else { PeachExpoNativeView(props: props) }\n }' : "func view(props: JSON) -> PeachExpoNativeView { PeachExpoNativeView(props: props) }";
|
|
58293
58331
|
return `import SwiftUI
|
|
58294
58332
|
internal import ExpoModulesCore
|
|
58295
|
-
${bridgeModules.length ? "import React\n" : ""}${namespaces.map((namespace) => `import ${namespace}`).join("\n")}
|
|
58333
|
+
${bridgeModules.length ? "import React\n" : ""}${oneSDK ? "import One\nimport OneSDKBindings\n" : ""}${namespaces.map((namespace) => `import ${namespace}`).join("\n")}
|
|
58296
58334
|
|
|
58297
58335
|
@main struct PeachExpoApp: PeachPackage {
|
|
58298
58336
|
init() { MainActor.assumeIsolated { PeachExpoRuntime.register([${units.flatMap((unit2) => unit2.classes).join(", ")}])${delegates}${bridgeModules.length ? `; RCTModuleHost.register([${bridgeModules.join(", ")}])` : ""} } }
|
|
58299
|
-
|
|
58337
|
+
${view}
|
|
58300
58338
|
}
|
|
58301
58339
|
|
|
58302
58340
|
@_expose(wasm, "peach_expo_call")
|
|
@@ -58388,7 +58426,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact, options = {}
|
|
|
58388
58426
|
installSwiftInputTrace();
|
|
58389
58427
|
let key2;
|
|
58390
58428
|
try {
|
|
58391
|
-
key2 = `${await discoveryKey(root, options.installedWorkspace, true, options.iosTarget, options.moduleRoot)}\0${options.only?.join(",") ?? ""}`;
|
|
58429
|
+
key2 = `${await discoveryKey(root, options.installedWorkspace, true, options.iosTarget, options.moduleRoot)}\0${options.only?.join(",") ?? ""}\0${oneSDKStamp(options.oneSDK)}`;
|
|
58392
58430
|
} catch {
|
|
58393
58431
|
return compileExpoSwiftModulesTraced(root, base, publishArtifact, options);
|
|
58394
58432
|
}
|
|
@@ -58425,11 +58463,23 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
58425
58463
|
throw new Error(`conflicting Expo Swift binary source ${name3}`);
|
|
58426
58464
|
files2[name3] = source;
|
|
58427
58465
|
}
|
|
58428
|
-
|
|
58466
|
+
const settings = targetSettings2(linked2);
|
|
58467
|
+
if (options.oneSDK) {
|
|
58468
|
+
for (const [name3, source] of options.oneSDK.targets) files2[name3] = source;
|
|
58469
|
+
for (const [name3, source] of options.oneSDK.entry)
|
|
58470
|
+
files2[`Sources/PeachExpoApp/${name3}`] = source;
|
|
58471
|
+
settings.set("OneSDKBindings", {
|
|
58472
|
+
languageMode: 5,
|
|
58473
|
+
mainActorIsolation: false,
|
|
58474
|
+
swiftFlags: ["-suppress-warnings"],
|
|
58475
|
+
dependencies: [{ kind: "target", name: "One" }]
|
|
58476
|
+
});
|
|
58477
|
+
}
|
|
58478
|
+
files2[EXPO_SWIFT_ENTRY] = expoEntry(linked2, options.oneSDK !== void 0);
|
|
58429
58479
|
files2["Package.swift"] = expoManifest(
|
|
58430
58480
|
files2,
|
|
58431
58481
|
linked2.map((unit2) => generations.get(unit2) ?? "").join(","),
|
|
58432
|
-
|
|
58482
|
+
settings
|
|
58433
58483
|
);
|
|
58434
58484
|
const provider = linked2.some((unit2) => unit2.reactNativeProvider) ? reactProvider : void 0;
|
|
58435
58485
|
if (provider) {
|
|
@@ -58790,7 +58840,11 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
58790
58840
|
stamps.set(unit2, stamp);
|
|
58791
58841
|
candidates.push(unit2);
|
|
58792
58842
|
}
|
|
58793
|
-
const preparedKey = expoSwiftPreparedKey(
|
|
58843
|
+
const preparedKey = expoSwiftPreparedKey(
|
|
58844
|
+
base,
|
|
58845
|
+
units,
|
|
58846
|
+
reactProviderStamp + oneSDKStamp(options.oneSDK)
|
|
58847
|
+
);
|
|
58794
58848
|
if (!publishArtifact) {
|
|
58795
58849
|
const prepared = preparedExpoSwift.get(preparedKey);
|
|
58796
58850
|
if (prepared) {
|
|
@@ -59046,7 +59100,7 @@ var expo_swift_bundle_exports = {};
|
|
|
59046
59100
|
__export(expo_swift_bundle_exports, {
|
|
59047
59101
|
buildExpoSwiftBundle: () => buildExpoSwiftBundle
|
|
59048
59102
|
});
|
|
59049
|
-
async function buildExpoSwiftBundle(appRoot) {
|
|
59103
|
+
async function buildExpoSwiftBundle(appRoot, oneSDK) {
|
|
59050
59104
|
const assets2 = [];
|
|
59051
59105
|
const metadata = await compileExpoSwiftModules(
|
|
59052
59106
|
appRoot,
|
|
@@ -59059,7 +59113,8 @@ async function buildExpoSwiftBundle(appRoot) {
|
|
|
59059
59113
|
contentType: "application/wasm"
|
|
59060
59114
|
});
|
|
59061
59115
|
if ("gzip" in artifact.icu) assets2.push(await swiftIcuBundleAsset(artifact.icu));
|
|
59062
|
-
}
|
|
59116
|
+
},
|
|
59117
|
+
{ oneSDK }
|
|
59063
59118
|
);
|
|
59064
59119
|
if (!metadata) return null;
|
|
59065
59120
|
return { metadata, assets: assets2 };
|
|
@@ -65761,13 +65816,29 @@ function getRuntimePlatformAdapter(platform2) {
|
|
|
65761
65816
|
// src/native-bundles.ts
|
|
65762
65817
|
async function buildNativeBundles(projectRoot, platform2, configuration) {
|
|
65763
65818
|
return getRuntimePlatformAdapter(platform2).select({
|
|
65764
|
-
ios: async () =>
|
|
65765
|
-
|
|
65766
|
-
|
|
65767
|
-
|
|
65768
|
-
|
|
65769
|
-
|
|
65770
|
-
|
|
65819
|
+
ios: async () => {
|
|
65820
|
+
const { appOneSDKLinkSources: appOneSDKLinkSources2, buildOneSDKBundle: buildOneSDKBundle2 } = await Promise.resolve().then(() => (init_one_sdk_bundle(), one_sdk_bundle_exports));
|
|
65821
|
+
const oneSDK = await appOneSDKLinkSources2(projectRoot);
|
|
65822
|
+
const expoSwift = await (await Promise.resolve().then(() => (init_expo_swift_bundle(), expo_swift_bundle_exports))).buildExpoSwiftBundle(projectRoot, oneSDK ?? void 0);
|
|
65823
|
+
const linked = oneSDK && expoSwift?.metadata.modules[0];
|
|
65824
|
+
return {
|
|
65825
|
+
oneSDK: linked ? {
|
|
65826
|
+
metadata: {
|
|
65827
|
+
url: linked.url,
|
|
65828
|
+
hash: linked.hash,
|
|
65829
|
+
icuUrl: linked.icuUrl,
|
|
65830
|
+
rootId: `${linked.rootId.split("/")[0]}/OneSDK`,
|
|
65831
|
+
bundleFiles: linked.bundleFiles ?? {},
|
|
65832
|
+
modules: oneSDK.modules
|
|
65833
|
+
},
|
|
65834
|
+
assets: []
|
|
65835
|
+
} : await buildOneSDKBundle2(projectRoot),
|
|
65836
|
+
expoSwift,
|
|
65837
|
+
nitro: await (await Promise.resolve().then(() => (init_nitro_bundle(), nitro_bundle_exports))).buildNitroBundle(projectRoot, configuration),
|
|
65838
|
+
turbo: await (await Promise.resolve().then(() => (init_turbo_bundle(), turbo_bundle_exports))).buildTurboBundle(projectRoot),
|
|
65839
|
+
expoKotlin: null
|
|
65840
|
+
};
|
|
65841
|
+
},
|
|
65771
65842
|
android: async () => ({
|
|
65772
65843
|
oneSDK: null,
|
|
65773
65844
|
expoSwift: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2182 | (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.2182 | (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.2182 | (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;
|