peachsim 0.1.2426 → 0.1.2428

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.
Files changed (92) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +36657 -36632
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +32 -5
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +33 -6
  31. package/dist-lib/host/fetch-proxy-handler.cjs +2649 -2646
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +4 -1
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +7312 -7309
  47. package/dist-lib/native-app-identity-project.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.mjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +99 -99
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +31 -6
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +1 -1
  77. package/dist-lib/vite.cjs +4 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -0
  81. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -1
  82. package/dist-types/packages/peach-engine/src/engine/style-schema.d.ts +1 -0
  83. package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +2 -0
  84. package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +1 -0
  85. package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
  86. package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +1 -0
  87. package/kotlin/sdk.tar.gz +0 -0
  88. package/package.json +1 -1
  89. package/src/expo-native-workspace.ts +4 -0
  90. package/src/podfile-cocoapods.ts +1 -13
  91. package/src/podspec-cocoapods.ts +13 -1
  92. package/src/podspec-ruby.ts +4 -2
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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;
@@ -34532,7 +34532,7 @@ function nodeShell(command, cwd, env, writable) {
34532
34532
  return { stdout: "", status: 0 };
34533
34533
  }
34534
34534
  const steps = command.split(/&&|;/).map((step) => step.trim().split(/\s+/)[0]);
34535
- if (!steps.every((program) => program === "node" || program === "cd"))
34535
+ if (!steps.every((program) => program === "node" || program === "bun" || program === "cd"))
34536
34536
  throw new UnsupportedRuby(`shell command \`${command}\``);
34537
34537
  const result = (0, import_node_child_process9.spawnSync)("/bin/sh", ["-c", command], {
34538
34538
  cwd,
@@ -42311,7 +42311,9 @@ function cocoapodsInterpreter(app, writable, env) {
42311
42311
  const interp = new Interpreter({
42312
42312
  cwd: app,
42313
42313
  env: new Map(
42314
- Object.entries(env).flatMap(([k, v7]) => v7 === void 0 ? [] : [[k, v7]])
42314
+ Object.entries({ ...env, ...SOURCE_BUILD_ENV }).flatMap(
42315
+ ([k, v7]) => v7 === void 0 ? [] : [[k, v7]]
42316
+ )
42315
42317
  ),
42316
42318
  shell: (command, cwd) => {
42317
42319
  const probe2 = HOST_PROBES.get(command.trim());
@@ -42444,7 +42446,7 @@ function evaluatePodspec(file, app, writable, env) {
42444
42446
  return toJson(interp, call(pod, "peach_evaluated", [spec]));
42445
42447
  });
42446
42448
  }
42447
- var import_node_child_process14, import_node_fs24, import_node_module2, import_node_path21, PRELUDE, PodspecEvaluationError, HOST_PROBES;
42449
+ var import_node_child_process14, import_node_fs24, import_node_module2, import_node_path21, PRELUDE, PodspecEvaluationError, HOST_PROBES, SOURCE_BUILD_ENV;
42448
42450
  var init_podspec_cocoapods = __esm({
42449
42451
  "src/podspec-cocoapods.ts"() {
42450
42452
  "use strict";
@@ -43409,6 +43411,12 @@ end
43409
43411
  `],
43410
43412
  ["/usr/sbin/sysctl -n hw.optional.arm64 2>&1", "1\n"]
43411
43413
  ]);
43414
+ SOURCE_BUILD_ENV = {
43415
+ RCT_USE_RN_DEP: "0",
43416
+ RCT_USE_PREBUILT_RNCORE: "0",
43417
+ RCT_BUILD_HERMES_FROM_SOURCE: "true",
43418
+ ONE_PREBUILT_IOS: "0"
43419
+ };
43412
43420
  }
43413
43421
  });
43414
43422
 
@@ -43447,6 +43455,19 @@ var init_workspace_root = __esm({
43447
43455
  });
43448
43456
 
43449
43457
  // src/podspec-sources.ts
43458
+ function readInstalledPodspecs(appRoot, projectRoot) {
43459
+ const directory2 = import_node_path23.default.join(projectRoot, "ios/Pods/Local Podspecs");
43460
+ const files2 = import_node_fs26.default.readdirSync(directory2).filter((name3) => name3.endsWith(".podspec.json"));
43461
+ installedSpecs.set(
43462
+ import_node_fs26.default.realpathSync(appRoot),
43463
+ new Map(
43464
+ files2.map((name3) => [
43465
+ name3.slice(0, -".podspec.json".length),
43466
+ import_node_path23.default.join(directory2, name3)
43467
+ ])
43468
+ )
43469
+ );
43470
+ }
43450
43471
  function restoreEvaluatedPodspecs(appRoot, values) {
43451
43472
  const app = import_node_fs26.default.realpathSync(appRoot);
43452
43473
  inputKeys.set(app, /* @__PURE__ */ new Map());
@@ -77707,6 +77728,9 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
77707
77728
  import_node_fs73.default.utimesSync(work, now, now);
77708
77729
  return { app: preparedApp, work };
77709
77730
  });
77731
+ if (stage === "workspace") {
77732
+ for (const root2 of [app, result.app]) readInstalledPodspecs(root2, result.app);
77733
+ }
77710
77734
  await pruneExpoNativeWorkspaces(import_node_path71.default.dirname(work), work);
77711
77735
  current.set(key2, { watch: watch3, edits, result });
77712
77736
  return result;
@@ -77838,6 +77862,7 @@ var init_expo_native_workspace = __esm({
77838
77862
  init_native_failure_output();
77839
77863
  init_native_git();
77840
77864
  init_one_sdk_preparation();
77865
+ init_podspec_sources();
77841
77866
  init_portable_expo_workspace();
77842
77867
  init_retired_cache_directory();
77843
77868
  init_swift_helper();
@@ -78919,7 +78944,7 @@ __export(expo_native_prebuilt_exports, {
78919
78944
  servedExpoSwift: () => servedExpoSwift
78920
78945
  });
78921
78946
  function expoNativeCompilerDigestValue() {
78922
- return true ? "95d2f7fa52acb2c71a46d85b46df4e8307bc027d7bdcfed61fe9ce704175db4b" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
78947
+ return true ? "541814743d6d1d2638834f16c88f711def3d653a5f9f18dda242a6249a5b6b0a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
78923
78948
  }
78924
78949
  function readSources(value) {
78925
78950
  const sources = isRecord(value) ? value.sources : null;
@@ -102125,7 +102150,7 @@ var init_nitro_superset = __esm({
102125
102150
  init_nitroContract();
102126
102151
  init_swift_standin_digest();
102127
102152
  NITRO_SUPERSET_ENTRY_NAME = "superset";
102128
- NITRO_COMPILER_DIGEST = true ? "8fdfc68d42fcc8dc68e86c44b43f11e69e48240a6cfcce40075612773e7133f4" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
102153
+ NITRO_COMPILER_DIGEST = true ? "4f4602c969d2d3c26b420fbc06e8b910a80d13946db58aa6d01c3726b936ff20" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
102129
102154
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
102130
102155
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
102131
102156
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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;
@@ -12212,6 +12212,9 @@ init_bundle_global_footer();
12212
12212
  init_is_record();
12213
12213
  init_swiftContract();
12214
12214
 
12215
+ // src/expo-native-workspace.ts
12216
+ init_podspec_sources();
12217
+
12215
12218
  // src/portable-expo-workspace.ts
12216
12219
  init_is_record();
12217
12220
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (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.2426 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2428 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -30,6 +30,7 @@ export declare const ANDROID_EMOJI_FONT_FAMILY = "Noto Color Emoji";
30
30
  export declare const ANDROID_EMOJI_FLAGS_FONT_FAMILY = "Noto Color Emoji Flags";
31
31
  export declare const ANDROID_EMOJI_FONT_FAMILIES: readonly ["Noto Color Emoji", "Noto Color Emoji Flags"];
32
32
  export declare const EMOJI_FONT_FAMILY = "SootSimEmojiMetrics";
33
+ export declare const IOS_LAST_RESORT_FAMILY = "iOS LastResort";
33
34
  export declare function noteLanguageSubsetFamily(family: string): void;
34
35
  export declare function normalizeFontWeight(fontWeight: unknown): number;
35
36
  export interface AppFontFaceStyle {
@@ -290,7 +290,7 @@ export interface SceneNativeBinding extends NativeStyleModule {
290
290
  _peach_walk_host_continue_slots(): number;
291
291
  _peach_host_drop(slot: number, release: number): void;
292
292
  _peach_scene_subtree_raster(slot: number): number;
293
- _peach_scene_set_text(slot: number, paragraph: number, dpr: number, fontGeneration: number, padLeft: number, padTop: number, clipOffset: number, offsetX: number, offsetY: number, clip: number, maxWidth: number, contentHeight: number, overlay: number, embeds: number): number;
293
+ _peach_scene_set_text(slot: number, paragraph: number, dpr: number, fontGeneration: number, padLeft: number, padTop: number, clipOffset: number, offsetX: number, offsetY: number, clip: number, maxWidth: number, contentHeight: number, overlay: number, embeds: number, localBaselineY: number): number;
294
294
  _peach_scene_draw_text(slot: number, canvas: number, x: number, y: number, pendingScale: number, dpr: number): void;
295
295
  _peach_numeric_text_create(fromPicture: number, toPicture: number, glyphs: number): number;
296
296
  _peach_numeric_text_parameters(handle: number): number;
@@ -189,6 +189,7 @@ export declare const STYLE_SCHEMA: {
189
189
  _swiftUIHeightProposal: StyleField;
190
190
  _minimumScaleFactor: StyleField;
191
191
  _baselineOffset: StyleField;
192
+ _inlineImageBaselineOffset: StyleField;
192
193
  _hyphenationLocale: StyleField;
193
194
  _hyphenationFactor: StyleField;
194
195
  _swift: StyleField;
@@ -17,6 +17,7 @@ export interface TextParagraphLineHeight {
17
17
  firstTextStyle: SootSimStyle | null;
18
18
  hasExplicitLineHeight: boolean;
19
19
  declaresLineHeight: boolean;
20
+ attachmentsMayGrow: boolean;
20
21
  height: number | null;
21
22
  leading: number;
22
23
  mixedParagraphs: boolean;
@@ -35,6 +36,7 @@ export interface InlineEmbedSlot {
35
36
  width: number;
36
37
  height: number;
37
38
  placeholderIndex: number;
39
+ topInset?: number;
38
40
  }
39
41
  export declare function measureInlineTextAttachment(node: SootSimNode, rootNode: SootSimNode): {
40
42
  width: number;
@@ -30,6 +30,7 @@ export interface TextParagraphInputs {
30
30
  paragraphLineHeight: number | null;
31
31
  hasExplicitLineHeight: boolean;
32
32
  attachmentsStandOnBaseline: boolean;
33
+ attachmentsMayGrow: boolean;
33
34
  mixedParagraphs: boolean;
34
35
  textKitLines: TextParagraphLineHeight['textKitLines'];
35
36
  runAscents: TextParagraphLineHeight['runAscents'];
@@ -455,6 +455,7 @@ export interface SootSimStyle {
455
455
  _swiftUIHeightProposal?: number;
456
456
  _minimumScaleFactor?: number;
457
457
  _baselineOffset?: number;
458
+ _inlineImageBaselineOffset?: number;
458
459
  _hyphenationLocale?: string;
459
460
  _hyphenationFactor?: number;
460
461
  _swift?: SwiftLayout;
@@ -20,6 +20,7 @@ export type NativePreviewBundleShared = {
20
20
  depBase: string;
21
21
  depVersion?: string | null;
22
22
  serverUrl?: string | null;
23
+ assetServerPath?: string | null;
23
24
  externalPackages?: string[];
24
25
  cdnPackages?: Record<string, string>;
25
26
  sequence?: number | null;
package/kotlin/sdk.tar.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2426",
3
+ "version": "0.1.2428",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -18,6 +18,7 @@ import { cacheDir } from './home-paths.ts'
18
18
  import { failedOutputLine } from './native-failure-output.ts'
19
19
  import { requireNativeGit } from './native-git.ts'
20
20
  import { prepareOneSDKSources } from './one-sdk-preparation.ts'
21
+ import { readInstalledPodspecs } from './podspec-sources.ts'
21
22
  import { portableExpoWorkspace } from './portable-expo-workspace.ts'
22
23
  import {
23
24
  reapRetiredCacheDirectory,
@@ -1126,6 +1127,9 @@ async function prepareWorkspace(
1126
1127
  fs.utimesSync(work, now, now)
1127
1128
  return { app: preparedApp, work }
1128
1129
  })
1130
+ if (stage === 'workspace') {
1131
+ for (const root of [app, result.app]) readInstalledPodspecs(root, result.app)
1132
+ }
1129
1133
  // retirement scans and renames other workspaces; it keeps this one by name
1130
1134
  // and takes their locks without waiting, so it needs no place inside this
1131
1135
  // workspace's lock, where it only lengthens the wait of the next prepare.
@@ -1347,15 +1347,6 @@ function podClass(interp: Interpreter, name: string): RModule {
1347
1347
  return found
1348
1348
  }
1349
1349
 
1350
- // peach builds React Native's core, Hermes and their C++ dependencies from
1351
- // source itself, so the Podfile takes React Native's own source route instead
1352
- // of probing Maven and downloading prebuilt archives nothing here links
1353
- const REACT_NATIVE_FROM_SOURCE = {
1354
- RCT_USE_RN_DEP: '0',
1355
- RCT_USE_PREBUILT_RNCORE: '0',
1356
- RCT_BUILD_HERMES_FROM_SOURCE: 'true',
1357
- }
1358
-
1359
1350
  /** the app's `ios/Podfile`, evaluated with React Native's and the app's helpers. */
1360
1351
  export function evaluatePodfile(
1361
1352
  app: string,
@@ -1363,10 +1354,7 @@ export function evaluatePodfile(
1363
1354
  ): EvaluatedPodfile {
1364
1355
  const file = path.join(app, 'ios', 'Podfile')
1365
1356
  return rubyFailures(file, () => {
1366
- const { interp } = cocoapodsInterpreter(app, [app], {
1367
- ...env,
1368
- ...REACT_NATIVE_FROM_SOURCE,
1369
- })
1357
+ const { interp } = cocoapodsInterpreter(app, [app], env)
1370
1358
  interp.evalString(PODFILE, 'cocoapods-core/podfile')
1371
1359
  const pathname = interp.object.consts.get('Pathname') ?? null
1372
1360
  const podfile = send(interp, podClass(interp, 'Podfile'), 'new', [
@@ -995,6 +995,16 @@ const HOST_PROBES = new Map([
995
995
  ['/usr/sbin/sysctl -n hw.optional.arm64 2>&1', '1\n'],
996
996
  ])
997
997
 
998
+ // peach builds React Native's core, Hermes, their C++ dependencies and One
999
+ // from source itself, so Podfiles and podspecs take the source route instead
1000
+ // of probing Maven and downloading prebuilt archives nothing here links
1001
+ const SOURCE_BUILD_ENV = {
1002
+ RCT_USE_RN_DEP: '0',
1003
+ RCT_USE_PREBUILT_RNCORE: '0',
1004
+ RCT_BUILD_HERMES_FROM_SOURCE: 'true',
1005
+ ONE_PREBUILT_IOS: '0',
1006
+ }
1007
+
998
1008
  /**
999
1009
  * an interpreter with cocoapods-core's Pod module and React Native's pod
1000
1010
  * helpers loaded for `app`, with `env` as ENV. evaluated Ruby may write only
@@ -1008,7 +1018,9 @@ export function cocoapodsInterpreter(
1008
1018
  const interp = new Interpreter({
1009
1019
  cwd: app,
1010
1020
  env: new Map(
1011
- Object.entries(env).flatMap(([k, v]) => (v === undefined ? [] : [[k, v]])),
1021
+ Object.entries({ ...env, ...SOURCE_BUILD_ENV }).flatMap(([k, v]) =>
1022
+ v === undefined ? [] : [[k, v]],
1023
+ ),
1012
1024
  ),
1013
1025
  shell: (command, cwd) => {
1014
1026
  const probe = HOST_PROBES.get(command.trim())
@@ -5297,7 +5297,7 @@ export function childEnv(env: Map<string, string>): NodeJS.ProcessEnv {
5297
5297
  return result
5298
5298
  }
5299
5299
 
5300
- /** runs `command` like backticks when each step is `cd` or `node`, which resolve packages as the podspec expects. */
5300
+ /** runs `command` like backticks when each step is `cd` or a script runner (`node`, `bun`), which resolve packages as the podspec expects. */
5301
5301
  export function nodeShell(
5302
5302
  command: string,
5303
5303
  cwd: string,
@@ -5314,7 +5314,9 @@ export function nodeShell(
5314
5314
  return { stdout: '', status: 0 }
5315
5315
  }
5316
5316
  const steps = command.split(/&&|;/).map((step) => step.trim().split(/\s+/)[0])
5317
- if (!steps.every((program) => program === 'node' || program === 'cd'))
5317
+ if (
5318
+ !steps.every((program) => program === 'node' || program === 'bun' || program === 'cd')
5319
+ )
5318
5320
  throw new UnsupportedRuby(`shell command \`${command}\``)
5319
5321
  const result = spawnSync('/bin/sh', ['-c', command], {
5320
5322
  cwd,