peachsim 0.1.2200 → 0.1.2203
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 +10 -10
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +5 -5
- 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 +10 -10
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -4
- 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 -4
- 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 -4
- 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 +13 -13
- 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 +3 -3
- package/dist-lib/vite.cjs +3 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +2 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/native-prebuilt.ts +1 -1
- package/src/turbo-compile.ts +4 -3
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2203 | (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;
|
|
@@ -30649,7 +30649,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
30649
30649
|
return hash.digest("hex");
|
|
30650
30650
|
}
|
|
30651
30651
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
30652
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
30652
|
+
var STANDIN_SOURCE_DIGEST = true ? "fc51a249ab5b00720eab27b7d9e4945936878069347a86180f9c5efd7f063012" : standinSourceDigest();
|
|
30653
30653
|
|
|
30654
30654
|
// src/swift-standins.ts
|
|
30655
30655
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -30739,7 +30739,7 @@ function installNativeEntry(kind, name3, key2, source) {
|
|
|
30739
30739
|
`native prebuilt ${kind}/${name3}/${key2}: ${file.path} does not match its descriptor`
|
|
30740
30740
|
);
|
|
30741
30741
|
}
|
|
30742
|
-
const dir =
|
|
30742
|
+
const dir = nativeEntryCache(kind, name3, key2);
|
|
30743
30743
|
import_node_fs42.default.mkdirSync(import_node_path43.default.dirname(dir), { recursive: true });
|
|
30744
30744
|
const staging = `${dir}.${process.pid}.partial`;
|
|
30745
30745
|
import_node_fs42.default.rmSync(staging, { recursive: true, force: true });
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2203 | (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;
|
|
@@ -1416,7 +1416,7 @@ function isValidRuntimeVersion(value) {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
1418
|
// runtime-companion.json
|
|
1419
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
1419
|
+
var runtime_companion_default = { abi: 1, sha256: "0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480", file: "node/cli-0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480.cjs" };
|
|
1420
1420
|
|
|
1421
1421
|
// src/answeredNativePackages.ts
|
|
1422
1422
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1909,7 +1909,7 @@ function readIosSdkTree(root) {
|
|
|
1909
1909
|
|
|
1910
1910
|
// src/swift-standin-digest.ts
|
|
1911
1911
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1912
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
1912
|
+
var STANDIN_SOURCE_DIGEST = true ? "fc51a249ab5b00720eab27b7d9e4945936878069347a86180f9c5efd7f063012" : standinSourceDigest();
|
|
1913
1913
|
|
|
1914
1914
|
// src/expo-native-workspace.ts
|
|
1915
1915
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -7809,7 +7809,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
7809
7809
|
"scandit-react-native-datacapture-barcode",
|
|
7810
7810
|
"scandit-react-native-datacapture-core",
|
|
7811
7811
|
"sp-react-native-in-app-updates",
|
|
7812
|
-
"stream-chat-react-native",
|
|
7813
7812
|
"voltra"
|
|
7814
7813
|
];
|
|
7815
7814
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2203 | (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;
|
|
@@ -10,6 +10,8 @@ export interface NativeLayoutExports {
|
|
|
10
10
|
_peach_layout_apply(slot: number): void;
|
|
11
11
|
_peach_layout_attach(parent: number, child: number, index: number): void;
|
|
12
12
|
_peach_layout_detach(parent: number, child: number): void;
|
|
13
|
+
_peach_layout_split_hide(slot: number): void;
|
|
14
|
+
_peach_layout_split_show(slot: number): void;
|
|
13
15
|
_peach_layout_owner(slot: number): number;
|
|
14
16
|
_peach_layout_child_count(slot: number): number;
|
|
15
17
|
_peach_layout_mark_dirty(slot: number): void;
|
|
@@ -16,6 +16,12 @@ export interface ScrollDragOrigin {
|
|
|
16
16
|
export declare function scrollDragAdmission(platform: string | undefined, primaryDelta: number, crossDelta: number): 'pending' | 'reject' | 'begin';
|
|
17
17
|
export declare function scrollDragDelta(platform: string | undefined, pointerDelta: number, slop: number, beganDrag: boolean): number;
|
|
18
18
|
export declare function scrollDragMatchesAxis(platform: string | undefined, primaryDelta: number, crossDelta: number): boolean;
|
|
19
|
+
export declare function bouncesAlongAxis(opts: {
|
|
20
|
+
props: Record<string, unknown> | null | undefined;
|
|
21
|
+
horizontal: boolean;
|
|
22
|
+
contentSize: number;
|
|
23
|
+
viewportSize: number;
|
|
24
|
+
}): boolean;
|
|
19
25
|
export declare function allowsRubberBandScroll(opts: {
|
|
20
26
|
platform?: string;
|
|
21
27
|
bounces?: unknown;
|
|
@@ -461,6 +461,7 @@ export interface SootSimStyle {
|
|
|
461
461
|
_androidTextView?: true;
|
|
462
462
|
_androidTextSize?: 'dimension' | 'sp';
|
|
463
463
|
_swiftUILayout?: boolean;
|
|
464
|
+
_swiftUIFrame?: true;
|
|
464
465
|
_pixelSnapped?: true;
|
|
465
466
|
_swiftUIVerticalGuide?: 'firstTextLineCenter' | 'firstTextBaseline' | 'lastTextBaseline';
|
|
466
467
|
_swiftUIPlatformView?: true;
|
|
@@ -58,6 +58,7 @@ export declare function invalidateLayoutHook(target: unknown): void;
|
|
|
58
58
|
export declare function placeFromLayoutHook(target: unknown, placement: LayoutHookPlacement | null): void;
|
|
59
59
|
export declare function layoutHookFrame(target: unknown): SootSimLayout | null;
|
|
60
60
|
export declare function releaseYogaRoot(root: SootSimNode): void;
|
|
61
|
-
export declare function
|
|
61
|
+
export declare function nestsInParkedYogaTree(root: SootSimNode, owner: SootSimNode): boolean;
|
|
62
|
+
export declare function parkYogaRoot(root: SootSimNode): boolean;
|
|
62
63
|
export declare function freeYogaTree(node: SootSimNode, seen?: Set<SootSimNode>): void;
|
|
63
64
|
export declare function measureText(text: string, sourceStyle: SootSimStyle, maxWidth: number, ctx: MeasureContext, props?: Record<string, any>, node?: SootSimNode, includeInk?: boolean): MeasuredTextResult;
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480","file":"node/cli-0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480.cjs"}
|
package/src/native-prebuilt.ts
CHANGED
|
@@ -170,7 +170,7 @@ export function installNativeEntry(
|
|
|
170
170
|
`native prebuilt ${kind}/${name}/${key}: ${file.path} does not match its descriptor`,
|
|
171
171
|
)
|
|
172
172
|
}
|
|
173
|
-
const dir =
|
|
173
|
+
const dir = nativeEntryCache(kind, name, key)
|
|
174
174
|
fs.mkdirSync(path.dirname(dir), { recursive: true })
|
|
175
175
|
const staging = `${dir}.${process.pid}.partial`
|
|
176
176
|
fs.rmSync(staging, { recursive: true, force: true })
|
package/src/turbo-compile.ts
CHANGED
|
@@ -225,13 +225,14 @@ export async function compileTurboModule(options: {
|
|
|
225
225
|
.update(fs.realpathSync(options.moduleRoot))
|
|
226
226
|
.digest('hex')
|
|
227
227
|
const scratch = path.join(os.tmpdir(), 'peach-turbo-swift', key)
|
|
228
|
-
// the codegen intake writes only into a new or empty directory
|
|
229
|
-
fs.
|
|
228
|
+
// the codegen intake writes only into a new or empty directory, and parallel compiles share this scratch key
|
|
229
|
+
fs.mkdirSync(scratch, { recursive: true })
|
|
230
|
+
const codegenDir = fs.mkdtempSync(path.join(scratch, 'codegen-'))
|
|
230
231
|
const collection = await collectTurboSources({
|
|
231
232
|
appRoot: options.appRoot,
|
|
232
233
|
reactNativeRoot: options.reactNativeRoot,
|
|
233
234
|
providers: options.providers,
|
|
234
|
-
codegenDir
|
|
235
|
+
codegenDir,
|
|
235
236
|
installedPods: options.installedPods,
|
|
236
237
|
projectRoot: options.projectRoot,
|
|
237
238
|
})
|