peachsim 0.1.1844 → 0.1.1845
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 +1 -1
- 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 +65 -29
- 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 +45 -19
- 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 +69 -30
- 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 +207 -12
- 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 +207 -12
- package/dist-lib/native-app-identity-project.cjs +10 -5
- package/dist-lib/native-app-identity-project.mjs +10 -5
- 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 +269 -48
- 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 +11 -3
- 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/node.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
- package/package.json +1 -1
- package/src/expo-swift-host.ts +36 -12
- package/src/expoSwiftContract.ts +1 -0
- package/src/native-firebase-config.ts +268 -9
- package/src/nitro-dependencies.ts +14 -0
- package/src/turbo-source.ts +12 -3
- package/src/xcode-project.ts +23 -5
|
@@ -839,7 +839,7 @@ export async function buildShellUrl(
|
|
|
839
839
|
)
|
|
840
840
|
expoStamped.searchParams.set(
|
|
841
841
|
'expoSwift',
|
|
842
|
-
`${nativeAssetOrigin}/__peach/expo-swift?root=${encodeURIComponent(expoRoot)}`,
|
|
842
|
+
`${nativeAssetOrigin}/__peach/expo-swift?root=${encodeURIComponent(expoRoot)}${opts.iosTarget ? `&iosTarget=${encodeURIComponent(opts.iosTarget)}` : ''}`,
|
|
843
843
|
)
|
|
844
844
|
// a development bundle runs on a Debug build, as metro serves it unless
|
|
845
845
|
// its url sets dev=false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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.1845 | (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.1845 | (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.1845 | (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.1845 | (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.1845 | (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.1845 | (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.1845 | (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.1845 | (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.1845 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "1594a888c8d4d1f26bb06e522ccbdeecf314934063ac635eedd6f4938e0684fd", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -1926,6 +1926,7 @@ function rnDependencies(reactNativeVersion, reactNativeRoot) {
|
|
|
1926
1926
|
const minor = Number(/^0\.(\d+)\./.exec(reactNativeVersion)?.[1]);
|
|
1927
1927
|
if (minor >= 85) return RN_FMT_12_DEPENDENCIES;
|
|
1928
1928
|
if (minor >= 80) return RN_FMT_11_DEPENDENCIES;
|
|
1929
|
+
if (minor >= 78) return RN_FAST_FLOAT_6_DEPENDENCIES;
|
|
1929
1930
|
return [];
|
|
1930
1931
|
}
|
|
1931
1932
|
function directory(dependency) {
|
|
@@ -2140,7 +2141,7 @@ function glogSources() {
|
|
|
2140
2141
|
for (const unit2 of GLOG_UNITS) sources.push(read(unit2));
|
|
2141
2142
|
return sources;
|
|
2142
2143
|
}
|
|
2143
|
-
var import_node_child_process2, import_node_crypto2, import_node_fs6, import_node_path6, import_node_util2, run2, DOUBLE_CONVERSION_WASM32_BACKPORT, RN_SHARED_DEPENDENCIES, RN_FMT_11_DEPENDENCIES, RN_FMT_12_DEPENDENCIES, HEADER, GLOG, GLOG_SUBSTITUTIONS, GLOG_CONFIGURE, GLOG_CONFIG_APPENDIX, GLOG_UNITS;
|
|
2144
|
+
var import_node_child_process2, import_node_crypto2, import_node_fs6, import_node_path6, import_node_util2, run2, DOUBLE_CONVERSION_WASM32_BACKPORT, RN_SHARED_DEPENDENCIES, RN_FMT_11_DEPENDENCIES, RN_FAST_FLOAT_6_DEPENDENCIES, RN_FMT_12_DEPENDENCIES, HEADER, GLOG, GLOG_SUBSTITUTIONS, GLOG_CONFIGURE, GLOG_CONFIG_APPENDIX, GLOG_UNITS;
|
|
2144
2145
|
var init_nitro_dependencies = __esm({
|
|
2145
2146
|
"src/nitro-dependencies.ts"() {
|
|
2146
2147
|
"use strict";
|
|
@@ -2210,6 +2211,14 @@ var init_nitro_dependencies = __esm({
|
|
|
2210
2211
|
sourceDirectories: ["include/fmt", "src"]
|
|
2211
2212
|
}
|
|
2212
2213
|
];
|
|
2214
|
+
RN_FAST_FLOAT_6_DEPENDENCIES = RN_FMT_11_DEPENDENCIES.map(
|
|
2215
|
+
(dependency) => dependency.name === "fast_float" ? {
|
|
2216
|
+
...dependency,
|
|
2217
|
+
url: "https://github.com/fastfloat/fast_float/archive/v6.1.4.tar.gz",
|
|
2218
|
+
sha256: "12cb6d250824160ca16bcb9d51f0ca7693d0d10cb444f34f1093bc02acfce704",
|
|
2219
|
+
prefix: "fast_float-6.1.4"
|
|
2220
|
+
} : dependency
|
|
2221
|
+
);
|
|
2213
2222
|
RN_FMT_12_DEPENDENCIES = [
|
|
2214
2223
|
...RN_SHARED_DEPENDENCIES,
|
|
2215
2224
|
{
|
|
@@ -31008,7 +31017,12 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
31008
31017
|
function selectIosAppTarget(projectRoot, iosTarget) {
|
|
31009
31018
|
const nested = import_node_path43.default.join(projectRoot, "ios");
|
|
31010
31019
|
const iosRoot = import_node_fs44.default.existsSync(nested) ? nested : projectRoot;
|
|
31011
|
-
const
|
|
31020
|
+
const entries = import_node_fs44.default.readdirSync(iosRoot, { withFileTypes: true });
|
|
31021
|
+
const projects2 = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) => import_node_path43.default.join(iosRoot, entry.name)) : entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcworkspace")).flatMap((entry) => workspaceReferences(import_node_path43.default.join(iosRoot, entry.name))).filter(
|
|
31022
|
+
(xcodeproj2) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(import_node_path43.default.sep).includes("Pods") && import_node_fs44.default.existsSync(xcodeproj2)
|
|
31023
|
+
).filter(
|
|
31024
|
+
(xcodeproj2) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
31025
|
+
)).map((xcodeproj2) => ({ xcodeproj: xcodeproj2, name: import_node_path43.default.basename(xcodeproj2) }));
|
|
31012
31026
|
if (projects2.length === 0) return null;
|
|
31013
31027
|
if (projects2.length > 1 && !iosTarget) {
|
|
31014
31028
|
throw new NativeAppTargetSelectionError(
|
|
@@ -31018,7 +31032,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
31018
31032
|
let project2 = projects2[0];
|
|
31019
31033
|
if (iosTarget && projects2.length > 1) {
|
|
31020
31034
|
const matches = projects2.filter(
|
|
31021
|
-
(entry) => listXcodeAppTargets(
|
|
31035
|
+
(entry) => listXcodeAppTargets(entry.xcodeproj, {
|
|
31022
31036
|
requireSources: false
|
|
31023
31037
|
}).includes(iosTarget)
|
|
31024
31038
|
);
|
|
@@ -31030,7 +31044,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
31030
31044
|
);
|
|
31031
31045
|
project2 = matches[0];
|
|
31032
31046
|
}
|
|
31033
|
-
const xcodeproj =
|
|
31047
|
+
const xcodeproj = project2.xcodeproj;
|
|
31034
31048
|
const appTargets = listXcodeAppTargets(xcodeproj, { requireSources: false });
|
|
31035
31049
|
let target = iosTarget ?? defaultXcodeAppTarget(xcodeproj);
|
|
31036
31050
|
if (!target) throw new Error("native app identity has no iOS application target");
|
|
@@ -34586,7 +34600,7 @@ var init_swift_standin_digest = __esm({
|
|
|
34586
34600
|
import_node_path56 = __toESM(require("node:path"), 1);
|
|
34587
34601
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
34588
34602
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
34589
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
34603
|
+
STANDIN_SOURCE_DIGEST = true ? "1fd57281ceaf1317ebbd3df4334dd41fce5931f51ce3a48d3b2870e4e9670d8c" : standinSourceDigest();
|
|
34590
34604
|
}
|
|
34591
34605
|
});
|
|
34592
34606
|
|
|
@@ -45905,6 +45919,7 @@ async function collectTurboSources(options) {
|
|
|
45905
45919
|
(provider) => readPod(provider, options.appRoot, options.installedPods?.get(provider.name))
|
|
45906
45920
|
);
|
|
45907
45921
|
let codegen = null;
|
|
45922
|
+
let moduleProviders = false;
|
|
45908
45923
|
const installedCodegenNames = new Set(
|
|
45909
45924
|
installedHeaderPods.flatMap((pod) => {
|
|
45910
45925
|
const manifest = JSON.parse(
|
|
@@ -46773,6 +46788,7 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
46773
46788
|
codegen ??= (await runInstalledTurboCodegen(options.appRoot, options.codegenDir)).generatedRoot;
|
|
46774
46789
|
const generated = codegenSpecRoot(codegen);
|
|
46775
46790
|
if (import_node_fs72.default.existsSync(import_node_path70.default.join(generated, "RCTModuleProviders.mm"))) {
|
|
46791
|
+
moduleProviders = true;
|
|
46776
46792
|
original(TURBO_CORE_TARGET, "ReactCodegen", generated, "RCTModuleProviders.mm");
|
|
46777
46793
|
alias(
|
|
46778
46794
|
`${core}/include/ReactCodegen/RCTModuleProviders.h`,
|
|
@@ -46836,7 +46852,8 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
46836
46852
|
[...objcClasses].sort(),
|
|
46837
46853
|
[...unregisteredObjcClasses].sort(),
|
|
46838
46854
|
decoratorHasPerformanceLogger,
|
|
46839
|
-
managerHasDevMenuDecorator
|
|
46855
|
+
managerHasDevMenuDecorator,
|
|
46856
|
+
moduleProviders
|
|
46840
46857
|
) : turboHostSource(withRuntime)
|
|
46841
46858
|
);
|
|
46842
46859
|
scanText(
|
|
@@ -46937,7 +46954,7 @@ extern "C" __attribute__((export_name("peach_turbo_module_names"))) const char*
|
|
|
46937
46954
|
}
|
|
46938
46955
|
`;
|
|
46939
46956
|
}
|
|
46940
|
-
function turboObjCHostSource(objcClasses, unregisteredClasses, decoratorHasPerformanceLogger, managerHasDevMenuDecorator) {
|
|
46957
|
+
function turboObjCHostSource(objcClasses, unregisteredClasses, decoratorHasPerformanceLogger, managerHasDevMenuDecorator, moduleProviders) {
|
|
46941
46958
|
const classNamesList = objcClasses.map((name3) => `@${JSON.stringify(name3)}`).join(", ");
|
|
46942
46959
|
const unregisteredList = unregisteredClasses.map((name3) => `@${JSON.stringify(name3)}`).join(", ");
|
|
46943
46960
|
return `// React Native's RCTTurboModuleManager on the process's JSI runtime, set up
|
|
@@ -46958,7 +46975,7 @@ function turboObjCHostSource(objcClasses, unregisteredClasses, decoratorHasPerfo
|
|
|
46958
46975
|
${decoratorHasPerformanceLogger ? "#import <React/RCTPerformanceLogger.h>" : ""}
|
|
46959
46976
|
#import <React/RCTBridgeModule.h>
|
|
46960
46977
|
#import <React/RCTEventDispatcherProtocol.h>
|
|
46961
|
-
#import <ReactCodegen/RCTModuleProviders.h>
|
|
46978
|
+
${moduleProviders ? "#import <ReactCodegen/RCTModuleProviders.h>" : ""}
|
|
46962
46979
|
#import <ReactCommon/CxxTurboModuleUtils.h>
|
|
46963
46980
|
#import <ReactCommon/RCTTurboModuleManager.h>
|
|
46964
46981
|
#include <os/log.h>
|
|
@@ -47201,10 +47218,11 @@ static RCTTurboModuleManager *manager;
|
|
|
47201
47218
|
return module;
|
|
47202
47219
|
}
|
|
47203
47220
|
|
|
47204
|
-
|
|
47221
|
+
${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)name
|
|
47205
47222
|
{
|
|
47206
47223
|
return RCTModuleProviders.moduleProviders[@(name)];
|
|
47207
47224
|
}
|
|
47225
|
+
` : ""}
|
|
47208
47226
|
|
|
47209
47227
|
- (std::shared_ptr<react::TurboModule>)getTurboModule:(const std::string &)name
|
|
47210
47228
|
jsInvoker:(std::shared_ptr<react::CallInvoker>)jsInvoker
|
|
@@ -47292,7 +47310,7 @@ extern "C" __attribute__((export_name("peach_turbo_module_names"))) const char*
|
|
|
47292
47310
|
NSMutableOrderedSet<NSString *> *found = [NSMutableOrderedSet new];
|
|
47293
47311
|
for (const auto& [name, provider] : react::globalExportedCxxTurboModuleMap())
|
|
47294
47312
|
[found addObject:@(name.c_str())];
|
|
47295
|
-
[found addObjectsFromArray:RCTModuleProviders.moduleProviders.allKeys];
|
|
47313
|
+
${moduleProviders ? " [found addObjectsFromArray:RCTModuleProviders.moduleProviders.allKeys];" : ""}
|
|
47296
47314
|
for (Class moduleClass in RCTGetModuleClasses())
|
|
47297
47315
|
if (moduleClass != [PeachTurboRegistry class] &&
|
|
47298
47316
|
moduleClass != [PeachImageURLLoading class] &&
|
|
@@ -47698,12 +47716,12 @@ async function witnessMatches(witness) {
|
|
|
47698
47716
|
}
|
|
47699
47717
|
return true;
|
|
47700
47718
|
}
|
|
47701
|
-
async function discoveryKey(root, installedWorkspace, prepareNative) {
|
|
47719
|
+
async function discoveryKey(root, installedWorkspace, prepareNative, iosTarget) {
|
|
47702
47720
|
const [config, expoConfig] = await Promise.all([
|
|
47703
47721
|
loadRNXAppConfig(resolveAppProject(root)),
|
|
47704
47722
|
readExpoConfigAsync(root)
|
|
47705
47723
|
]);
|
|
47706
|
-
return `${import_node_fs73.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
|
|
47724
|
+
return `${import_node_fs73.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
|
|
47707
47725
|
}
|
|
47708
47726
|
function cloneNativeTarget(target) {
|
|
47709
47727
|
return {
|
|
@@ -48055,17 +48073,18 @@ ${source}` : source;
|
|
|
48055
48073
|
}
|
|
48056
48074
|
for (const unit2 of units) unit2.nativeFiles = { ...unit2.nativeFiles, ...support };
|
|
48057
48075
|
}
|
|
48058
|
-
async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prepareNative = false) {
|
|
48076
|
+
async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prepareNative = false, iosTarget) {
|
|
48059
48077
|
if (traceStore.getStore())
|
|
48060
48078
|
return collectExpoSwiftSourcesUncached(
|
|
48061
48079
|
appRoot,
|
|
48062
48080
|
signal,
|
|
48063
48081
|
installedWorkspace,
|
|
48064
|
-
prepareNative
|
|
48082
|
+
prepareNative,
|
|
48083
|
+
iosTarget
|
|
48065
48084
|
);
|
|
48066
48085
|
signal?.throwIfAborted();
|
|
48067
48086
|
installSwiftInputTrace();
|
|
48068
|
-
const key2 = await discoveryKey(appRoot, installedWorkspace, prepareNative);
|
|
48087
|
+
const key2 = await discoveryKey(appRoot, installedWorkspace, prepareNative, iosTarget);
|
|
48069
48088
|
const cached2 = discoveryCache.get(key2);
|
|
48070
48089
|
if (cached2 && await witnessMatches(cached2.witness)) {
|
|
48071
48090
|
signal?.throwIfAborted();
|
|
@@ -48074,13 +48093,19 @@ async function collectExpoSwiftSources(appRoot, signal, installedWorkspace, prep
|
|
|
48074
48093
|
const witness = { marks: /* @__PURE__ */ new Map(), tainted: false };
|
|
48075
48094
|
const units = await traceStore.run(
|
|
48076
48095
|
witness,
|
|
48077
|
-
() => collectExpoSwiftSourcesUncached(
|
|
48096
|
+
() => collectExpoSwiftSourcesUncached(
|
|
48097
|
+
appRoot,
|
|
48098
|
+
signal,
|
|
48099
|
+
installedWorkspace,
|
|
48100
|
+
prepareNative,
|
|
48101
|
+
iosTarget
|
|
48102
|
+
)
|
|
48078
48103
|
);
|
|
48079
48104
|
if (witness.marks.size > 0 && await witnessMatches(witness))
|
|
48080
48105
|
discoveryCache.set(key2, { witness, units: cloneUnits(units) });
|
|
48081
48106
|
return cloneUnits(units);
|
|
48082
48107
|
}
|
|
48083
|
-
async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspace, prepareNative = false) {
|
|
48108
|
+
async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspace, prepareNative = false, iosTarget) {
|
|
48084
48109
|
const started = performance.now();
|
|
48085
48110
|
const report = (message) => console.error(`[expo-swift ${Math.round(performance.now() - started)}ms] ${message}`);
|
|
48086
48111
|
signal?.throwIfAborted();
|
|
@@ -48169,12 +48194,13 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
48169
48194
|
const module2 = await resolveSwiftModule({ signal });
|
|
48170
48195
|
moduleRoot = module2.root;
|
|
48171
48196
|
provided = new Set(swiftPeachModules(module2.root));
|
|
48172
|
-
await prepareXcodeSwiftPackages(installedWorkspace,
|
|
48197
|
+
await prepareXcodeSwiftPackages(installedWorkspace, iosTarget, void 0, signal);
|
|
48173
48198
|
moduleRoot = module2.root;
|
|
48174
48199
|
provided = new Set(swiftPeachModules(module2.root));
|
|
48175
48200
|
const snapshot = await withXcodeProject(
|
|
48176
48201
|
installedWorkspace,
|
|
48177
48202
|
{
|
|
48203
|
+
target: iosTarget,
|
|
48178
48204
|
configuration: "Debug",
|
|
48179
48205
|
interfaceRoot: module2.root,
|
|
48180
48206
|
moduleRoot: module2.root,
|
|
@@ -48261,8 +48287,14 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
48261
48287
|
);
|
|
48262
48288
|
continue;
|
|
48263
48289
|
}
|
|
48264
|
-
const prepared = await prepareExpoNativeWorkspace(appRoot, signal);
|
|
48265
|
-
return collectExpoSwiftSources(
|
|
48290
|
+
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
48291
|
+
return collectExpoSwiftSources(
|
|
48292
|
+
prepared.app,
|
|
48293
|
+
signal,
|
|
48294
|
+
prepared.workspace,
|
|
48295
|
+
false,
|
|
48296
|
+
iosTarget
|
|
48297
|
+
);
|
|
48266
48298
|
}
|
|
48267
48299
|
const declarations = [];
|
|
48268
48300
|
for (const descriptor of Array.isArray(modules) ? modules : []) {
|
|
@@ -48474,11 +48506,13 @@ ${import_node_fs73.default.readFileSync(source, "utf8")}`;
|
|
|
48474
48506
|
});
|
|
48475
48507
|
const cached2 = readExpoDiscovery(discovery.key);
|
|
48476
48508
|
if (cached2 !== void 0) return cached2;
|
|
48477
|
-
const prepared = await prepareExpoNativeWorkspace(appRoot, signal);
|
|
48509
|
+
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
48478
48510
|
const discovered = await collectExpoSwiftSources(
|
|
48479
48511
|
prepared.app,
|
|
48480
48512
|
signal,
|
|
48481
|
-
prepared.workspace
|
|
48513
|
+
prepared.workspace,
|
|
48514
|
+
false,
|
|
48515
|
+
iosTarget
|
|
48482
48516
|
);
|
|
48483
48517
|
const stored = writeExpoDiscovery({
|
|
48484
48518
|
key: discovery.key,
|
|
@@ -48759,7 +48793,7 @@ async function compileExpoSwiftModules(root, base, publishArtifact, options = {}
|
|
|
48759
48793
|
installSwiftInputTrace();
|
|
48760
48794
|
let key2;
|
|
48761
48795
|
try {
|
|
48762
|
-
key2 = await discoveryKey(root, options.installedWorkspace, true);
|
|
48796
|
+
key2 = await discoveryKey(root, options.installedWorkspace, true, options.iosTarget);
|
|
48763
48797
|
} catch {
|
|
48764
48798
|
return compileExpoSwiftModulesTraced(root, base, publishArtifact, options);
|
|
48765
48799
|
}
|
|
@@ -48794,7 +48828,8 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
48794
48828
|
root,
|
|
48795
48829
|
signal,
|
|
48796
48830
|
options.installedWorkspace,
|
|
48797
|
-
nativeWorkspaceAvailable()
|
|
48831
|
+
nativeWorkspaceAvailable(),
|
|
48832
|
+
options.iosTarget
|
|
48798
48833
|
);
|
|
48799
48834
|
signal.throwIfAborted();
|
|
48800
48835
|
const ios = import_node_path71.default.join(root, "ios");
|
|
@@ -48807,12 +48842,13 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
48807
48842
|
await ensureSwiftToolchain(signal);
|
|
48808
48843
|
const bridge = collectBridgeModuleSources(import_node_fs73.default.realpathSync(root), signal);
|
|
48809
48844
|
if (bridge && bridge.installedNamespaces.length > 0) {
|
|
48810
|
-
const workspace = options.installedWorkspace ?? (await prepareExpoNativeWorkspace(root, signal)).workspace;
|
|
48845
|
+
const workspace = options.installedWorkspace ?? (await prepareExpoNativeWorkspace(root, signal, options.iosTarget)).workspace;
|
|
48811
48846
|
const module3 = await resolveSwiftModule({ signal });
|
|
48812
|
-
await prepareXcodeSwiftPackages(workspace,
|
|
48847
|
+
await prepareXcodeSwiftPackages(workspace, options.iosTarget, void 0, signal);
|
|
48813
48848
|
await withXcodeProject(
|
|
48814
48849
|
workspace,
|
|
48815
48850
|
{
|
|
48851
|
+
target: options.iosTarget,
|
|
48816
48852
|
configuration: "Debug",
|
|
48817
48853
|
interfaceRoot: module3.root,
|
|
48818
48854
|
nativeModules: bridge.installedNamespaces
|
|
@@ -50515,7 +50551,7 @@ var init_nitro_superset = __esm({
|
|
|
50515
50551
|
init_swift_standin_digest();
|
|
50516
50552
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
50517
50553
|
packageVersion = (root) => JSON.parse((0, import_node_fs78.readFileSync)((0, import_node_path76.join)(root, "package.json"), "utf8")).version;
|
|
50518
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
50554
|
+
NITRO_COMPILER_DIGEST = true ? "46c9ec53b7f124c900190b26e640f0ebee0ac3c78438141107125e04700eb25e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
50519
50555
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
50520
50556
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
50521
50557
|
published = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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.1845 | (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.1845 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1845 | (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.1845 | (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;
|