peachsim 0.1.2172 → 0.1.2173
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 +17 -9
- 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 +3 -3
- 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 +9 -7
- 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 +9 -7
- 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/one-sdk-bundle.ts +3 -3
- package/src/turbo-bundle.ts +14 -1
- package/src/turbo-compile.ts +5 -0
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2173 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2173 | (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;
|
|
@@ -64879,7 +64879,7 @@ var init_package_tree_digest = __esm({
|
|
|
64879
64879
|
|
|
64880
64880
|
// src/expo-native-prebuilt.ts
|
|
64881
64881
|
function expoNativeCompilerDigestValue() {
|
|
64882
|
-
return true ? "
|
|
64882
|
+
return true ? "57621e9ceaf8c76e83e182d371d61c8a93fb3027fae4ba71381d28654629e908" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64883
64883
|
}
|
|
64884
64884
|
function readSources(value) {
|
|
64885
64885
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -71148,7 +71148,7 @@ var init_react_native_core = __esm({
|
|
|
71148
71148
|
init_swift_distribution();
|
|
71149
71149
|
init_swift_package();
|
|
71150
71150
|
init_swiftContract();
|
|
71151
|
-
recipe = true ? "
|
|
71151
|
+
recipe = true ? "473c322e6531b81d6b30435f4179025f3c64faa89f8b8c0df107c24d2ec14e74" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
71152
71152
|
strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
71153
71153
|
}
|
|
71154
71154
|
});
|
|
@@ -84808,8 +84808,8 @@ public func peachOneSDK(_ pointer: UnsafePointer<UInt8>, _ length: Int32) -> Uns
|
|
|
84808
84808
|
async function compileOneSDKApp(appRoot, origin, moduleRootOverride) {
|
|
84809
84809
|
const selected = await selectOneSDK(appRoot);
|
|
84810
84810
|
if (!selected) return null;
|
|
84811
|
-
const
|
|
84812
|
-
return compilePreparedOneSDKApp(appRoot,
|
|
84811
|
+
const prepared = await prepareExpoNativeProject(appRoot);
|
|
84812
|
+
return compilePreparedOneSDKApp(appRoot, prepared.app, origin, moduleRootOverride);
|
|
84813
84813
|
}
|
|
84814
84814
|
async function compilePreparedOneSDKApp(appRoot, preparedRoot, origin, moduleRootOverride) {
|
|
84815
84815
|
const selected = await selectOneSDK(appRoot);
|
|
@@ -85325,6 +85325,7 @@ async function compileTurboModule(options) {
|
|
|
85325
85325
|
throw new Error(
|
|
85326
85326
|
`TurboModule compilation needs the app's Xcode project to declare an iOS deployment target: ${options.projectRoot}`
|
|
85327
85327
|
);
|
|
85328
|
+
await options.prepareReactNativeCore?.(collection.coreMode, options.moduleRoot);
|
|
85328
85329
|
linkReactNativeCore(
|
|
85329
85330
|
collection,
|
|
85330
85331
|
prebuiltReactNativeCore(
|
|
@@ -85410,7 +85411,7 @@ async function compiledTurboProviders(appRoot, projectRoot, iosTarget) {
|
|
|
85410
85411
|
answered
|
|
85411
85412
|
);
|
|
85412
85413
|
}
|
|
85413
|
-
async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget) {
|
|
85414
|
+
async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget, prepareReactNativeCore) {
|
|
85414
85415
|
const prebuilt = moduleRoot ? null : await prebuiltExpoNative(appRoot, iosTarget);
|
|
85415
85416
|
if (prebuilt) return prebuilt.turbo && { metadata: prebuilt.turbo, artifact: null };
|
|
85416
85417
|
const providers = await compiledTurboProviders(appRoot, void 0, iosTarget);
|
|
@@ -85449,7 +85450,8 @@ async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget) {
|
|
|
85449
85450
|
moduleRoot: module2,
|
|
85450
85451
|
projectRoot,
|
|
85451
85452
|
iosTarget,
|
|
85452
|
-
installedPods: installed2?.pods
|
|
85453
|
+
installedPods: installed2?.pods,
|
|
85454
|
+
prepareReactNativeCore
|
|
85453
85455
|
});
|
|
85454
85456
|
return {
|
|
85455
85457
|
artifact,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2173 | (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.2173 | (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.2173 | (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.2173 | (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.2173 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2173 | (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/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2173 | (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.2173 | (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/package.json
CHANGED
package/src/one-sdk-bundle.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createHash } from 'node:crypto'
|
|
2
2
|
import fs from 'node:fs'
|
|
3
3
|
import path from 'node:path'
|
|
4
|
-
import {
|
|
4
|
+
import { prepareExpoNativeProject } from './expo-native-workspace'
|
|
5
5
|
import { compiledModuleAssets, compiledModuleRequestHandler } from './nitro-bundle'
|
|
6
6
|
import { selectOneSDK } from './one-sdk-preparation'
|
|
7
7
|
import { oneSDKApp, oneSDKModule, oneSDKTransport } from './one-sdk/source'
|
|
@@ -20,8 +20,8 @@ export async function compileOneSDKApp(
|
|
|
20
20
|
) {
|
|
21
21
|
const selected = await selectOneSDK(appRoot)
|
|
22
22
|
if (!selected) return null
|
|
23
|
-
const
|
|
24
|
-
return compilePreparedOneSDKApp(appRoot,
|
|
23
|
+
const prepared = await prepareExpoNativeProject(appRoot)
|
|
24
|
+
return compilePreparedOneSDKApp(appRoot, prepared.app, origin, moduleRootOverride)
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export async function compilePreparedOneSDKApp(
|
package/src/turbo-bundle.ts
CHANGED
|
@@ -49,6 +49,9 @@ export async function compileTurboApp(
|
|
|
49
49
|
origin: string,
|
|
50
50
|
moduleRoot?: string,
|
|
51
51
|
iosTarget?: string,
|
|
52
|
+
prepareReactNativeCore?: Parameters<
|
|
53
|
+
typeof compileTurboModule
|
|
54
|
+
>[0]['prepareReactNativeCore'],
|
|
52
55
|
): Promise<{ metadata: TurboCompiledModule; artifact: SwiftArtifact | null } | null> {
|
|
53
56
|
// a standard Expo app's published build needs no prepared workspace
|
|
54
57
|
const prebuilt = moduleRoot ? null : await prebuiltExpoNative(appRoot, iosTarget)
|
|
@@ -101,6 +104,7 @@ export async function compileTurboApp(
|
|
|
101
104
|
projectRoot,
|
|
102
105
|
iosTarget,
|
|
103
106
|
installedPods: installed?.pods,
|
|
107
|
+
prepareReactNativeCore,
|
|
104
108
|
})
|
|
105
109
|
return {
|
|
106
110
|
artifact,
|
|
@@ -119,8 +123,17 @@ export async function compileTurboApp(
|
|
|
119
123
|
export async function buildTurboBundle(
|
|
120
124
|
appRoot: string,
|
|
121
125
|
moduleRoot?: string,
|
|
126
|
+
prepareReactNativeCore?: Parameters<
|
|
127
|
+
typeof compileTurboModule
|
|
128
|
+
>[0]['prepareReactNativeCore'],
|
|
122
129
|
): Promise<{ metadata: TurboCompiledModule; assets: CompiledModuleAsset[] } | null> {
|
|
123
|
-
const compiled = await compileTurboApp(
|
|
130
|
+
const compiled = await compileTurboApp(
|
|
131
|
+
appRoot,
|
|
132
|
+
'',
|
|
133
|
+
moduleRoot,
|
|
134
|
+
undefined,
|
|
135
|
+
prepareReactNativeCore,
|
|
136
|
+
)
|
|
124
137
|
if (!compiled) return null
|
|
125
138
|
return {
|
|
126
139
|
metadata: compiled.metadata,
|
package/src/turbo-compile.ts
CHANGED
|
@@ -211,6 +211,10 @@ export async function compileTurboModule(options: {
|
|
|
211
211
|
moduleRoot: string
|
|
212
212
|
projectRoot: string
|
|
213
213
|
iosTarget?: string
|
|
214
|
+
prepareReactNativeCore?: (
|
|
215
|
+
mode: TurboSourceCollection['coreMode'],
|
|
216
|
+
moduleRoot: string,
|
|
217
|
+
) => Promise<void>
|
|
214
218
|
/** the installed workspace's pods; without them the podspecs' literal source membership applies. */
|
|
215
219
|
installedPods?: ReadonlyMap<string, TurboInstalledPod>
|
|
216
220
|
}): Promise<{ artifact: SwiftArtifact; collection: TurboSourceCollection }> {
|
|
@@ -409,6 +413,7 @@ export async function compileTurboModule(options: {
|
|
|
409
413
|
throw new Error(
|
|
410
414
|
`TurboModule compilation needs the app's Xcode project to declare an iOS deployment target: ${options.projectRoot}`,
|
|
411
415
|
)
|
|
416
|
+
await options.prepareReactNativeCore?.(collection.coreMode, options.moduleRoot)
|
|
412
417
|
linkReactNativeCore(
|
|
413
418
|
collection,
|
|
414
419
|
prebuiltReactNativeCore(
|