peachsim 0.1.1846 → 0.1.1847
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/detox/index.ts +14 -4
- 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 +120 -55
- 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 +14 -6
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +44 -22
- 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 +119 -54
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +22 -11
- 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 +22 -11
- package/dist-lib/native-app-identity-project.cjs +21 -10
- package/dist-lib/native-app-identity-project.mjs +21 -10
- 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 +121 -56
- package/dist-lib/swift-compile.cjs +8 -3
- package/dist-lib/swift-compile.mjs +7 -3
- 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 +28 -13
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +3 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +29 -13
- package/src/swift-compile.ts +11 -3
- package/src/swift-host.ts +5 -1
- package/src/turbo-codegen-intake.ts +41 -6
- package/src/turbo-source.ts +56 -24
- package/src/xcode-project.ts +31 -11
package/detox/index.ts
CHANGED
|
@@ -3198,7 +3198,17 @@ export const device = {
|
|
|
3198
3198
|
}
|
|
3199
3199
|
try {
|
|
3200
3200
|
const baselineBitmap = await captureBitmap()
|
|
3201
|
-
const
|
|
3201
|
+
const baselinePixels = regionPixels(baselineBitmap)
|
|
3202
|
+
const baselineSize = `${baselineBitmap.width}x${baselineBitmap.height}`
|
|
3203
|
+
// a trigger that moves the app to another display (a duo unfold)
|
|
3204
|
+
// draws its stages on a display that was dark before it, as native
|
|
3205
|
+
const baseline = (bitmap: ImageBitmap) => {
|
|
3206
|
+
if (`${bitmap.width}x${bitmap.height}` === baselineSize) return baselinePixels
|
|
3207
|
+
const bounds = boundsFor(bitmap)
|
|
3208
|
+
const dark = new Uint8ClampedArray(bounds.width * bounds.height * 4)
|
|
3209
|
+
for (let offset = 3; offset < dark.length; offset += 4) dark[offset] = 255
|
|
3210
|
+
return dark
|
|
3211
|
+
}
|
|
3202
3212
|
// the press lands before the first stepped frame, so the screen it
|
|
3203
3213
|
// lands on is the baseline itself
|
|
3204
3214
|
if (input.anchorAtTouch === 'down')
|
|
@@ -3300,7 +3310,7 @@ export const device = {
|
|
|
3300
3310
|
const candidateBitmap = await captureBitmap()
|
|
3301
3311
|
const bounds = boundsFor(candidateBitmap)
|
|
3302
3312
|
const measurement = measureChange({
|
|
3303
|
-
baseline,
|
|
3313
|
+
baseline: baseline(candidateBitmap),
|
|
3304
3314
|
candidate: regionPixels(candidateBitmap),
|
|
3305
3315
|
definition: input.motionChangeDefinition,
|
|
3306
3316
|
height: bounds.height,
|
|
@@ -3325,7 +3335,7 @@ export const device = {
|
|
|
3325
3335
|
const candidateBitmap = await captureBitmap()
|
|
3326
3336
|
const bounds = boundsFor(candidateBitmap)
|
|
3327
3337
|
const measurement = measureChange({
|
|
3328
|
-
baseline,
|
|
3338
|
+
baseline: baseline(candidateBitmap),
|
|
3329
3339
|
candidate: regionPixels(candidateBitmap),
|
|
3330
3340
|
definition: input.motionChangeDefinition,
|
|
3331
3341
|
height: bounds.height,
|
|
@@ -3686,7 +3696,7 @@ export const device = {
|
|
|
3686
3696
|
const candidateBitmap = await captureBitmap()
|
|
3687
3697
|
const bounds = boundsFor(candidateBitmap)
|
|
3688
3698
|
const progress = measureChange({
|
|
3689
|
-
baseline,
|
|
3699
|
+
baseline: baseline(candidateBitmap),
|
|
3690
3700
|
candidate: regionPixels(candidateBitmap),
|
|
3691
3701
|
definition: input.motionChangeDefinition,
|
|
3692
3702
|
height: bounds.height,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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": "02dac6951dc7dd8465a421670901c932ac320fc9f8fe277885b2916149d40182", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -24031,6 +24031,9 @@ function withNativeSourceGlue(input, glue) {
|
|
|
24031
24031
|
oneModule: true
|
|
24032
24032
|
};
|
|
24033
24033
|
}
|
|
24034
|
+
function swiftOptionalFramework(name3) {
|
|
24035
|
+
return OPTIONAL_FRAMEWORKS.has(name3);
|
|
24036
|
+
}
|
|
24034
24037
|
function swiftCondition(text6, available) {
|
|
24035
24038
|
const tokens2 = text6.match(/\w+\s*\([^()]*\)|&&|\|\||!|\(|\)|\w+/g) ?? [];
|
|
24036
24039
|
let index = 0;
|
|
@@ -24300,7 +24303,7 @@ function swiftTargetDependencies(files2, targets) {
|
|
|
24300
24303
|
);
|
|
24301
24304
|
const deps = new Set(
|
|
24302
24305
|
(target.dependencies ?? []).flatMap(
|
|
24303
|
-
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) ? [dependency.name] : []
|
|
24306
|
+
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) || dependency.kind === "product" && dependency.package === "sootsim-swift" && OPTIONAL_FRAMEWORKS.has(dependency.name) ? [dependency.name] : []
|
|
24304
24307
|
)
|
|
24305
24308
|
);
|
|
24306
24309
|
for (const [file, contents] of Object.entries(files2)) {
|
|
@@ -27880,7 +27883,7 @@ var init_swift_compile = __esm({
|
|
|
27880
27883
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
27881
27884
|
MULTI_MANIFEST_VERSION = 65;
|
|
27882
27885
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
27883
|
-
compilerSourceDigest = true ? "
|
|
27886
|
+
compilerSourceDigest = true ? "de4cf043c56670d57d1dccc969b1b12b70e242e3015fd98011df86b7ce82c4d6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
27884
27887
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
27885
27888
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
27886
27889
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -30174,7 +30177,7 @@ function applyConditions(raw2, configuration) {
|
|
|
30174
30177
|
);
|
|
30175
30178
|
if (matches) conditional[key2.slice(0, bracket)] = value;
|
|
30176
30179
|
}
|
|
30177
|
-
return
|
|
30180
|
+
return [plain, conditional];
|
|
30178
30181
|
}
|
|
30179
30182
|
function applyOperator(value, operator) {
|
|
30180
30183
|
if (operator.startsWith("default=")) return value === "" ? operator.slice(8) : value;
|
|
@@ -30418,8 +30421,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
30418
30421
|
const fromFile = baseFile ? readXcconfig(baseFile, read) : {};
|
|
30419
30422
|
xcconfigs.push(...read);
|
|
30420
30423
|
return [
|
|
30421
|
-
applyConditions(fromFile, name3),
|
|
30422
|
-
applyConditions(
|
|
30424
|
+
...applyConditions(fromFile, name3),
|
|
30425
|
+
...applyConditions(
|
|
30423
30426
|
Object.fromEntries(
|
|
30424
30427
|
Object.entries(own).flatMap(
|
|
30425
30428
|
([key2, value]) => typeof value === "string" ? [[key2, value]] : Array.isArray(value) ? [[key2, list(value).join(" ")]] : []
|
|
@@ -31838,7 +31841,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
31838
31841
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
31839
31842
|
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
31840
31843
|
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
31844
|
+
const sdkFrameworks = /* @__PURE__ */ new Set();
|
|
31841
31845
|
for (const { ref, settings: settings2 } of builtTargets) {
|
|
31846
|
+
const ldflags = settingList(settings2("OTHER_LDFLAGS"));
|
|
31847
|
+
ldflags.forEach((flag, index) => {
|
|
31848
|
+
const name3 = ldflags[index + 1];
|
|
31849
|
+
if ((flag === "-framework" || flag === "-weak_framework") && name3)
|
|
31850
|
+
sdkFrameworks.add(name3);
|
|
31851
|
+
});
|
|
31842
31852
|
const absolute = (raw2) => import_node_path43.default.resolve(ref.project.projectDir, expand(raw2, settings2));
|
|
31843
31853
|
const requested = options.nativeModules;
|
|
31844
31854
|
const includeBinary = (name3, dir) => {
|
|
@@ -31955,10 +31965,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
31955
31965
|
const rawPath = str(file?.path) ?? "";
|
|
31956
31966
|
const name3 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
|
|
31957
31967
|
if (file?.isa !== "PBXFileReference" || !name3) continue;
|
|
31958
|
-
if (tree3 === "
|
|
31959
|
-
|
|
31960
|
-
|
|
31961
|
-
|
|
31968
|
+
if (tree3 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
|
|
31969
|
+
sdkFrameworks.add(name3);
|
|
31970
|
+
continue;
|
|
31971
|
+
}
|
|
31972
|
+
if (tree3 === "BUILT_PRODUCTS_DIR" || tree3 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
|
|
31962
31973
|
byProduct.has(import_node_path43.default.basename(rawPath)))
|
|
31963
31974
|
continue;
|
|
31964
31975
|
const resolved = fileId ? project2.resolvePath(fileId) : null;
|
|
@@ -32040,6 +32051,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
32040
32051
|
...new Set(localPackageDirs.map((dir) => import_node_fs44.default.realpathSync(dir)))
|
|
32041
32052
|
].sort(),
|
|
32042
32053
|
binaryFrameworks: [...binaryFrameworks].map(([name3, file]) => ({ name: name3, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
32054
|
+
sdkFrameworks: [...sdkFrameworks].filter(
|
|
32055
|
+
(name3) => !binaryFrameworks.has(name3) && !byProduct.has(`${name3}.framework`)
|
|
32056
|
+
).sort(),
|
|
32043
32057
|
packageResolved,
|
|
32044
32058
|
appTargets: appTargetNames,
|
|
32045
32059
|
configuration,
|
|
@@ -34613,7 +34627,7 @@ var init_swift_standin_digest = __esm({
|
|
|
34613
34627
|
import_node_path56 = __toESM(require("node:path"), 1);
|
|
34614
34628
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
34615
34629
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
34616
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
34630
|
+
STANDIN_SOURCE_DIGEST = true ? "a6f60f933c899da637801bc8d8f40e2f842fc5d4e54188240596b705c8b167fa" : standinSourceDigest();
|
|
34617
34631
|
}
|
|
34618
34632
|
});
|
|
34619
34633
|
|
|
@@ -42124,6 +42138,7 @@ function xcodeManifest(layout) {
|
|
|
42124
42138
|
);
|
|
42125
42139
|
return native ? [productDependency(native.name, native.packageDir)] : [];
|
|
42126
42140
|
});
|
|
42141
|
+
const sdkProducts = layout.app.sdkFrameworks.filter(swiftOptionalFramework).map((name3) => `.product(name: ${JSON.stringify(name3)}, package: "sootsim-swift")`);
|
|
42127
42142
|
const clangSettings = (target) => [
|
|
42128
42143
|
["cSettings", "c", target.cDefines],
|
|
42129
42144
|
["cxxSettings", "cxx", target.cxxDefines]
|
|
@@ -42146,7 +42161,7 @@ function xcodeManifest(layout) {
|
|
|
42146
42161
|
"// swift-tools-version: 6.2",
|
|
42147
42162
|
"import PackageDescription",
|
|
42148
42163
|
`let package = Package(name: "app", ${layout.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory2]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory2)})`).join(", ")}], targets: [`,
|
|
42149
|
-
` .executableTarget(name: "${layout.app.moduleName}", dependencies: [${appProducts.join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
42164
|
+
` .executableTarget(name: "${layout.app.moduleName}", dependencies: [${[...appProducts, ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
42150
42165
|
...layout.targets.map(
|
|
42151
42166
|
(target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", dependencies: [${dependencies(target)}], path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
|
|
42152
42167
|
),
|
|
@@ -45217,7 +45232,7 @@ function installedRendererDependencyGlobs(reactNativeRoot) {
|
|
|
45217
45232
|
})
|
|
45218
45233
|
);
|
|
45219
45234
|
}
|
|
45220
|
-
function installedFabricSources(reactNativeRoot) {
|
|
45235
|
+
function installedFabricSources(reactNativeRoot, { legacyBridge = false, bridgeOnly = false } = {}) {
|
|
45221
45236
|
const root = import_node_fs71.default.realpathSync(reactNativeRoot);
|
|
45222
45237
|
const specs = ["React", "ReactCommon", "ReactApple", "Libraries"].flatMap(
|
|
45223
45238
|
(directory2) => import_node_fs71.default.readdirSync(import_node_path69.default.join(root, directory2), {
|
|
@@ -45225,12 +45240,16 @@ function installedFabricSources(reactNativeRoot) {
|
|
|
45225
45240
|
withFileTypes: true
|
|
45226
45241
|
})
|
|
45227
45242
|
).filter(
|
|
45228
|
-
(entry) => entry.isFile() && (RENDERER_PODS.has(import_node_path69.default.basename(entry.name, ".podspec")) || RENDERER_PODS_VERSIONED.has(import_node_path69.default.basename(entry.name, ".podspec"))) && entry.name.endsWith(".podspec")
|
|
45229
|
-
).map((entry) => import_node_path69.default.join(entry.parentPath, entry.name)).concat(import_node_path69.default.join(root, "React-Core.podspec")).
|
|
45243
|
+
(entry) => entry.isFile() && (RENDERER_PODS.has(import_node_path69.default.basename(entry.name, ".podspec")) || RENDERER_PODS_VERSIONED.has(import_node_path69.default.basename(entry.name, ".podspec")) || bridgeOnly && LEGACY_BRIDGE_PODS.has(import_node_path69.default.basename(entry.name, ".podspec"))) && entry.name.endsWith(".podspec")
|
|
45244
|
+
).map((entry) => import_node_path69.default.join(entry.parentPath, entry.name)).concat(import_node_path69.default.join(root, "React-Core.podspec")).filter(
|
|
45245
|
+
(file) => !bridgeOnly || LEGACY_BRIDGE_PODS.has(import_node_path69.default.basename(file, ".podspec"))
|
|
45246
|
+
).sort();
|
|
45230
45247
|
const required = specs.filter(
|
|
45231
|
-
(file) => RENDERER_PODS.has(
|
|
45248
|
+
(file) => (bridgeOnly ? LEGACY_BRIDGE_PODS : RENDERER_PODS).has(
|
|
45249
|
+
import_node_path69.default.basename(file, ".podspec")
|
|
45250
|
+
)
|
|
45232
45251
|
);
|
|
45233
|
-
if (required.length !== RENDERER_PODS.size)
|
|
45252
|
+
if (required.length !== (bridgeOnly ? LEGACY_BRIDGE_PODS : RENDERER_PODS).size)
|
|
45234
45253
|
throw new Error(`${reactNativeRoot}: installed renderer podspecs are incomplete`);
|
|
45235
45254
|
return specs.map((file) => {
|
|
45236
45255
|
const directory2 = import_node_path69.default.dirname(file);
|
|
@@ -45240,7 +45259,7 @@ function installedFabricSources(reactNativeRoot) {
|
|
|
45240
45259
|
if (core) {
|
|
45241
45260
|
files2.push(
|
|
45242
45261
|
...podspecSourceFiles(directory2, podspecSubspec(spec, "DevSupport")).filter(
|
|
45243
|
-
(source) => import_node_path69.default.posix.basename(source) === "RCTDevLoadingViewSetEnabled.m"
|
|
45262
|
+
(source) => import_node_path69.default.posix.basename(source) === "RCTDevLoadingViewSetEnabled.m" || legacyBridge && LEGACY_BRIDGE_DEV_SUPPORT.includes(import_node_path69.default.posix.basename(source))
|
|
45244
45263
|
)
|
|
45245
45264
|
);
|
|
45246
45265
|
}
|
|
@@ -45311,7 +45330,7 @@ async function runInstalledTurboCodegen(appRoot, outDir, signal) {
|
|
|
45311
45330
|
files: hashTree(generatedRoot)
|
|
45312
45331
|
};
|
|
45313
45332
|
}
|
|
45314
|
-
var import_node_child_process37, import_node_crypto35, import_node_fs71, import_node_module7, import_node_path69, import_node_util12, run6, RENDERER_PODS, RENDERER_PODS_VERSIONED, COMPILED_SOURCE;
|
|
45333
|
+
var import_node_child_process37, import_node_crypto35, import_node_fs71, import_node_module7, import_node_path69, import_node_util12, run6, RENDERER_PODS, RENDERER_PODS_VERSIONED, COMPILED_SOURCE, LEGACY_BRIDGE_DEV_SUPPORT, LEGACY_BRIDGE_PODS;
|
|
45315
45334
|
var init_turbo_codegen_intake = __esm({
|
|
45316
45335
|
"src/turbo-codegen-intake.ts"() {
|
|
45317
45336
|
"use strict";
|
|
@@ -45361,6 +45380,20 @@ var init_turbo_codegen_intake = __esm({
|
|
|
45361
45380
|
"RCTSwiftUI"
|
|
45362
45381
|
]);
|
|
45363
45382
|
COMPILED_SOURCE = /\.(?:c|cc|cpp|cxx|m|mm|swift)$/;
|
|
45383
|
+
LEGACY_BRIDGE_DEV_SUPPORT = [
|
|
45384
|
+
"RCTInspectorNetworkHelper.mm",
|
|
45385
|
+
"RCTInspectorUtils.mm",
|
|
45386
|
+
"RCTPausedInDebuggerOverlayController.mm"
|
|
45387
|
+
];
|
|
45388
|
+
LEGACY_BRIDGE_PODS = /* @__PURE__ */ new Set([
|
|
45389
|
+
"React-Core",
|
|
45390
|
+
"React-cxxreact",
|
|
45391
|
+
"React-jsinspector",
|
|
45392
|
+
"React-jsinspectortracing",
|
|
45393
|
+
"React-perflogger",
|
|
45394
|
+
"React-jsiexecutor",
|
|
45395
|
+
"Yoga"
|
|
45396
|
+
]);
|
|
45364
45397
|
}
|
|
45365
45398
|
});
|
|
45366
45399
|
|
|
@@ -46334,8 +46367,32 @@ async function collectTurboSources(options) {
|
|
|
46334
46367
|
original(TURBO_CORE_TARGET, "react-native", reactNative.root, unit2);
|
|
46335
46368
|
};
|
|
46336
46369
|
addUnits(REACT_NATIVE_UNITS);
|
|
46370
|
+
const addPodSources = (pods) => {
|
|
46371
|
+
for (const pod of pods) {
|
|
46372
|
+
const swift = pod.files.some((file) => file.endsWith(".swift"));
|
|
46373
|
+
const name3 = swift ? pod.module : TURBO_CORE_TARGET;
|
|
46374
|
+
if (swift) {
|
|
46375
|
+
if (!pod.swiftVersion || !/^[56](?:\.0)?$/.test(pod.swiftVersion))
|
|
46376
|
+
throw new Error(
|
|
46377
|
+
pod.module + ": renderer pod must declare its Swift language version"
|
|
46378
|
+
);
|
|
46379
|
+
result.targets.push({
|
|
46380
|
+
...target(name3, []),
|
|
46381
|
+
languageMode: Number(pod.swiftVersion),
|
|
46382
|
+
cxxInterop: false
|
|
46383
|
+
});
|
|
46384
|
+
result.rendererSwiftTargets.push(name3);
|
|
46385
|
+
}
|
|
46386
|
+
for (const file of pod.files) {
|
|
46387
|
+
const collected = original(name3, "react-native", reactNative.root, file);
|
|
46388
|
+
if (swift)
|
|
46389
|
+
result.externalPodSources.push({ moduleName: pod.module, file: collected });
|
|
46390
|
+
}
|
|
46391
|
+
}
|
|
46392
|
+
};
|
|
46337
46393
|
let objc = false;
|
|
46338
46394
|
let fabric = false;
|
|
46395
|
+
let legacyBridge = false;
|
|
46339
46396
|
const objcClasses = /* @__PURE__ */ new Set();
|
|
46340
46397
|
const unregisteredObjcClasses = /* @__PURE__ */ new Set();
|
|
46341
46398
|
const deferredDepUnits = [];
|
|
@@ -46793,6 +46850,9 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
46793
46850
|
);
|
|
46794
46851
|
addUnits(REACT_NATIVE_OBJC_UNITS);
|
|
46795
46852
|
addUnits(REACT_NATIVE_OBJC_VERSIONED_UNITS, true);
|
|
46853
|
+
legacyBridge = /\bRCTCxxBridge\b/.test(
|
|
46854
|
+
import_node_fs72.default.readFileSync(import_node_path70.default.join(reactNative.root, "React/Base/RCTBridge.mm"), "utf8")
|
|
46855
|
+
);
|
|
46796
46856
|
if (decoratorHasPerformanceLogger)
|
|
46797
46857
|
addUnits([
|
|
46798
46858
|
"React/Base/RCTPerformanceLogger.mm",
|
|
@@ -46809,28 +46869,11 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
46809
46869
|
);
|
|
46810
46870
|
}
|
|
46811
46871
|
}
|
|
46812
|
-
if (fabric) {
|
|
46813
|
-
|
|
46814
|
-
|
|
46815
|
-
|
|
46816
|
-
|
|
46817
|
-
if (!pod.swiftVersion || !/^[56](?:\.0)?$/.test(pod.swiftVersion))
|
|
46818
|
-
throw new Error(
|
|
46819
|
-
pod.module + ": renderer pod must declare its Swift language version"
|
|
46820
|
-
);
|
|
46821
|
-
result.targets.push({
|
|
46822
|
-
...target(name3, []),
|
|
46823
|
-
languageMode: Number(pod.swiftVersion),
|
|
46824
|
-
cxxInterop: false
|
|
46825
|
-
});
|
|
46826
|
-
result.rendererSwiftTargets.push(name3);
|
|
46827
|
-
}
|
|
46828
|
-
for (const file of pod.files) {
|
|
46829
|
-
const collected = original(name3, "react-native", reactNative.root, file);
|
|
46830
|
-
if (swift)
|
|
46831
|
-
result.externalPodSources.push({ moduleName: pod.module, file: collected });
|
|
46832
|
-
}
|
|
46833
|
-
}
|
|
46872
|
+
if (fabric || legacyBridge) {
|
|
46873
|
+
if (!fabric) result.targets[0].cxxDefines = [...defines, "USE_HERMES=1"];
|
|
46874
|
+
addPodSources(
|
|
46875
|
+
installedFabricSources(reactNative.root, { legacyBridge, bridgeOnly: !fabric })
|
|
46876
|
+
);
|
|
46834
46877
|
const patterns = installedRendererDependencyGlobs(reactNative.root);
|
|
46835
46878
|
const matchers = new Map(
|
|
46836
46879
|
Object.entries(patterns).map(([name3, globs]) => [name3, globs.map(globRegex)])
|
|
@@ -46840,13 +46883,27 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
|
|
|
46840
46883
|
reactNative.root,
|
|
46841
46884
|
(name3, relative4) => matchers.get(name3)?.some((pattern) => pattern.test(relative4)) ?? false
|
|
46842
46885
|
)) {
|
|
46843
|
-
const
|
|
46886
|
+
const fmtUnit = unit2.name === "fmt" && !fabric;
|
|
46887
|
+
const unitTarget = fmtUnit ? TURBO_FMT_TARGET : TURBO_CORE_TARGET;
|
|
46888
|
+
if (fmtUnit && !result.targets.some((t) => t.name === TURBO_FMT_TARGET)) {
|
|
46889
|
+
result.targets.push({
|
|
46890
|
+
...target(TURBO_FMT_TARGET, [TURBO_CORE_TARGET]),
|
|
46891
|
+
clangSettings: [
|
|
46892
|
+
{ tool: "cxx", flags: ["-fexperimental-new-constant-interpreter"] }
|
|
46893
|
+
]
|
|
46894
|
+
});
|
|
46895
|
+
add(
|
|
46896
|
+
`${targetPath(TURBO_FMT_TARGET)}/include/${TURBO_FMT_TARGET}.h`,
|
|
46897
|
+
"#pragma once\n"
|
|
46898
|
+
);
|
|
46899
|
+
}
|
|
46900
|
+
const key2 = `${targetPath(unitTarget)}/dependencies/${unit2.name}/${unit2.relative}`;
|
|
46844
46901
|
if (add(key2, unit2.text)) {
|
|
46845
46902
|
result.sources.push({ file: key2, source: unit2.source, sha256: unit2.sha256 });
|
|
46846
46903
|
scanText(
|
|
46847
46904
|
{
|
|
46848
46905
|
key: key2,
|
|
46849
|
-
targetName:
|
|
46906
|
+
targetName: unitTarget,
|
|
46850
46907
|
label: "",
|
|
46851
46908
|
root: "",
|
|
46852
46909
|
relative: unit2.includePath
|
|
@@ -47346,7 +47403,7 @@ ${moduleProviders ? " [found addObjectsFromArray:RCTModuleProviders.moduleProvi
|
|
|
47346
47403
|
}
|
|
47347
47404
|
`;
|
|
47348
47405
|
}
|
|
47349
|
-
var import_node_child_process38, import_node_crypto36, import_node_fs72, import_node_path70, import_node_util13, execFileAsync3, TURBO_CORE_TARGET, TURBO_ENTRY_HEADER, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER3, 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, sha2563, versionParts, iosOf, JS_CALL_INVOKER;
|
|
47406
|
+
var import_node_child_process38, import_node_crypto36, import_node_fs72, import_node_path70, import_node_util13, execFileAsync3, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER3, 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, sha2563, versionParts, iosOf, JS_CALL_INVOKER;
|
|
47350
47407
|
var init_turbo_source = __esm({
|
|
47351
47408
|
"src/turbo-source.ts"() {
|
|
47352
47409
|
"use strict";
|
|
@@ -47370,6 +47427,7 @@ var init_turbo_source = __esm({
|
|
|
47370
47427
|
init_xcode_project();
|
|
47371
47428
|
execFileAsync3 = (0, import_node_util13.promisify)(import_node_child_process38.execFile);
|
|
47372
47429
|
TURBO_CORE_TARGET = "TurboCore";
|
|
47430
|
+
TURBO_FMT_TARGET = "TurboFmt";
|
|
47373
47431
|
TURBO_ENTRY_HEADER = "PeachTurboEntry.hpp";
|
|
47374
47432
|
REGISTRATION = "registerCxxModuleToGlobalModuleMap";
|
|
47375
47433
|
CODEGEN_OBJC = /@generated by codegen project: GenerateModuleObjCpp\b/;
|
|
@@ -47986,9 +48044,12 @@ ${source}` : source;
|
|
|
47986
48044
|
unit2.files["Package.swift"] = expoManifest(
|
|
47987
48045
|
unit2.files,
|
|
47988
48046
|
"",
|
|
47989
|
-
new Map(
|
|
47990
|
-
installedTargets.filter((target2) => included.has(target2.name)).map((target2) => [target2.name, target2])
|
|
47991
|
-
|
|
48047
|
+
new Map([
|
|
48048
|
+
...installedTargets.filter((target2) => included.has(target2.name)).map((target2) => [target2.name, target2]),
|
|
48049
|
+
...installedTargets.filter((target2) => target2.executable).map(
|
|
48050
|
+
(target2) => ["PeachExpoApp", target2]
|
|
48051
|
+
)
|
|
48052
|
+
])
|
|
47992
48053
|
);
|
|
47993
48054
|
}
|
|
47994
48055
|
const support = Object.assign(
|
|
@@ -48696,9 +48757,12 @@ function expoManifest(files2, generation = "", settings = /* @__PURE__ */ new Ma
|
|
|
48696
48757
|
);
|
|
48697
48758
|
return `.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON.stringify(dependencies)}, path: ${JSON.stringify(dir)}${declared?.resources ? ", resources: []" : ""}${configuration ? ", " + swiftManifestSettings(configuration) : ""})`;
|
|
48698
48759
|
});
|
|
48760
|
+
const appProducts = (settings.get("PeachExpoApp")?.dependencies ?? []).flatMap(
|
|
48761
|
+
(dependency) => dependency.kind === "product" && dependency.package === "sootsim-swift" ? [`.product(name: ${JSON.stringify(dependency.name)}, package: "sootsim-swift")`] : []
|
|
48762
|
+
);
|
|
48699
48763
|
return `// swift-tools-version: 6.0
|
|
48700
48764
|
import PackageDescription
|
|
48701
|
-
let package = Package(name: "PeachExpo", targets: [${declarations.join(", ")}, .executableTarget(name: "PeachExpoApp", path: "Sources/PeachExpoApp")])
|
|
48765
|
+
let package = Package(name: "PeachExpo", targets: [${declarations.join(", ")}, .executableTarget(name: "PeachExpoApp", dependencies: [${appProducts.join(", ")}], path: "Sources/PeachExpoApp")])
|
|
48702
48766
|
// stand-in inputs: ${generation}
|
|
48703
48767
|
`;
|
|
48704
48768
|
}
|
|
@@ -49221,13 +49285,14 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
49221
49285
|
error instanceof Error ? error.message : String(error),
|
|
49222
49286
|
...gaps.get(unit2) ?? []
|
|
49223
49287
|
].join("\n");
|
|
49224
|
-
const
|
|
49288
|
+
const unitFiles = [...Object.keys(unit2.files), ...expoUnitAppPaths(unit2)];
|
|
49225
49289
|
const errors = diagnostic.match(/^.+:\d+(?::\d+)?: error:.*$/gm) ?? [];
|
|
49226
|
-
const sourceErrors = errors.filter(
|
|
49227
|
-
|
|
49290
|
+
const sourceErrors = errors.filter((line) => {
|
|
49291
|
+
const file = /^.+?(?=:\d+(?::\d+)?: error:)/.exec(line)[0];
|
|
49292
|
+
return unitFiles.some((name3) => file === name3 || file.endsWith(`/${name3}`)) && !/external macro implementation type|failed to load library plugin/.test(
|
|
49228
49293
|
line
|
|
49229
|
-
)
|
|
49230
|
-
);
|
|
49294
|
+
);
|
|
49295
|
+
});
|
|
49231
49296
|
const targetErrors = diagnostic.match(
|
|
49232
49297
|
/^error: target .*$|^(?:error: )?[^\n:]+: missing or unsupported declared iOS deployment target .*$|^(?:ld(?:\.lld)?|wasm-ld): error: .*$/gm
|
|
49233
49298
|
) ?? [];
|
|
@@ -50564,7 +50629,7 @@ var init_nitro_superset = __esm({
|
|
|
50564
50629
|
init_swift_standin_digest();
|
|
50565
50630
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
50566
50631
|
packageVersion = (root) => JSON.parse((0, import_node_fs78.readFileSync)((0, import_node_path76.join)(root, "package.json"), "utf8")).version;
|
|
50567
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
50632
|
+
NITRO_COMPILER_DIGEST = true ? "381eedf9ef6738ad89af113ebb689916b0126afd7690eaff12e4e781695643e0" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
50568
50633
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
50569
50634
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
50570
50635
|
published = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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.1847 | (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