peachsim 0.1.1990 → 0.1.1992
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/app-catalog.ts +24 -8
- package/cli/commands/package.ts +1 -20
- package/cli/commands/shell-url.ts +16 -18
- 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 +1265 -1264
- 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 +939 -938
- 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 +1392 -1391
- 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 +7 -6
- 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 +56 -56
- 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 +1757 -1749
- package/dist-lib/swift-compile.cjs +242 -244
- package/dist-lib/swift-compile.mjs +58 -60
- 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 +734 -736
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +5 -0
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +14 -7
- package/src/nitro-adapter.lock.json +242 -242
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +23 -60
- package/src/turbo-runtime.lock.json +18 -18
- package/src/wasm-optimize.ts +17 -21
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1992 | (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.1992 | (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;
|
|
@@ -22,7 +22,7 @@ export declare function getBlurMaskFilter(ck: CanvasKit, sigma: number): ReturnT
|
|
|
22
22
|
export declare function setPaintContinuationRenderCallback(cb: ((node: SootSimNode) => void) | null): void;
|
|
23
23
|
export declare function glassTakesAnimatedParameters(node: SootSimNode): boolean;
|
|
24
24
|
export declare function glassFoldsIntoPeers(node: SootSimNode): boolean;
|
|
25
|
-
export declare function prewarmPaintBoundaries(root: SootSimNode, ctx: RenderContext, budgetMs: number, realizeInto?: Surface | null, reach?: PrewarmReach, requireProgress?: boolean, paintedNodeIds?: ReadonlySet<number
|
|
25
|
+
export declare function prewarmPaintBoundaries(root: SootSimNode, ctx: RenderContext, budgetMs: number, realizeInto?: Surface | null, reach?: PrewarmReach, requireProgress?: boolean, paintedNodeIds?: ReadonlySet<number>, discoveryRoots?: readonly SootSimNode[]): {
|
|
26
26
|
records: number;
|
|
27
27
|
nodesCompleted: number;
|
|
28
28
|
rasterPromotions: number;
|
|
@@ -404,6 +404,8 @@ export interface SceneLaneProgram {
|
|
|
404
404
|
readonly glassIndexes: Readonly<Record<string, number>>;
|
|
405
405
|
readonly glassRectIndexes: Readonly<Record<string, number>>;
|
|
406
406
|
readonly glassOpacityIndex: number;
|
|
407
|
+
readonly sdfDisplacementIndexes: Readonly<Record<string, number>>;
|
|
408
|
+
readonly liquidGlassSdfIndexes: Readonly<Record<string, number>>;
|
|
407
409
|
}
|
|
408
410
|
export declare function compileSceneLaneProgram(template: Record<string, unknown>, slotIds: readonly number[], foldedGlassKeys?: readonly string[]): SceneLaneProgram | string;
|
|
409
411
|
export declare const sceneTable: SceneTable;
|
|
@@ -658,6 +658,11 @@ export interface PrewarmPass {
|
|
|
658
658
|
realizeRasterBlits: number;
|
|
659
659
|
reach: PrewarmReach;
|
|
660
660
|
paintedNodeIds?: ReadonlySet<number>;
|
|
661
|
+
discovery?: {
|
|
662
|
+
roots: ReadonlySet<number>;
|
|
663
|
+
ancestors: ReadonlySet<number>;
|
|
664
|
+
depth: number;
|
|
665
|
+
};
|
|
661
666
|
}
|
|
662
667
|
export interface PrewarmHeld {
|
|
663
668
|
revision: number;
|
package/package.json
CHANGED
|
@@ -890,12 +890,21 @@ type NativeExecute = (
|
|
|
890
890
|
env?: Record<string, string>,
|
|
891
891
|
) => Promise<void>
|
|
892
892
|
|
|
893
|
+
type NativeProjectManifest = {
|
|
894
|
+
dependencies?: Record<string, unknown>
|
|
895
|
+
devDependencies?: Record<string, unknown>
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export function declaresNativeDependency(manifest: NativeProjectManifest, name: string) {
|
|
899
|
+
return (
|
|
900
|
+
Object.hasOwn(manifest.dependencies ?? {}, name) ||
|
|
901
|
+
Object.hasOwn(manifest.devDependencies ?? {}, name)
|
|
902
|
+
)
|
|
903
|
+
}
|
|
904
|
+
|
|
893
905
|
async function prepareNativeProject(
|
|
894
906
|
app: string,
|
|
895
|
-
manifest:
|
|
896
|
-
dependencies?: Record<string, unknown>
|
|
897
|
-
devDependencies?: Record<string, unknown>
|
|
898
|
-
},
|
|
907
|
+
manifest: NativeProjectManifest,
|
|
899
908
|
stage: 'project' | 'workspace',
|
|
900
909
|
execute: NativeExecute,
|
|
901
910
|
run: NativeRun,
|
|
@@ -905,9 +914,7 @@ async function prepareNativeProject(
|
|
|
905
914
|
// peach runs the new architecture only, and pods such as
|
|
906
915
|
// react-native-paste-input refuse to evaluate without it
|
|
907
916
|
const sourcePodEnv = { EXPO_USE_PRECOMPILED_MODULES: '0', RCT_NEW_ARCH_ENABLED: '1' }
|
|
908
|
-
const declares = (name: string) =>
|
|
909
|
-
Object.hasOwn(manifest.dependencies ?? {}, name) ||
|
|
910
|
-
Object.hasOwn(manifest.devDependencies ?? {}, name)
|
|
917
|
+
const declares = (name: string) => declaresNativeDependency(manifest, name)
|
|
911
918
|
if (!fs.existsSync(path.join(app, 'ios', 'Podfile'))) {
|
|
912
919
|
if (!declares('expo') && !declares('one'))
|
|
913
920
|
throw new Error(
|