peachsim 0.1.927 → 0.1.929
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/cli/commands/detect.ts +80 -63
- package/cli/commands/nodeRepoFileReader.ts +22 -0
- package/cli/commands/repoFileReaderContract.ts +8 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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 +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +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/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- 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 +42 -21
- 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.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/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/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.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 +89 -22
- 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/package.json +1 -1
- package/src/vite-plugin.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -8308,6 +8308,33 @@ var init_browser = __esm({
|
|
|
8308
8308
|
}
|
|
8309
8309
|
});
|
|
8310
8310
|
|
|
8311
|
+
// cli/commands/nodeRepoFileReader.ts
|
|
8312
|
+
var import_node_fs29, nodeRepoFileReader;
|
|
8313
|
+
var init_nodeRepoFileReader = __esm({
|
|
8314
|
+
"cli/commands/nodeRepoFileReader.ts"() {
|
|
8315
|
+
"use strict";
|
|
8316
|
+
import_node_fs29 = require("node:fs");
|
|
8317
|
+
nodeRepoFileReader = {
|
|
8318
|
+
exists: import_node_fs29.existsSync,
|
|
8319
|
+
readText: (filePath) => (0, import_node_fs29.readFileSync)(filePath, "utf8"),
|
|
8320
|
+
entries: (directory) => (0, import_node_fs29.readdirSync)(directory, { withFileTypes: true }).map((entry) => ({
|
|
8321
|
+
name: entry.name,
|
|
8322
|
+
directory: entry.isDirectory()
|
|
8323
|
+
})),
|
|
8324
|
+
isDirectory: (filePath) => (0, import_node_fs29.statSync)(filePath).isDirectory(),
|
|
8325
|
+
readMetadata(filePath) {
|
|
8326
|
+
try {
|
|
8327
|
+
const info = (0, import_node_fs29.lstatSync)(filePath);
|
|
8328
|
+
if (!info.isFile() || info.size > 4 * 1024 * 1024) return null;
|
|
8329
|
+
return (0, import_node_fs29.readFileSync)(filePath, "utf8");
|
|
8330
|
+
} catch {
|
|
8331
|
+
return null;
|
|
8332
|
+
}
|
|
8333
|
+
}
|
|
8334
|
+
};
|
|
8335
|
+
}
|
|
8336
|
+
});
|
|
8337
|
+
|
|
8311
8338
|
// cli/commands/detect.ts
|
|
8312
8339
|
function detectFramework(deps) {
|
|
8313
8340
|
if (deps.one) return "one";
|
|
@@ -8315,14 +8342,14 @@ function detectFramework(deps) {
|
|
|
8315
8342
|
if (deps["react-native"]) return "bare";
|
|
8316
8343
|
return "unknown";
|
|
8317
8344
|
}
|
|
8318
|
-
function detectProject(dir) {
|
|
8345
|
+
function detectProject(dir, files2 = nodeRepoFileReader) {
|
|
8319
8346
|
const pkgPath = (0, import_node_path30.join)(dir, "package.json");
|
|
8320
|
-
if (!
|
|
8321
|
-
const pkg = readProjectManifest(dir);
|
|
8347
|
+
if (!files2.exists(pkgPath)) return null;
|
|
8348
|
+
const pkg = readProjectManifest(dir, files2);
|
|
8322
8349
|
if (!pkg) return null;
|
|
8323
8350
|
const deps = { ...pkg.dependencies, ...pkg.devDependencies };
|
|
8324
8351
|
const devCommand = metadataValue(
|
|
8325
|
-
metadataValue(readProjectJson(pkgPath), "scripts"),
|
|
8352
|
+
metadataValue(readProjectJson(pkgPath, files2), "scripts"),
|
|
8326
8353
|
"dev"
|
|
8327
8354
|
);
|
|
8328
8355
|
const framework = detectFramework(deps);
|
|
@@ -8335,29 +8362,23 @@ function detectProject(dir) {
|
|
|
8335
8362
|
// apps write .cjs as often as .js, and missing one reads as "this project
|
|
8336
8363
|
// has no bundler config" and sends the user to create a second one.
|
|
8337
8364
|
hasViteConfig: CONFIG_EXTENSIONS.some(
|
|
8338
|
-
(ext) =>
|
|
8365
|
+
(ext) => files2.exists((0, import_node_path30.join)(dir, `vite.config.${ext}`))
|
|
8339
8366
|
),
|
|
8340
8367
|
hasMetroConfig: CONFIG_EXTENSIONS.some(
|
|
8341
|
-
(ext) =>
|
|
8368
|
+
(ext) => files2.exists((0, import_node_path30.join)(dir, `metro.config.${ext}`))
|
|
8342
8369
|
),
|
|
8343
8370
|
devCommand: typeof devCommand === "string" ? devCommand : null
|
|
8344
8371
|
};
|
|
8345
8372
|
}
|
|
8346
|
-
function readProjectMetadata(
|
|
8347
|
-
|
|
8348
|
-
const info = (0, import_node_fs29.lstatSync)(path26);
|
|
8349
|
-
if (!info.isFile() || info.size > 4 * 1024 * 1024) return null;
|
|
8350
|
-
return (0, import_node_fs29.readFileSync)(path26, "utf8");
|
|
8351
|
-
} catch {
|
|
8352
|
-
return null;
|
|
8353
|
-
}
|
|
8373
|
+
function readProjectMetadata(filePath, files2 = nodeRepoFileReader) {
|
|
8374
|
+
return files2.readMetadata(filePath);
|
|
8354
8375
|
}
|
|
8355
8376
|
function metadataValue(value, key2) {
|
|
8356
8377
|
if (!value || typeof value !== "object") return void 0;
|
|
8357
8378
|
return Object.getOwnPropertyDescriptor(value, key2)?.value;
|
|
8358
8379
|
}
|
|
8359
|
-
function readProjectJson(path26) {
|
|
8360
|
-
const text3 = readProjectMetadata(path26);
|
|
8380
|
+
function readProjectJson(path26, files2 = nodeRepoFileReader) {
|
|
8381
|
+
const text3 = readProjectMetadata(path26, files2);
|
|
8361
8382
|
if (text3 === null) return null;
|
|
8362
8383
|
try {
|
|
8363
8384
|
const value = JSON.parse(text3);
|
|
@@ -8366,8 +8387,8 @@ function readProjectJson(path26) {
|
|
|
8366
8387
|
return null;
|
|
8367
8388
|
}
|
|
8368
8389
|
}
|
|
8369
|
-
function readProjectManifest(dir) {
|
|
8370
|
-
const parsed = readProjectJson((0, import_node_path30.join)(dir, "package.json"));
|
|
8390
|
+
function readProjectManifest(dir, files2 = nodeRepoFileReader) {
|
|
8391
|
+
const parsed = readProjectJson((0, import_node_path30.join)(dir, "package.json"), files2);
|
|
8371
8392
|
if (!parsed || typeof parsed !== "object") return null;
|
|
8372
8393
|
const record2 = (value) => {
|
|
8373
8394
|
if (!value || typeof value !== "object") return {};
|
|
@@ -8384,14 +8405,14 @@ function readProjectManifest(dir) {
|
|
|
8384
8405
|
devDependencies: record2(metadataValue(parsed, "devDependencies"))
|
|
8385
8406
|
};
|
|
8386
8407
|
}
|
|
8387
|
-
var
|
|
8408
|
+
var import_node_path30, import_json52, CONFIG_EXTENSIONS;
|
|
8388
8409
|
var init_detect = __esm({
|
|
8389
8410
|
"cli/commands/detect.ts"() {
|
|
8390
8411
|
"use strict";
|
|
8391
|
-
import_node_fs29 = require("node:fs");
|
|
8392
8412
|
import_node_path30 = require("node:path");
|
|
8393
8413
|
import_json52 = __toESM(require_lib(), 1);
|
|
8394
8414
|
init_browser();
|
|
8415
|
+
init_nodeRepoFileReader();
|
|
8395
8416
|
CONFIG_EXTENSIONS = ["ts", "js", "cjs", "mjs", "mts", "cts"];
|
|
8396
8417
|
}
|
|
8397
8418
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (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
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -3906,7 +3906,53 @@ var init_capability_outcomes2 = __esm({
|
|
|
3906
3906
|
"react-native-reanimated": {
|
|
3907
3907
|
exactTestedVersion: "4.6.0",
|
|
3908
3908
|
supportedVersionRange: ">=4.0.0",
|
|
3909
|
-
lastMeasured:
|
|
3909
|
+
lastMeasured: {
|
|
3910
|
+
byWeighting: {
|
|
3911
|
+
strict: {
|
|
3912
|
+
android: {
|
|
3913
|
+
passedWeight: 0,
|
|
3914
|
+
failedWeight: 0,
|
|
3915
|
+
unassessedWeight: 196,
|
|
3916
|
+
totalWeight: 196,
|
|
3917
|
+
assessedWeight: 0,
|
|
3918
|
+
compatibility: null,
|
|
3919
|
+
assessed: 0
|
|
3920
|
+
},
|
|
3921
|
+
ios: {
|
|
3922
|
+
passedWeight: 26,
|
|
3923
|
+
failedWeight: 0,
|
|
3924
|
+
unassessedWeight: 170,
|
|
3925
|
+
totalWeight: 196,
|
|
3926
|
+
assessedWeight: 26,
|
|
3927
|
+
compatibility: 1,
|
|
3928
|
+
assessed: 0.1326530612244898
|
|
3929
|
+
}
|
|
3930
|
+
},
|
|
3931
|
+
usage: {
|
|
3932
|
+
android: {
|
|
3933
|
+
passedWeight: 0,
|
|
3934
|
+
failedWeight: 0,
|
|
3935
|
+
unassessedWeight: 4910,
|
|
3936
|
+
totalWeight: 4910,
|
|
3937
|
+
assessedWeight: 0,
|
|
3938
|
+
compatibility: null,
|
|
3939
|
+
assessed: 0
|
|
3940
|
+
},
|
|
3941
|
+
ios: {
|
|
3942
|
+
passedWeight: 3182,
|
|
3943
|
+
failedWeight: 0,
|
|
3944
|
+
unassessedWeight: 1728,
|
|
3945
|
+
totalWeight: 4910,
|
|
3946
|
+
assessedWeight: 3182,
|
|
3947
|
+
compatibility: 1,
|
|
3948
|
+
assessed: 0.6480651731160896
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3952
|
+
capturedAt: "2026-10-08T18:50:55.485Z",
|
|
3953
|
+
receipts: ["ir-reanimated-current-capture"],
|
|
3954
|
+
sourceCommit: "4268dae5de7e2b52e8c6e2a91ac950c0359be612"
|
|
3955
|
+
},
|
|
3910
3956
|
unmatchedReferenceCount: 590,
|
|
3911
3957
|
byPlatform: {
|
|
3912
3958
|
android: {
|
|
@@ -44763,6 +44809,33 @@ var init_cloud_session = __esm({
|
|
|
44763
44809
|
}
|
|
44764
44810
|
});
|
|
44765
44811
|
|
|
44812
|
+
// cli/commands/nodeRepoFileReader.ts
|
|
44813
|
+
var import_node_fs29, nodeRepoFileReader;
|
|
44814
|
+
var init_nodeRepoFileReader = __esm({
|
|
44815
|
+
"cli/commands/nodeRepoFileReader.ts"() {
|
|
44816
|
+
"use strict";
|
|
44817
|
+
import_node_fs29 = require("node:fs");
|
|
44818
|
+
nodeRepoFileReader = {
|
|
44819
|
+
exists: import_node_fs29.existsSync,
|
|
44820
|
+
readText: (filePath) => (0, import_node_fs29.readFileSync)(filePath, "utf8"),
|
|
44821
|
+
entries: (directory) => (0, import_node_fs29.readdirSync)(directory, { withFileTypes: true }).map((entry) => ({
|
|
44822
|
+
name: entry.name,
|
|
44823
|
+
directory: entry.isDirectory()
|
|
44824
|
+
})),
|
|
44825
|
+
isDirectory: (filePath) => (0, import_node_fs29.statSync)(filePath).isDirectory(),
|
|
44826
|
+
readMetadata(filePath) {
|
|
44827
|
+
try {
|
|
44828
|
+
const info = (0, import_node_fs29.lstatSync)(filePath);
|
|
44829
|
+
if (!info.isFile() || info.size > 4 * 1024 * 1024) return null;
|
|
44830
|
+
return (0, import_node_fs29.readFileSync)(filePath, "utf8");
|
|
44831
|
+
} catch {
|
|
44832
|
+
return null;
|
|
44833
|
+
}
|
|
44834
|
+
}
|
|
44835
|
+
};
|
|
44836
|
+
}
|
|
44837
|
+
});
|
|
44838
|
+
|
|
44766
44839
|
// cli/commands/detect.ts
|
|
44767
44840
|
function detectFramework2(deps) {
|
|
44768
44841
|
if (deps.one) return "one";
|
|
@@ -44770,14 +44843,14 @@ function detectFramework2(deps) {
|
|
|
44770
44843
|
if (deps["react-native"]) return "bare";
|
|
44771
44844
|
return "unknown";
|
|
44772
44845
|
}
|
|
44773
|
-
function detectProject(dir) {
|
|
44846
|
+
function detectProject(dir, files2 = nodeRepoFileReader) {
|
|
44774
44847
|
const pkgPath = (0, import_node_path30.join)(dir, "package.json");
|
|
44775
|
-
if (!
|
|
44776
|
-
const pkg = readProjectManifest(dir);
|
|
44848
|
+
if (!files2.exists(pkgPath)) return null;
|
|
44849
|
+
const pkg = readProjectManifest(dir, files2);
|
|
44777
44850
|
if (!pkg) return null;
|
|
44778
44851
|
const deps = { ...pkg.dependencies, ...pkg.devDependencies };
|
|
44779
44852
|
const devCommand = metadataValue(
|
|
44780
|
-
metadataValue(readProjectJson(pkgPath), "scripts"),
|
|
44853
|
+
metadataValue(readProjectJson(pkgPath, files2), "scripts"),
|
|
44781
44854
|
"dev"
|
|
44782
44855
|
);
|
|
44783
44856
|
const framework = detectFramework2(deps);
|
|
@@ -44790,29 +44863,23 @@ function detectProject(dir) {
|
|
|
44790
44863
|
// apps write .cjs as often as .js, and missing one reads as "this project
|
|
44791
44864
|
// has no bundler config" and sends the user to create a second one.
|
|
44792
44865
|
hasViteConfig: CONFIG_EXTENSIONS.some(
|
|
44793
|
-
(ext) =>
|
|
44866
|
+
(ext) => files2.exists((0, import_node_path30.join)(dir, `vite.config.${ext}`))
|
|
44794
44867
|
),
|
|
44795
44868
|
hasMetroConfig: CONFIG_EXTENSIONS.some(
|
|
44796
|
-
(ext) =>
|
|
44869
|
+
(ext) => files2.exists((0, import_node_path30.join)(dir, `metro.config.${ext}`))
|
|
44797
44870
|
),
|
|
44798
44871
|
devCommand: typeof devCommand === "string" ? devCommand : null
|
|
44799
44872
|
};
|
|
44800
44873
|
}
|
|
44801
|
-
function readProjectMetadata(
|
|
44802
|
-
|
|
44803
|
-
const info = (0, import_node_fs29.lstatSync)(path38);
|
|
44804
|
-
if (!info.isFile() || info.size > 4 * 1024 * 1024) return null;
|
|
44805
|
-
return (0, import_node_fs29.readFileSync)(path38, "utf8");
|
|
44806
|
-
} catch {
|
|
44807
|
-
return null;
|
|
44808
|
-
}
|
|
44874
|
+
function readProjectMetadata(filePath, files2 = nodeRepoFileReader) {
|
|
44875
|
+
return files2.readMetadata(filePath);
|
|
44809
44876
|
}
|
|
44810
44877
|
function metadataValue(value, key2) {
|
|
44811
44878
|
if (!value || typeof value !== "object") return void 0;
|
|
44812
44879
|
return Object.getOwnPropertyDescriptor(value, key2)?.value;
|
|
44813
44880
|
}
|
|
44814
|
-
function readProjectJson(path38) {
|
|
44815
|
-
const text3 = readProjectMetadata(path38);
|
|
44881
|
+
function readProjectJson(path38, files2 = nodeRepoFileReader) {
|
|
44882
|
+
const text3 = readProjectMetadata(path38, files2);
|
|
44816
44883
|
if (text3 === null) return null;
|
|
44817
44884
|
try {
|
|
44818
44885
|
const value = JSON.parse(text3);
|
|
@@ -44821,8 +44888,8 @@ function readProjectJson(path38) {
|
|
|
44821
44888
|
return null;
|
|
44822
44889
|
}
|
|
44823
44890
|
}
|
|
44824
|
-
function readProjectManifest(dir) {
|
|
44825
|
-
const parsed = readProjectJson((0, import_node_path30.join)(dir, "package.json"));
|
|
44891
|
+
function readProjectManifest(dir, files2 = nodeRepoFileReader) {
|
|
44892
|
+
const parsed = readProjectJson((0, import_node_path30.join)(dir, "package.json"), files2);
|
|
44826
44893
|
if (!parsed || typeof parsed !== "object") return null;
|
|
44827
44894
|
const record2 = (value) => {
|
|
44828
44895
|
if (!value || typeof value !== "object") return {};
|
|
@@ -44839,14 +44906,14 @@ function readProjectManifest(dir) {
|
|
|
44839
44906
|
devDependencies: record2(metadataValue(parsed, "devDependencies"))
|
|
44840
44907
|
};
|
|
44841
44908
|
}
|
|
44842
|
-
var
|
|
44909
|
+
var import_node_path30, import_json52, CONFIG_EXTENSIONS;
|
|
44843
44910
|
var init_detect = __esm({
|
|
44844
44911
|
"cli/commands/detect.ts"() {
|
|
44845
44912
|
"use strict";
|
|
44846
|
-
import_node_fs29 = require("node:fs");
|
|
44847
44913
|
import_node_path30 = require("node:path");
|
|
44848
44914
|
import_json52 = __toESM(require_lib(), 1);
|
|
44849
44915
|
init_browser();
|
|
44916
|
+
init_nodeRepoFileReader();
|
|
44850
44917
|
CONFIG_EXTENSIONS = ["ts", "js", "cjs", "mjs", "mts", "cts"];
|
|
44851
44918
|
}
|
|
44852
44919
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.929 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/package.json
CHANGED
package/src/vite-plugin.ts
CHANGED
|
@@ -684,7 +684,7 @@ export function workerBootChunkPlugin(closures: WorkerBootClosure[]): Plugin {
|
|
|
684
684
|
if (!transformed.map) this.error('worker transform produced no source map')
|
|
685
685
|
const compact = await minify(transformed.code, {
|
|
686
686
|
module: true,
|
|
687
|
-
compress: { passes:
|
|
687
|
+
compress: { passes: 3 },
|
|
688
688
|
mangle: true,
|
|
689
689
|
sourceMap: { content: JSON.stringify(transformed.map) },
|
|
690
690
|
})
|