peachsim 0.1.1905 → 0.1.1907
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +59 -31
- 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 -23
- 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 +60 -32
- 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 +14 -14
- 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 +14 -14
- package/dist-lib/native-app-identity-project.cjs +14 -14
- package/dist-lib/native-app-identity-project.mjs +14 -14
- 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 +68 -40
- package/dist-lib/swift-compile.cjs +25 -6
- package/dist-lib/swift-compile.mjs +25 -6
- 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 +37 -18
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +3 -1
- package/src/expo-swift-host.ts +2 -1
- package/src/nitro-adapter.lock.json +272 -272
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +8 -8
- package/src/swift-shared-sdk.ts +35 -7
- package/src/turbo-runtime.lock.json +18 -18
- package/src/turbo-source.ts +6 -0
- package/src/xcode-project.ts +18 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1907 | (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;
|
|
@@ -4115,7 +4115,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4115
4115
|
const overlay = import_node_path8.default.join(swiftSharedSdkRoot(moduleRoot, distribution), "wasm/include");
|
|
4116
4116
|
const overlayFiles = (0, import_node_fs7.readdirSync)(overlay, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path8.default.join(entry.parentPath, entry.name)).sort();
|
|
4117
4117
|
const key = JSON.stringify([
|
|
4118
|
-
"
|
|
4118
|
+
"v19",
|
|
4119
4119
|
toolchainBin,
|
|
4120
4120
|
sdk,
|
|
4121
4121
|
frameworks,
|
|
@@ -4151,7 +4151,18 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4151
4151
|
(0, import_node_crypto4.createHash)("sha256").update(key).digest("hex").slice(0, 16)
|
|
4152
4152
|
);
|
|
4153
4153
|
const manifest = import_node_path8.default.join(view, import_node_path8.default.basename(bundle), "info.json");
|
|
4154
|
-
|
|
4154
|
+
const intact = () => import_node_fs7.default.existsSync(manifest) && import_node_fs7.default.readdirSync(
|
|
4155
|
+
import_node_path8.default.join(
|
|
4156
|
+
view,
|
|
4157
|
+
import_node_path8.default.relative(import_node_path8.default.dirname(bundle), sysroot),
|
|
4158
|
+
"darwin/usr/include"
|
|
4159
|
+
),
|
|
4160
|
+
{ withFileTypes: true }
|
|
4161
|
+
).every(
|
|
4162
|
+
(entry) => !entry.isSymbolicLink() || import_node_fs7.default.existsSync(import_node_path8.default.join(entry.parentPath, entry.name))
|
|
4163
|
+
);
|
|
4164
|
+
if (!intact()) {
|
|
4165
|
+
import_node_fs7.default.rmSync(view, { recursive: true, force: true });
|
|
4155
4166
|
import_node_fs7.default.mkdirSync(import_node_path8.default.dirname(view), { recursive: true });
|
|
4156
4167
|
const staging = import_node_fs7.default.mkdtempSync(`${view}-`);
|
|
4157
4168
|
import_node_fs7.default.chmodSync(staging, 493);
|
|
@@ -4165,7 +4176,15 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4165
4176
|
"notify.modulemap",
|
|
4166
4177
|
"module.modulemap",
|
|
4167
4178
|
"darwin.modulemap"
|
|
4168
|
-
].
|
|
4179
|
+
].filter(
|
|
4180
|
+
(header) => import_node_fs7.default.existsSync(
|
|
4181
|
+
import_node_path8.default.join(
|
|
4182
|
+
swiftSharedSdkRoot(moduleRoot, distribution),
|
|
4183
|
+
"usr/include",
|
|
4184
|
+
header
|
|
4185
|
+
)
|
|
4186
|
+
)
|
|
4187
|
+
).map((header) => [
|
|
4169
4188
|
import_node_path8.default.join(sysroot, "darwin/usr/include", header),
|
|
4170
4189
|
import_node_path8.default.join(swiftSharedSdkRoot(moduleRoot, distribution), "usr/include", header)
|
|
4171
4190
|
])
|
|
@@ -4205,7 +4224,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4205
4224
|
import_node_fs7.default.renameSync(staging, view);
|
|
4206
4225
|
} catch (error) {
|
|
4207
4226
|
import_node_fs7.default.rmSync(staging, { recursive: true, force: true });
|
|
4208
|
-
if (!
|
|
4227
|
+
if (!intact()) throw error;
|
|
4209
4228
|
}
|
|
4210
4229
|
}
|
|
4211
4230
|
const options = ["--swift-sdks-path", view];
|
|
@@ -12098,7 +12117,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12098
12117
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12099
12118
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12100
12119
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12101
|
-
var compilerSourceDigest = true ? "
|
|
12120
|
+
var compilerSourceDigest = true ? "f9ded47ea29fd640b25cdd1f0699d55b2732f89c46497a8bf64c8e8cf409fbbe" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12102
12121
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12103
12122
|
const hash = (0, import_node_crypto12.createHash)("sha256");
|
|
12104
12123
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1907 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -4063,7 +4063,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4063
4063
|
const overlay = path8.join(swiftSharedSdkRoot(moduleRoot, distribution), "wasm/include");
|
|
4064
4064
|
const overlayFiles = readdirSync4(overlay, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => path8.join(entry.parentPath, entry.name)).sort();
|
|
4065
4065
|
const key = JSON.stringify([
|
|
4066
|
-
"
|
|
4066
|
+
"v19",
|
|
4067
4067
|
toolchainBin,
|
|
4068
4068
|
sdk,
|
|
4069
4069
|
frameworks,
|
|
@@ -4099,7 +4099,18 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4099
4099
|
createHash4("sha256").update(key).digest("hex").slice(0, 16)
|
|
4100
4100
|
);
|
|
4101
4101
|
const manifest = path8.join(view, path8.basename(bundle), "info.json");
|
|
4102
|
-
|
|
4102
|
+
const intact = () => fs3.existsSync(manifest) && fs3.readdirSync(
|
|
4103
|
+
path8.join(
|
|
4104
|
+
view,
|
|
4105
|
+
path8.relative(path8.dirname(bundle), sysroot),
|
|
4106
|
+
"darwin/usr/include"
|
|
4107
|
+
),
|
|
4108
|
+
{ withFileTypes: true }
|
|
4109
|
+
).every(
|
|
4110
|
+
(entry) => !entry.isSymbolicLink() || fs3.existsSync(path8.join(entry.parentPath, entry.name))
|
|
4111
|
+
);
|
|
4112
|
+
if (!intact()) {
|
|
4113
|
+
fs3.rmSync(view, { recursive: true, force: true });
|
|
4103
4114
|
fs3.mkdirSync(path8.dirname(view), { recursive: true });
|
|
4104
4115
|
const staging = fs3.mkdtempSync(`${view}-`);
|
|
4105
4116
|
fs3.chmodSync(staging, 493);
|
|
@@ -4113,7 +4124,15 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4113
4124
|
"notify.modulemap",
|
|
4114
4125
|
"module.modulemap",
|
|
4115
4126
|
"darwin.modulemap"
|
|
4116
|
-
].
|
|
4127
|
+
].filter(
|
|
4128
|
+
(header) => fs3.existsSync(
|
|
4129
|
+
path8.join(
|
|
4130
|
+
swiftSharedSdkRoot(moduleRoot, distribution),
|
|
4131
|
+
"usr/include",
|
|
4132
|
+
header
|
|
4133
|
+
)
|
|
4134
|
+
)
|
|
4135
|
+
).map((header) => [
|
|
4117
4136
|
path8.join(sysroot, "darwin/usr/include", header),
|
|
4118
4137
|
path8.join(swiftSharedSdkRoot(moduleRoot, distribution), "usr/include", header)
|
|
4119
4138
|
])
|
|
@@ -4153,7 +4172,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
4153
4172
|
fs3.renameSync(staging, view);
|
|
4154
4173
|
} catch (error) {
|
|
4155
4174
|
fs3.rmSync(staging, { recursive: true, force: true });
|
|
4156
|
-
if (!
|
|
4175
|
+
if (!intact()) throw error;
|
|
4157
4176
|
}
|
|
4158
4177
|
}
|
|
4159
4178
|
const options = ["--swift-sdks-path", view];
|
|
@@ -12074,7 +12093,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12074
12093
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12075
12094
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12076
12095
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12077
|
-
var compilerSourceDigest = true ? "
|
|
12096
|
+
var compilerSourceDigest = true ? "f9ded47ea29fd640b25cdd1f0699d55b2732f89c46497a8bf64c8e8cf409fbbe" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12078
12097
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12079
12098
|
const hash = createHash13("sha256");
|
|
12080
12099
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1907 | (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.1907 | (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.1907 | (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;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1907 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1907 | (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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "e66452b430a7dc749e0db64e21a2f3cd969ba48fa1ae31cd5de5c366c3783bf7", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "e66452b430a7dc749e0db64e21a2f3cd969ba48fa1ae31cd5de5c366c3783bf7", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "07d898d8ae57c6248ce0347e7c9261cfd5f767ed4ee456f32d81dca74ae09fa8", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -8470,7 +8470,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
8470
8470
|
const overlay = import_node_path8.default.join(swiftSharedSdkRoot(moduleRoot, distribution), "wasm/include");
|
|
8471
8471
|
const overlayFiles = (0, import_node_fs8.readdirSync)(overlay, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path8.default.join(entry.parentPath, entry.name)).sort();
|
|
8472
8472
|
const key2 = JSON.stringify([
|
|
8473
|
-
"
|
|
8473
|
+
"v19",
|
|
8474
8474
|
toolchainBin,
|
|
8475
8475
|
sdk,
|
|
8476
8476
|
frameworks,
|
|
@@ -8506,7 +8506,18 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
8506
8506
|
(0, import_node_crypto4.createHash)("sha256").update(key2).digest("hex").slice(0, 16)
|
|
8507
8507
|
);
|
|
8508
8508
|
const manifest = import_node_path8.default.join(view, import_node_path8.default.basename(bundle), "info.json");
|
|
8509
|
-
|
|
8509
|
+
const intact = () => import_node_fs8.default.existsSync(manifest) && import_node_fs8.default.readdirSync(
|
|
8510
|
+
import_node_path8.default.join(
|
|
8511
|
+
view,
|
|
8512
|
+
import_node_path8.default.relative(import_node_path8.default.dirname(bundle), sysroot),
|
|
8513
|
+
"darwin/usr/include"
|
|
8514
|
+
),
|
|
8515
|
+
{ withFileTypes: true }
|
|
8516
|
+
).every(
|
|
8517
|
+
(entry) => !entry.isSymbolicLink() || import_node_fs8.default.existsSync(import_node_path8.default.join(entry.parentPath, entry.name))
|
|
8518
|
+
);
|
|
8519
|
+
if (!intact()) {
|
|
8520
|
+
import_node_fs8.default.rmSync(view, { recursive: true, force: true });
|
|
8510
8521
|
import_node_fs8.default.mkdirSync(import_node_path8.default.dirname(view), { recursive: true });
|
|
8511
8522
|
const staging = import_node_fs8.default.mkdtempSync(`${view}-`);
|
|
8512
8523
|
import_node_fs8.default.chmodSync(staging, 493);
|
|
@@ -8520,7 +8531,15 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
8520
8531
|
"notify.modulemap",
|
|
8521
8532
|
"module.modulemap",
|
|
8522
8533
|
"darwin.modulemap"
|
|
8523
|
-
].
|
|
8534
|
+
].filter(
|
|
8535
|
+
(header) => import_node_fs8.default.existsSync(
|
|
8536
|
+
import_node_path8.default.join(
|
|
8537
|
+
swiftSharedSdkRoot(moduleRoot, distribution),
|
|
8538
|
+
"usr/include",
|
|
8539
|
+
header
|
|
8540
|
+
)
|
|
8541
|
+
)
|
|
8542
|
+
).map((header) => [
|
|
8524
8543
|
import_node_path8.default.join(sysroot, "darwin/usr/include", header),
|
|
8525
8544
|
import_node_path8.default.join(swiftSharedSdkRoot(moduleRoot, distribution), "usr/include", header)
|
|
8526
8545
|
])
|
|
@@ -8560,7 +8579,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
|
|
|
8560
8579
|
import_node_fs8.default.renameSync(staging, view);
|
|
8561
8580
|
} catch (error) {
|
|
8562
8581
|
import_node_fs8.default.rmSync(staging, { recursive: true, force: true });
|
|
8563
|
-
if (!
|
|
8582
|
+
if (!intact()) throw error;
|
|
8564
8583
|
}
|
|
8565
8584
|
}
|
|
8566
8585
|
const options = ["--swift-sdks-path", view];
|
|
@@ -16411,7 +16430,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16411
16430
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16412
16431
|
var MULTI_MANIFEST_VERSION = 66;
|
|
16413
16432
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16414
|
-
var compilerSourceDigest = true ? "
|
|
16433
|
+
var compilerSourceDigest = true ? "f9ded47ea29fd640b25cdd1f0699d55b2732f89c46497a8bf64c8e8cf409fbbe" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16415
16434
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16416
16435
|
const hash = (0, import_node_crypto12.createHash)("sha256");
|
|
16417
16436
|
hash.update(`swift-compile
|
|
@@ -26841,14 +26860,14 @@ function workspaceReferences(workspace) {
|
|
|
26841
26860
|
return references;
|
|
26842
26861
|
}
|
|
26843
26862
|
function enclosingXcodeWorkspace(xcodeproj) {
|
|
26844
|
-
const project = import_node_fs36.default.realpathSync(xcodeproj);
|
|
26863
|
+
const project = import_node_fs36.default.realpathSync.native(xcodeproj);
|
|
26845
26864
|
for (let dir = import_node_path37.default.dirname(project); ; dir = import_node_path37.default.dirname(dir)) {
|
|
26846
26865
|
for (const name3 of import_node_fs36.default.readdirSync(dir).sort()) {
|
|
26847
26866
|
if (!name3.endsWith(".xcworkspace")) continue;
|
|
26848
26867
|
const workspace = import_node_path37.default.join(dir, name3);
|
|
26849
26868
|
if (!import_node_fs36.default.existsSync(import_node_path37.default.join(workspace, "contents.xcworkspacedata"))) continue;
|
|
26850
26869
|
if (workspaceReferences(workspace).some(
|
|
26851
|
-
(reference) => import_node_fs36.default.existsSync(reference) && import_node_fs36.default.realpathSync(reference) === project
|
|
26870
|
+
(reference) => import_node_fs36.default.existsSync(reference) && import_node_fs36.default.realpathSync.native(reference) === project
|
|
26852
26871
|
))
|
|
26853
26872
|
return workspace;
|
|
26854
26873
|
}
|
|
@@ -26919,7 +26938,7 @@ function loadProject(xcodeproj) {
|
|
|
26919
26938
|
if (!project || project.isa !== "PBXProject") {
|
|
26920
26939
|
throw new Error(`${projectFile} has no PBXProject root`);
|
|
26921
26940
|
}
|
|
26922
|
-
const projectDir = import_node_fs36.default.realpathSync(
|
|
26941
|
+
const projectDir = import_node_fs36.default.realpathSync.native(
|
|
26923
26942
|
import_node_path37.default.resolve(import_node_path37.default.dirname(xcodeproj), str(project.projectDirPath) ?? "")
|
|
26924
26943
|
);
|
|
26925
26944
|
const resolvePath = xcodePathResolver(objects, projectDir, import_node_path37.default.join);
|
|
@@ -27066,7 +27085,7 @@ function expandSearchPath(directory, rules2) {
|
|
|
27066
27085
|
const current = queue[at];
|
|
27067
27086
|
let real;
|
|
27068
27087
|
try {
|
|
27069
|
-
real = import_node_fs36.default.realpathSync(current);
|
|
27088
|
+
real = import_node_fs36.default.realpathSync.native(current);
|
|
27070
27089
|
} catch {
|
|
27071
27090
|
continue;
|
|
27072
27091
|
}
|
|
@@ -27456,7 +27475,7 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
|
27456
27475
|
);
|
|
27457
27476
|
return;
|
|
27458
27477
|
}
|
|
27459
|
-
const key2 = import_node_fs36.default.realpathSync(xcodeproj);
|
|
27478
|
+
const key2 = import_node_fs36.default.realpathSync.native(xcodeproj);
|
|
27460
27479
|
if (projectAt.has(key2) || !installedPods && key2.split(import_node_path37.default.sep).includes("Pods"))
|
|
27461
27480
|
return;
|
|
27462
27481
|
if (isPodsProject(key2)) cocoapods = installedPodsSandbox(import_node_path37.default.dirname(key2));
|
|
@@ -27528,7 +27547,7 @@ var SwiftPackageResolutionRequired = class extends Error {
|
|
|
27528
27547
|
}
|
|
27529
27548
|
};
|
|
27530
27549
|
function readXcodeAppTarget(input, targetName, configurationName, options = {}) {
|
|
27531
|
-
const xcodeprojOrWorkspace = import_node_fs36.default.realpathSync(input);
|
|
27550
|
+
const xcodeprojOrWorkspace = import_node_fs36.default.realpathSync.native(input);
|
|
27532
27551
|
const workspace = xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : null;
|
|
27533
27552
|
const { listed, projects: projects2, projectAt, cocoapods } = workspaceProjects(
|
|
27534
27553
|
xcodeprojOrWorkspace,
|
|
@@ -27566,7 +27585,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
27566
27585
|
if (proxy?.isa !== "PBXContainerItemProxy") return void 0;
|
|
27567
27586
|
const portal = str(proxy.containerPortal);
|
|
27568
27587
|
const portalPath = project.resolvePath(portal ?? "");
|
|
27569
|
-
const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath && import_node_fs36.default.existsSync(portalPath) ? projectAt.get(import_node_fs36.default.realpathSync(portalPath)) : void 0;
|
|
27588
|
+
const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath && import_node_fs36.default.existsSync(portalPath) ? projectAt.get(import_node_fs36.default.realpathSync.native(portalPath)) : void 0;
|
|
27570
27589
|
const remote = str(proxy.remoteGlobalIDString);
|
|
27571
27590
|
if (!owner || !remote) return void 0;
|
|
27572
27591
|
return projectTargets(owner).find(
|
|
@@ -28471,7 +28490,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
28471
28490
|
({ product }) => !options.nativeModules || nativeTargets.has(built2.ref) || options.nativeModules.includes(product)
|
|
28472
28491
|
);
|
|
28473
28492
|
const resolvedFile = workspaceResolvedFile(xcodeprojOrWorkspace);
|
|
28474
|
-
let packageResolved = import_node_fs36.default.existsSync(resolvedFile) ? [import_node_fs36.default.realpathSync(resolvedFile)] : [...new Set(localPackageDirs.map((dir) => import_node_path37.default.join(dir, "Package.resolved")))].filter((file) => import_node_fs36.default.existsSync(file)).map((file) => import_node_fs36.default.realpathSync(file)).sort();
|
|
28493
|
+
let packageResolved = import_node_fs36.default.existsSync(resolvedFile) ? [import_node_fs36.default.realpathSync.native(resolvedFile)] : [...new Set(localPackageDirs.map((dir) => import_node_path37.default.join(dir, "Package.resolved")))].filter((file) => import_node_fs36.default.existsSync(file)).map((file) => import_node_fs36.default.realpathSync.native(file)).sort();
|
|
28475
28494
|
if (packageResolved.length === 0) {
|
|
28476
28495
|
const requirements = remotePackageRequirements(projects2);
|
|
28477
28496
|
if (requirements.length > 0) {
|
|
@@ -28529,7 +28548,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
28529
28548
|
({ source }) => source.kind === "local" && import_node_fs36.default.existsSync(source.dir) ? [source.dir] : []
|
|
28530
28549
|
),
|
|
28531
28550
|
...new Set(podSourceDirs)
|
|
28532
|
-
].map((dir) => import_node_fs36.default.realpathSync(dir))
|
|
28551
|
+
].map((dir) => import_node_fs36.default.realpathSync.native(dir))
|
|
28533
28552
|
),
|
|
28534
28553
|
projectFiles: [
|
|
28535
28554
|
.../* @__PURE__ */ new Set([
|
|
@@ -28550,7 +28569,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
28550
28569
|
resourceProducts,
|
|
28551
28570
|
linkedProducts,
|
|
28552
28571
|
localPackageDirs: [
|
|
28553
|
-
...new Set(localPackageDirs.map((dir) => import_node_fs36.default.realpathSync(dir)))
|
|
28572
|
+
...new Set(localPackageDirs.map((dir) => import_node_fs36.default.realpathSync.native(dir)))
|
|
28554
28573
|
].sort(),
|
|
28555
28574
|
binaryFrameworks: [...binaryFrameworks].map(([name3, file]) => ({ name: name3, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
28556
28575
|
sdkFrameworks: [...sdkFrameworks].filter(
|
|
@@ -29554,7 +29573,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29554
29573
|
return hash.digest("hex");
|
|
29555
29574
|
}
|
|
29556
29575
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29557
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
29576
|
+
var STANDIN_SOURCE_DIGEST = true ? "a0f7627fe734d49c83ef364823e9eb076aa941eb1cbf200a13df996887bd349b" : standinSourceDigest();
|
|
29558
29577
|
|
|
29559
29578
|
// src/swift-standins.ts
|
|
29560
29579
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1907 | (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.1907 | (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/package.json
CHANGED
|
@@ -141,7 +141,9 @@ export async function verifyExpoWorkspaceCopy(app: string, work: string) {
|
|
|
141
141
|
function pnpmStoreArgs(root: string) {
|
|
142
142
|
const modules = path.join(root, 'node_modules', '.modules.yaml')
|
|
143
143
|
if (!fs.existsSync(modules)) return []
|
|
144
|
-
const store =
|
|
144
|
+
const store = /^\s*"?storeDir"?:\s*["']?([^"'\n,]+)/m.exec(
|
|
145
|
+
fs.readFileSync(modules, 'utf8'),
|
|
146
|
+
)
|
|
145
147
|
return store ? ['--store-dir', store[1]!] : []
|
|
146
148
|
}
|
|
147
149
|
|
package/src/expo-swift-host.ts
CHANGED
|
@@ -693,7 +693,8 @@ function enrichInstalledUnits(
|
|
|
693
693
|
const visit = (name: string, root = false) => {
|
|
694
694
|
// React's SDK module declares the upstream bridge surface; its installed
|
|
695
695
|
// native target owns the implementations and shared handler state.
|
|
696
|
-
if (included.has(name) || (!root && provided.has(name) && name !== 'React'))
|
|
696
|
+
if (included.has(name) || (!root && provided.has(name) && (bridge || name !== 'React')))
|
|
697
|
+
return
|
|
697
698
|
const dependency = targetByName.get(name)
|
|
698
699
|
if (!dependency) return
|
|
699
700
|
included.add(name)
|