peachsim 0.1.1842 → 0.1.1844
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 +25 -4
- 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 +23 -2
- 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 +24 -3
- 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 +1 -1
- 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 +1 -1
- 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 +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 +25 -4
- 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 +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +1 -1
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +40 -1
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1844 | (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/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1844 | (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;
|
|
@@ -56391,6 +56391,25 @@ async function hashWorkspaceInputs(app, everyByte, signal, sourceOnly = false, p
|
|
|
56391
56391
|
const hash = (0, import_node_crypto26.createHash)("sha256");
|
|
56392
56392
|
const native = (0, import_node_crypto26.createHash)("sha256");
|
|
56393
56393
|
const nativeDirectories = localPackageDirectories(root, app);
|
|
56394
|
+
const versionFree = new Set(
|
|
56395
|
+
nativeDirectories.filter((directory2) => directory2 !== appRelative && directory2 !== "").filter(
|
|
56396
|
+
(directory2) => !import_node_fs53.default.readdirSync(import_node_path51.default.join(root, directory2)).some((name3) => NATIVE_PACKAGE_ENTRY.test(name3))
|
|
56397
|
+
).map((directory2) => directory2.split(import_node_path51.default.sep).join("/"))
|
|
56398
|
+
);
|
|
56399
|
+
const nativeConfigBytes = (posix2, bytes) => {
|
|
56400
|
+
const directory2 = import_node_path51.default.posix.dirname(posix2);
|
|
56401
|
+
if (import_node_path51.default.posix.basename(posix2) === "package.json" && versionFree.has(directory2)) {
|
|
56402
|
+
const { version: _version, ...manifest2 } = JSON.parse(bytes.toString("utf8"));
|
|
56403
|
+
return JSON.stringify(manifest2);
|
|
56404
|
+
}
|
|
56405
|
+
if (posix2 !== "bun.lock") return bytes;
|
|
56406
|
+
let entry = null;
|
|
56407
|
+
return bytes.toString("utf8").split("\n").filter((line) => {
|
|
56408
|
+
const opened = /^ {4}"([^"]+)": \{$/.exec(line);
|
|
56409
|
+
if (opened) entry = opened[1] ?? null;
|
|
56410
|
+
return !(entry && versionFree.has(entry) && /^ {6}"version": "[^"]*",$/.test(line));
|
|
56411
|
+
}).join("\n");
|
|
56412
|
+
};
|
|
56394
56413
|
const steersNative = (relative5) => !relative5.includes(import_node_path51.default.sep) || relative5.startsWith(`patches${import_node_path51.default.sep}`) || nativeDirectories.some(
|
|
56395
56414
|
(directory2) => relative5 === directory2 || relative5.startsWith(directory2 + import_node_path51.default.sep)
|
|
56396
56415
|
);
|
|
@@ -56414,7 +56433,8 @@ async function hashWorkspaceInputs(app, everyByte, signal, sourceOnly = false, p
|
|
|
56414
56433
|
if (NATIVE_CONFIG_FILE.test(posix2)) {
|
|
56415
56434
|
const bytes = await import_node_fs53.default.promises.readFile(file);
|
|
56416
56435
|
if (everyByte) hash.update(`file\0${bytes.length}\0`).update(bytes);
|
|
56417
|
-
if (steersNative(relative5))
|
|
56436
|
+
if (steersNative(relative5))
|
|
56437
|
+
native.update(`${posix2}\0`).update(nativeConfigBytes(posix2, bytes));
|
|
56418
56438
|
} else {
|
|
56419
56439
|
if (everyByte) {
|
|
56420
56440
|
const bytes = await import_node_fs53.default.promises.readFile(file);
|
|
@@ -56850,7 +56870,7 @@ async function runAdmitted(lease, command, args, cwd, extraEnv) {
|
|
|
56850
56870
|
);
|
|
56851
56871
|
});
|
|
56852
56872
|
}
|
|
56853
|
-
var import_node_child_process31, import_node_crypto26, import_node_fs53, import_node_module5, import_node_path51, import_node_util10, isolatedGitEnv, utf8Env, NATIVE_CONFIG_FILE, NATIVE_SOURCE_FILE2, KEPT_WORKSPACES, WORKSPACE_GRACE_MS, ABANDONED_WORKSPACE_MS, RETIRED_PREFIX2, preparing, watches, current;
|
|
56873
|
+
var import_node_child_process31, import_node_crypto26, import_node_fs53, import_node_module5, import_node_path51, import_node_util10, isolatedGitEnv, utf8Env, NATIVE_CONFIG_FILE, NATIVE_SOURCE_FILE2, NATIVE_PACKAGE_ENTRY, KEPT_WORKSPACES, WORKSPACE_GRACE_MS, ABANDONED_WORKSPACE_MS, RETIRED_PREFIX2, preparing, watches, current;
|
|
56854
56874
|
var init_expo_native_workspace = __esm({
|
|
56855
56875
|
"src/expo-native-workspace.ts"() {
|
|
56856
56876
|
"use strict";
|
|
@@ -56877,6 +56897,7 @@ var init_expo_native_workspace = __esm({
|
|
|
56877
56897
|
utf8Env = { ...process.env, LANG: "en_US.UTF-8", LC_ALL: "en_US.UTF-8" };
|
|
56878
56898
|
NATIVE_CONFIG_FILE = /(^|\/)(package\.json|bun\.lockb?|package-lock\.json|pnpm-lock\.yaml|pnpm-workspace\.yaml|yarn\.lock|\.yarnrc\.yml|\.npmrc|app\.json|app\.config\.[cm]?[jt]s|Podfile(\.lock|\.properties)?|expo-module\.config\.json|react-native\.config\.[cm]?[jt]s|\.nvmrc|\.tool-versions|\.?mise(?:\.[^/]+)?\.toml)$|\.(podspec|patch|plist|entitlements|xcconfig|pbxproj|storyboard|xib|gradle|rb)$|(^|\/)(plugins|patches)\//;
|
|
56879
56899
|
NATIVE_SOURCE_FILE2 = /\.(swift|mm?|hpp?|c|cc|cpp|kt|java)$/;
|
|
56900
|
+
NATIVE_PACKAGE_ENTRY = /^(ios|android|.*\.podspec|expo-module\.config\.json|react-native\.config\.[cm]?[jt]s|app\.plugin\.[cm]?js)$/;
|
|
56880
56901
|
KEPT_WORKSPACES = 2;
|
|
56881
56902
|
WORKSPACE_GRACE_MS = 36e5;
|
|
56882
56903
|
ABANDONED_WORKSPACE_MS = 24 * 36e5;
|
|
@@ -76411,7 +76432,7 @@ var init_nitro_superset = __esm({
|
|
|
76411
76432
|
init_swift_standin_digest();
|
|
76412
76433
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
76413
76434
|
packageVersion = (root) => JSON.parse((0, import_node_fs84.readFileSync)((0, import_node_path81.join)(root, "package.json"), "utf8")).version;
|
|
76414
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
76435
|
+
NITRO_COMPILER_DIGEST = true ? "f934f30a5735053db3fa0c8e6536bb56a28c989777f07116ed64182c52cb29bc" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
76415
76436
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
76416
76437
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
76417
76438
|
published = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1844 | (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.1844 | (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.1844 | (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.1844 | (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.1844 | (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.1844 | (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.
|
|
1
|
+
/*! peach v0.1.1844 | (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.1844 | (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;
|
|
@@ -12,7 +12,7 @@ export declare function readTextHyphenation(style: {
|
|
|
12
12
|
}): TextHyphenation | undefined;
|
|
13
13
|
export declare function textHyphenationKey(hyphenation: TextHyphenation | undefined): string;
|
|
14
14
|
export declare function installEnglishHyphenation(create: () => Hyphenator): void;
|
|
15
|
-
export declare function hyphenateParagraph(text: string, para: Paragraph, width: number, hyphenation: TextHyphenation | undefined, pushOut: boolean, build: (text: string) => Paragraph): {
|
|
15
|
+
export declare function hyphenateParagraph(text: string, para: Paragraph, width: number, hyphenation: TextHyphenation | undefined, pushOut: boolean, build: (text: string) => Paragraph, rewritePushOut?: boolean): {
|
|
16
16
|
text: string;
|
|
17
17
|
para: Paragraph;
|
|
18
18
|
layoutWidth: number;
|
package/package.json
CHANGED
|
@@ -70,6 +70,8 @@ const NATIVE_CONFIG_FILE =
|
|
|
70
70
|
// native sources steer pod install by existing, not by content: an edit to one
|
|
71
71
|
// is copied into the prepared workspace, an added or removed one rebuilds it.
|
|
72
72
|
const NATIVE_SOURCE_FILE = /\.(swift|mm?|hpp?|c|cc|cpp|kt|java)$/
|
|
73
|
+
const NATIVE_PACKAGE_ENTRY =
|
|
74
|
+
/^(ios|android|.*\.podspec|expo-module\.config\.json|react-native\.config\.[cm]?[jt]s|app\.plugin\.[cm]?js)$/
|
|
73
75
|
|
|
74
76
|
// every file the native prepare can read, plus the toolchain that reads it.
|
|
75
77
|
// node_modules stays out: the js install reconciles it with the hashed
|
|
@@ -195,6 +197,42 @@ async function hashWorkspaceInputs(
|
|
|
195
197
|
const hash = createHash('sha256')
|
|
196
198
|
const native = createHash('sha256')
|
|
197
199
|
const nativeDirectories = localPackageDirectories(root, app)
|
|
200
|
+
// a local package that builds no native code does not steer the prepare by
|
|
201
|
+
// its own version, so a release bump of it and of its lockfile entry keeps
|
|
202
|
+
// the prepared workspace. the app keeps its version: expo config reads it.
|
|
203
|
+
const versionFree = new Set(
|
|
204
|
+
nativeDirectories
|
|
205
|
+
.filter((directory) => directory !== appRelative && directory !== '')
|
|
206
|
+
.filter(
|
|
207
|
+
(directory) =>
|
|
208
|
+
!fs
|
|
209
|
+
.readdirSync(path.join(root, directory))
|
|
210
|
+
.some((name) => NATIVE_PACKAGE_ENTRY.test(name)),
|
|
211
|
+
)
|
|
212
|
+
.map((directory) => directory.split(path.sep).join('/')),
|
|
213
|
+
)
|
|
214
|
+
const nativeConfigBytes = (posix: string, bytes: Buffer) => {
|
|
215
|
+
const directory = path.posix.dirname(posix)
|
|
216
|
+
if (path.posix.basename(posix) === 'package.json' && versionFree.has(directory)) {
|
|
217
|
+
const { version: _version, ...manifest } = JSON.parse(bytes.toString('utf8'))
|
|
218
|
+
return JSON.stringify(manifest)
|
|
219
|
+
}
|
|
220
|
+
if (posix !== 'bun.lock') return bytes
|
|
221
|
+
let entry: string | null = null
|
|
222
|
+
return bytes
|
|
223
|
+
.toString('utf8')
|
|
224
|
+
.split('\n')
|
|
225
|
+
.filter((line) => {
|
|
226
|
+
const opened = /^ {4}"([^"]+)": \{$/.exec(line)
|
|
227
|
+
if (opened) entry = opened[1] ?? null
|
|
228
|
+
return !(
|
|
229
|
+
entry &&
|
|
230
|
+
versionFree.has(entry) &&
|
|
231
|
+
/^ {6}"version": "[^"]*",$/.test(line)
|
|
232
|
+
)
|
|
233
|
+
})
|
|
234
|
+
.join('\n')
|
|
235
|
+
}
|
|
198
236
|
const steersNative = (relative: string) =>
|
|
199
237
|
!relative.includes(path.sep) ||
|
|
200
238
|
relative.startsWith(`patches${path.sep}`) ||
|
|
@@ -221,7 +259,8 @@ async function hashWorkspaceInputs(
|
|
|
221
259
|
if (NATIVE_CONFIG_FILE.test(posix)) {
|
|
222
260
|
const bytes = await fs.promises.readFile(file)
|
|
223
261
|
if (everyByte) hash.update(`file\0${bytes.length}\0`).update(bytes)
|
|
224
|
-
if (steersNative(relative))
|
|
262
|
+
if (steersNative(relative))
|
|
263
|
+
native.update(`${posix}\0`).update(nativeConfigBytes(posix, bytes))
|
|
225
264
|
} else {
|
|
226
265
|
if (everyByte) {
|
|
227
266
|
const bytes = await fs.promises.readFile(file)
|