peachsim 0.1.2425 → 0.1.2427
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 +36663 -36632
- 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 +42 -9
- 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 +43 -10
- package/dist-lib/host/fetch-proxy-handler.cjs +2650 -2647
- 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 +5 -2
- 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 +7313 -7310
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- 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 +99 -99
- 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 +57 -19
- 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 -5
- package/dist-lib/vite.cjs +5 -2
- 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 +1 -0
- package/dist-types/packages/peach-engine/src/engine/svg-native.d.ts +60 -0
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +1 -0
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +4 -0
- package/src/native-static-libraries.ts +2 -1
- package/src/podfile-cocoapods.ts +1 -13
- package/src/podspec-cocoapods.ts +13 -1
- package/src/podspec-ruby.ts +4 -2
- package/src/swift-standin-builtin-behavior.ts +3 -0
- package/src/swift-standin-emit.ts +10 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2427 | (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.2427 | (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.2427 | (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.2427 | (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.2427 | (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.2427 | (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.2427 | (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.2427 | (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.2427 | (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;
|
|
@@ -4588,7 +4588,7 @@ function nodeShell(command, cwd, env, writable) {
|
|
|
4588
4588
|
return { stdout: "", status: 0 };
|
|
4589
4589
|
}
|
|
4590
4590
|
const steps = command.split(/&&|;/).map((step) => step.trim().split(/\s+/)[0]);
|
|
4591
|
-
if (!steps.every((program) => program === "node" || program === "cd"))
|
|
4591
|
+
if (!steps.every((program) => program === "node" || program === "bun" || program === "cd"))
|
|
4592
4592
|
throw new UnsupportedRuby(`shell command \`${command}\``);
|
|
4593
4593
|
const result = (0, import_node_child_process6.spawnSync)("/bin/sh", ["-c", command], {
|
|
4594
4594
|
cwd,
|
|
@@ -10310,7 +10310,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
10310
10310
|
/@(\w+)(?:\([^)]*\))?\s*/g,
|
|
10311
10311
|
(attr, name3) => typeByPath.has(name3) ? "" : attr
|
|
10312
10312
|
) : spelledAttrs;
|
|
10313
|
-
const
|
|
10313
|
+
const selector = context.inClass && !options.inert && member.kind.identifier === "swift.type.method" && !/\basync\b/.test(rest) ? /^c:objc\(cs\)\w+\(cm\)([A-Za-z_][A-Za-z_0-9:]*)$/.exec(
|
|
10314
|
+
member.identifier.precise
|
|
10315
|
+
)?.[1] : void 0;
|
|
10316
|
+
const attrs = options.unobjc?.has(path85) ? wrapped.replace(/@objc(?:\([^)]*\))?\s*/g, "") : `${wrapped}${selector ? `@objc(${selector}) ` : ""}`;
|
|
10314
10317
|
const modifiers = /^((?:(?:required|final|override|convenience|unowned(?:\(\w+\))?|weak|lazy|nonisolated|mutating|nonmutating) )*)(.*)$/s.exec(
|
|
10315
10318
|
rest
|
|
10316
10319
|
);
|
|
@@ -12364,7 +12367,9 @@ function cocoapodsInterpreter(app, writable, env) {
|
|
|
12364
12367
|
const interp = new Interpreter({
|
|
12365
12368
|
cwd: app,
|
|
12366
12369
|
env: new Map(
|
|
12367
|
-
Object.entries(env).flatMap(
|
|
12370
|
+
Object.entries({ ...env, ...SOURCE_BUILD_ENV }).flatMap(
|
|
12371
|
+
([k, v6]) => v6 === void 0 ? [] : [[k, v6]]
|
|
12372
|
+
)
|
|
12368
12373
|
),
|
|
12369
12374
|
shell: (command, cwd) => {
|
|
12370
12375
|
const probe = HOST_PROBES.get(command.trim());
|
|
@@ -12497,7 +12502,7 @@ function evaluatePodspec(file, app, writable, env) {
|
|
|
12497
12502
|
return toJson(interp, call(pod, "peach_evaluated", [spec]));
|
|
12498
12503
|
});
|
|
12499
12504
|
}
|
|
12500
|
-
var import_node_child_process11, import_node_fs18, import_node_module2, import_node_path18, PRELUDE, PodspecEvaluationError, HOST_PROBES;
|
|
12505
|
+
var import_node_child_process11, import_node_fs18, import_node_module2, import_node_path18, PRELUDE, PodspecEvaluationError, HOST_PROBES, SOURCE_BUILD_ENV;
|
|
12501
12506
|
var init_podspec_cocoapods = __esm({
|
|
12502
12507
|
"src/podspec-cocoapods.ts"() {
|
|
12503
12508
|
"use strict";
|
|
@@ -13462,6 +13467,12 @@ end
|
|
|
13462
13467
|
`],
|
|
13463
13468
|
["/usr/sbin/sysctl -n hw.optional.arm64 2>&1", "1\n"]
|
|
13464
13469
|
]);
|
|
13470
|
+
SOURCE_BUILD_ENV = {
|
|
13471
|
+
RCT_USE_RN_DEP: "0",
|
|
13472
|
+
RCT_USE_PREBUILT_RNCORE: "0",
|
|
13473
|
+
RCT_BUILD_HERMES_FROM_SOURCE: "true",
|
|
13474
|
+
ONE_PREBUILT_IOS: "0"
|
|
13475
|
+
};
|
|
13465
13476
|
}
|
|
13466
13477
|
});
|
|
13467
13478
|
|
|
@@ -13500,6 +13511,19 @@ var init_workspace_root = __esm({
|
|
|
13500
13511
|
});
|
|
13501
13512
|
|
|
13502
13513
|
// src/podspec-sources.ts
|
|
13514
|
+
function readInstalledPodspecs(appRoot, projectRoot) {
|
|
13515
|
+
const directory2 = import_node_path20.default.join(projectRoot, "ios/Pods/Local Podspecs");
|
|
13516
|
+
const files2 = import_node_fs20.default.readdirSync(directory2).filter((name3) => name3.endsWith(".podspec.json"));
|
|
13517
|
+
installedSpecs.set(
|
|
13518
|
+
import_node_fs20.default.realpathSync(appRoot),
|
|
13519
|
+
new Map(
|
|
13520
|
+
files2.map((name3) => [
|
|
13521
|
+
name3.slice(0, -".podspec.json".length),
|
|
13522
|
+
import_node_path20.default.join(directory2, name3)
|
|
13523
|
+
])
|
|
13524
|
+
)
|
|
13525
|
+
);
|
|
13526
|
+
}
|
|
13503
13527
|
function restoreEvaluatedPodspecs(appRoot, values) {
|
|
13504
13528
|
const app = import_node_fs20.default.realpathSync(appRoot);
|
|
13505
13529
|
inputKeys.set(app, /* @__PURE__ */ new Map());
|
|
@@ -40945,7 +40969,7 @@ var init_swift_standin_digest = __esm({
|
|
|
40945
40969
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
40946
40970
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
40947
40971
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
40948
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
40972
|
+
STANDIN_SOURCE_DIGEST = true ? "76ba6566c9c2d1f2324dcae610243363f830f57e3753da053da53d749835e23a" : standinSourceDigest();
|
|
40949
40973
|
}
|
|
40950
40974
|
});
|
|
40951
40975
|
|
|
@@ -41404,11 +41428,11 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
41404
41428
|
return "runtime" in recipe2 ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
41405
41429
|
}
|
|
41406
41430
|
function isRustSymbol(name3, demangled) {
|
|
41407
|
-
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
41431
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_custom" || name3 === "__getrandom_v03_custom";
|
|
41408
41432
|
}
|
|
41409
41433
|
function rustStaticLibrary(file, moduleRoot) {
|
|
41410
41434
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
41411
|
-
const key2 = (0, import_node_crypto40.createHash)("sha256").update("rust-c-abi-
|
|
41435
|
+
const key2 = (0, import_node_crypto40.createHash)("sha256").update("rust-c-abi-v3\0").update(toolchain.release).update("\0").update(import_node_fs74.default.readFileSync(file)).digest("hex");
|
|
41412
41436
|
const directory2 = import_node_path73.default.join(cacheDir(), "native-archives", key2);
|
|
41413
41437
|
const archive = import_node_path73.default.join(directory2, "library.a");
|
|
41414
41438
|
if (import_node_fs74.default.existsSync(archive)) return archive;
|
|
@@ -43241,6 +43265,9 @@ var init_swift_standin_builtin_behavior = __esm({
|
|
|
43241
43265
|
"src/swift-standin-builtin-behavior.ts"() {
|
|
43242
43266
|
"use strict";
|
|
43243
43267
|
BUILTIN_STANDIN_BEHAVIOR = {
|
|
43268
|
+
FirebaseAnalytics: {
|
|
43269
|
+
"Analytics.logEvent(_:parameters:)": { body: "" }
|
|
43270
|
+
},
|
|
43244
43271
|
GoogleCast: {
|
|
43245
43272
|
kGCKCastDeviceCategory: { body: 'return "com.google.cast.CastDevice"' },
|
|
43246
43273
|
kGCKDefaultMediaReceiverApplicationID: { body: 'return "CC1AD845"' },
|
|
@@ -63478,6 +63505,9 @@ async function prepareOneSDKSources(appRoot, output2) {
|
|
|
63478
63505
|
import_node_fs32.default.writeFileSync(import_node_path30.default.join(directory2, "manifest.json"), JSON.stringify(manifest));
|
|
63479
63506
|
}
|
|
63480
63507
|
|
|
63508
|
+
// src/expo-native-workspace.ts
|
|
63509
|
+
init_podspec_sources();
|
|
63510
|
+
|
|
63481
63511
|
// src/portable-expo-workspace.ts
|
|
63482
63512
|
var import_node_crypto33 = require("node:crypto");
|
|
63483
63513
|
var import_node_fs65 = __toESM(require("node:fs"), 1);
|
|
@@ -64465,6 +64495,9 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
|
64465
64495
|
import_node_fs67.default.utimesSync(work, now, now);
|
|
64466
64496
|
return { app: preparedApp, work };
|
|
64467
64497
|
});
|
|
64498
|
+
if (stage === "workspace") {
|
|
64499
|
+
for (const root2 of [app, result.app]) readInstalledPodspecs(root2, result.app);
|
|
64500
|
+
}
|
|
64468
64501
|
await pruneExpoNativeWorkspaces(import_node_path66.default.dirname(work), work);
|
|
64469
64502
|
current.set(key2, { watch, edits, result });
|
|
64470
64503
|
return result;
|
|
@@ -65142,7 +65175,7 @@ init_swift_native_pin();
|
|
|
65142
65175
|
init_xcode_project();
|
|
65143
65176
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
65144
65177
|
function expoNativeCompilerDigestValue() {
|
|
65145
|
-
return true ? "
|
|
65178
|
+
return true ? "541814743d6d1d2638834f16c88f711def3d653a5f9f18dda242a6249a5b6b0a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
65146
65179
|
}
|
|
65147
65180
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
65148
65181
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2427 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2427 | (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.2427 | (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;
|
|
@@ -5495,7 +5495,7 @@ function nodeShell(command, cwd, env, writable) {
|
|
|
5495
5495
|
return { stdout: "", status: 0 };
|
|
5496
5496
|
}
|
|
5497
5497
|
const steps = command.split(/&&|;/).map((step) => step.trim().split(/\s+/)[0]);
|
|
5498
|
-
if (!steps.every((program) => program === "node" || program === "cd"))
|
|
5498
|
+
if (!steps.every((program) => program === "node" || program === "bun" || program === "cd"))
|
|
5499
5499
|
throw new UnsupportedRuby(`shell command \`${command}\``);
|
|
5500
5500
|
const result = (0, import_node_child_process7.spawnSync)("/bin/sh", ["-c", command], {
|
|
5501
5501
|
cwd,
|
|
@@ -11217,7 +11217,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
11217
11217
|
/@(\w+)(?:\([^)]*\))?\s*/g,
|
|
11218
11218
|
(attr, name3) => typeByPath.has(name3) ? "" : attr
|
|
11219
11219
|
) : spelledAttrs;
|
|
11220
|
-
const
|
|
11220
|
+
const selector = context.inClass && !options.inert && member.kind.identifier === "swift.type.method" && !/\basync\b/.test(rest) ? /^c:objc\(cs\)\w+\(cm\)([A-Za-z_][A-Za-z_0-9:]*)$/.exec(
|
|
11221
|
+
member.identifier.precise
|
|
11222
|
+
)?.[1] : void 0;
|
|
11223
|
+
const attrs = options.unobjc?.has(path124) ? wrapped.replace(/@objc(?:\([^)]*\))?\s*/g, "") : `${wrapped}${selector ? `@objc(${selector}) ` : ""}`;
|
|
11221
11224
|
const modifiers = /^((?:(?:required|final|override|convenience|unowned(?:\(\w+\))?|weak|lazy|nonisolated|mutating|nonmutating) )*)(.*)$/s.exec(
|
|
11222
11225
|
rest
|
|
11223
11226
|
);
|
|
@@ -13271,7 +13274,9 @@ function cocoapodsInterpreter(app, writable, env) {
|
|
|
13271
13274
|
const interp = new Interpreter({
|
|
13272
13275
|
cwd: app,
|
|
13273
13276
|
env: new Map(
|
|
13274
|
-
Object.entries(env).flatMap(
|
|
13277
|
+
Object.entries({ ...env, ...SOURCE_BUILD_ENV }).flatMap(
|
|
13278
|
+
([k, v7]) => v7 === void 0 ? [] : [[k, v7]]
|
|
13279
|
+
)
|
|
13275
13280
|
),
|
|
13276
13281
|
shell: (command, cwd) => {
|
|
13277
13282
|
const probe = HOST_PROBES.get(command.trim());
|
|
@@ -13404,7 +13409,7 @@ function evaluatePodspec(file, app, writable, env) {
|
|
|
13404
13409
|
return toJson(interp, call(pod, "peach_evaluated", [spec]));
|
|
13405
13410
|
});
|
|
13406
13411
|
}
|
|
13407
|
-
var import_node_child_process12, import_node_fs22, import_node_module2, import_node_path21, PRELUDE, PodspecEvaluationError, HOST_PROBES;
|
|
13412
|
+
var import_node_child_process12, import_node_fs22, import_node_module2, import_node_path21, PRELUDE, PodspecEvaluationError, HOST_PROBES, SOURCE_BUILD_ENV;
|
|
13408
13413
|
var init_podspec_cocoapods = __esm({
|
|
13409
13414
|
"src/podspec-cocoapods.ts"() {
|
|
13410
13415
|
"use strict";
|
|
@@ -14369,6 +14374,12 @@ end
|
|
|
14369
14374
|
`],
|
|
14370
14375
|
["/usr/sbin/sysctl -n hw.optional.arm64 2>&1", "1\n"]
|
|
14371
14376
|
]);
|
|
14377
|
+
SOURCE_BUILD_ENV = {
|
|
14378
|
+
RCT_USE_RN_DEP: "0",
|
|
14379
|
+
RCT_USE_PREBUILT_RNCORE: "0",
|
|
14380
|
+
RCT_BUILD_HERMES_FROM_SOURCE: "true",
|
|
14381
|
+
ONE_PREBUILT_IOS: "0"
|
|
14382
|
+
};
|
|
14372
14383
|
}
|
|
14373
14384
|
});
|
|
14374
14385
|
|
|
@@ -14407,6 +14418,19 @@ var init_workspace_root = __esm({
|
|
|
14407
14418
|
});
|
|
14408
14419
|
|
|
14409
14420
|
// src/podspec-sources.ts
|
|
14421
|
+
function readInstalledPodspecs(appRoot, projectRoot) {
|
|
14422
|
+
const directory2 = import_node_path23.default.join(projectRoot, "ios/Pods/Local Podspecs");
|
|
14423
|
+
const files2 = import_node_fs24.default.readdirSync(directory2).filter((name3) => name3.endsWith(".podspec.json"));
|
|
14424
|
+
installedSpecs.set(
|
|
14425
|
+
import_node_fs24.default.realpathSync(appRoot),
|
|
14426
|
+
new Map(
|
|
14427
|
+
files2.map((name3) => [
|
|
14428
|
+
name3.slice(0, -".podspec.json".length),
|
|
14429
|
+
import_node_path23.default.join(directory2, name3)
|
|
14430
|
+
])
|
|
14431
|
+
)
|
|
14432
|
+
);
|
|
14433
|
+
}
|
|
14410
14434
|
function restoreEvaluatedPodspecs(appRoot, values) {
|
|
14411
14435
|
const app = import_node_fs24.default.realpathSync(appRoot);
|
|
14412
14436
|
inputKeys.set(app, /* @__PURE__ */ new Map());
|
|
@@ -51609,7 +51633,7 @@ var init_swift_standin_digest = __esm({
|
|
|
51609
51633
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
51610
51634
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
51611
51635
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
51612
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
51636
|
+
STANDIN_SOURCE_DIGEST = true ? "76ba6566c9c2d1f2324dcae610243363f830f57e3753da053da53d749835e23a" : standinSourceDigest();
|
|
51613
51637
|
}
|
|
51614
51638
|
});
|
|
51615
51639
|
|
|
@@ -52136,11 +52160,11 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
52136
52160
|
return "runtime" in recipe2 ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
52137
52161
|
}
|
|
52138
52162
|
function isRustSymbol(name3, demangled) {
|
|
52139
|
-
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
52163
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_custom" || name3 === "__getrandom_v03_custom";
|
|
52140
52164
|
}
|
|
52141
52165
|
function rustStaticLibrary(file, moduleRoot) {
|
|
52142
52166
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
52143
|
-
const key2 = (0, import_node_crypto43.createHash)("sha256").update("rust-c-abi-
|
|
52167
|
+
const key2 = (0, import_node_crypto43.createHash)("sha256").update("rust-c-abi-v3\0").update(toolchain.release).update("\0").update(import_node_fs78.default.readFileSync(file)).digest("hex");
|
|
52144
52168
|
const directory2 = import_node_path78.default.join(cacheDir(), "native-archives", key2);
|
|
52145
52169
|
const archive = import_node_path78.default.join(directory2, "library.a");
|
|
52146
52170
|
if (import_node_fs78.default.existsSync(archive)) return archive;
|
|
@@ -53973,6 +53997,9 @@ var init_swift_standin_builtin_behavior = __esm({
|
|
|
53973
53997
|
"src/swift-standin-builtin-behavior.ts"() {
|
|
53974
53998
|
"use strict";
|
|
53975
53999
|
BUILTIN_STANDIN_BEHAVIOR = {
|
|
54000
|
+
FirebaseAnalytics: {
|
|
54001
|
+
"Analytics.logEvent(_:parameters:)": { body: "" }
|
|
54002
|
+
},
|
|
53976
54003
|
GoogleCast: {
|
|
53977
54004
|
kGCKCastDeviceCategory: { body: 'return "com.google.cast.CastDevice"' },
|
|
53978
54005
|
kGCKDefaultMediaReceiverApplicationID: { body: 'return "CC1AD845"' },
|
|
@@ -69909,7 +69936,7 @@ var init_nitro_superset = __esm({
|
|
|
69909
69936
|
init_nitroContract();
|
|
69910
69937
|
init_swift_standin_digest();
|
|
69911
69938
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
69912
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
69939
|
+
NITRO_COMPILER_DIGEST = true ? "4f4602c969d2d3c26b420fbc06e8b910a80d13946db58aa6d01c3726b936ff20" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
69913
69940
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
69914
69941
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
69915
69942
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -78201,6 +78228,9 @@ async function prepareOneSDKSources(appRoot, output2) {
|
|
|
78201
78228
|
import_node_fs35.default.writeFileSync(import_node_path34.default.join(directory2, "manifest.json"), JSON.stringify(manifest));
|
|
78202
78229
|
}
|
|
78203
78230
|
|
|
78231
|
+
// src/expo-native-workspace.ts
|
|
78232
|
+
init_podspec_sources();
|
|
78233
|
+
|
|
78204
78234
|
// src/portable-expo-workspace.ts
|
|
78205
78235
|
var import_node_crypto36 = require("node:crypto");
|
|
78206
78236
|
var import_node_fs69 = __toESM(require("node:fs"), 1);
|
|
@@ -79191,6 +79221,9 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
|
79191
79221
|
import_node_fs71.default.utimesSync(work, now, now);
|
|
79192
79222
|
return { app: preparedApp, work };
|
|
79193
79223
|
});
|
|
79224
|
+
if (stage === "workspace") {
|
|
79225
|
+
for (const root2 of [app, result.app]) readInstalledPodspecs(root2, result.app);
|
|
79226
|
+
}
|
|
79194
79227
|
await pruneExpoNativeWorkspaces(import_node_path71.default.dirname(work), work);
|
|
79195
79228
|
current.set(key2, { watch: watch2, edits, result });
|
|
79196
79229
|
return result;
|
|
@@ -79832,7 +79865,7 @@ init_swift_native_pin();
|
|
|
79832
79865
|
init_xcode_project();
|
|
79833
79866
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
79834
79867
|
function expoNativeCompilerDigestValue() {
|
|
79835
|
-
return true ? "
|
|
79868
|
+
return true ? "541814743d6d1d2638834f16c88f711def3d653a5f9f18dda242a6249a5b6b0a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
79836
79869
|
}
|
|
79837
79870
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
79838
79871
|
function readSources(value) {
|