peachsim 0.1.2674 → 0.1.2675
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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +86 -64
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-7UZN4VYK.mjs → acorn-VEOPTKVF.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-JN5AITFW.mjs → chunk-35JRIGP7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YTLETAHS.mjs → chunk-3Q3LIOE4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-S6FAF3O6.mjs → chunk-5F7IW22G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K6YX77B2.mjs → chunk-5INXUSJ3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-64GNURGG.mjs → chunk-ADOQU6SI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5HLALTZU.mjs → chunk-AJTT2VYL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YTVAFL2C.mjs → chunk-ATBIBLXB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BVXC4YET.mjs → chunk-BJGGCQKA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DDKNMOMP.mjs → chunk-DBPA4NE7.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-TCJINVW7.mjs → chunk-E663VVCN.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-GR6LZLL3.mjs → chunk-FOTVQGKC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OSSY6ZNV.mjs → chunk-FSMKZOTX.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-UQLURJW5.mjs → chunk-GM75SEKY.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-Y3Y67ML7.mjs → chunk-I5Z73FXT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6MQE6NHP.mjs → chunk-IZB357DH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-54JOIACB.mjs → chunk-K234VYDM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JGCL2DFM.mjs → chunk-LCSKGJ7G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ASL76C2M.mjs → chunk-LFD67UJA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OICCOALD.mjs → chunk-MED7BRBB.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-UYNBXPDJ.mjs → chunk-MJBRJSOV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7LVYKI6B.mjs → chunk-NNH7MSKJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GY2LAJOJ.mjs → chunk-SKQE5DWK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UR4364IC.mjs → chunk-YPE76EEE.mjs} +15 -15
- package/dist-lib/esm-chunks/{chunk-PGWO5WJS.mjs → chunk-ZATDP3O2.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-SIV4DJUF.mjs → metro-layout-parser-RYUGORYR.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-U4TO4A5N.mjs → swift-package-prebuilt-M55UCSKN.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-J5OL6AQS.mjs → swift-sdk-app-module-L2HB3XBS.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-CV5NS7AQ.mjs → swift-sdk-image-AHIIWTZ6.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-I4HX7YZO.mjs → swift-sdk-image-producer-4S5ZPC2A.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +56 -39
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +85 -63
- package/dist-lib/host/fetch-proxy-handler.cjs +11 -10
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- 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/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +98 -76
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +4 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h +14 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h +20 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h +71 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/AssetsLibrary.h +5 -0
- package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h +21 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h +24 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h +32 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BackgroundTasks.h +5 -0
- package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h +17 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h +18 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LinkPresentation.h +4 -0
- package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Modules/module.modulemap +5 -0
- package/src/expo-native-workspace.ts +3 -4
- package/src/turbo-source.ts +60 -23
package/dist-lib/esm-chunks/{swift-sdk-app-module-J5OL6AQS.mjs → swift-sdk-app-module-L2HB3XBS.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E663VVCN.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ADDEND_RELOCATIONS,
|
|
11
11
|
KEEP_WASM_NAMES,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
wasmReader,
|
|
34
34
|
wasmSections,
|
|
35
35
|
writeWasmCustomSection
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-YPE76EEE.mjs";
|
|
37
|
+
import "./chunk-3Q3LIOE4.mjs";
|
|
38
|
+
import "./chunk-DBPA4NE7.mjs";
|
|
39
|
+
import "./chunk-FOTVQGKC.mjs";
|
|
40
|
+
import "./chunk-SKQE5DWK.mjs";
|
|
41
|
+
import "./chunk-GM75SEKY.mjs";
|
|
42
42
|
import {
|
|
43
43
|
SWIFT_WASM_TRIPLE
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-5F7IW22G.mjs";
|
|
45
|
+
import "./chunk-LCSKGJ7G.mjs";
|
|
46
|
+
import "./chunk-LFD67UJA.mjs";
|
|
47
|
+
import "./chunk-ATBIBLXB.mjs";
|
|
48
|
+
import "./chunk-AJTT2VYL.mjs";
|
|
49
|
+
import "./chunk-I5Z73FXT.mjs";
|
|
50
|
+
import "./chunk-35JRIGP7.mjs";
|
|
51
|
+
import "./chunk-BJGGCQKA.mjs";
|
|
52
52
|
|
|
53
53
|
// src/swift-sdk-app-module.ts
|
|
54
54
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
swiftSdkImageFile,
|
|
15
15
|
swiftSdkImageKey,
|
|
16
16
|
swiftSdkImageProducts
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-E663VVCN.mjs";
|
|
18
|
+
import "./chunk-YPE76EEE.mjs";
|
|
19
|
+
import "./chunk-3Q3LIOE4.mjs";
|
|
20
|
+
import "./chunk-DBPA4NE7.mjs";
|
|
21
|
+
import "./chunk-FOTVQGKC.mjs";
|
|
22
|
+
import "./chunk-SKQE5DWK.mjs";
|
|
23
|
+
import "./chunk-GM75SEKY.mjs";
|
|
24
|
+
import "./chunk-5F7IW22G.mjs";
|
|
25
|
+
import "./chunk-LCSKGJ7G.mjs";
|
|
26
|
+
import "./chunk-LFD67UJA.mjs";
|
|
27
|
+
import "./chunk-ATBIBLXB.mjs";
|
|
28
|
+
import "./chunk-AJTT2VYL.mjs";
|
|
29
|
+
import "./chunk-I5Z73FXT.mjs";
|
|
30
|
+
import "./chunk-35JRIGP7.mjs";
|
|
31
|
+
import "./chunk-BJGGCQKA.mjs";
|
|
32
32
|
export {
|
|
33
33
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
34
34
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3Q3LIOE4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5F7IW22G.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-35JRIGP7.mjs";
|
|
12
|
+
import "./chunk-BJGGCQKA.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (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;
|
|
@@ -18264,7 +18264,7 @@ var init_react_native_core_digest = __esm({
|
|
|
18264
18264
|
|
|
18265
18265
|
// src/swift-compiler-digest.ts
|
|
18266
18266
|
function swiftArchiveCompilerDigestValue() {
|
|
18267
|
-
return true ? "
|
|
18267
|
+
return true ? "91982cf5fdcc3e5053d8a39c2f18a9928d7cfbd48744cc2d27664c46f06c2321" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
18268
18268
|
}
|
|
18269
18269
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
18270
18270
|
var init_swift_compiler_digest = __esm({
|
|
@@ -18415,7 +18415,7 @@ var init_swift_standin_digest = __esm({
|
|
|
18415
18415
|
|
|
18416
18416
|
// src/expo-native-compiler-digest.ts
|
|
18417
18417
|
function expoNativeCompilerDigestValue() {
|
|
18418
|
-
return true ? "
|
|
18418
|
+
return true ? "56584752089834fe4f58ff1c0a7ed110a3ef77646613a5606d98e02de2d3418d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
18419
18419
|
}
|
|
18420
18420
|
var import_node_crypto18;
|
|
18421
18421
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -48498,7 +48498,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
48498
48498
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
48499
48499
|
MULTI_MANIFEST_VERSION = 76;
|
|
48500
48500
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
48501
|
-
compilerSourceDigest = true ? "
|
|
48501
|
+
compilerSourceDigest = true ? "9514fd3df63e23aff60b29d712c1253d5b24a143e35f726b153690421d62974e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
48502
48502
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
48503
48503
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
48504
48504
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -74171,6 +74171,7 @@ function cleanWorkspaceGitEnv() {
|
|
|
74171
74171
|
}
|
|
74172
74172
|
function reactNativePodsEnvironment() {
|
|
74173
74173
|
return {
|
|
74174
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED,
|
|
74174
74175
|
RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
|
|
74175
74176
|
RCT_USE_RN_DEP: process.env.RCT_USE_RN_DEP
|
|
74176
74177
|
};
|
|
@@ -74387,7 +74388,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
74387
74388
|
{ cwd: root }
|
|
74388
74389
|
);
|
|
74389
74390
|
const toolchain = JSON.stringify({
|
|
74390
|
-
preparation:
|
|
74391
|
+
preparation: 13,
|
|
74391
74392
|
appRelative,
|
|
74392
74393
|
xcode: xcodeInstallationIdentity(),
|
|
74393
74394
|
node: node.stdout.trim(),
|
|
@@ -74856,7 +74857,7 @@ async function prepareNativeProject(app, workspace, manifest, stage, execute, re
|
|
|
74856
74857
|
const sourcePodEnv = {
|
|
74857
74858
|
EXPO_USE_PRECOMPILED_MODULES: "0",
|
|
74858
74859
|
ONE_PREBUILT_IOS: "0",
|
|
74859
|
-
RCT_NEW_ARCH_ENABLED: "1"
|
|
74860
|
+
RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED ?? "1"
|
|
74860
74861
|
};
|
|
74861
74862
|
const declares = (name3) => declaresNativeDependency(manifest, name3);
|
|
74862
74863
|
if (!import_node_fs89.default.existsSync(import_node_path91.default.join(app, "ios", "Podfile"))) {
|
|
@@ -94823,7 +94824,7 @@ function transcribeLoad(text7, file) {
|
|
|
94823
94824
|
throw refuse4("+load sends Objective-C messages");
|
|
94824
94825
|
return { includes, usings, body };
|
|
94825
94826
|
}
|
|
94826
|
-
function viewManagers(root, files2) {
|
|
94827
|
+
function viewManagers(root, files2, inherited) {
|
|
94827
94828
|
const classes = /* @__PURE__ */ new Map();
|
|
94828
94829
|
for (const file of files2) {
|
|
94829
94830
|
if (!HEADER5.test(file) && !OBJC2.test(file)) continue;
|
|
@@ -94835,7 +94836,7 @@ function viewManagers(root, files2) {
|
|
|
94835
94836
|
))
|
|
94836
94837
|
classes.set(name3, parent);
|
|
94837
94838
|
}
|
|
94838
|
-
const managers =
|
|
94839
|
+
const managers = new Set(inherited ?? ["RCTViewManager"]);
|
|
94839
94840
|
for (let remaining = classes.size; remaining > 0; remaining--) {
|
|
94840
94841
|
let changed = false;
|
|
94841
94842
|
for (const [name3, parent] of classes) {
|
|
@@ -94848,9 +94849,15 @@ function viewManagers(root, files2) {
|
|
|
94848
94849
|
}
|
|
94849
94850
|
return managers;
|
|
94850
94851
|
}
|
|
94851
|
-
function
|
|
94852
|
+
function reactNativeViewManagers(root) {
|
|
94853
|
+
const files2 = /* @__PURE__ */ new Set();
|
|
94854
|
+
for (const { from, to } of REACT_NATIVE_HEADER_DIRS)
|
|
94855
|
+
if (to === "React") walkFiles2(root, from, files2);
|
|
94856
|
+
return viewManagers(root, files2);
|
|
94857
|
+
}
|
|
94858
|
+
function paperViewManagers(root, files2, inherited) {
|
|
94852
94859
|
const sources = [...files2];
|
|
94853
|
-
const managers = viewManagers(root, sources);
|
|
94860
|
+
const managers = viewManagers(root, sources, inherited);
|
|
94854
94861
|
const exported = /* @__PURE__ */ new Set();
|
|
94855
94862
|
for (const file of sources) {
|
|
94856
94863
|
if (!OBJC2.test(file)) continue;
|
|
@@ -94867,15 +94874,15 @@ function paperViewManagers(root, files2) {
|
|
|
94867
94874
|
}
|
|
94868
94875
|
return [...exported].sort();
|
|
94869
94876
|
}
|
|
94870
|
-
function registers(root, files2,
|
|
94877
|
+
function registers(root, files2, inherited) {
|
|
94871
94878
|
const sources = [...files2];
|
|
94872
|
-
const managers =
|
|
94879
|
+
const managers = viewManagers(root, sources, inherited);
|
|
94873
94880
|
for (const file of sources) {
|
|
94874
94881
|
if (!UNIT.test(file) && !OBJC2.test(file)) continue;
|
|
94875
94882
|
const text7 = import_node_fs121.default.readFileSync(import_node_path123.default.join(root, file), "utf8");
|
|
94876
94883
|
if (text7.includes(REGISTRATION)) return true;
|
|
94877
94884
|
const stripped2 = stripComments2(text7);
|
|
94878
|
-
if (
|
|
94885
|
+
if (OBJC2.test(file) && !CODEGEN_OBJC.test(text7) && (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2) && ![...stripped2.matchAll(/@implementation\s+(\w+)/g)].some(
|
|
94879
94886
|
([, name3]) => managers.has(name3)
|
|
94880
94887
|
)))
|
|
94881
94888
|
return true;
|
|
@@ -94918,11 +94925,20 @@ async function collectTurboSources(options2) {
|
|
|
94918
94925
|
const reactNative = packageInfo(options2.reactNativeRoot);
|
|
94919
94926
|
if (reactNative.name !== "react-native")
|
|
94920
94927
|
throw new Error(`${options2.reactNativeRoot} is not react-native`);
|
|
94921
|
-
const
|
|
94922
|
-
|
|
94923
|
-
|
|
94924
|
-
|
|
94925
|
-
|
|
94928
|
+
const nativeManagers = reactNativeViewManagers(reactNative.root);
|
|
94929
|
+
const paperWorkspace = process.env.RCT_NEW_ARCH_ENABLED === "0";
|
|
94930
|
+
const rawProviders = options2.providers.map((provider) => {
|
|
94931
|
+
const installed = options2.installedPods?.get(provider.name);
|
|
94932
|
+
const paper = paperWorkspace && installed !== void 0 && !/(?:^| )-D ?RCT_NEW_ARCH_ENABLED(?:=[^ ]+)?(?: |$)/.test(
|
|
94933
|
+
installed.preprocessorFlags.cxx.join(" ")
|
|
94934
|
+
);
|
|
94935
|
+
return {
|
|
94936
|
+
...provider,
|
|
94937
|
+
info: packageInfo(provider.root),
|
|
94938
|
+
libraries: packageCodegenLibraries(provider.root),
|
|
94939
|
+
paper
|
|
94940
|
+
};
|
|
94941
|
+
}).sort((a, b) => a.info.name.localeCompare(b.info.name));
|
|
94926
94942
|
const installedHeaderPods = (options2.reactNativeProvider || options2.reactNativeCore ? [] : await installedTurboHeaderPods(options2.appRoot)).map(
|
|
94927
94943
|
(provider) => readPod(provider, options2.appRoot, options2.installedPods?.get(provider.name))
|
|
94928
94944
|
);
|
|
@@ -94948,7 +94964,7 @@ async function collectTurboSources(options2) {
|
|
|
94948
94964
|
const providers = [];
|
|
94949
94965
|
for (const provider of rawProviders) {
|
|
94950
94966
|
const componentLibraries = provider.libraries.filter((library) => library.components);
|
|
94951
|
-
if (componentLibraries.length === 0) {
|
|
94967
|
+
if (componentLibraries.length === 0 || provider.paper) {
|
|
94952
94968
|
providers.push({ ...provider, providerFabric: false });
|
|
94953
94969
|
continue;
|
|
94954
94970
|
}
|
|
@@ -94983,7 +94999,7 @@ async function collectTurboSources(options2) {
|
|
|
94983
94999
|
const text7 = import_node_fs121.default.readFileSync(import_node_path123.default.join(pod.root, file), "utf8");
|
|
94984
95000
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
94985
95001
|
});
|
|
94986
|
-
if (!registers(pod.root, filteredFiles) && paperViewManagers(pod.root, filteredFiles).length === 0)
|
|
95002
|
+
if (!registers(pod.root, filteredFiles, nativeManagers) && paperViewManagers(pod.root, filteredFiles, nativeManagers).length === 0)
|
|
94987
95003
|
continue;
|
|
94988
95004
|
}
|
|
94989
95005
|
providers.push({ ...provider, providerFabric });
|
|
@@ -94997,13 +95013,12 @@ async function collectTurboSources(options2) {
|
|
|
94997
95013
|
const targetPath = (name3) => `Sources/${name3}`;
|
|
94998
95014
|
const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
|
|
94999
95015
|
const folly = readFollyConfig(reactNative.root);
|
|
95000
|
-
const
|
|
95016
|
+
const baseDefines = [
|
|
95001
95017
|
options2.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
|
|
95002
|
-
"RCT_NEW_ARCH_ENABLED=1",
|
|
95003
|
-
"RCT_REMOVE_LEGACY_ARCH=1",
|
|
95004
95018
|
"RCT_REMOTE_PROFILE=0",
|
|
95005
95019
|
...folly.defines
|
|
95006
95020
|
];
|
|
95021
|
+
const defines = [...baseDefines, "RCT_NEW_ARCH_ENABLED=1", "RCT_REMOVE_LEGACY_ARCH=1"];
|
|
95007
95022
|
const target = (name3, dependencies) => ({
|
|
95008
95023
|
name: name3,
|
|
95009
95024
|
path: targetPath(name3),
|
|
@@ -95514,6 +95529,7 @@ async function collectTurboSources(options2) {
|
|
|
95514
95529
|
options2.appRoot,
|
|
95515
95530
|
options2.installedPods?.get(provider.name)
|
|
95516
95531
|
);
|
|
95532
|
+
if (provider.paper) providerTargetInput.cxxDefines = baseDefines;
|
|
95517
95533
|
if (pod.installed)
|
|
95518
95534
|
providerTargetInput.clangSettings = [
|
|
95519
95535
|
{ tool: "c", flags: pod.installed.preprocessorFlags.c },
|
|
@@ -95535,8 +95551,8 @@ async function collectTurboSources(options2) {
|
|
|
95535
95551
|
const text7 = import_node_fs121.default.readFileSync(import_node_path123.default.join(root, file), "utf8");
|
|
95536
95552
|
return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
|
|
95537
95553
|
});
|
|
95538
|
-
const managers = viewManagers(root, files2);
|
|
95539
|
-
const paper = paperViewManagers(root, files2);
|
|
95554
|
+
const managers = viewManagers(root, files2, nativeManagers);
|
|
95555
|
+
const paper = paperViewManagers(root, files2, nativeManagers);
|
|
95540
95556
|
if (paper.length > 0) {
|
|
95541
95557
|
fabric = true;
|
|
95542
95558
|
paperClasses.push(...paper);
|
|
@@ -95797,7 +95813,7 @@ async function collectTurboSources(options2) {
|
|
|
95797
95813
|
].join("\n")
|
|
95798
95814
|
);
|
|
95799
95815
|
}
|
|
95800
|
-
if (loads.length === 0 && !registers(root, files2) && !provider.providerFabric && paper.length === 0)
|
|
95816
|
+
if (loads.length === 0 && !registers(root, files2, nativeManagers) && !provider.providerFabric && paper.length === 0)
|
|
95801
95817
|
throw new Error(`${label}: its pod sources register no TurboModule`);
|
|
95802
95818
|
objc ||= providerObjC;
|
|
95803
95819
|
const specs = provider.libraries.flatMap(({ spec }) => spec ?? []);
|
|
@@ -97469,7 +97485,7 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
97469
97485
|
// the event type and its payload with the target tag and timestamp
|
|
97470
97486
|
const auto fabricDispatchEvent = [](
|
|
97471
97487
|
jsi::Runtime &rt,
|
|
97472
|
-
react::EventTarget *target,
|
|
97488
|
+
const react::EventTarget *target,
|
|
97473
97489
|
const std::string &type,
|
|
97474
97490
|
react::ReactEventPriority,
|
|
97475
97491
|
const react::EventPayload &eventPayload,
|
|
@@ -98225,12 +98241,13 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
|
|
|
98225
98241
|
}
|
|
98226
98242
|
`;
|
|
98227
98243
|
}
|
|
98228
|
-
var import_node_crypto74, import_node_fs121, import_node_path123, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_SHADOW_HANDLE_HOST, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
|
|
98244
|
+
var import_node_crypto74, import_node_fs121, import_node_module16, import_node_path123, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_SHADOW_HANDLE_HOST, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
|
|
98229
98245
|
var init_turbo_source = __esm({
|
|
98230
98246
|
"src/turbo-source.ts"() {
|
|
98231
98247
|
"use strict";
|
|
98232
98248
|
import_node_crypto74 = require("node:crypto");
|
|
98233
98249
|
import_node_fs121 = __toESM(require("node:fs"), 1);
|
|
98250
|
+
import_node_module16 = require("node:module");
|
|
98234
98251
|
import_node_path123 = __toESM(require("node:path"), 1);
|
|
98235
98252
|
init_cocoapods_trunk();
|
|
98236
98253
|
init_installed_native_libraries();
|
|
@@ -99176,13 +99193,13 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
|
|
|
99176
99193
|
resources: { ...dependencies?.resources, ...collection.resources }
|
|
99177
99194
|
};
|
|
99178
99195
|
}
|
|
99179
|
-
var import_node_crypto75, import_node_fs122,
|
|
99196
|
+
var import_node_crypto75, import_node_fs122, import_node_module17, import_node_os26, import_node_path124;
|
|
99180
99197
|
var init_turbo_compile = __esm({
|
|
99181
99198
|
"src/turbo-compile.ts"() {
|
|
99182
99199
|
"use strict";
|
|
99183
99200
|
import_node_crypto75 = require("node:crypto");
|
|
99184
99201
|
import_node_fs122 = __toESM(require("node:fs"), 1);
|
|
99185
|
-
|
|
99202
|
+
import_node_module17 = require("node:module");
|
|
99186
99203
|
import_node_os26 = __toESM(require("node:os"), 1);
|
|
99187
99204
|
import_node_path124 = __toESM(require("node:path"), 1);
|
|
99188
99205
|
init_native_app_identity_project();
|
|
@@ -99395,7 +99412,7 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
|
|
|
99395
99412
|
};
|
|
99396
99413
|
walk4("");
|
|
99397
99414
|
const codegenRoot = import_node_path126.default.dirname(
|
|
99398
|
-
(0,
|
|
99415
|
+
(0, import_node_module18.createRequire)(import_node_path126.default.join(reactNativeRoot, "package.json")).resolve(
|
|
99399
99416
|
"@react-native/codegen/package.json"
|
|
99400
99417
|
)
|
|
99401
99418
|
);
|
|
@@ -99446,13 +99463,13 @@ async function prebuiltReactNativeCore(project, reactNativeRoot, moduleRoot, mod
|
|
|
99446
99463
|
throw new Error(`React Native core ${entry.key} does not match its descriptor`);
|
|
99447
99464
|
return readReactNativeCore(JSON.parse(import_node_fs124.default.readFileSync(file, "utf8")));
|
|
99448
99465
|
}
|
|
99449
|
-
var import_node_crypto76, import_node_fs124,
|
|
99466
|
+
var import_node_crypto76, import_node_fs124, import_node_module18, import_node_path126, import_node_util17, recipe, strings4, building;
|
|
99450
99467
|
var init_react_native_core = __esm({
|
|
99451
99468
|
"src/react-native-core.ts"() {
|
|
99452
99469
|
"use strict";
|
|
99453
99470
|
import_node_crypto76 = require("node:crypto");
|
|
99454
99471
|
import_node_fs124 = __toESM(require("node:fs"), 1);
|
|
99455
|
-
|
|
99472
|
+
import_node_module18 = require("node:module");
|
|
99456
99473
|
import_node_path126 = __toESM(require("node:path"), 1);
|
|
99457
99474
|
import_node_util17 = require("node:util");
|
|
99458
99475
|
init_home_paths();
|
|
@@ -99465,7 +99482,7 @@ var init_react_native_core = __esm({
|
|
|
99465
99482
|
init_swift_distribution();
|
|
99466
99483
|
init_swift_package();
|
|
99467
99484
|
init_swiftContract();
|
|
99468
|
-
recipe = true ? "
|
|
99485
|
+
recipe = true ? "2e0302e75afcc89d7a2fcfb892b78f125d6f1ccf37b50bb950c86fd5db6db939" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
99469
99486
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
99470
99487
|
building = /* @__PURE__ */ new Map();
|
|
99471
99488
|
}
|
|
@@ -100028,7 +100045,7 @@ function enrichInstalledUnits(units, installed, namespaceGroups, provided, modul
|
|
|
100028
100045
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
|
|
100029
100046
|
const reactNativeRoot = import_node_fs126.default.realpathSync(
|
|
100030
100047
|
import_node_path128.default.dirname(
|
|
100031
|
-
(0,
|
|
100048
|
+
(0, import_node_module19.createRequire)(import_node_path128.default.join(workspaceAppRoot, "package.json")).resolve(
|
|
100032
100049
|
"react-native/package.json"
|
|
100033
100050
|
)
|
|
100034
100051
|
)
|
|
@@ -100481,7 +100498,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
100481
100498
|
signal?.throwIfAborted();
|
|
100482
100499
|
appRoot = import_node_fs126.default.realpathSync(appRoot);
|
|
100483
100500
|
const appConfig = await loadRNXAppConfig(resolveAppProject(appRoot));
|
|
100484
|
-
const appRequire = (0,
|
|
100501
|
+
const appRequire = (0, import_node_module19.createRequire)(import_node_path128.default.join(appRoot, "package.json"));
|
|
100485
100502
|
let expoRoot;
|
|
100486
100503
|
try {
|
|
100487
100504
|
expoRoot = import_node_path128.default.dirname(appRequire.resolve("expo/package.json"));
|
|
@@ -101611,7 +101628,7 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
101611
101628
|
const reactProvider = units.some((unit2) => unit2.reactNativeProvider) ? await (async () => {
|
|
101612
101629
|
const projectRoot = options2.installedWorkspace ? import_node_path128.default.dirname(import_node_path128.default.dirname(options2.installedWorkspace)) : (await prepareExpoNativeWorkspace(root, signal, options2.iosTarget)).app;
|
|
101613
101630
|
const reactNativeRoot = import_node_path128.default.dirname(
|
|
101614
|
-
(0,
|
|
101631
|
+
(0, import_node_module19.createRequire)(import_node_path128.default.join(projectRoot, "package.json")).resolve(
|
|
101615
101632
|
"react-native/package.json"
|
|
101616
101633
|
)
|
|
101617
101634
|
);
|
|
@@ -101981,7 +101998,7 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
101981
101998
|
throw failure2;
|
|
101982
101999
|
}
|
|
101983
102000
|
}
|
|
101984
|
-
var import_node_async_hooks4, import_node_child_process65, import_node_crypto78, import_node_fs126,
|
|
102001
|
+
var import_node_async_hooks4, import_node_child_process65, import_node_crypto78, import_node_fs126, import_node_module19, import_node_os27, import_node_path128, import_node_url4, import_node_util18, run11, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
101985
102002
|
var init_expo_swift_host = __esm({
|
|
101986
102003
|
"src/expo-swift-host.ts"() {
|
|
101987
102004
|
"use strict";
|
|
@@ -101989,7 +102006,7 @@ var init_expo_swift_host = __esm({
|
|
|
101989
102006
|
import_node_child_process65 = require("node:child_process");
|
|
101990
102007
|
import_node_crypto78 = require("node:crypto");
|
|
101991
102008
|
import_node_fs126 = __toESM(require("node:fs"), 1);
|
|
101992
|
-
|
|
102009
|
+
import_node_module19 = require("node:module");
|
|
101993
102010
|
import_node_os27 = __toESM(require("node:os"), 1);
|
|
101994
102011
|
import_node_path128 = __toESM(require("node:path"), 1);
|
|
101995
102012
|
import_node_url4 = require("node:url");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-LCSKGJ7G.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-MED7BRBB.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-ATBIBLXB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-ZATDP3O2.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-35JRIGP7.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-BJGGCQKA.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2675 | (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;
|