peachsim 0.1.2400 → 0.1.2402
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/README.md +2 -2
- package/cli/bin.ts +1 -1
- package/cli/bridge-flow-runner.ts +1 -1
- package/cli/catalog/content.ts +520 -0
- package/cli/catalog/index.ts +4 -0
- package/cli/catalog/meta.ts +3881 -0
- package/cli/catalog/renderers.ts +659 -0
- package/cli/catalog/routes.ts +237 -0
- package/cli/catalog/types.ts +96 -0
- package/cli/cloud-client.ts +4 -1
- package/cli/commands/box.ts +6 -0
- package/cli/commands/inspect.ts +3 -3
- package/cli/commands/map.ts +1 -0
- package/cli/commands/platform.ts +2 -0
- package/cli/commands/record.ts +1 -1
- package/cli/commands/stream.ts +2 -0
- package/cli/dev-build-freshness.ts +1 -0
- package/cli/help-core.ts +6 -6
- package/cli/hidden-runtime-alias.ts +1 -1
- package/cli/outbound-endpoints.ts +3 -3
- package/cli/parse-args.ts +1 -1
- package/cli/run-registry.ts +25 -27
- 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 +50 -44
- 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 +31 -31
- 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 +75 -44
- package/dist-lib/host/fetch-proxy-handler.cjs +43 -40
- 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 +47 -44
- 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 +15 -9
- 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 +52 -49
- package/dist-lib/native-app-identity-project.cjs +22 -19
- package/dist-lib/native-app-identity-project.mjs +4 -3
- 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 +65 -62
- 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 +156 -120
- package/dist-lib/swift-compile.cjs +28 -30
- package/dist-lib/swift-compile.mjs +24 -26
- 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 +29 -31
- package/dist-lib/vite.cjs +38 -35
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +13 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +6 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +6 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +2 -2
- package/package.json +1 -3
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKState.h +78 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKStateMachine.h +69 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.apinotes +269 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.h +15 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKitBase.h +38 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes +8 -4
- package/src/android-gradle-sources.ts +14 -8
- package/src/androidGradleContract.ts +2 -0
- package/src/nitro-adapter.lock.json +232 -232
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +8 -8
- package/src/turbo-runtime.lock.json +19 -19
- package/src/wasm-optimize.ts +23 -24
- package/src/worklets-babel.ts +2 -6
- package/cli/registry.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2402 | (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;
|
|
@@ -10961,9 +10961,6 @@ async function runExtractor(command, args, signal, input) {
|
|
|
10961
10961
|
}
|
|
10962
10962
|
}
|
|
10963
10963
|
|
|
10964
|
-
// src/wasm-optimize.ts
|
|
10965
|
-
var import_wasm_opt = require("wasm-opt");
|
|
10966
|
-
|
|
10967
10964
|
// src/home-paths.ts
|
|
10968
10965
|
var import_node_os6 = require("node:os");
|
|
10969
10966
|
var import_node_path17 = __toESM(require("node:path"), 1);
|
|
@@ -11228,8 +11225,9 @@ var FEATURES = [
|
|
|
11228
11225
|
];
|
|
11229
11226
|
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
11230
11227
|
var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
11231
|
-
var
|
|
11232
|
-
var
|
|
11228
|
+
var BINARYEN_VERSION = "132";
|
|
11229
|
+
var runBinaryen = (0, import_node_util.promisify)(import_node_child_process13.execFile);
|
|
11230
|
+
var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
11233
11231
|
var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
11234
11232
|
[
|
|
11235
11233
|
"linux-x64",
|
|
@@ -11256,7 +11254,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
11256
11254
|
async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
11257
11255
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
11258
11256
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
11259
|
-
const environment = { ...process.env
|
|
11257
|
+
const environment = { ...process.env };
|
|
11260
11258
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
11261
11259
|
environment.BINARYEN_CORES = String(
|
|
11262
11260
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -11270,7 +11268,7 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11270
11268
|
const thunks = `${output}.thunks.wat`;
|
|
11271
11269
|
(0, import_node_fs17.writeFileSync)(guest, narrowed.module);
|
|
11272
11270
|
(0, import_node_fs17.writeFileSync)(thunks, narrowed.thunks);
|
|
11273
|
-
await (
|
|
11271
|
+
await runBinaryen(
|
|
11274
11272
|
(0, import_node_path18.join)((0, import_node_path18.dirname)(binary), "wasm-merge"),
|
|
11275
11273
|
[
|
|
11276
11274
|
...features,
|
|
@@ -11288,39 +11286,39 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11288
11286
|
(0, import_node_fs17.rmSync)(guest);
|
|
11289
11287
|
(0, import_node_fs17.rmSync)(thunks);
|
|
11290
11288
|
}
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11289
|
+
try {
|
|
11290
|
+
await runBinaryen(
|
|
11291
|
+
binary,
|
|
11292
|
+
[
|
|
11293
|
+
...LOWERING,
|
|
11294
|
+
...optimize ? ["-Oz"] : [],
|
|
11295
|
+
...names,
|
|
11296
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
11297
|
+
...features,
|
|
11298
|
+
narrowed ? merged : file,
|
|
11299
|
+
"-o",
|
|
11300
|
+
output
|
|
11301
|
+
],
|
|
11302
|
+
{ env: environment, maxBuffer: Infinity }
|
|
11303
|
+
);
|
|
11304
|
+
} finally {
|
|
11305
|
+
if (narrowed) (0, import_node_fs17.rmSync)(merged);
|
|
11306
|
+
}
|
|
11307
11307
|
}
|
|
11308
11308
|
async function installWasmOpt() {
|
|
11309
|
-
if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
11310
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
11311
11309
|
const platform = `${process.platform}-${process.arch}`;
|
|
11312
11310
|
const release = BINARYEN_RELEASES.get(platform);
|
|
11313
11311
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
|
|
11314
|
-
const destDir = (0, import_node_path18.join)(rnxHomeDir(), "tools", "binaryen",
|
|
11312
|
+
const destDir = (0, import_node_path18.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform);
|
|
11315
11313
|
const binary = (0, import_node_path18.join)(destDir, "bin", "wasm-opt");
|
|
11316
11314
|
if (!(0, import_node_fs17.existsSync)(binary))
|
|
11317
11315
|
await installVerifiedTarball({
|
|
11318
|
-
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${
|
|
11316
|
+
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
|
|
11319
11317
|
digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
|
|
11320
11318
|
destDir,
|
|
11321
11319
|
installedMarker: "bin/wasm-opt",
|
|
11322
11320
|
stripComponents: 1,
|
|
11323
|
-
label: `Binaryen ${
|
|
11321
|
+
label: `Binaryen ${BINARYEN_VERSION}`
|
|
11324
11322
|
});
|
|
11325
11323
|
return binary;
|
|
11326
11324
|
}
|
|
@@ -13762,7 +13760,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13762
13760
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13763
13761
|
var MULTI_MANIFEST_VERSION = 69;
|
|
13764
13762
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13765
|
-
var compilerSourceDigest = true ? "
|
|
13763
|
+
var compilerSourceDigest = true ? "3401ceef036de73ad328223d7bbbc23ebbacba2bd1d1828ccc30bd44955cb161" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13766
13764
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13767
13765
|
const hash = (0, import_node_crypto14.createHash)("sha256");
|
|
13768
13766
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2402 | (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);
|
|
@@ -10921,9 +10921,6 @@ async function runExtractor(command, args, signal, input) {
|
|
|
10921
10921
|
}
|
|
10922
10922
|
}
|
|
10923
10923
|
|
|
10924
|
-
// src/wasm-optimize.ts
|
|
10925
|
-
import { BINARYEN_VERSION, wasmOpt } from "wasm-opt";
|
|
10926
|
-
|
|
10927
10924
|
// src/home-paths.ts
|
|
10928
10925
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
10929
10926
|
import fs9 from "node:fs";
|
|
@@ -11190,8 +11187,9 @@ var FEATURES = [
|
|
|
11190
11187
|
];
|
|
11191
11188
|
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
11192
11189
|
var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
11190
|
+
var BINARYEN_VERSION = "132";
|
|
11191
|
+
var runBinaryen = promisify2(execFile2);
|
|
11193
11192
|
var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
11194
|
-
var PINNED_BINARYEN_VERSION = "132";
|
|
11195
11193
|
var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
11196
11194
|
[
|
|
11197
11195
|
"linux-x64",
|
|
@@ -11218,7 +11216,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
11218
11216
|
async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
11219
11217
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
11220
11218
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
11221
|
-
const environment = { ...process.env
|
|
11219
|
+
const environment = { ...process.env };
|
|
11222
11220
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
11223
11221
|
environment.BINARYEN_CORES = String(
|
|
11224
11222
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -11232,7 +11230,7 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11232
11230
|
const thunks = `${output}.thunks.wat`;
|
|
11233
11231
|
writeFileSync5(guest, narrowed.module);
|
|
11234
11232
|
writeFileSync5(thunks, narrowed.thunks);
|
|
11235
|
-
await
|
|
11233
|
+
await runBinaryen(
|
|
11236
11234
|
join2(dirname(binary), "wasm-merge"),
|
|
11237
11235
|
[
|
|
11238
11236
|
...features,
|
|
@@ -11250,26 +11248,26 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11250
11248
|
rmSync4(guest);
|
|
11251
11249
|
rmSync4(thunks);
|
|
11252
11250
|
}
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11251
|
+
try {
|
|
11252
|
+
await runBinaryen(
|
|
11253
|
+
binary,
|
|
11254
|
+
[
|
|
11255
|
+
...LOWERING,
|
|
11256
|
+
...optimize ? ["-Oz"] : [],
|
|
11257
|
+
...names,
|
|
11258
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
11259
|
+
...features,
|
|
11260
|
+
narrowed ? merged : file,
|
|
11261
|
+
"-o",
|
|
11262
|
+
output
|
|
11263
|
+
],
|
|
11264
|
+
{ env: environment, maxBuffer: Infinity }
|
|
11265
|
+
);
|
|
11266
|
+
} finally {
|
|
11267
|
+
if (narrowed) rmSync4(merged);
|
|
11268
|
+
}
|
|
11269
11269
|
}
|
|
11270
11270
|
async function installWasmOpt() {
|
|
11271
|
-
if (BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
11272
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
11273
11271
|
const platform = `${process.platform}-${process.arch}`;
|
|
11274
11272
|
const release = BINARYEN_RELEASES.get(platform);
|
|
11275
11273
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
|
|
@@ -13750,7 +13748,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13750
13748
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13751
13749
|
var MULTI_MANIFEST_VERSION = 69;
|
|
13752
13750
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13753
|
-
var compilerSourceDigest = true ? "
|
|
13751
|
+
var compilerSourceDigest = true ? "3401ceef036de73ad328223d7bbbc23ebbacba2bd1d1828ccc30bd44955cb161" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13754
13752
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13755
13753
|
const hash = createHash14("sha256");
|
|
13756
13754
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2402 | (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.2402 | (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.2402 | (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.2402 | (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.2402 | (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;
|
|
@@ -16028,9 +16028,6 @@ async function runExtractor(command, args, signal, input) {
|
|
|
16028
16028
|
}
|
|
16029
16029
|
}
|
|
16030
16030
|
|
|
16031
|
-
// src/wasm-optimize.ts
|
|
16032
|
-
var import_wasm_opt = require("wasm-opt");
|
|
16033
|
-
|
|
16034
16031
|
// src/home-paths.ts
|
|
16035
16032
|
var import_node_fs19 = __toESM(require("node:fs"), 1);
|
|
16036
16033
|
var import_node_os6 = require("node:os");
|
|
@@ -16317,8 +16314,9 @@ var FEATURES = [
|
|
|
16317
16314
|
];
|
|
16318
16315
|
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
16319
16316
|
var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
16320
|
-
var
|
|
16321
|
-
var
|
|
16317
|
+
var BINARYEN_VERSION = "132";
|
|
16318
|
+
var runBinaryen = (0, import_node_util2.promisify)(import_node_child_process14.execFile);
|
|
16319
|
+
var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
16322
16320
|
var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
16323
16321
|
[
|
|
16324
16322
|
"linux-x64",
|
|
@@ -16345,7 +16343,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
16345
16343
|
async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
|
|
16346
16344
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
16347
16345
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
16348
|
-
const environment = { ...process.env
|
|
16346
|
+
const environment = { ...process.env };
|
|
16349
16347
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
16350
16348
|
environment.BINARYEN_CORES = String(
|
|
16351
16349
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -16359,7 +16357,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
|
|
|
16359
16357
|
const thunks = `${output2}.thunks.wat`;
|
|
16360
16358
|
(0, import_node_fs20.writeFileSync)(guest, narrowed.module);
|
|
16361
16359
|
(0, import_node_fs20.writeFileSync)(thunks, narrowed.thunks);
|
|
16362
|
-
await (
|
|
16360
|
+
await runBinaryen(
|
|
16363
16361
|
(0, import_node_path20.join)((0, import_node_path20.dirname)(binary), "wasm-merge"),
|
|
16364
16362
|
[
|
|
16365
16363
|
...features,
|
|
@@ -16377,39 +16375,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
|
|
|
16377
16375
|
(0, import_node_fs20.rmSync)(guest);
|
|
16378
16376
|
(0, import_node_fs20.rmSync)(thunks);
|
|
16379
16377
|
}
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16378
|
+
try {
|
|
16379
|
+
await runBinaryen(
|
|
16380
|
+
binary,
|
|
16381
|
+
[
|
|
16382
|
+
...LOWERING,
|
|
16383
|
+
...optimize ? ["-Oz"] : [],
|
|
16384
|
+
...names,
|
|
16385
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
16386
|
+
...features,
|
|
16387
|
+
narrowed ? merged : file,
|
|
16388
|
+
"-o",
|
|
16389
|
+
output2
|
|
16390
|
+
],
|
|
16391
|
+
{ env: environment, maxBuffer: Infinity }
|
|
16392
|
+
);
|
|
16393
|
+
} finally {
|
|
16394
|
+
if (narrowed) (0, import_node_fs20.rmSync)(merged);
|
|
16395
|
+
}
|
|
16396
16396
|
}
|
|
16397
16397
|
async function installWasmOpt() {
|
|
16398
|
-
if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
16399
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
16400
16398
|
const platform = `${process.platform}-${process.arch}`;
|
|
16401
16399
|
const release = BINARYEN_RELEASES.get(platform);
|
|
16402
16400
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
|
|
16403
|
-
const destDir = (0, import_node_path20.join)(rnxHomeDir(), "tools", "binaryen",
|
|
16401
|
+
const destDir = (0, import_node_path20.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform);
|
|
16404
16402
|
const binary = (0, import_node_path20.join)(destDir, "bin", "wasm-opt");
|
|
16405
16403
|
if (!(0, import_node_fs20.existsSync)(binary))
|
|
16406
16404
|
await installVerifiedTarball({
|
|
16407
|
-
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${
|
|
16405
|
+
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
|
|
16408
16406
|
digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
|
|
16409
16407
|
destDir,
|
|
16410
16408
|
installedMarker: "bin/wasm-opt",
|
|
16411
16409
|
stripComponents: 1,
|
|
16412
|
-
label: `Binaryen ${
|
|
16410
|
+
label: `Binaryen ${BINARYEN_VERSION}`
|
|
16413
16411
|
});
|
|
16414
16412
|
return binary;
|
|
16415
16413
|
}
|
|
@@ -18677,7 +18675,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18677
18675
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18678
18676
|
var MULTI_MANIFEST_VERSION = 69;
|
|
18679
18677
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18680
|
-
var compilerSourceDigest = true ? "
|
|
18678
|
+
var compilerSourceDigest = true ? "3401ceef036de73ad328223d7bbbc23ebbacba2bd1d1828ccc30bd44955cb161" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18681
18679
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18682
18680
|
const hash = (0, import_node_crypto14.createHash)("sha256");
|
|
18683
18681
|
hash.update(`swift-compile
|
|
@@ -34141,7 +34139,7 @@ function sourceClosureDigest(srcDir, entrypoints, excludedFiles) {
|
|
|
34141
34139
|
return hash.digest("hex");
|
|
34142
34140
|
}
|
|
34143
34141
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
34144
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
34142
|
+
var STANDIN_SOURCE_DIGEST = true ? "2e7f1f173feffee6e539b11d8cd6fa9540f7418a23e3563c8b2d9aa747495bd6" : standinSourceDigest();
|
|
34145
34143
|
|
|
34146
34144
|
// src/swift-standins.ts
|
|
34147
34145
|
var import_node_child_process32 = require("node:child_process");
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2402 | (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;
|
|
@@ -3244,7 +3244,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3244
3244
|
var init_swift_standin_digest = __esm({
|
|
3245
3245
|
"src/swift-standin-digest.ts"() {
|
|
3246
3246
|
"use strict";
|
|
3247
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3247
|
+
STANDIN_SOURCE_DIGEST = true ? "2e7f1f173feffee6e539b11d8cd6fa9540f7418a23e3563c8b2d9aa747495bd6" : standinSourceDigest();
|
|
3248
3248
|
}
|
|
3249
3249
|
});
|
|
3250
3250
|
|
|
@@ -4715,12 +4715,13 @@ var init_wasm_narrow_boundary = __esm({
|
|
|
4715
4715
|
});
|
|
4716
4716
|
|
|
4717
4717
|
// src/wasm-optimize.ts
|
|
4718
|
-
var
|
|
4718
|
+
var import_node_child_process7, import_node_util3, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY;
|
|
4719
4719
|
var init_wasm_optimize = __esm({
|
|
4720
4720
|
"src/wasm-optimize.ts"() {
|
|
4721
4721
|
"use strict";
|
|
4722
|
+
import_node_child_process7 = require("node:child_process");
|
|
4723
|
+
import_node_util3 = require("node:util");
|
|
4722
4724
|
init_src();
|
|
4723
|
-
import_wasm_opt = require("wasm-opt");
|
|
4724
4725
|
init_admitted_mac_build();
|
|
4725
4726
|
init_home_paths();
|
|
4726
4727
|
init_wasm_narrow_boundary();
|
|
@@ -4739,7 +4740,9 @@ var init_wasm_optimize = __esm({
|
|
|
4739
4740
|
];
|
|
4740
4741
|
KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
4741
4742
|
LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
4742
|
-
|
|
4743
|
+
BINARYEN_VERSION = "132";
|
|
4744
|
+
runBinaryen = (0, import_node_util3.promisify)(import_node_child_process7.execFile);
|
|
4745
|
+
WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
4743
4746
|
}
|
|
4744
4747
|
});
|
|
4745
4748
|
|
|
@@ -4778,19 +4781,19 @@ var init_icuData = __esm({
|
|
|
4778
4781
|
});
|
|
4779
4782
|
|
|
4780
4783
|
// src/swift-icu.ts
|
|
4781
|
-
var
|
|
4784
|
+
var import_node_child_process8, import_node_util4, import_node_zlib2, run3, deflate, compressBrotli, inflateGzip;
|
|
4782
4785
|
var init_swift_icu = __esm({
|
|
4783
4786
|
"src/swift-icu.ts"() {
|
|
4784
4787
|
"use strict";
|
|
4785
|
-
|
|
4786
|
-
|
|
4788
|
+
import_node_child_process8 = require("node:child_process");
|
|
4789
|
+
import_node_util4 = require("node:util");
|
|
4787
4790
|
import_node_zlib2 = require("node:zlib");
|
|
4788
4791
|
init_icuData();
|
|
4789
4792
|
init_swift_toolchain();
|
|
4790
|
-
run3 = (0,
|
|
4791
|
-
deflate = (0,
|
|
4792
|
-
compressBrotli = (0,
|
|
4793
|
-
inflateGzip = (0,
|
|
4793
|
+
run3 = (0, import_node_util4.promisify)(import_node_child_process8.execFile);
|
|
4794
|
+
deflate = (0, import_node_util4.promisify)(import_node_zlib2.gzip);
|
|
4795
|
+
compressBrotli = (0, import_node_util4.promisify)(import_node_zlib2.brotliCompress);
|
|
4796
|
+
inflateGzip = (0, import_node_util4.promisify)(import_node_zlib2.gunzip);
|
|
4794
4797
|
}
|
|
4795
4798
|
});
|
|
4796
4799
|
|
|
@@ -4959,7 +4962,7 @@ var init_swift_compile = __esm({
|
|
|
4959
4962
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4960
4963
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4961
4964
|
).join("");
|
|
4962
|
-
compilerSourceDigest = true ? "
|
|
4965
|
+
compilerSourceDigest = true ? "3401ceef036de73ad328223d7bbbc23ebbacba2bd1d1828ccc30bd44955cb161" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4963
4966
|
C_WORDS = new Set(
|
|
4964
4967
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
4965
4968
|
" "
|
|
@@ -5160,13 +5163,13 @@ var init_swift_distribution = __esm({
|
|
|
5160
5163
|
});
|
|
5161
5164
|
|
|
5162
5165
|
// src/swift-package-manifest.ts
|
|
5163
|
-
var
|
|
5166
|
+
var import_node_child_process9, import_node_path17, import_node_util5, cacheDir3, execFileAsync;
|
|
5164
5167
|
var init_swift_package_manifest = __esm({
|
|
5165
5168
|
"src/swift-package-manifest.ts"() {
|
|
5166
5169
|
"use strict";
|
|
5167
|
-
|
|
5170
|
+
import_node_child_process9 = require("node:child_process");
|
|
5168
5171
|
import_node_path17 = __toESM(require("node:path"), 1);
|
|
5169
|
-
|
|
5172
|
+
import_node_util5 = require("node:util");
|
|
5170
5173
|
init_git_repo_env();
|
|
5171
5174
|
init_home_paths();
|
|
5172
5175
|
init_swift_distribution();
|
|
@@ -5174,7 +5177,7 @@ var init_swift_package_manifest = __esm({
|
|
|
5174
5177
|
init_swift_package();
|
|
5175
5178
|
init_swift_toolchain();
|
|
5176
5179
|
cacheDir3 = import_node_path17.default.join(cacheDir(), "swift-manifests");
|
|
5177
|
-
execFileAsync = (0,
|
|
5180
|
+
execFileAsync = (0, import_node_util5.promisify)(import_node_child_process9.execFile);
|
|
5178
5181
|
}
|
|
5179
5182
|
});
|
|
5180
5183
|
|
|
@@ -5354,12 +5357,12 @@ var init_swift_shipped_binaries = __esm({
|
|
|
5354
5357
|
});
|
|
5355
5358
|
|
|
5356
5359
|
// src/swift-packages.ts
|
|
5357
|
-
var
|
|
5360
|
+
var import_node_child_process10, import_node_util6, execFileAsync2;
|
|
5358
5361
|
var init_swift_packages = __esm({
|
|
5359
5362
|
"src/swift-packages.ts"() {
|
|
5360
5363
|
"use strict";
|
|
5361
|
-
|
|
5362
|
-
|
|
5364
|
+
import_node_child_process10 = require("node:child_process");
|
|
5365
|
+
import_node_util6 = require("node:util");
|
|
5363
5366
|
init_git_repo_env();
|
|
5364
5367
|
init_home_paths();
|
|
5365
5368
|
init_native_git();
|
|
@@ -5369,7 +5372,7 @@ var init_swift_packages = __esm({
|
|
|
5369
5372
|
init_swift_package();
|
|
5370
5373
|
init_swift_package_manifest();
|
|
5371
5374
|
init_swift_shipped_binaries();
|
|
5372
|
-
execFileAsync2 = (0,
|
|
5375
|
+
execFileAsync2 = (0, import_node_util6.promisify)(import_node_child_process10.execFile);
|
|
5373
5376
|
}
|
|
5374
5377
|
});
|
|
5375
5378
|
|
|
@@ -5638,27 +5641,27 @@ var init_installed_native_libraries = __esm({
|
|
|
5638
5641
|
});
|
|
5639
5642
|
|
|
5640
5643
|
// src/turbo-codegen-intake.ts
|
|
5641
|
-
var
|
|
5644
|
+
var import_node_child_process11, import_node_util7, run4;
|
|
5642
5645
|
var init_turbo_codegen_intake = __esm({
|
|
5643
5646
|
"src/turbo-codegen-intake.ts"() {
|
|
5644
5647
|
"use strict";
|
|
5645
|
-
|
|
5646
|
-
|
|
5648
|
+
import_node_child_process11 = require("node:child_process");
|
|
5649
|
+
import_node_util7 = require("node:util");
|
|
5647
5650
|
init_forked_script_contract();
|
|
5648
5651
|
init_is_record();
|
|
5649
5652
|
init_nitro_source();
|
|
5650
5653
|
init_podspec_sources();
|
|
5651
|
-
run4 = (0,
|
|
5654
|
+
run4 = (0, import_node_util7.promisify)(import_node_child_process11.execFile);
|
|
5652
5655
|
}
|
|
5653
5656
|
});
|
|
5654
5657
|
|
|
5655
5658
|
// src/turbo-source.ts
|
|
5656
|
-
var
|
|
5659
|
+
var import_node_child_process12, import_node_util8, execFileAsync3;
|
|
5657
5660
|
var init_turbo_source = __esm({
|
|
5658
5661
|
"src/turbo-source.ts"() {
|
|
5659
5662
|
"use strict";
|
|
5660
|
-
|
|
5661
|
-
|
|
5663
|
+
import_node_child_process12 = require("node:child_process");
|
|
5664
|
+
import_node_util8 = require("node:util");
|
|
5662
5665
|
init_home_paths();
|
|
5663
5666
|
init_installed_native_libraries();
|
|
5664
5667
|
init_answeredNativePackages();
|
|
@@ -5671,7 +5674,7 @@ var init_turbo_source = __esm({
|
|
|
5671
5674
|
init_swiftContract();
|
|
5672
5675
|
init_turbo_codegen_intake();
|
|
5673
5676
|
init_xcode_project();
|
|
5674
|
-
execFileAsync3 = (0,
|
|
5677
|
+
execFileAsync3 = (0, import_node_util8.promisify)(import_node_child_process12.execFile);
|
|
5675
5678
|
}
|
|
5676
5679
|
});
|
|
5677
5680
|
|
|
@@ -10002,8 +10005,8 @@ var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
|
10002
10005
|
|
|
10003
10006
|
// src/expo-swift-host.ts
|
|
10004
10007
|
var import_node_async_hooks3 = require("node:async_hooks");
|
|
10005
|
-
var
|
|
10006
|
-
var
|
|
10008
|
+
var import_node_child_process13 = require("node:child_process");
|
|
10009
|
+
var import_node_util9 = require("node:util");
|
|
10007
10010
|
init_answeredNativePackages();
|
|
10008
10011
|
init_expo_autolinking();
|
|
10009
10012
|
|
|
@@ -10075,7 +10078,7 @@ init_swift_standins();
|
|
|
10075
10078
|
init_swift_submit();
|
|
10076
10079
|
init_swift_toolchain();
|
|
10077
10080
|
init_turbo_source();
|
|
10078
|
-
var run5 = (0,
|
|
10081
|
+
var run5 = (0, import_node_util9.promisify)(import_node_child_process13.execFile);
|
|
10079
10082
|
var scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
|
|
10080
10083
|
var traceStore = new import_node_async_hooks3.AsyncLocalStorage();
|
|
10081
10084
|
var openPreparations = new NativePreparationReceipts();
|
|
@@ -15225,17 +15228,17 @@ function readOneNativeAppCatalog(entryConfig, root) {
|
|
|
15225
15228
|
}
|
|
15226
15229
|
|
|
15227
15230
|
// src/one-widget-metadata.ts
|
|
15228
|
-
var
|
|
15231
|
+
var import_node_child_process14 = require("node:child_process");
|
|
15229
15232
|
var import_node_crypto6 = require("node:crypto");
|
|
15230
15233
|
var import_node_fs18 = __toESM(require("node:fs"), 1);
|
|
15231
15234
|
var import_node_module2 = require("node:module");
|
|
15232
15235
|
var import_node_path25 = __toESM(require("node:path"), 1);
|
|
15233
|
-
var
|
|
15236
|
+
var import_node_util10 = require("node:util");
|
|
15234
15237
|
init_forked_script_contract();
|
|
15235
15238
|
init_is_record();
|
|
15236
15239
|
init_swift_source_file();
|
|
15237
15240
|
init_swift_submit();
|
|
15238
|
-
var run6 = (0,
|
|
15241
|
+
var run6 = (0, import_node_util10.promisify)(import_node_child_process14.execFile);
|
|
15239
15242
|
var configs = /* @__PURE__ */ new Map();
|
|
15240
15243
|
var reads = /* @__PURE__ */ new Map();
|
|
15241
15244
|
var CONFIG_CHILD = `
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2402 | (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;
|
|
@@ -20,6 +20,10 @@ export declare const SF_PRO_GRADED_FONT_FAMILY = "SF Pro Graded";
|
|
|
20
20
|
export declare const SF_COMPACT_FONT_FAMILY = "SF Compact";
|
|
21
21
|
export declare const NEW_YORK_FONT_FAMILY = ".NewYork";
|
|
22
22
|
export declare const SF_MONO_FONT_FAMILY = "SF Mono";
|
|
23
|
+
export declare const ANDROID_ROBOTO_ALIASES: ReadonlyMap<string, {
|
|
24
|
+
weight: number;
|
|
25
|
+
width: number;
|
|
26
|
+
}>;
|
|
23
27
|
export declare function resolveSystemNamedFace(fontFamily: string | undefined, fontWeight: unknown, fontStyle: unknown): SystemNamedFace | null;
|
|
24
28
|
export declare const ANDROID_FONT_FAMILY = "Roboto";
|
|
25
29
|
export declare const ANDROID_EMOJI_FONT_FAMILY = "Noto Color Emoji";
|