stim 1.25.0 → 1.26.0
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 +1 -1
- package/dist/{acquire-artifact-zA4S7RHE.mjs → acquire-artifact-DVsvSwf7.mjs} +1 -1
- package/dist/{act-BbHS3oV8.mjs → act-C-BqJEpu.mjs} +157 -35
- package/dist/{activity-BpjwrQXU.mjs → activity-Lnb_EoRY.mjs} +4 -5
- package/dist/{agent-device-usage-output-Bnkerfod.mjs → agent-device-usage-output-DbXy5tg8.mjs} +4 -4
- package/dist/{android-saBeB4lr.mjs → android-B5P81yI-.mjs} +1 -1
- package/dist/{android-CNZgRC-4.mjs → android-CSbLRD53.mjs} +5 -5
- package/dist/{android-BGwuK3Mc.mjs → android-CiNQw3kq.mjs} +73 -49
- package/dist/{android-Cjcj8MCw.mjs → android-DTAcRwBC.mjs} +81 -34
- package/dist/{android-cas-BVqh2Zep.mjs → android-cas-BTVhZ0Qs.mjs} +4 -4
- package/dist/{android-project-CTYaETc0.d.mts → android-project-DUGMbq28.d.mts} +55 -1
- package/dist/api.d.mts +8 -5
- package/dist/api.mjs +27 -27
- package/dist/apk-signed-tail-B46U9hXc.mjs +142 -0
- package/dist/{artifact-Co8zixVx.mjs → artifact-BxREhAaV.mjs} +23 -18
- package/dist/{artifact-DN8JNwqS.mjs → artifact-CsAP6AGK.mjs} +35 -20
- package/dist/{attempt-DW-mQqM7.mjs → attempt-ClyJlZPT.mjs} +4 -2
- package/dist/{browser-web-CCgZsHmI.mjs → browser-web-rYPyqhTf.mjs} +11 -12
- package/dist/{budget-HyShrIpL.mjs → budget-k2mZGvvk.mjs} +196 -33
- package/dist/{build-CAiw8Ezm.mjs → build-DPhApsjV.mjs} +26 -23
- package/dist/{build-cache-CKCzxzxA.mjs → build-cache-DrXNCy3T.mjs} +103 -21
- package/dist/{build-plan-zCuHGlA8.mjs → build-plan-DrMMdayj.mjs} +5 -5
- package/dist/{cache-manifest-BPXRONJz.mjs → cache-manifest-BEZ9Bpl1.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{ccache-h1FKhZeg.mjs → ccache-Bx5TbxwG.mjs} +6 -6
- package/dist/{cli-C4w607Pz.mjs → cli-BBKFGOFl.mjs} +19 -19
- package/dist/cli.mjs +1 -1
- package/dist/{client-BQsmyp_-.mjs → client-D9CaRks-.mjs} +36 -61
- package/dist/collector-run.mjs +4 -4
- package/dist/{command-output-BBvS1H6v.mjs → command-output-BF5AR2dL.mjs} +1 -1
- package/dist/{config-BZhXY15H.mjs → config-BktkY_zC.mjs} +321 -15
- package/dist/{launch-DscF1QfM.mjs → dependencies-Dw6wfQdv.mjs} +258 -255
- package/dist/{dependency-state-BwNCYG5Q.mjs → dependency-state-DFB41vfr.mjs} +1 -1
- package/dist/{dev-client-CHoXXZeg.mjs → dev-client-DXR_tPVY.mjs} +2 -2
- package/dist/{device-B9FqTBYW.mjs → device-BK-zwyd_.mjs} +13 -13
- package/dist/{device-F5-4z9ef.mjs → device-BcYeHSFu.mjs} +14 -14
- package/dist/{device-capacity-ZYaRALv5.mjs → device-capacity-DCSvUF0l.mjs} +10 -17
- package/dist/device-host-worker.mjs +11 -13
- package/dist/{device-ios-DkHBrmvH.mjs → device-ios-BLGfXQeK.mjs} +49 -17
- package/dist/{device-lease-run-ogEeJ62K.mjs → device-lease-run-BmvIl7bI.mjs} +4 -4
- package/dist/{device-pool-BIg8MU8l.mjs → device-pool-Dluix4H3.mjs} +3 -3
- package/dist/{doctor-k3P3PizH.mjs → doctor-Bhg1ii70.mjs} +14 -14
- package/dist/{doctor-A_Nr_fDe.mjs → doctor-Cp-BhzTS.mjs} +1 -1
- package/dist/{doctor-Bm8TVpGn.mjs → doctor-OnwP94ne.mjs} +72 -23
- package/dist/{doctor-fingerprint-zlujA1Gs.mjs → doctor-fingerprint-D3a04Mhu.mjs} +8 -2
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-BovI1y3-.mjs → doctor-watchman-BStK05nt.mjs} +4 -4
- package/dist/{eas-build-CyDKNTBP.mjs → eas-build-Dsj93iM9.mjs} +2 -2
- package/dist/{eas-fallback-gaZi-dJL.mjs → eas-fallback-FwkeqqGi.mjs} +10 -10
- package/dist/{eas-session-ledger-BMCA1gdO.mjs → eas-session-ledger-B5vygTiD.mjs} +5 -5
- package/dist/{error-diagnostics-B1Mj_-7h.mjs → error-diagnostics-BOOm9Db7.mjs} +8 -8
- package/dist/{gc-eaz403W6.mjs → gc-C_79zvz4.mjs} +2 -2
- package/dist/{gc-B9jcnmIk.mjs → gc-ldgr-hXU.mjs} +74 -43
- package/dist/{guide-DR0K0xW9.mjs → guide-D7K0X6KG.mjs} +272 -52
- package/dist/{hosted-android-Bvb2-ZxD.mjs → hosted-android-Bk54ej6n.mjs} +3 -3
- package/dist/{hosted-client-rsRqysJc.mjs → hosted-client-fHO8yqzc.mjs} +5 -5
- package/dist/{hosted-ios-RtVcJH3u.mjs → hosted-ios-D55QhYaD.mjs} +1 -1
- package/dist/{hosted-logs-CWKGYWNX.mjs → hosted-logs-BfbmDM4M.mjs} +17 -11
- package/dist/hosted-logs-sync-B0pvmOk-.mjs +195 -0
- package/dist/{hosted-macos-d0pv9Tth.mjs → hosted-macos-CPl0OZ9h.mjs} +5 -5
- package/dist/{hosted-native-BxTizGU2.mjs → hosted-native-CpDB3-PO.mjs} +6 -7
- package/dist/{idle-shutdown-BIyfl0Zj.mjs → idle-shutdown-FfxL1KdG.mjs} +22 -9
- package/dist/{ios-Dvt97HgQ.mjs → ios-B7-lToDu.mjs} +8 -8
- package/dist/{ios-BQzvJlzw.mjs → ios-WxpDJ5T1.mjs} +72 -5
- package/dist/{ios-device-CKSvk0bu.mjs → ios-device-CsyryvpT.mjs} +1 -1
- package/dist/{ios-BRVM8b0P.mjs → ios-ftxdQbJS.mjs} +74 -46
- package/dist/{ios-project-DCUDo06I.mjs → ios-project-Ty5pHl9O.mjs} +6 -6
- package/dist/{ios-state-CT9nV5SP.mjs → ios-state-Cw7-WQf2.mjs} +1 -1
- package/dist/{js-swap-Z9HbC4cj.mjs → js-swap-BMhXYVDS.mjs} +4 -4
- package/dist/{launch-D0lPvFFu.mjs → launch-DOp8RjDz.mjs} +31 -26
- package/dist/{logs-BsIRre8x.mjs → logs-dQDki6Tt.mjs} +9 -173
- package/dist/{logs-Crs9y34Z.mjs → logs-s1dRIG1E.mjs} +85 -36
- package/dist/{macos-CcUlJPMu.mjs → macos-B0VEV3Gf.mjs} +1 -1
- package/dist/{macos-D477nfzH.mjs → macos-DBBPNnIA.mjs} +18 -19
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +28 -11
- package/dist/{metro-1pJgCX4U.mjs → metro-CjC10t6E.mjs} +2 -2
- package/dist/{metro-gateway-Bp9gJQAN.mjs → metro-gateway-B6_PgD0L.mjs} +2 -3
- package/dist/{named-ports-BVbn8SvC.mjs → named-ports-BG0j1X4g.mjs} +2 -2
- package/dist/{native-android-BvMizJn1.mjs → native-android-CL2NGiik.mjs} +17 -17
- package/dist/{native-gradle-artifact-inputs-BJscK4vN.mjs → native-gradle-artifact-inputs-btSUulme.mjs} +3 -3
- package/dist/{native-run-D5OJsGwA.mjs → native-run-BfIDFKLH.mjs} +2 -3
- package/dist/{native-runtime-B9w_Qyz3.mjs → native-runtime-Dq3RBcON.mjs} +6 -7
- package/dist/{native-xcode-inputs-Cv4l-obn.mjs → native-xcode-inputs-BW7H8JGu.mjs} +2 -2
- package/dist/{native-xcode-ios-DGrg90hE.mjs → native-xcode-ios-CBXJAxfC.mjs} +15 -16
- package/dist/offload-worker.d.mts +3 -1
- package/dist/offload-worker.mjs +31 -21
- package/dist/{ownership-jxxz-19m.mjs → ownership-BjYvMNX_.mjs} +2 -2
- package/dist/{phone-reverses-CYb7RRAx.mjs → phone-reverses-lmj6kcPm.mjs} +3 -3
- package/dist/{placement-log-DjOXJRIH.mjs → placement-log-DIFPQAXp.mjs} +1 -1
- package/dist/{plan-placement-BqKgKHCi.mjs → plan-placement-IiiSQhtz.mjs} +3 -3
- package/dist/{ports-DtS1Amb0.mjs → ports-C2_w1Z0Z.mjs} +3 -3
- package/dist/prebuild-gmouvmJZ.mjs +1247 -0
- package/dist/{project-BiC68mIp.mjs → project-BUu6Is4k.mjs} +15 -16
- package/dist/{react-native-android-DRYqoJc4.mjs → react-native-android-Cgg99REN.mjs} +47 -33
- package/dist/{react-native-build-CwZB-agu.mjs → react-native-build-oNwqF5Wb.mjs} +7 -7
- package/dist/{react-native-doctor-BCrytK7h.mjs → react-native-doctor-BhA3KUte.mjs} +49 -8
- package/dist/{react-native-ios-Cr1buNFo.mjs → react-native-ios-B-nf4rjN.mjs} +37 -23
- package/dist/{recordings-BaoQ0t-J.mjs → recordings-BldzVKq0.mjs} +1 -1
- package/dist/{reload-Beftw2X3.mjs → reload-C9OduiNc.mjs} +1 -1
- package/dist/{reload-FbSgMF8x.mjs → reload-CCR7KC_l.mjs} +14 -14
- package/dist/{remote-BuZj6AyU.mjs → remote-C8S7FlPF.mjs} +7 -7
- package/dist/{result-CR2vk2cj.mjs → result-7F5hEwQJ.mjs} +16 -16
- package/dist/{run-BtzE09Dl.mjs → run-BqB0v3pt.mjs} +1 -1
- package/dist/{selection-D5cxEl3t.mjs → selection-BNPBZ6T5.mjs} +155 -42
- package/dist/{server-bare-CH9X0RLn.mjs → server-bare-A75rDIdD.mjs} +1 -1
- package/dist/{server-command-CaBbDNU2.mjs → server-command-CssKFOD7.mjs} +4 -4
- package/dist/{server-expo-Ck8EIidM.mjs → server-expo-eQfOdydb.mjs} +2 -2
- package/dist/server-expo-wvcj5tiZ.mjs +2 -0
- package/dist/{settings-B5tCoq9N.mjs → settings-CosW5X-S.mjs} +1 -1
- package/dist/{settings-DzH9mGQZ.mjs → settings-OaGQF-ri.mjs} +1 -1
- package/dist/{settings-write-n0zwfohx.mjs → settings-write-QjYfSrjF.mjs} +5 -5
- package/dist/settings.schema.json +33 -6
- package/dist/{simslim-BjxszUAb.mjs → simslim-Bax1qcxu.mjs} +3 -2
- package/dist/{slot-launch-QeuJMlnJ.mjs → slot-launch-CYCEhfBY.mjs} +6 -6
- package/dist/{stage-D8xlRU2D.mjs → stage-jKQ7CP_B.mjs} +1 -1
- package/dist/{start-C1JLjkNw.mjs → start-C_wefNKB.mjs} +1 -1
- package/dist/{start-YMpNwLhh.mjs → start-_BdJ32cZ.mjs} +9 -10
- package/dist/{state-DMRNP7-4.mjs → state-C1i2nMOP.mjs} +2 -3
- package/dist/{state-DPaM3u5K.mjs → state-C4OdpOTF.mjs} +1 -2
- package/dist/{stats-CP7STzZw.mjs → stats-tEpEEH-u.mjs} +4 -4
- package/dist/{status-cNw6i0_t.mjs → status-B9M7x4CZ.mjs} +1 -1
- package/dist/{status-Fect2w9R.mjs → status-CRXz-Gtj.mjs} +1 -1
- package/dist/{status-CRLiJ-O_.mjs → status-DQrqodLj.mjs} +22 -23
- package/dist/{status-watch-Bc2J4TZn.mjs → status-watch-B5wDIH_o.mjs} +4 -4
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-DS0mzR8U.mjs → stim-desktop-6Dqp-gjX.mjs} +1 -1
- package/dist/{stop-Br7LKxBE.mjs → stop-CmdNhGlC.mjs} +2 -2
- package/dist/{stop-Db9Kh-UA.mjs → stop-DRqQVqDJ.mjs} +21 -19
- package/dist/{stop-COP6PQqw.mjs → stop-ySNQHXMG.mjs} +4 -5
- package/dist/supervisor-run.d.mts +1 -0
- package/dist/supervisor-run.mjs +14 -15
- package/dist/{support-Cxj9CmII.mjs → support-BGSCBoib.mjs} +4 -4
- package/dist/{support-qKcbgmI5.mjs → support-CVOCp0Ft.mjs} +9 -9
- package/dist/{swiftpm-artifact-inputs-iY9fsmOc.mjs → swiftpm-artifact-inputs-CfUzt_0Z.mjs} +1 -1
- package/dist/{swiftpm-macos-Bp_sn9P4.mjs → swiftpm-macos-x6HPpl_2.mjs} +9 -9
- package/dist/toolchain-DoavrvIA.mjs +2 -0
- package/dist/toolchain-J4J8MrAr.mjs +2107 -0
- package/dist/trigger-DzJu208Q.mjs +2 -0
- package/dist/{trigger-CBMe2YLH.mjs → trigger-KVaWWNyn.mjs} +1 -1
- package/dist/{warm-progress-BV3ZPmcY.mjs → warm-progress-DvhTX_eu.mjs} +3 -4
- package/dist/web-BFLueSh-.mjs +2 -0
- package/dist/{web-B4Yjyt1G.mjs → web-Bihbf7-u.mjs} +8 -9
- package/dist/web-run.mjs +4 -4
- package/dist/{workspace-state-CPSp3mav.mjs → workspace-state-pUg3_RRA.mjs} +45 -7
- package/dist/{workspaces-C9w4aeXF.mjs → workspaces-g2lhdBXF.mjs} +17 -17
- package/dist/{worktree-CclFIe1Z.mjs → worktree-BKuklFh_.mjs} +34 -31
- package/dist/{worktree-Ct9Gk3KL.mjs → worktree-Bm4cb-nU.mjs} +1 -1
- package/package.json +8 -8
- package/dist/created-devices-D2Aca-xu.mjs +0 -52
- package/dist/paths-DQtTgsBf.mjs +0 -42
- package/dist/prebuild-JUaqOLpc.mjs +0 -501
- package/dist/server-expo-C16Zf2k7.mjs +0 -2
- package/dist/toolchain-DB1aeqxO.mjs +0 -2
- package/dist/toolchain-VzLJzZ7O.mjs +0 -908
- package/dist/trigger-BLsHgAGR.mjs +0 -2
- package/dist/web-DS4UDWvf.mjs +0 -2
- package/dist/xcode-CiIIDnuD.mjs +0 -910
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { S as process_identity_exports } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, g as isPathPrefix, l as findEnclosingWorktreeRoot, p as getProject } from "./config-
|
|
4
|
-
import {
|
|
5
|
-
import { G as resolveAndroidLayout, Nt as repoRoot, nt as settingValueAt, ot as webSettings, q as resolveIosProjectDir } from "./settings-B5tCoq9N.mjs";
|
|
2
|
+
import { C as supervisorPidFile, c as withWorkspaceStateLock, j as workspaceStateFile$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-pUg3_RRA.mjs";
|
|
3
|
+
import { U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, g as isPathPrefix, l as findEnclosingWorktreeRoot, p as getProject } from "./config-BktkY_zC.mjs";
|
|
4
|
+
import { G as resolveAndroidLayout, Nt as repoRoot, nt as settingValueAt, ot as webSettings, q as resolveIosProjectDir } from "./settings-CosW5X-S.mjs";
|
|
6
5
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
7
6
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
8
7
|
import { projectRootDirectories } from "@stim-cli/core/state";
|
|
@@ -312,8 +311,8 @@ const nativeAndroidIntegration = {
|
|
|
312
311
|
application: true,
|
|
313
312
|
platforms: () => ["android"],
|
|
314
313
|
validate: (operation) => operation === "android" ? null : void 0,
|
|
315
|
-
android: async () => (await import("./native-android-
|
|
316
|
-
doctor: async () => (await import("./native-android-
|
|
314
|
+
android: async () => (await import("./native-android-CL2NGiik.mjs")).nativeAndroidProject(root),
|
|
315
|
+
doctor: async () => (await import("./native-android-CL2NGiik.mjs")).nativeAndroidDoctor(root)
|
|
317
316
|
};
|
|
318
317
|
}
|
|
319
318
|
};
|
|
@@ -741,8 +740,8 @@ const nativeXcodeProjectIntegration = {
|
|
|
741
740
|
application: problem === null,
|
|
742
741
|
platforms: () => problem ? [] : ["ios"],
|
|
743
742
|
validate: (operation) => operation === "ios" ? problem : void 0,
|
|
744
|
-
ios: async () => (await import("./native-xcode-ios-
|
|
745
|
-
doctor: async () => (await import("./native-xcode-ios-
|
|
743
|
+
ios: async () => (await import("./native-xcode-ios-CBXJAxfC.mjs")).nativeXcodeIosProject(root),
|
|
744
|
+
doctor: async () => (await import("./native-xcode-ios-CBXJAxfC.mjs")).nativeXcodeDoctor(root)
|
|
746
745
|
};
|
|
747
746
|
}
|
|
748
747
|
};
|
|
@@ -947,7 +946,7 @@ function createProjectRegistry(integrations) {
|
|
|
947
946
|
//#region src/integrations/projects.ts
|
|
948
947
|
const expo = {
|
|
949
948
|
mode: MODE_EXPO,
|
|
950
|
-
loadDevServer: async () => (await import("./server-expo-
|
|
949
|
+
loadDevServer: async () => (await import("./server-expo-wvcj5tiZ.mjs")).startExpoServer,
|
|
951
950
|
platforms(root) {
|
|
952
951
|
const appJson = readAppJson(root);
|
|
953
952
|
const config = appJson?.expo ?? appJson;
|
|
@@ -967,7 +966,7 @@ const expo = {
|
|
|
967
966
|
};
|
|
968
967
|
const reactNative = {
|
|
969
968
|
mode: MODE_BARE,
|
|
970
|
-
loadDevServer: async () => (await import("./server-bare-
|
|
969
|
+
loadDevServer: async () => (await import("./server-bare-A75rDIdD.mjs")).startBareServer,
|
|
971
970
|
platforms(root, { context, settings }) {
|
|
972
971
|
if (!declaresAppDependency(readPackageJson(root))) return [];
|
|
973
972
|
const platforms = [];
|
|
@@ -997,9 +996,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
997
996
|
ownedRoots: problem === null ? [join(root, "ios"), join(root, "android")] : [],
|
|
998
997
|
platforms: (resolved) => nativeProjectIntegration(root).platforms(root, resolved),
|
|
999
998
|
validate: (operation) => operation === "ios" || operation === "android" || operation === "dev-server" ? problem : void 0,
|
|
1000
|
-
ios: async (settings) => (await import("./react-native-ios-
|
|
1001
|
-
android: async (resolved) => (await import("./react-native-android-
|
|
1002
|
-
doctor: async () => (await import("./react-native-doctor-
|
|
999
|
+
ios: async (settings) => (await import("./react-native-ios-B-nf4rjN.mjs")).reactNativeIosProject(root, settings),
|
|
1000
|
+
android: async (resolved) => (await import("./react-native-android-Cgg99REN.mjs")).reactNativeAndroidProject(root, resolved),
|
|
1001
|
+
doctor: async () => (await import("./react-native-doctor-BhA3KUte.mjs")).reactNativeProjectDoctor(root)
|
|
1003
1002
|
};
|
|
1004
1003
|
}
|
|
1005
1004
|
},
|
|
@@ -1013,9 +1012,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
1013
1012
|
application: true,
|
|
1014
1013
|
platforms: ({ settings }) => settingValueAt(settings, "macos.product") && settingValueAt(settings, "macos.infoPlist") ? ["macos"] : [],
|
|
1015
1014
|
validate: (operation) => operation === "macos" ? null : void 0,
|
|
1016
|
-
macos: async () => (await import("./swiftpm-macos-
|
|
1015
|
+
macos: async () => (await import("./swiftpm-macos-x6HPpl_2.mjs")).swiftpmMacosProject(root),
|
|
1017
1016
|
doctor: async () => {
|
|
1018
|
-
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-
|
|
1017
|
+
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-DoavrvIA.mjs");
|
|
1019
1018
|
return {
|
|
1020
1019
|
inspect: () => [],
|
|
1021
1020
|
offloadTargets: ({ options: { host = process.platform, platform, operation } }) => host === "darwin" && platform === void 0 ? async () => [{
|
|
@@ -1035,7 +1034,7 @@ const projectRegistry = createProjectRegistry([
|
|
|
1035
1034
|
application: false,
|
|
1036
1035
|
platforms: ({ settings }) => webSettings(settings).url !== null ? ["web"] : [],
|
|
1037
1036
|
validate: (operation) => operation === "web" ? null : void 0,
|
|
1038
|
-
web: async () => (await import("./browser-web-
|
|
1037
|
+
web: async () => (await import("./browser-web-rYPyqhTf.mjs")).browserWebProject(root)
|
|
1039
1038
|
};
|
|
1040
1039
|
}
|
|
1041
1040
|
},
|
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
import { C as reportSignal, _ as spawnDeclared, b as operationState, c as throwIfCancelled, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { r as readWorkspaceState } from "./workspace-state-pUg3_RRA.mjs";
|
|
3
|
+
import { H as deviceSlotPlatforms, p as getProject, q as validateDeviceSlot } from "./config-BktkY_zC.mjs";
|
|
3
4
|
import { r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
5
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-BF5AR2dL.mjs";
|
|
5
6
|
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-CUZifp6Z.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { i as
|
|
20
|
-
import { a as runPrebuild, c as fingerprintErrorMissReason, i as recordPrebuildAsync, n as planPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss, t as planPrebuild } from "./prebuild-JUaqOLpc.mjs";
|
|
21
|
-
import { a as PLATFORM, c as androidGradleProject, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, l as androidJobLayout, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE } from "./support-Cxj9CmII.mjs";
|
|
7
|
+
import { G as resolveAndroidLayout, U as remoteEasFallbackSetting, Ut as makeTemporaryDirectory, V as realpathInside, Wt as removeTemporaryEntry, et as settingOriginScope, it as tunnelModeSetting, m as defaultAndroidLayout, rt as settingsLayers, z as publicUrlSetting } from "./settings-CosW5X-S.mjs";
|
|
8
|
+
import { v as detectIsExpo } from "./project-BUu6Is4k.mjs";
|
|
9
|
+
import { E as findBuildTool, F as listAvdsAsync, I as listInstalledSystemImages, K as ownedAvdSystemImage, V as ownedAvdDirectory, X as pickDefaultSystemImage, k as hostSystemImageArch, l as androidSystemImageAbi, r as androidBuildToolName } from "./android-DTAcRwBC.mjs";
|
|
10
|
+
import { Hn as processContext, Xn as loadProjectProvider, qn as checkEasAuth, rr as bundleInvocation, tr as resolveRemote, tt as statsProjectKey } from "./budget-k2mZGvvk.mjs";
|
|
11
|
+
import { A as assetDiffReason, C as storeBuild, M as compareAssetManifests, N as readAssetManifest, O as untrackedMissLine, S as resolveBuild, T as storedAssetManifest, a as configInputsChanged, d as fingerprintDiffRecord, g as inputsChangedDuringBuild, j as captureAssetManifest, k as untrackedNativeFiles, m as gitignoredFingerprintInputs, n as buildCacheKey, p as fingerprintProject, r as changedDuringBuildLine, u as filesystemBuildCapability, x as refingerprintAfterMutation } from "./build-cache-DrXNCy3T.mjs";
|
|
12
|
+
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-eQfOdydb.mjs";
|
|
13
|
+
import { o as resolveCcache } from "./ccache-Bx5TbxwG.mjs";
|
|
14
|
+
import { G as tailLines, U as startBuildHeartbeat, j as HEARTBEAT_INTERVAL_MS, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-J4J8MrAr.mjs";
|
|
15
|
+
import { h as detectAppIds, m as detectAndroidPackage } from "./start-_BdJ32cZ.mjs";
|
|
16
|
+
import { c as readProductFlavors, h as androidPathRoomRefusal, n as buildAndroid, s as productFlavorRefusal } from "./react-native-build-oNwqF5Wb.mjs";
|
|
17
|
+
import { t as readDoctorFingerprint } from "./doctor-fingerprint-D3a04Mhu.mjs";
|
|
18
|
+
import { i as planEasDevelopmentBuild } from "./eas-build-Dsj93iM9.mjs";
|
|
19
|
+
import { a as runPrebuild, c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, n as planPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss, t as planPrebuild } from "./prebuild-gmouvmJZ.mjs";
|
|
20
|
+
import { a as PLATFORM, c as androidGradleProject, g as dumpApkManifest, h as displayPath, i as NO_FINGERPRINT, l as androidJobLayout, o as androidBuildOptions, p as apkPackage, r as NO_DEVICE } from "./support-BGSCBoib.mjs";
|
|
22
21
|
import { t as AndroidRecipeRefusal } from "./android-project-BCAAmMwz.mjs";
|
|
23
|
-
import { u as resolveAndroidRunPlan } from "./result-
|
|
24
|
-
import { t as checkEasFallback } from "./eas-fallback-
|
|
25
|
-
import { n as androidProcessRuntime, t as androidMetroRuntime } from "./launch-
|
|
26
|
-
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-
|
|
27
|
-
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-
|
|
28
|
-
import { t as planHostedDevice } from "./plan-placement-
|
|
22
|
+
import { u as resolveAndroidRunPlan } from "./result-7F5hEwQJ.mjs";
|
|
23
|
+
import { t as checkEasFallback } from "./eas-fallback-FwkeqqGi.mjs";
|
|
24
|
+
import { n as androidProcessRuntime, t as androidMetroRuntime } from "./launch-DOp8RjDz.mjs";
|
|
25
|
+
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-DrMMdayj.mjs";
|
|
26
|
+
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-BMhXYVDS.mjs";
|
|
27
|
+
import { t as planHostedDevice } from "./plan-placement-IiiSQhtz.mjs";
|
|
29
28
|
import { constants, existsSync, mkdirSync, readFileSync, renameSync } from "node:fs";
|
|
30
29
|
import { basename, dirname, isAbsolute, join, relative } from "node:path";
|
|
31
30
|
import chalk from "chalk";
|
|
@@ -663,14 +662,19 @@ async function planReactNativeAndroid(root, opts, runtimeKind, { context: settin
|
|
|
663
662
|
});
|
|
664
663
|
let fingerprint;
|
|
665
664
|
try {
|
|
666
|
-
fingerprint =
|
|
667
|
-
root,
|
|
668
|
-
platform: PLATFORM,
|
|
669
|
-
androidLayout: layout
|
|
670
|
-
}) : await deps.fingerprint(root, {
|
|
665
|
+
fingerprint = (await memoizedFingerprint(root, {
|
|
671
666
|
platform: PLATFORM,
|
|
672
667
|
androidLayout: layout
|
|
673
|
-
}
|
|
668
|
+
}, {
|
|
669
|
+
consult: build.cache.read,
|
|
670
|
+
operation: operation && reportSignal(operation) ? void 0 : operation,
|
|
671
|
+
record: false,
|
|
672
|
+
fingerprint: (projectRoot, fingerprintTarget) => operation && reportSignal(operation) ? readDoctorFingerprint(operation, {
|
|
673
|
+
root: projectRoot,
|
|
674
|
+
platform: PLATFORM,
|
|
675
|
+
androidLayout: layout
|
|
676
|
+
}) : deps.fingerprint(projectRoot, fingerprintTarget)
|
|
677
|
+
})).fingerprint;
|
|
674
678
|
} catch (error) {
|
|
675
679
|
operation?.signal.throwIfAborted();
|
|
676
680
|
return refuse({
|
|
@@ -744,7 +748,7 @@ function reactNativeAndroidProject(root, { context, settings }, dependencies = {
|
|
|
744
748
|
artifact: (artifactContext) => reactNativeAndroidArtifact(artifactContext, isExpo, layout, context, dependencies)
|
|
745
749
|
};
|
|
746
750
|
}
|
|
747
|
-
function reactNativeAndroidArtifact({ operation, root, buildLog, writer, settings, buildPlan, target, phase, out, step, estimates }, isExpo, layout, context, { fingerprint = fingerprintProject, untracked = untrackedNativeFiles, resolveCached = resolveBuild, storeCached = storeBuild, storedAssets = storedAssetManifest, captureAssets = captureAssetManifest, loadProvider = loadProjectProvider, planPrebuildFor = planPrebuild, prebuild = runPrebuild, build = buildAndroid, ccacheFor = resolveCcache, swapApk = swapApkBundle, readState = readWorkspaceState }) {
|
|
751
|
+
function reactNativeAndroidArtifact({ operation, root, buildLog, writer, settings, buildPlan, target, phase, out, step, estimates }, isExpo, layout, context, { fingerprint = fingerprintProject, memoize = memoizedFingerprint, untracked = untrackedNativeFiles, resolveCached = resolveBuild, storeCached = storeBuild, storedAssets = storedAssetManifest, captureAssets = captureAssetManifest, loadProvider = loadProjectProvider, planPrebuildFor = planPrebuild, prebuild = runPrebuild, build = buildAndroid, ccacheFor = resolveCcache, swapApk = swapApkBundle, readState = readWorkspaceState }) {
|
|
748
752
|
const { variant, release, profile, cas } = buildPlan;
|
|
749
753
|
const runOptions = {
|
|
750
754
|
...variant ? { variant } : {},
|
|
@@ -758,6 +762,7 @@ function reactNativeAndroidArtifact({ operation, root, buildLog, writer, setting
|
|
|
758
762
|
let initialSources = [];
|
|
759
763
|
let prebuildRan = false;
|
|
760
764
|
let editedConfig = [];
|
|
765
|
+
let fingerprintCheck = null;
|
|
761
766
|
const identity = () => ({
|
|
762
767
|
hash,
|
|
763
768
|
key: buildCacheKey("android", hash, runOptions)
|
|
@@ -800,13 +805,22 @@ function reactNativeAndroidArtifact({ operation, root, buildLog, writer, setting
|
|
|
800
805
|
return null;
|
|
801
806
|
};
|
|
802
807
|
return {
|
|
808
|
+
fingerprintCheck: () => fingerprintCheck,
|
|
803
809
|
async identity() {
|
|
804
810
|
let computed;
|
|
805
811
|
try {
|
|
806
|
-
|
|
812
|
+
const memo = await memoize(root, {
|
|
807
813
|
platform: "android",
|
|
808
814
|
androidLayout: layout
|
|
815
|
+
}, {
|
|
816
|
+
consult: buildPlan.cache.read,
|
|
817
|
+
record: true,
|
|
818
|
+
operation,
|
|
819
|
+
fingerprint
|
|
809
820
|
});
|
|
821
|
+
computed = memo.fingerprint;
|
|
822
|
+
fingerprintCheck = memo.check;
|
|
823
|
+
if (memo.memoHit) phase("fingerprint", chalk.dim("matches a recorded fingerprint of this tree; confirming it in the background"));
|
|
810
824
|
} catch (error) {
|
|
811
825
|
const message = String(error?.message || error);
|
|
812
826
|
throw new AndroidRecipeRefusal({
|
|
@@ -976,7 +990,7 @@ function reactNativeAndroidArtifact({ operation, root, buildLog, writer, setting
|
|
|
976
990
|
target: async () => ({
|
|
977
991
|
platform: "android",
|
|
978
992
|
local: await androidToolchainAsync(operation?.env),
|
|
979
|
-
requires: androidRequirements(root)
|
|
993
|
+
requires: androidRequirements(root, layout.gradleRoot)
|
|
980
994
|
}),
|
|
981
995
|
request: {
|
|
982
996
|
platform: "android",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as spawnDeclared, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { x as sharedCompilationCache } from "./workspace-state-pUg3_RRA.mjs";
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
+
import { l as phaseLine } from "./command-output-BF5AR2dL.mjs";
|
|
5
5
|
import { a as killOnAbort } from "./operation-exec-CUZifp6Z.mjs";
|
|
6
|
-
import { C as resolvePackageJson } from "./project-
|
|
7
|
-
import { o as androidHome } from "./android-
|
|
8
|
-
import { r as register } from "./cache-manifest-
|
|
6
|
+
import { C as resolvePackageJson } from "./project-BUu6Is4k.mjs";
|
|
7
|
+
import { o as androidHome } from "./android-DTAcRwBC.mjs";
|
|
8
|
+
import { r as register } from "./cache-manifest-BEZ9Bpl1.mjs";
|
|
9
9
|
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
10
|
-
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-
|
|
11
|
-
import {
|
|
10
|
+
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-Bx5TbxwG.mjs";
|
|
11
|
+
import { F as compilationCacheSettings, L as parseSwiftVersion, M as SWIFT_PREFIX_MAPPING_MIN_SWIFT, N as buildXcode, R as parseXcodeMajor, U as startBuildHeartbeat, W as swiftPrefixMappingSupported, j as HEARTBEAT_INTERVAL_MS, z as pickXcodeProject } from "./toolchain-J4J8MrAr.mjs";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
13
13
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
14
14
|
import { dirname, isAbsolute, join, relative, sep } from "node:path";
|
|
@@ -1,13 +1,41 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
-
import { G as resolveAndroidLayout, q as resolveIosProjectDir } from "./settings-
|
|
4
|
-
import { v as detectIsExpo } from "./project-
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import {
|
|
8
|
-
import { existsSync, readdirSync } from "node:fs";
|
|
2
|
+
import { l as phaseLine } from "./command-output-BF5AR2dL.mjs";
|
|
3
|
+
import { G as resolveAndroidLayout, q as resolveIosProjectDir } from "./settings-CosW5X-S.mjs";
|
|
4
|
+
import { v as detectIsExpo } from "./project-BUu6Is4k.mjs";
|
|
5
|
+
import { J as bundlerPin, n as androidToolchain, r as androidToolchainAsync, s as iosToolchainAsync, t as androidRequirements } from "./toolchain-J4J8MrAr.mjs";
|
|
6
|
+
import { a as reactNativeDoctorFindings, i as mainCheckoutProjectRoot, n as detectFingerprintParity, r as detectLinkedLibraryGitMetadata, s as repairCxxLauncherState, t as checkMainCheckout } from "./doctor-OnwP94ne.mjs";
|
|
7
|
+
import { existsSync, readdirSync, statSync } from "node:fs";
|
|
9
8
|
import { join, relative } from "node:path";
|
|
10
9
|
//#region src/diagnostics/doctor-ios-architectures.ts
|
|
10
|
+
const INSPECTION_TTL_MS = 6e5;
|
|
11
|
+
const inspections = /* @__PURE__ */ new Map();
|
|
12
|
+
function inspectionInputs(iosRoot) {
|
|
13
|
+
let names;
|
|
14
|
+
try {
|
|
15
|
+
names = readdirSync(iosRoot).toSorted();
|
|
16
|
+
} catch {
|
|
17
|
+
names = [];
|
|
18
|
+
}
|
|
19
|
+
return JSON.stringify([
|
|
20
|
+
...names.filter((name) => name.endsWith(".xcodeproj")).map((name) => join(iosRoot, name, "project.pbxproj")),
|
|
21
|
+
...names.filter((name) => name.endsWith(".xcconfig")).map((name) => join(iosRoot, name)),
|
|
22
|
+
join(iosRoot, "Podfile"),
|
|
23
|
+
join(iosRoot, "Podfile.lock"),
|
|
24
|
+
join(iosRoot, "Pods", "Manifest.lock"),
|
|
25
|
+
join(iosRoot, "Pods", "Pods.xcodeproj", "project.pbxproj")
|
|
26
|
+
].map((path) => {
|
|
27
|
+
try {
|
|
28
|
+
const stat = statSync(path);
|
|
29
|
+
return [
|
|
30
|
+
path,
|
|
31
|
+
stat.mtimeMs,
|
|
32
|
+
stat.size
|
|
33
|
+
];
|
|
34
|
+
} catch {
|
|
35
|
+
return [path, null];
|
|
36
|
+
}
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
11
39
|
const COMPILED_PRODUCTS = /* @__PURE__ */ new Set([
|
|
12
40
|
"com.apple.product-type.application",
|
|
13
41
|
"com.apple.product-type.application.on-demand-install-capable",
|
|
@@ -80,6 +108,19 @@ function parseIosDebugArchitectures(output) {
|
|
|
80
108
|
}
|
|
81
109
|
async function inspectIosDebugArchitectures(projectRoot, iosProjectPath = "ios") {
|
|
82
110
|
const iosRoot = join(projectRoot, iosProjectPath);
|
|
111
|
+
const key = `${projectRoot}\0${iosRoot}`;
|
|
112
|
+
const inputs = inspectionInputs(iosRoot);
|
|
113
|
+
const cached = inspections.get(key);
|
|
114
|
+
if (cached && cached.inputs === inputs && Date.now() - cached.at < INSPECTION_TTL_MS) return [...await cached.findings];
|
|
115
|
+
const findings = inspect(projectRoot, iosRoot);
|
|
116
|
+
inspections.set(key, {
|
|
117
|
+
inputs,
|
|
118
|
+
at: Date.now(),
|
|
119
|
+
findings
|
|
120
|
+
});
|
|
121
|
+
return [...await findings];
|
|
122
|
+
}
|
|
123
|
+
async function inspect(projectRoot, iosRoot) {
|
|
83
124
|
if (!existsSync(iosRoot)) return [];
|
|
84
125
|
const findings = [];
|
|
85
126
|
const unknown = [];
|
|
@@ -192,7 +233,7 @@ function reactNativeProjectDoctor(root) {
|
|
|
192
233
|
if (checksAndroid) targets.push({
|
|
193
234
|
platform: "android",
|
|
194
235
|
local: operation ? await androidToolchainAsync(operation.env) : androidToolchain(),
|
|
195
|
-
requires: androidRequirements(root)
|
|
236
|
+
requires: androidRequirements(root, androidDir)
|
|
196
237
|
});
|
|
197
238
|
return targets;
|
|
198
239
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { C as reportSignal } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
3
|
-
import { U as remoteEasFallbackSetting, W as remoteIosSetting, a as SETTING_SHAPE_REMEDY, it as tunnelModeSetting, p as cacheProviderSettingError, q as resolveIosProjectDir, tt as settingShapeErrors, z as publicUrlSetting } from "./settings-
|
|
4
|
-
import {
|
|
5
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
6
|
-
import {
|
|
2
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-BF5AR2dL.mjs";
|
|
3
|
+
import { U as remoteEasFallbackSetting, W as remoteIosSetting, a as SETTING_SHAPE_REMEDY, it as tunnelModeSetting, p as cacheProviderSettingError, q as resolveIosProjectDir, tt as settingShapeErrors, z as publicUrlSetting } from "./settings-CosW5X-S.mjs";
|
|
4
|
+
import { Hn as processContext, tt as statsProjectKey } from "./budget-k2mZGvvk.mjs";
|
|
5
|
+
import { d as runCancellationSignal } from "./native-run-BfIDFKLH.mjs";
|
|
6
|
+
import { D as trackedFingerprintPaths, O as untrackedMissLine, a as configInputsChanged, d as fingerprintDiffRecord, g as inputsChangedDuringBuild, h as ignoredFingerprintPaths, m as gitignoredFingerprintInputs, n as buildCacheKey, r as changedDuringBuildLine, u as filesystemBuildCapability, x as refingerprintAfterMutation } from "./build-cache-DrXNCy3T.mjs";
|
|
7
7
|
import { d as optimizationBuildProfile, l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { a as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { i as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { a as
|
|
17
|
-
import {
|
|
18
|
-
import { t as planHostedDevice } from "./plan-placement-BqKgKHCi.mjs";
|
|
8
|
+
import { J as bundlerPin, s as iosToolchainAsync } from "./toolchain-J4J8MrAr.mjs";
|
|
9
|
+
import { a as deviceModelRefusal, c as iosProjectPathError, f as podAction, h as resolveDeviceType, l as iosProviderRunOptions, m as resolveConfiguration, u as isReleaseConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-CVOCp0Ft.mjs";
|
|
10
|
+
import { t as readDoctorFingerprint } from "./doctor-fingerprint-D3a04Mhu.mjs";
|
|
11
|
+
import { i as planEasDevelopmentBuild, n as easDeviceBuildRemedy } from "./eas-build-Dsj93iM9.mjs";
|
|
12
|
+
import { c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss } from "./prebuild-gmouvmJZ.mjs";
|
|
13
|
+
import { r as planPayload, t as planCachedBuild } from "./build-plan-DrMMdayj.mjs";
|
|
14
|
+
import { t as IosRecipeRefusal } from "./ios-project-Ty5pHl9O.mjs";
|
|
15
|
+
import { a as hostedIosSelectors } from "./remote-C8S7FlPF.mjs";
|
|
16
|
+
import { a as writeIpTxt, c as iosProcessRuntime, r as copyAppAside, s as iosMetroRuntime, t as DEFAULT_DEPS } from "./dependencies-Dw6wfQdv.mjs";
|
|
17
|
+
import { t as planHostedDevice } from "./plan-placement-IiiSQhtz.mjs";
|
|
19
18
|
import { rmSync } from "node:fs";
|
|
20
19
|
import chalk from "chalk";
|
|
21
20
|
//#region src/integrations/react-native-ios-plan.ts
|
|
@@ -122,14 +121,19 @@ async function planReactNativeIos(root, opts, d, schemeProblem, { context: setti
|
|
|
122
121
|
const cachePolicy = artifactCachePolicy(optimizations, opts.buildCache !== false, isReleaseConfiguration(configuration));
|
|
123
122
|
let fingerprint;
|
|
124
123
|
try {
|
|
125
|
-
fingerprint =
|
|
126
|
-
root,
|
|
127
|
-
platform: "ios",
|
|
128
|
-
iosProjectPath: iosProject.relative
|
|
129
|
-
}) : await d.fingerprintProject(root, {
|
|
124
|
+
fingerprint = (await memoizedFingerprint(root, {
|
|
130
125
|
platform: "ios",
|
|
131
126
|
iosProjectPath: iosProject.relative
|
|
132
|
-
}
|
|
127
|
+
}, {
|
|
128
|
+
consult: cachePolicy.read,
|
|
129
|
+
operation: operation && reportSignal(operation) ? void 0 : operation,
|
|
130
|
+
record: false,
|
|
131
|
+
fingerprint: (projectRoot, fingerprintTarget) => operation && reportSignal(operation) ? readDoctorFingerprint(operation, {
|
|
132
|
+
root: projectRoot,
|
|
133
|
+
platform: "ios",
|
|
134
|
+
iosProjectPath: iosProject.relative
|
|
135
|
+
}) : d.fingerprintProject(projectRoot, fingerprintTarget)
|
|
136
|
+
})).fingerprint;
|
|
133
137
|
} catch (error) {
|
|
134
138
|
operation?.signal.throwIfAborted();
|
|
135
139
|
note(chalk.dim(`Fingerprinting failed: ${error?.message || error}`));
|
|
@@ -274,6 +278,7 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
274
278
|
let storeHash = null;
|
|
275
279
|
let storeSources = [];
|
|
276
280
|
let mutatingSteps = [];
|
|
281
|
+
let fingerprintCheck = null;
|
|
277
282
|
const identity = () => storeHash ? {
|
|
278
283
|
hash: storeHash,
|
|
279
284
|
key: buildCacheKey(PLATFORM, storeHash, keyOptions)
|
|
@@ -370,10 +375,18 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
370
375
|
let computedFingerprint;
|
|
371
376
|
let fingerprintError = "no hash";
|
|
372
377
|
try {
|
|
373
|
-
const
|
|
378
|
+
const memo = await d.memoizedFingerprint(root, {
|
|
374
379
|
platform: PLATFORM,
|
|
375
380
|
iosProjectPath: iosProject.relative
|
|
381
|
+
}, {
|
|
382
|
+
consult: cachePolicy.read,
|
|
383
|
+
record: true,
|
|
384
|
+
operation,
|
|
385
|
+
fingerprint: d.fingerprintProject
|
|
376
386
|
});
|
|
387
|
+
const computed = memo.fingerprint;
|
|
388
|
+
fingerprintCheck = memo.check;
|
|
389
|
+
if (memo.memoHit) phase("fingerprint", chalk.dim("matches a recorded fingerprint of this tree; confirming it in the background"));
|
|
377
390
|
computedFingerprint = computed?.hash ?? null;
|
|
378
391
|
fingerprintSources = computed?.sources ?? [];
|
|
379
392
|
} catch (error) {
|
|
@@ -394,6 +407,7 @@ function reactNativeIosArtifact({ operation, root, logFile, configuration, build
|
|
|
394
407
|
storeSources = fingerprintSources;
|
|
395
408
|
return identity();
|
|
396
409
|
},
|
|
410
|
+
fingerprintCheck: () => fingerprintCheck,
|
|
397
411
|
cache: () => filesystemBuildCapability({
|
|
398
412
|
context: operation,
|
|
399
413
|
resolve: d.resolveBuild,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bt as gitCommonDirOnDisk } from "./settings-
|
|
1
|
+
import { bt as gitCommonDirOnDisk } from "./settings-CosW5X-S.mjs";
|
|
2
2
|
import { existsSync } from "node:fs";
|
|
3
3
|
import { loadConfig, recordingEnabled, workspaceRecordingsDir } from "@stim-cli/core/state";
|
|
4
4
|
import { rm } from "node:fs/promises";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as reloadCommand, r as runReload, t as registerReload } from "./reload-
|
|
1
|
+
import { n as reloadCommand, r as runReload, t as registerReload } from "./reload-CCR7KC_l.mjs";
|
|
2
2
|
export { reloadCommand as default, registerReload, runReload };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { c as throwIfCancelled, i as loadScaledBudgetMs, o as cancellableSleep, s as cancelledError } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Pt as repoRootAsync } from "./settings-
|
|
6
|
-
import { I as readWorkspaceLaunches, P as readRemoteSession, r as findCommandWorkspaceAsync } from "./project-
|
|
7
|
-
import { nt as resolveOwnedAvdSerialAsync } from "./android-
|
|
8
|
-
import { a as listeningPidsAsync, d as resolveProjectMetro, h as isMetroRunning, u as processCwds } from "./metro-
|
|
9
|
-
import { d as webFactsAsync, o as readWebRecord, r as cdpEndpoint } from "./state-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { f as probeHostedSession } from "./hosted-client-
|
|
13
|
-
import { r as readHostedNative } from "./ios-state-
|
|
14
|
-
import { r as reopenHostedAndroidMetro } from "./hosted-android-
|
|
15
|
-
import { n as nativeRunCommand } from "./slot-launch-
|
|
2
|
+
import { a as recordWorkspaceUseAsync, r as readWorkspaceState$1 } from "./workspace-state-pUg3_RRA.mjs";
|
|
3
|
+
import { H as deviceSlotPlatforms, U as parseDeviceSlotKey, p as getProject } from "./config-BktkY_zC.mjs";
|
|
4
|
+
import { f as refuseNoProject, l as phaseLine } from "./command-output-BF5AR2dL.mjs";
|
|
5
|
+
import { Pt as repoRootAsync } from "./settings-CosW5X-S.mjs";
|
|
6
|
+
import { I as readWorkspaceLaunches, P as readRemoteSession, r as findCommandWorkspaceAsync } from "./project-BUu6Is4k.mjs";
|
|
7
|
+
import { nt as resolveOwnedAvdSerialAsync } from "./android-DTAcRwBC.mjs";
|
|
8
|
+
import { a as listeningPidsAsync, d as resolveProjectMetro, h as isMetroRunning, u as processCwds } from "./metro-CjC10t6E.mjs";
|
|
9
|
+
import { d as webFactsAsync, o as readWebRecord, r as cdpEndpoint } from "./state-C1i2nMOP.mjs";
|
|
10
|
+
import { kn as iosAppProcess, vn as androidAppProcess, wn as ensureMetroReverse } from "./budget-k2mZGvvk.mjs";
|
|
11
|
+
import { D as resolveOwnedIosSim, f as listAllIosSimsAsync } from "./ios-WxpDJ5T1.mjs";
|
|
12
|
+
import { f as probeHostedSession } from "./hosted-client-fHO8yqzc.mjs";
|
|
13
|
+
import { r as readHostedNative } from "./ios-state-Cw7-WQf2.mjs";
|
|
14
|
+
import { r as reopenHostedAndroidMetro } from "./hosted-android-Bk54ej6n.mjs";
|
|
15
|
+
import { n as nativeRunCommand } from "./slot-launch-CYCEhfBY.mjs";
|
|
16
16
|
import { n as sendToOwnedPage, t as liveWebRecord } from "./page-CzEA_-5_.mjs";
|
|
17
17
|
import { hostedAndroidDeviceName, hostedNativeRecords } from "@stim-cli/core/state";
|
|
18
18
|
import { WebSocket } from "ws";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { l as WorkspaceProcessCleanupError } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import { H as deviceSlotPlatforms } from "./config-
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import { I as parseIosRemote, U as remoteEasFallbackSetting, W as remoteIosSetting, it as tunnelModeSetting, z as publicUrlSetting } from "./settings-
|
|
5
|
-
import "./budget-
|
|
6
|
-
import { b as resolveSimulatorAppFlag } from "./support-
|
|
7
|
-
import { n as devicePlacementRecord } from "./placement-log-
|
|
8
|
-
import { r as devicePlacementLine } from "./eas-fallback-
|
|
2
|
+
import { H as deviceSlotPlatforms } from "./config-BktkY_zC.mjs";
|
|
3
|
+
import { l as phaseLine } from "./command-output-BF5AR2dL.mjs";
|
|
4
|
+
import { I as parseIosRemote, U as remoteEasFallbackSetting, W as remoteIosSetting, it as tunnelModeSetting, z as publicUrlSetting } from "./settings-CosW5X-S.mjs";
|
|
5
|
+
import "./budget-k2mZGvvk.mjs";
|
|
6
|
+
import { b as resolveSimulatorAppFlag } from "./support-CVOCp0Ft.mjs";
|
|
7
|
+
import { n as devicePlacementRecord } from "./placement-log-DIFPQAXp.mjs";
|
|
8
|
+
import { r as devicePlacementLine } from "./eas-fallback-FwkeqqGi.mjs";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
//#region src/commands/ios/remote.ts
|
|
11
11
|
function deviceRemoteConflict(remote, physical) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { H as deviceSlotPlatforms, p as getProject } from "./config-
|
|
3
|
-
import { i as formatDuration, l as phaseLine } from "./command-output-
|
|
4
|
-
import { G as resolveAndroidLayout, H as remoteAndroidSetting, I as parseIosRemote, K as resolveCacheProviderConfig, Q as settingFile, a as SETTING_SHAPE_REMEDY, at as unknownSettingKeys, d as androidLayoutSetting, et as settingOriginScope, f as androidLayoutSettingError, p as cacheProviderSettingError, rt as settingsLayers, s as androidAvdConfigSettingError, tt as settingShapeErrors, u as androidDataPartitionSizeGbSettingError } from "./settings-
|
|
5
|
-
import { v as detectIsExpo } from "./project-
|
|
6
|
-
import { a as workspaceLinkLine } from "./stim-desktop-
|
|
7
|
-
import { B as ownedAvdDeviceProfile, I as listInstalledSystemImages, K as ownedAvdSystemImage, N as listAvdDeviceProfilesAsync, Q as profileNeedsFoldFeature, X as pickDefaultSystemImage, at as systemImageSupportsFold, k as hostSystemImageArch, l as androidSystemImageAbi, t as DEFAULT_AVD_DEVICE_PROFILE, vt as parkedMaxSetting } from "./android-
|
|
8
|
-
import {
|
|
1
|
+
import { w as workspaceAgentDeviceDir } from "./workspace-state-pUg3_RRA.mjs";
|
|
2
|
+
import { H as deviceSlotPlatforms, p as getProject } from "./config-BktkY_zC.mjs";
|
|
3
|
+
import { i as formatDuration, l as phaseLine } from "./command-output-BF5AR2dL.mjs";
|
|
4
|
+
import { G as resolveAndroidLayout, H as remoteAndroidSetting, I as parseIosRemote, K as resolveCacheProviderConfig, Q as settingFile, a as SETTING_SHAPE_REMEDY, at as unknownSettingKeys, d as androidLayoutSetting, et as settingOriginScope, f as androidLayoutSettingError, p as cacheProviderSettingError, rt as settingsLayers, s as androidAvdConfigSettingError, tt as settingShapeErrors, u as androidDataPartitionSizeGbSettingError } from "./settings-CosW5X-S.mjs";
|
|
5
|
+
import { v as detectIsExpo } from "./project-BUu6Is4k.mjs";
|
|
6
|
+
import { a as workspaceLinkLine } from "./stim-desktop-6Dqp-gjX.mjs";
|
|
7
|
+
import { B as ownedAvdDeviceProfile, I as listInstalledSystemImages, K as ownedAvdSystemImage, N as listAvdDeviceProfilesAsync, Q as profileNeedsFoldFeature, X as pickDefaultSystemImage, at as systemImageSupportsFold, k as hostSystemImageArch, l as androidSystemImageAbi, t as DEFAULT_AVD_DEVICE_PROFILE, vt as parkedMaxSetting } from "./android-DTAcRwBC.mjs";
|
|
8
|
+
import { Gn as UPLOAD_TIMEOUT_MS, Jn as easAuthNote, Kn as cacheLevel, W as recordFinishedBuild, Yn as isEasAuthFailureText } from "./budget-k2mZGvvk.mjs";
|
|
9
9
|
import { d as optimizationBuildProfile, l as artifactCachePolicy, p as resolveOptimizations, u as compilerCacheFallbackMessage } from "./errors-DHm_U5gv.mjs";
|
|
10
|
-
import { n as CCACHE_UNAVAILABLE, r as ccacheActivityLine } from "./ccache-
|
|
11
|
-
import { n as buildPlacementCandidates } from "./client-
|
|
12
|
-
import { c as readProductFlavors, s as productFlavorRefusal } from "./react-native-build-
|
|
13
|
-
import { l as parseDeviceWait } from "./device-lease-run-
|
|
14
|
-
import { t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-
|
|
15
|
-
import { n as resolveAndroidCas, r as resolveAndroidCompilerCache } from "./android-cas-
|
|
16
|
-
import { r as isPhysicalDeviceRequest } from "./native-runtime-
|
|
17
|
-
import { C as remoteAvdFlagRefusal, D as systemImageRefusal, E as resolveVariant, T as resolveSystemImage, a as PLATFORM, m as deviceProfileRefusal, v as foldableImageRefusal, w as resolveDeviceProfile, y as isReleaseVariant } from "./support-
|
|
10
|
+
import { n as CCACHE_UNAVAILABLE, r as ccacheActivityLine } from "./ccache-Bx5TbxwG.mjs";
|
|
11
|
+
import { n as buildPlacementCandidates } from "./client-D9CaRks-.mjs";
|
|
12
|
+
import { c as readProductFlavors, s as productFlavorRefusal } from "./react-native-build-oNwqF5Wb.mjs";
|
|
13
|
+
import { l as parseDeviceWait } from "./device-lease-run-BmvIl7bI.mjs";
|
|
14
|
+
import { t as DEFAULT_DEVICE_SLOT_WAIT_MS } from "./device-capacity-DCSvUF0l.mjs";
|
|
15
|
+
import { n as resolveAndroidCas, r as resolveAndroidCompilerCache } from "./android-cas-BTVhZ0Qs.mjs";
|
|
16
|
+
import { r as isPhysicalDeviceRequest } from "./native-runtime-Dq3RBcON.mjs";
|
|
17
|
+
import { C as remoteAvdFlagRefusal, D as systemImageRefusal, E as resolveVariant, T as resolveSystemImage, a as PLATFORM, m as deviceProfileRefusal, v as foldableImageRefusal, w as resolveDeviceProfile, y as isReleaseVariant } from "./support-BGSCBoib.mjs";
|
|
18
18
|
import { buildDiagnostics } from "@stim-cli/core/state";
|
|
19
19
|
import chalk from "chalk";
|
|
20
20
|
//#region src/commands/android/plan.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, S as process_identity_exports, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import { a as macosRuntimeClaim, i as macosProcess, r as macosLogFile, s as updateMacosRecord } from "./state-
|
|
2
|
+
import { a as macosRuntimeClaim, i as macosProcess, r as macosLogFile, s as updateMacosRecord } from "./state-C4OdpOTF.mjs";
|
|
3
3
|
import { r as createNdjsonWriter } from "./ndjson-CgE_o3Dl.mjs";
|
|
4
4
|
import { LOG_ROTATE_BYTES } from "@stim-cli/core";
|
|
5
5
|
import { readMacosRecord } from "@stim-cli/core/state";
|