stim 1.24.0 → 1.25.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/dist/{acquire-artifact-CEs02U2o.mjs → acquire-artifact-zA4S7RHE.mjs} +1 -1
- package/dist/{act-Cyvm8xYc.mjs → act-BbHS3oV8.mjs} +12 -12
- package/dist/{activity-Dq3ZcdD8.mjs → activity-BpjwrQXU.mjs} +3 -3
- package/dist/{agent-device-usage-output-CccomeE0.mjs → agent-device-usage-output-Bnkerfod.mjs} +3 -3
- package/dist/{android-BZppyPe_.mjs → android-BGwuK3Mc.mjs} +41 -36
- package/dist/{android-DcztblCT.mjs → android-CNZgRC-4.mjs} +5 -5
- package/dist/{android-882m4hxX.mjs → android-Cjcj8MCw.mjs} +2 -2
- package/dist/{android-cas-BtCOrNqb.mjs → android-cas-BVqh2Zep.mjs} +1 -1
- package/dist/{android-project-DVWyCbWU.d.mts → android-project-CTYaETc0.d.mts} +6 -2
- package/dist/{android-CX5IcRuf.mjs → android-saBeB4lr.mjs} +1 -1
- package/dist/api.d.mts +1 -1
- package/dist/api.mjs +22 -22
- package/dist/{artifact-BR5VNArK.mjs → artifact-Co8zixVx.mjs} +14 -13
- package/dist/{artifact-Bdt_n9Jc.mjs → artifact-DN8JNwqS.mjs} +13 -13
- package/dist/{browser-web-ycg9qWB8.mjs → browser-web-CCgZsHmI.mjs} +10 -10
- package/dist/{budget-dPGuhNai.mjs → budget-HyShrIpL.mjs} +62 -21
- package/dist/{build-CaF574eS.mjs → build-CAiw8Ezm.mjs} +22 -21
- package/dist/{build-cache-HFUQ9eLz.mjs → build-cache-CKCzxzxA.mjs} +22 -4
- package/dist/{build-plan-JsDUq4w1.mjs → build-plan-zCuHGlA8.mjs} +5 -5
- package/dist/{ccache-CCn1S6qG.mjs → ccache-h1FKhZeg.mjs} +3 -3
- package/dist/{cli-xqAidP7O.mjs → cli-C4w607Pz.mjs} +17 -17
- package/dist/cli.mjs +1 -1
- package/dist/{client-18-ZowoT.mjs → client-BQsmyp_-.mjs} +26 -17
- package/dist/collector-run.mjs +2 -2
- package/dist/{command-output-DxC0k2rk.mjs → command-output-BBvS1H6v.mjs} +1 -1
- package/dist/{dependency-state-C56ll9hY.mjs → dependency-state-BwNCYG5Q.mjs} +1 -1
- package/dist/{dev-client-w_fok0Ek.mjs → dev-client-CHoXXZeg.mjs} +2 -2
- package/dist/{device-BktRGdjS.mjs → device-B9FqTBYW.mjs} +64 -33
- package/dist/{device-4RUugw5X.mjs → device-F5-4z9ef.mjs} +13 -13
- package/dist/{device-capacity-Ic-kdmEV.mjs → device-capacity-ZYaRALv5.mjs} +7 -7
- package/dist/device-host-worker.mjs +10 -10
- package/dist/{device-ios-DzpSlZyd.mjs → device-ios-DkHBrmvH.mjs} +27 -16
- package/dist/{device-lease-run-DUtkbqBQ.mjs → device-lease-run-ogEeJ62K.mjs} +4 -4
- package/dist/{device-pool-CgBHk401.mjs → device-pool-BIg8MU8l.mjs} +2 -2
- package/dist/{doctor-BZ6oxNum.mjs → doctor-A_Nr_fDe.mjs} +1 -1
- package/dist/{doctor-C33AzVfR.mjs → doctor-Bm8TVpGn.mjs} +27 -21
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-DZgpqR6J.mjs → doctor-k3P3PizH.mjs} +12 -12
- package/dist/{doctor-watchman-B453A231.mjs → doctor-watchman-BovI1y3-.mjs} +3 -3
- package/dist/{eas-build-CxKUNHsb.mjs → eas-build-CyDKNTBP.mjs} +2 -2
- package/dist/{eas-fallback-LMxk9Kw0.mjs → eas-fallback-gaZi-dJL.mjs} +12 -11
- package/dist/{eas-session-ledger-Ck6YXPAO.mjs → eas-session-ledger-BMCA1gdO.mjs} +3 -3
- package/dist/{error-diagnostics-BkKCZq4P.mjs → error-diagnostics-B1Mj_-7h.mjs} +7 -7
- package/dist/{errors-ccaPc4ox.mjs → errors-DHm_U5gv.mjs} +2 -1
- package/dist/{gc-yVKpAOKM.mjs → gc-B9jcnmIk.mjs} +15 -15
- package/dist/{gc-DDWEAj0w.mjs → gc-eaz403W6.mjs} +2 -2
- package/dist/{guide-Bggftwc5.mjs → guide-DR0K0xW9.mjs} +113 -37
- package/dist/{hosted-android-D4dweBof.mjs → hosted-android-Bvb2-ZxD.mjs} +3 -3
- package/dist/{hosted-client-BBTVe3X6.mjs → hosted-client-rsRqysJc.mjs} +2 -2
- package/dist/{hosted-ios-Sn0djzg8.mjs → hosted-ios-RtVcJH3u.mjs} +1 -1
- package/dist/{hosted-logs-CYIZ5ubJ.mjs → hosted-logs-CWKGYWNX.mjs} +4 -4
- package/dist/{hosted-macos-CXjsUNBR.mjs → hosted-macos-d0pv9Tth.mjs} +5 -5
- package/dist/{hosted-native-Doxbfzem.mjs → hosted-native-BxTizGU2.mjs} +6 -6
- package/dist/{idle-shutdown-BInjLKqm.mjs → idle-shutdown-BIyfl0Zj.mjs} +6 -6
- package/dist/{ios-CVUFFZ6C.mjs → ios-BQzvJlzw.mjs} +59 -11
- package/dist/{ios-B1FXRCMX.mjs → ios-BRVM8b0P.mjs} +37 -32
- package/dist/{ios-BItP6lkn.mjs → ios-Dvt97HgQ.mjs} +8 -8
- package/dist/{ios-device-BI38NFFH.mjs → ios-device-CKSvk0bu.mjs} +1 -1
- package/dist/{ios-project-KYqeJURj.mjs → ios-project-DCUDo06I.mjs} +4 -4
- package/dist/{ios-state-DlElquYD.mjs → ios-state-CT9nV5SP.mjs} +1 -1
- package/dist/{js-swap-BvrQvXHY.mjs → js-swap-Z9HbC4cj.mjs} +4 -4
- package/dist/{launch-SfzGH_s9.mjs → launch-D0lPvFFu.mjs} +16 -16
- package/dist/{launch-BVlyQw3T.mjs → launch-DscF1QfM.mjs} +35 -35
- package/dist/{logs-DXE32kyb.mjs → logs-BsIRre8x.mjs} +7 -7
- package/dist/{logs-ovlU7m7N.mjs → logs-Crs9y34Z.mjs} +5 -5
- package/dist/{macos-B3BveDrU.mjs → macos-CcUlJPMu.mjs} +1 -1
- package/dist/{macos-CCfhb-jT.mjs → macos-D477nfzH.mjs} +17 -17
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +5 -5
- package/dist/{metro-Bu8LBfzS.mjs → metro-1pJgCX4U.mjs} +1 -1
- package/dist/{metro-gateway-DtsOy-0P.mjs → metro-gateway-Bp9gJQAN.mjs} +1 -1
- package/dist/{named-ports-BWDuU5oQ.mjs → named-ports-BVbn8SvC.mjs} +1 -1
- package/dist/{native-android-96BBizbq.mjs → native-android-BvMizJn1.mjs} +14 -14
- package/dist/{native-gradle-artifact-inputs-BcLYBZil.mjs → native-gradle-artifact-inputs-BJscK4vN.mjs} +3 -3
- package/dist/{native-run-BmH7U8pr.mjs → native-run-D5OJsGwA.mjs} +2 -2
- package/dist/{native-runtime-DgtJkzIa.mjs → native-runtime-B9w_Qyz3.mjs} +6 -6
- package/dist/{native-xcode-inputs-irplbQb0.mjs → native-xcode-inputs-Cv4l-obn.mjs} +1 -1
- package/dist/{native-xcode-ios-BY-6hh6M.mjs → native-xcode-ios-DGrg90hE.mjs} +17 -16
- package/dist/offload-worker.d.mts +5 -2
- package/dist/offload-worker.mjs +21 -20
- package/dist/{ownership-DxlZGDcV.mjs → ownership-jxxz-19m.mjs} +2 -2
- package/dist/{phone-reverses-BdsdesVF.mjs → phone-reverses-CYb7RRAx.mjs} +2 -2
- package/dist/{placement-log-DUvqqsB-.mjs → placement-log-DjOXJRIH.mjs} +1 -1
- package/dist/{plan-placement-4axc0Hs7.mjs → plan-placement-BqKgKHCi.mjs} +3 -3
- package/dist/{ports-D-E_OiAO.mjs → ports-DtS1Amb0.mjs} +2 -2
- package/dist/{prebuild-DmVCf5xb.mjs → prebuild-JUaqOLpc.mjs} +6 -6
- package/dist/{project-Dz-hWkb-.mjs → project-BiC68mIp.mjs} +14 -14
- package/dist/{react-native-android-DOinxgwB.mjs → react-native-android-DRYqoJc4.mjs} +23 -22
- package/dist/{react-native-build-AuCu-aAP.mjs → react-native-build-CwZB-agu.mjs} +6 -6
- package/dist/{react-native-doctor-2ivJUmwZ.mjs → react-native-doctor-BCrytK7h.mjs} +6 -6
- package/dist/{react-native-ios-D5zTIuH8.mjs → react-native-ios-Cr1buNFo.mjs} +18 -17
- package/dist/{recordings-CdPwYwvs.mjs → recordings-BaoQ0t-J.mjs} +1 -1
- package/dist/{reload-Ck9RJeSq.mjs → reload-Beftw2X3.mjs} +1 -1
- package/dist/{reload-C1TTVesC.mjs → reload-FbSgMF8x.mjs} +13 -13
- package/dist/{remote-DEZ7AOVq.mjs → remote-BuZj6AyU.mjs} +15 -6
- package/dist/{result-DqBrb12U.mjs → result-CR2vk2cj.mjs} +14 -14
- package/dist/{run-BIwoU44q.mjs → run-BtzE09Dl.mjs} +1 -1
- package/dist/{selection-BLtvaqxc.mjs → selection-D5cxEl3t.mjs} +2 -2
- package/dist/{server-bare-Z1ToVLPn.mjs → server-bare-CH9X0RLn.mjs} +55 -3
- package/dist/{server-command-C0pmjNdG.mjs → server-command-CaBbDNU2.mjs} +4 -4
- package/dist/server-expo-C16Zf2k7.mjs +2 -0
- package/dist/{server-expo-Tt_hLRpy.mjs → server-expo-Ck8EIidM.mjs} +8 -6
- package/dist/{settings-RKwY33wv.mjs → settings-B5tCoq9N.mjs} +58 -60
- package/dist/{settings-kkt0vP4w.mjs → settings-DzH9mGQZ.mjs} +1 -1
- package/dist/{settings-write--gj6MACV.mjs → settings-write-n0zwfohx.mjs} +3 -3
- package/dist/settings.schema.json +38 -0
- package/dist/{simslim-CdWKT3vA.mjs → simslim-BjxszUAb.mjs} +20 -5
- package/dist/{slot-launch-A1BgotaM.mjs → slot-launch-QeuJMlnJ.mjs} +5 -5
- package/dist/{stage-ERTMh88n.mjs → stage-D8xlRU2D.mjs} +1 -1
- package/dist/{start-Bmg_qmHi.mjs → start-C1JLjkNw.mjs} +1 -1
- package/dist/{start-BKGrEhzG.mjs → start-YMpNwLhh.mjs} +7 -7
- package/dist/{state-B1ig0Kqy.mjs → state-DMRNP7-4.mjs} +2 -2
- package/dist/{state-BfAltYJP.mjs → state-DPaM3u5K.mjs} +1 -1
- package/dist/{stats-B-ckuiUg.mjs → stats-CP7STzZw.mjs} +3 -3
- package/dist/{status-DfFp6a76.mjs → status-CRLiJ-O_.mjs} +19 -19
- package/dist/{status-Pw-807f0.mjs → status-cNw6i0_t.mjs} +1 -1
- package/dist/{status-watch-XC7F-AMf.mjs → status-watch-Bc2J4TZn.mjs} +4 -4
- package/dist/status-worker.mjs +1 -1
- package/dist/{stop-BFu7X_Do.mjs → stop-Br7LKxBE.mjs} +2 -2
- package/dist/{stop-DhclRwOO.mjs → stop-COP6PQqw.mjs} +4 -4
- package/dist/{stop-CL1kDHds.mjs → stop-Db9Kh-UA.mjs} +69 -50
- package/dist/supervisor-run.mjs +13 -13
- package/dist/{support-B3tzVhKn.mjs → support-Cxj9CmII.mjs} +4 -4
- package/dist/{support-B1W-hmC2.mjs → support-qKcbgmI5.mjs} +14 -11
- package/dist/{swiftpm-artifact-inputs-BWYPj9Sn.mjs → swiftpm-artifact-inputs-iY9fsmOc.mjs} +1 -1
- package/dist/{swiftpm-macos-BVCP5mO4.mjs → swiftpm-macos-Bp_sn9P4.mjs} +8 -8
- package/dist/{toolchain-BjgKdoEf.mjs → toolchain-DB1aeqxO.mjs} +1 -1
- package/dist/{toolchain-D3bmRMia.mjs → toolchain-VzLJzZ7O.mjs} +14 -3
- package/dist/{warm-progress-ol0ZypEu.mjs → warm-progress-BV3ZPmcY.mjs} +3 -3
- package/dist/{web-BH7peScT.mjs → web-B4Yjyt1G.mjs} +6 -6
- package/dist/web-DS4UDWvf.mjs +2 -0
- package/dist/web-run.mjs +3 -3
- package/dist/{workspace-state-CeBpIZgr.mjs → workspace-state-CPSp3mav.mjs} +1 -1
- package/dist/{workspaces-CSV2Orf4.mjs → workspaces-C9w4aeXF.mjs} +10 -10
- package/dist/{worktree-Dw8kfacb.mjs → worktree-CclFIe1Z.mjs} +25 -25
- package/dist/{worktree-DEDUzO_L.mjs → worktree-Ct9Gk3KL.mjs} +1 -1
- package/dist/{xcode-DHu41qQ4.mjs → xcode-CiIIDnuD.mjs} +4 -4
- package/package.json +7 -7
- package/shim/bundle-response.cjs +53 -1
- package/shim/bundle-response.d.cts +1 -1
- package/shim/expo-metro-config.cjs +23 -1
- package/dist/server-expo-CEntXzRw.mjs +0 -2
- package/dist/web-BdOFlTJr.mjs +0 -2
package/dist/maintenance-run.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { P as formatBytes } from "./config-BZhXY15H.mjs";
|
|
2
|
-
import { Dt as deviceSweepIsScoped, u as resolveBudget } from "./budget-
|
|
3
|
-
import {
|
|
4
|
-
import { T as maintenanceLogger } from "./client-
|
|
2
|
+
import { Dt as deviceSweepIsScoped, u as resolveBudget } from "./budget-HyShrIpL.mjs";
|
|
3
|
+
import { P as memoryCulpritsUnder, z as memoryCulpritAdvice } from "./ios-BQzvJlzw.mjs";
|
|
4
|
+
import { T as maintenanceLogger } from "./client-BQsmyp_-.mjs";
|
|
5
5
|
import { t as resolveMaintenanceSettings } from "./settings-Djl-mpjX.mjs";
|
|
6
6
|
import { t as relaunchWithLogFile } from "./detached-entry-KmieOKgN.mjs";
|
|
7
|
-
import { D as measureDisk, F as levelStillShort, I as lowestFree, M as sizeScanDeferred, N as diskPressureLevel, P as levelFloors, j as measureSizes, k as measurePressure } from "./worktree-
|
|
8
|
-
import { i as plannedMaintenance, m as measureOwnedDevices, n as diskRecovered, o as triggeringRoot, r as executeAction } from "./act-
|
|
7
|
+
import { D as measureDisk, F as levelStillShort, I as lowestFree, M as sizeScanDeferred, N as diskPressureLevel, P as levelFloors, j as measureSizes, k as measurePressure } from "./worktree-CclFIe1Z.mjs";
|
|
8
|
+
import { i as plannedMaintenance, m as measureOwnedDevices, n as diskRecovered, o as triggeringRoot, r as executeAction } from "./act-BbHS3oV8.mjs";
|
|
9
9
|
import { r as due, t as capChildLog } from "./attempt-DW-mQqM7.mjs";
|
|
10
10
|
import { releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
11
11
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as process_identity_exports, l as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { F as isOnMountedVolume, I as listMountedVolumes, O as withConfigLockAsync, _ as loadConfig, n as allMetroPorts, r as claimMetroPort, x as releaseMetroPort } from "./config-BZhXY15H.mjs";
|
|
3
3
|
import { t as runOperationFile } from "./operation-exec-CUZifp6Z.mjs";
|
|
4
|
-
import { r as readWorkspaceState } from "./workspace-state-
|
|
4
|
+
import { r as readWorkspaceState } from "./workspace-state-CPSp3mav.mjs";
|
|
5
5
|
import { sep } from "path";
|
|
6
6
|
import { existsSync, readlinkSync, realpathSync } from "fs";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as process_identity_exports, c as throwIfCancelled, s as cancelledError } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { g as workspaceStateFile$1 } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { ot as tailscaleStatusAsync } from "./config-BZhXY15H.mjs";
|
|
4
|
-
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
4
|
+
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-CPSp3mav.mjs";
|
|
5
5
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
6
6
|
import { statSync, watch } from "node:fs";
|
|
7
7
|
import { HOSTED_METRO_REQUESTS_KEY, findPeer, hostedMetroGateways, hostedMetroRequests, isJsonObject, parseMachine } from "@stim-cli/core/state";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as process_identity_exports, t as getExecutor, u as withWorkspaceProcessLock } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { C as saveConfig, O as withConfigLockAsync, _ as loadConfig, c as ensureConfig, d as getConfigDir, p as getProject } from "./config-BZhXY15H.mjs";
|
|
3
|
-
import { f as signalProcessTree, m as createPortProbe, s as parseNetstatPids } from "./metro-
|
|
3
|
+
import { f as signalProcessTree, m as createPortProbe, s as parseNetstatPids } from "./metro-1pJgCX4U.mjs";
|
|
4
4
|
import { realpathSync } from "node:fs";
|
|
5
5
|
//#region src/named-ports.ts
|
|
6
6
|
const FIRST_PORT = 8900;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { d as workspaceDir, i as sharedBuildCache } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { H as deviceSlotPlatforms, p as getProject, q as validateDeviceSlot } from "./config-BZhXY15H.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { B as ownedAvdDeviceProfile, E as findBuildTool, I as listInstalledSystemImages, K as ownedAvdSystemImage, V as ownedAvdDirectory, X as pickDefaultSystemImage, l as androidSystemImageAbi, o as androidHome } from "./android-
|
|
4
|
+
import { nt as settingValueAt } from "./settings-B5tCoq9N.mjs";
|
|
5
|
+
import { B as ownedAvdDeviceProfile, E as findBuildTool, I as listInstalledSystemImages, K as ownedAvdSystemImage, V as ownedAvdDirectory, X as pickDefaultSystemImage, l as androidSystemImageAbi, o as androidHome } from "./android-Cjcj8MCw.mjs";
|
|
6
6
|
import { r as register } from "./cache-manifest-BPXRONJz.mjs";
|
|
7
|
-
import { Z as statsProjectKey } from "./budget-
|
|
8
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
9
|
-
import { s as entryDir, t as artifactIn, y as resolveBuild } from "./build-cache-
|
|
10
|
-
import { o as resolveCcache } from "./ccache-
|
|
11
|
-
import { h as gradleOffloadInputs, y as nativeGradleTransfer } from "./client-
|
|
12
|
-
import { r as androidToolchainAsync } from "./toolchain-
|
|
13
|
-
import { d as buildGradle, l as androidSdkRefusal } from "./react-native-build-
|
|
14
|
-
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-
|
|
15
|
-
import { u as resolveAndroidRunPlan } from "./result-
|
|
16
|
-
import { n as androidProcessRuntime } from "./launch-
|
|
17
|
-
import { n as planFlagRefusal, r as planPayload } from "./build-plan-
|
|
18
|
-
import { a as nativeGradleWorkerArtifactIdentity, n as gradleArtifactInputs, r as nativeGradleArtifactSnapshot, t as NATIVE_GRADLE_CACHE_LIMIT } from "./native-gradle-artifact-inputs-
|
|
7
|
+
import { Z as statsProjectKey } from "./budget-HyShrIpL.mjs";
|
|
8
|
+
import { d as runCancellationSignal } from "./native-run-D5OJsGwA.mjs";
|
|
9
|
+
import { s as entryDir, t as artifactIn, y as resolveBuild } from "./build-cache-CKCzxzxA.mjs";
|
|
10
|
+
import { o as resolveCcache } from "./ccache-h1FKhZeg.mjs";
|
|
11
|
+
import { h as gradleOffloadInputs, y as nativeGradleTransfer } from "./client-BQsmyp_-.mjs";
|
|
12
|
+
import { r as androidToolchainAsync } from "./toolchain-VzLJzZ7O.mjs";
|
|
13
|
+
import { d as buildGradle, l as androidSdkRefusal } from "./react-native-build-CwZB-agu.mjs";
|
|
14
|
+
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-JUaqOLpc.mjs";
|
|
15
|
+
import { u as resolveAndroidRunPlan } from "./result-CR2vk2cj.mjs";
|
|
16
|
+
import { n as androidProcessRuntime } from "./launch-D0lPvFFu.mjs";
|
|
17
|
+
import { n as planFlagRefusal, r as planPayload } from "./build-plan-zCuHGlA8.mjs";
|
|
18
|
+
import { a as nativeGradleWorkerArtifactIdentity, n as gradleArtifactInputs, r as nativeGradleArtifactSnapshot, t as NATIVE_GRADLE_CACHE_LIMIT } from "./native-gradle-artifact-inputs-BJscK4vN.mjs";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
20
20
|
import { createReadStream, createWriteStream, existsSync, readFileSync, statSync } from "node:fs";
|
|
21
21
|
import { tmpdir } from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { r as childEnvironment } from "./operation-exec-CUZifp6Z.mjs";
|
|
3
|
-
import { o as androidHome } from "./android-
|
|
4
|
-
import { n as buildCacheKey } from "./build-cache-
|
|
5
|
-
import { _ as nativeGradleLocalSourceDigest, h as gradleOffloadInputs } from "./client-
|
|
3
|
+
import { o as androidHome } from "./android-Cjcj8MCw.mjs";
|
|
4
|
+
import { n as buildCacheKey } from "./build-cache-CKCzxzxA.mjs";
|
|
5
|
+
import { _ as nativeGradleLocalSourceDigest, h as gradleOffloadInputs } from "./client-BQsmyp_-.mjs";
|
|
6
6
|
import { n as fingerprintNativeInputs } from "./native-inputs-TRTTTRxt.mjs";
|
|
7
7
|
import { createHash } from "node:crypto";
|
|
8
8
|
import { homedir } from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as ownership_claim_exports, b as operationState, g as signalDeclaredSpawns, h as refuseDeclaredSpawns, p as allowDeclaredSpawns, u as withWorkspaceProcessLock, y as isTermination } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { d as workspaceDir } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import { a as formatElapsed, l as phaseLine } from "./command-output-
|
|
4
|
-
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState, t as clearWorkspaceStateKey } from "./workspace-state-
|
|
3
|
+
import { a as formatElapsed, l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
4
|
+
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState, t as clearWorkspaceStateKey } from "./workspace-state-CPSp3mav.mjs";
|
|
5
5
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
6
6
|
import { existsSync, mkdirSync } from "node:fs";
|
|
7
7
|
import { basename, dirname, join } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as ensureWorkspaceStorageAsync } from "./paths-DQtTgsBf.mjs";
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
-
import { r as readWorkspaceState$1 } from "./workspace-state-
|
|
4
|
-
import {
|
|
5
|
-
import { d as resolveProjectMetro } from "./metro-
|
|
6
|
-
import { Yt as LAUNCH_BUNDLING, Zt as LAUNCH_UNVERIFIED } from "./budget-
|
|
7
|
-
import { c as startDevServer } from "./start-
|
|
2
|
+
import { l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
3
|
+
import { r as readWorkspaceState$1 } from "./workspace-state-CPSp3mav.mjs";
|
|
4
|
+
import { M as metroPortSetting } from "./settings-B5tCoq9N.mjs";
|
|
5
|
+
import { d as resolveProjectMetro } from "./metro-1pJgCX4U.mjs";
|
|
6
|
+
import { Yt as LAUNCH_BUNDLING, Zt as LAUNCH_UNVERIFIED } from "./budget-HyShrIpL.mjs";
|
|
7
|
+
import { c as startDevServer } from "./start-YMpNwLhh.mjs";
|
|
8
8
|
import { readIdleStop } from "@stim-cli/core/state";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
//#region src/commands/native-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as workspaceDir, u as workspaceDerivedData } from "./paths-DQtTgsBf.mjs";
|
|
2
2
|
import { a as killOnAbort, l as gitQuietAsync, r as childEnvironment } from "./operation-exec-CUZifp6Z.mjs";
|
|
3
|
-
import { h as pbxString, m as pbxReferences } from "./project-
|
|
3
|
+
import { h as pbxString, m as pbxReferences } from "./project-BiC68mIp.mjs";
|
|
4
4
|
import { n as fingerprintNativeInputs, t as NativeInputError } from "./native-inputs-TRTTTRxt.mjs";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { o as sharedCompilationCache } from "./paths-DQtTgsBf.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-
|
|
3
|
+
import { K as resolveCacheProviderConfig, Pt as repoRootAsync, W as remoteIosSetting, tt as settingShapeErrors } from "./settings-B5tCoq9N.mjs";
|
|
4
|
+
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-BiC68mIp.mjs";
|
|
5
5
|
import { r as register } from "./cache-manifest-BPXRONJz.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { d as runCancellationSignal } from "./native-run-
|
|
8
|
-
import { l as filesystemBuildCapability, n as buildCacheKey } from "./build-cache-
|
|
9
|
-
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-
|
|
10
|
-
import { a as buildXcode, l as parseSwiftVersion, r as HEARTBEAT_INTERVAL_MS, s as compilationCacheSettings, u as parseXcodeMajor } from "./xcode-
|
|
11
|
-
import { a as nativeTransferRefusal } from "./client-
|
|
12
|
-
import { _ as runCaptured, a as iosToolchainAsync, h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-
|
|
13
|
-
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
6
|
+
import { Rn as processContext, Z as statsProjectKey } from "./budget-HyShrIpL.mjs";
|
|
7
|
+
import { d as runCancellationSignal } from "./native-run-D5OJsGwA.mjs";
|
|
8
|
+
import { l as filesystemBuildCapability, n as buildCacheKey } from "./build-cache-CKCzxzxA.mjs";
|
|
9
|
+
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
10
|
+
import { a as buildXcode, l as parseSwiftVersion, p as readBundleId, r as HEARTBEAT_INTERVAL_MS, s as compilationCacheSettings, u as parseXcodeMajor } from "./xcode-CiIIDnuD.mjs";
|
|
11
|
+
import { a as nativeTransferRefusal } from "./client-BQsmyp_-.mjs";
|
|
12
|
+
import { _ as runCaptured, a as iosToolchainAsync, h as readPodState, m as podsAreStale, v as runPodInstall } from "./toolchain-VzLJzZ7O.mjs";
|
|
13
|
+
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-qKcbgmI5.mjs";
|
|
14
14
|
import { r as gateProfileForDevice } from "./ios-signing-4c_qXvQm.mjs";
|
|
15
|
-
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-
|
|
16
|
-
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-
|
|
17
|
-
import { t as IosRecipeRefusal } from "./ios-project-
|
|
18
|
-
import { i as DEFAULT_DEPS, r as iosProcessRuntime } from "./launch-
|
|
19
|
-
import { a as nativeXcodeSources, i as nativeXcodePackages, n as nativeXcodeInputSnapshot, t as nativeXcodeHasPackages } from "./native-xcode-inputs-
|
|
15
|
+
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-JUaqOLpc.mjs";
|
|
16
|
+
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-zCuHGlA8.mjs";
|
|
17
|
+
import { t as IosRecipeRefusal } from "./ios-project-DCUDo06I.mjs";
|
|
18
|
+
import { i as DEFAULT_DEPS, r as iosProcessRuntime } from "./launch-DscF1QfM.mjs";
|
|
19
|
+
import { a as nativeXcodeSources, i as nativeXcodePackages, n as nativeXcodeInputSnapshot, t as nativeXcodeHasPackages } from "./native-xcode-inputs-Cv4l-obn.mjs";
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import { join } from "node:path";
|
|
22
22
|
//#region src/integrations/native-xcode-ios.ts
|
|
@@ -132,7 +132,8 @@ function nativeRecipe(root, context) {
|
|
|
132
132
|
},
|
|
133
133
|
cache: () => filesystemBuildCapability({
|
|
134
134
|
context: context.operation,
|
|
135
|
-
sources: snapshot ? nativeXcodeSources(snapshot) : null
|
|
135
|
+
sources: snapshot ? nativeXcodeSources(snapshot) : null,
|
|
136
|
+
readAppId: (path) => readBundleId(path)
|
|
136
137
|
}),
|
|
137
138
|
async prepare(beforePrepare) {
|
|
138
139
|
const pods = readPodState(root, root);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { c as IosToolchain, g as CompilationCacheActivity, h as CcacheActivity, i as AndroidBuildOptions, l as WorkerToolchain, p as Optimizations, r as SwiftpmArtifactToolchain, t as NativeGradleArtifactReceipt } from "./android-project-
|
|
1
|
+
import { c as IosToolchain, g as CompilationCacheActivity, h as CcacheActivity, i as AndroidBuildOptions, l as WorkerToolchain, p as Optimizations, r as SwiftpmArtifactToolchain, t as NativeGradleArtifactReceipt } from "./android-project-CTYaETc0.mjs";
|
|
2
2
|
import { StimContext } from "@stim-cli/core";
|
|
3
3
|
import { BuildFingerprintSource, BuildReactNativeArtifactQuery, BuildStartParams, BuildSwiftpmArtifactQuery } from "@stim-cli/core/protocol";
|
|
4
4
|
//#region src/offload/react-native-artifact.d.ts
|
|
5
5
|
type ArtifactTools = (IosToolchain & {
|
|
6
6
|
os: string;
|
|
7
|
-
}) | Pick<WorkerToolchain, "stimBuild" | "os" | "arch" | "jdk" | "androidSdk"
|
|
7
|
+
}) | (Pick<WorkerToolchain, "stimBuild" | "os" | "arch" | "jdk" | "androidSdk"> & {
|
|
8
|
+
compat: number;
|
|
9
|
+
});
|
|
8
10
|
interface ArtifactReceipt {
|
|
9
11
|
identity: {
|
|
10
12
|
hash: string;
|
|
@@ -91,6 +93,7 @@ interface WorkerJob {
|
|
|
91
93
|
expectedTracked?: string[];
|
|
92
94
|
cacheArtifact?: boolean;
|
|
93
95
|
stimBuild?: string;
|
|
96
|
+
compat?: number;
|
|
94
97
|
native?: BuildStartParams["native"];
|
|
95
98
|
optimizations: Optimizations["ios"] | null;
|
|
96
99
|
/** How long the client's Gradle daemon stays warm after an Android build; 0 or absent stops it when the build ends. */
|
package/dist/offload-worker.mjs
CHANGED
|
@@ -3,27 +3,27 @@ import { d as workspaceDir, m as workspaceLogsDir$1 } from "./paths-DQtTgsBf.mjs
|
|
|
3
3
|
import { k as writeConfigSetting } from "./config-BZhXY15H.mjs";
|
|
4
4
|
import { n as stripAnsi } from "./process-output-Fpl8PYi8.mjs";
|
|
5
5
|
import { o as git, s as gitAsync } from "./operation-exec-CUZifp6Z.mjs";
|
|
6
|
-
import { d as androidLayoutSetting, y as iosProjectDirSetting } from "./settings-
|
|
7
|
-
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-
|
|
6
|
+
import { d as androidLayoutSetting, y as iosProjectDirSetting } from "./settings-B5tCoq9N.mjs";
|
|
7
|
+
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-BiC68mIp.mjs";
|
|
8
8
|
import { o as parseNdjsonText } from "./ndjson-CgE_o3Dl.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { d as fingerprintProject, i as compareSourceLists, v as refingerprintAfterMutation } from "./build-cache-
|
|
11
|
-
import { _ as unmetNodePin, g as projectNodeLine, h as pathNodeVersion, v as withProjectNode } from "./server-expo-
|
|
12
|
-
import { n as CCACHE_UNAVAILABLE, o as resolveCcache } from "./ccache-
|
|
13
|
-
import { C as COMPILATION_CACHE_CORRUPT, b as validateGradleManifest, f as reactNativeArtifactReceipt, g as gradleStateDirectories, h as gradleOffloadInputs, m as reactNativeBuildQuery, p as reactNativeArtifactToolchain, v as nativeGradleOutputs, w as clearCorruptCompilationCache, x as verifyGradleTransfer } from "./client-
|
|
14
|
-
import { f as workerToolchain, h as readPodState, i as availableIphone, m as podsAreStale, v as runPodInstall } from "./toolchain-
|
|
9
|
+
import { Rn as processContext } from "./budget-HyShrIpL.mjs";
|
|
10
|
+
import { d as fingerprintProject, i as compareSourceLists, v as refingerprintAfterMutation } from "./build-cache-CKCzxzxA.mjs";
|
|
11
|
+
import { _ as unmetNodePin, g as projectNodeLine, h as pathNodeVersion, v as withProjectNode } from "./server-expo-Ck8EIidM.mjs";
|
|
12
|
+
import { n as CCACHE_UNAVAILABLE, o as resolveCcache } from "./ccache-h1FKhZeg.mjs";
|
|
13
|
+
import { C as COMPILATION_CACHE_CORRUPT, b as validateGradleManifest, f as reactNativeArtifactReceipt, g as gradleStateDirectories, h as gradleOffloadInputs, m as reactNativeBuildQuery, p as reactNativeArtifactToolchain, v as nativeGradleOutputs, w as clearCorruptCompilationCache, x as verifyGradleTransfer } from "./client-BQsmyp_-.mjs";
|
|
14
|
+
import { f as workerToolchain, h as readPodState, i as availableIphone, m as podsAreStale, v as runPodInstall } from "./toolchain-VzLJzZ7O.mjs";
|
|
15
15
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
16
16
|
import { a as sourceManifest, o as verifyNativeTransfer } from "./native-source-D-4Dh4JU.mjs";
|
|
17
|
-
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-
|
|
18
|
-
import { f as podAction } from "./support-
|
|
19
|
-
import { a as runPrebuild, r as recordPrebuild, t as planPrebuild } from "./prebuild-
|
|
20
|
-
import { g as dumpApkManifest, p as apkPackage } from "./support-
|
|
21
|
-
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-
|
|
22
|
-
import { i as stageBundle, n as resolveBundleExtras } from "./stage-
|
|
23
|
-
import { t as logLines } from "./run-
|
|
24
|
-
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-
|
|
25
|
-
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-
|
|
26
|
-
import { a as nativeGradleWorkerArtifactIdentity, i as nativeGradleArtifactSnapshotFromReceipt, o as nativeGradleWorkerScope } from "./native-gradle-artifact-inputs-
|
|
17
|
+
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-CwZB-agu.mjs";
|
|
18
|
+
import { f as podAction } from "./support-qKcbgmI5.mjs";
|
|
19
|
+
import { a as runPrebuild, r as recordPrebuild, t as planPrebuild } from "./prebuild-JUaqOLpc.mjs";
|
|
20
|
+
import { g as dumpApkManifest, p as apkPackage } from "./support-Cxj9CmII.mjs";
|
|
21
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-CAiw8Ezm.mjs";
|
|
22
|
+
import { i as stageBundle, n as resolveBundleExtras } from "./stage-D8xlRU2D.mjs";
|
|
23
|
+
import { t as logLines } from "./run-BtzE09Dl.mjs";
|
|
24
|
+
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-Cv4l-obn.mjs";
|
|
25
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-iY9fsmOc.mjs";
|
|
26
|
+
import { a as nativeGradleWorkerArtifactIdentity, i as nativeGradleArtifactSnapshotFromReceipt, o as nativeGradleWorkerScope } from "./native-gradle-artifact-inputs-BJscK4vN.mjs";
|
|
27
27
|
import { createHash } from "node:crypto";
|
|
28
28
|
import { chmodSync, constants, copyFileSync, cpSync, createReadStream, createWriteStream, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, symlinkSync, writeFileSync } from "node:fs";
|
|
29
29
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1120,10 +1120,11 @@ async function compileMacos(context, job, root, log, time) {
|
|
|
1120
1120
|
};
|
|
1121
1121
|
try {
|
|
1122
1122
|
const extras = resolveBundleExtras(src, src, options.resources, options.assetCatalog);
|
|
1123
|
-
const
|
|
1123
|
+
const stim = job.compat ? { compat: job.compat } : job.stimBuild ? { stimBuild: job.stimBuild } : null;
|
|
1124
|
+
const query = job.cacheArtifact && options.artifactInputs && job.expectedFingerprint && stim ? {
|
|
1124
1125
|
project: job.project,
|
|
1125
1126
|
sourceDigest: job.expectedFingerprint,
|
|
1126
|
-
|
|
1127
|
+
...stim,
|
|
1127
1128
|
inputs: options.artifactInputs,
|
|
1128
1129
|
build: {
|
|
1129
1130
|
product: options.product,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as process_identity_exports } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import { c as withWorkspaceStateLock, d as writeWorkspaceState, r as readWorkspaceState } from "./workspace-state-
|
|
3
|
-
import { c as pidExists } from "./metro-
|
|
2
|
+
import { c as withWorkspaceStateLock, d as writeWorkspaceState, r as readWorkspaceState } from "./workspace-state-CPSp3mav.mjs";
|
|
3
|
+
import { c as pidExists } from "./metro-1pJgCX4U.mjs";
|
|
4
4
|
import { realpathSync } from "node:fs";
|
|
5
5
|
//#region src/collector/state.ts
|
|
6
6
|
function collectorRoot(root) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { U as parseDeviceSlotKey, V as deviceSlotKey } from "./config-BZhXY15H.mjs";
|
|
2
|
-
import { r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
3
|
-
import { $ as removeMetroReverses } from "./android-
|
|
2
|
+
import { r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-CPSp3mav.mjs";
|
|
3
|
+
import { $ as removeMetroReverses } from "./android-Cjcj8MCw.mjs";
|
|
4
4
|
import { isJsonObject } from "@stim-cli/core/state";
|
|
5
5
|
//#region src/devices/phone-reverses.ts
|
|
6
6
|
const KEY = "phoneReverses";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as buildPlacementSettings } from "./selection-
|
|
1
|
+
import { n as buildPlacementSettings } from "./selection-D5cxEl3t.mjs";
|
|
2
2
|
//#region src/placement-log.ts
|
|
3
3
|
/** `machine` is `local` when the run stays on this machine. */
|
|
4
4
|
function placementRecord(input) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as hostingMachines } from "./selection-
|
|
2
|
-
import { r as readHostedNative } from "./ios-state-
|
|
3
|
-
import { i as probeHost, n as automaticDevicePlacement } from "./eas-fallback-
|
|
1
|
+
import { f as hostingMachines } from "./selection-D5cxEl3t.mjs";
|
|
2
|
+
import { r as readHostedNative } from "./ios-state-CT9nV5SP.mjs";
|
|
3
|
+
import { i as probeHost, n as automaticDevicePlacement } from "./eas-fallback-gaZi-dJL.mjs";
|
|
4
4
|
import { automaticMachineEnabled } from "@stim-cli/core/state";
|
|
5
5
|
//#region src/device-host/plan-placement.ts
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as getProject } from "./config-BZhXY15H.mjs";
|
|
2
|
-
import { n as findCommandWorkspace } from "./project-
|
|
3
|
-
import { n as getNamedPort, t as clearNamedPorts } from "./named-ports-
|
|
2
|
+
import { n as findCommandWorkspace } from "./project-BiC68mIp.mjs";
|
|
3
|
+
import { n as getNamedPort, t as clearNamedPorts } from "./named-ports-BVbn8SvC.mjs";
|
|
4
4
|
//#region src/commands/ports.ts
|
|
5
5
|
async function inProject(action) {
|
|
6
6
|
try {
|
|
@@ -2,12 +2,12 @@ import { _ as spawnDeclared, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
|
2
2
|
import { i as sharedBuildCache } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
4
|
import { o as git, s as gitAsync } from "./operation-exec-CUZifp6Z.mjs";
|
|
5
|
-
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-
|
|
6
|
-
import {
|
|
7
|
-
import { v as detectIsExpo } from "./project-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { i as expoBinRefusal, o as expoSdkMajor, r as expoBinPath, s as expoTelemetryEnv } from "./server-expo-
|
|
5
|
+
import { l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1 } from "./workspace-state-CPSp3mav.mjs";
|
|
6
|
+
import { bt as gitCommonDirOnDisk } from "./settings-B5tCoq9N.mjs";
|
|
7
|
+
import { v as detectIsExpo } from "./project-BiC68mIp.mjs";
|
|
8
|
+
import { er as remoteCliInvocation } from "./budget-HyShrIpL.mjs";
|
|
9
|
+
import { C as storedSources, o as diffFingerprintSources } from "./build-cache-CKCzxzxA.mjs";
|
|
10
|
+
import { i as expoBinRefusal, o as expoSdkMajor, r as expoBinPath, s as expoTelemetryEnv } from "./server-expo-Ck8EIidM.mjs";
|
|
11
11
|
import { existsSync, realpathSync } from "node:fs";
|
|
12
12
|
import { dirname, join, relative } from "node:path";
|
|
13
13
|
import { ambientContext } from "@stim-cli/core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as process_identity_exports } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { c as supervisorPidFile, g as workspaceStateFile$1 } from "./paths-DQtTgsBf.mjs";
|
|
3
3
|
import { U as parseDeviceSlotKey, V as deviceSlotKey, _ as loadConfig$1, g as isPathPrefix, l as findEnclosingWorktreeRoot, p as getProject } from "./config-BZhXY15H.mjs";
|
|
4
|
-
import { c as withWorkspaceStateLock, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-
|
|
5
|
-
import {
|
|
4
|
+
import { c as withWorkspaceStateLock, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-CPSp3mav.mjs";
|
|
5
|
+
import { G as resolveAndroidLayout, Nt as repoRoot, nt as settingValueAt, ot as webSettings, q as resolveIosProjectDir } from "./settings-B5tCoq9N.mjs";
|
|
6
6
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
7
7
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
8
8
|
import { projectRootDirectories } from "@stim-cli/core/state";
|
|
@@ -312,8 +312,8 @@ const nativeAndroidIntegration = {
|
|
|
312
312
|
application: true,
|
|
313
313
|
platforms: () => ["android"],
|
|
314
314
|
validate: (operation) => operation === "android" ? null : void 0,
|
|
315
|
-
android: async () => (await import("./native-android-
|
|
316
|
-
doctor: async () => (await import("./native-android-
|
|
315
|
+
android: async () => (await import("./native-android-BvMizJn1.mjs")).nativeAndroidProject(root),
|
|
316
|
+
doctor: async () => (await import("./native-android-BvMizJn1.mjs")).nativeAndroidDoctor(root)
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
};
|
|
@@ -741,8 +741,8 @@ const nativeXcodeProjectIntegration = {
|
|
|
741
741
|
application: problem === null,
|
|
742
742
|
platforms: () => problem ? [] : ["ios"],
|
|
743
743
|
validate: (operation) => operation === "ios" ? problem : void 0,
|
|
744
|
-
ios: async () => (await import("./native-xcode-ios-
|
|
745
|
-
doctor: async () => (await import("./native-xcode-ios-
|
|
744
|
+
ios: async () => (await import("./native-xcode-ios-DGrg90hE.mjs")).nativeXcodeIosProject(root),
|
|
745
|
+
doctor: async () => (await import("./native-xcode-ios-DGrg90hE.mjs")).nativeXcodeDoctor(root)
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
748
|
};
|
|
@@ -947,7 +947,7 @@ function createProjectRegistry(integrations) {
|
|
|
947
947
|
//#region src/integrations/projects.ts
|
|
948
948
|
const expo = {
|
|
949
949
|
mode: MODE_EXPO,
|
|
950
|
-
loadDevServer: async () => (await import("./server-expo-
|
|
950
|
+
loadDevServer: async () => (await import("./server-expo-C16Zf2k7.mjs")).startExpoServer,
|
|
951
951
|
platforms(root) {
|
|
952
952
|
const appJson = readAppJson(root);
|
|
953
953
|
const config = appJson?.expo ?? appJson;
|
|
@@ -967,7 +967,7 @@ const expo = {
|
|
|
967
967
|
};
|
|
968
968
|
const reactNative = {
|
|
969
969
|
mode: MODE_BARE,
|
|
970
|
-
loadDevServer: async () => (await import("./server-bare-
|
|
970
|
+
loadDevServer: async () => (await import("./server-bare-CH9X0RLn.mjs")).startBareServer,
|
|
971
971
|
platforms(root, { context, settings }) {
|
|
972
972
|
if (!declaresAppDependency(readPackageJson(root))) return [];
|
|
973
973
|
const platforms = [];
|
|
@@ -997,9 +997,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
997
997
|
ownedRoots: problem === null ? [join(root, "ios"), join(root, "android")] : [],
|
|
998
998
|
platforms: (resolved) => nativeProjectIntegration(root).platforms(root, resolved),
|
|
999
999
|
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-
|
|
1000
|
+
ios: async (settings) => (await import("./react-native-ios-Cr1buNFo.mjs")).reactNativeIosProject(root, settings),
|
|
1001
|
+
android: async (resolved) => (await import("./react-native-android-DRYqoJc4.mjs")).reactNativeAndroidProject(root, resolved),
|
|
1002
|
+
doctor: async () => (await import("./react-native-doctor-BCrytK7h.mjs")).reactNativeProjectDoctor(root)
|
|
1003
1003
|
};
|
|
1004
1004
|
}
|
|
1005
1005
|
},
|
|
@@ -1013,9 +1013,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
1013
1013
|
application: true,
|
|
1014
1014
|
platforms: ({ settings }) => settingValueAt(settings, "macos.product") && settingValueAt(settings, "macos.infoPlist") ? ["macos"] : [],
|
|
1015
1015
|
validate: (operation) => operation === "macos" ? null : void 0,
|
|
1016
|
-
macos: async () => (await import("./swiftpm-macos-
|
|
1016
|
+
macos: async () => (await import("./swiftpm-macos-Bp_sn9P4.mjs")).swiftpmMacosProject(root),
|
|
1017
1017
|
doctor: async () => {
|
|
1018
|
-
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-
|
|
1018
|
+
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-DB1aeqxO.mjs");
|
|
1019
1019
|
return {
|
|
1020
1020
|
inspect: () => [],
|
|
1021
1021
|
offloadTargets: ({ options: { host = process.platform, platform, operation } }) => host === "darwin" && platform === void 0 ? async () => [{
|
|
@@ -1035,7 +1035,7 @@ const projectRegistry = createProjectRegistry([
|
|
|
1035
1035
|
application: false,
|
|
1036
1036
|
platforms: ({ settings }) => webSettings(settings).url !== null ? ["web"] : [],
|
|
1037
1037
|
validate: (operation) => operation === "web" ? null : void 0,
|
|
1038
|
-
web: async () => (await import("./browser-web-
|
|
1038
|
+
web: async () => (await import("./browser-web-CCgZsHmI.mjs")).browserWebProject(root)
|
|
1039
1039
|
};
|
|
1040
1040
|
}
|
|
1041
1041
|
},
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { C as reportSignal, _ as spawnDeclared, b as operationState, c as throwIfCancelled, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { H as deviceSlotPlatforms, p as getProject, q as validateDeviceSlot } from "./config-BZhXY15H.mjs";
|
|
3
3
|
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-
|
|
4
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-BBvS1H6v.mjs";
|
|
5
5
|
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-CUZifp6Z.mjs";
|
|
6
|
-
import { r as readWorkspaceState } from "./workspace-state-
|
|
7
|
-
import {
|
|
8
|
-
import { v as detectIsExpo } from "./project-
|
|
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-
|
|
10
|
-
import {
|
|
11
|
-
import { D as
|
|
12
|
-
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-
|
|
13
|
-
import { o as resolveCcache } from "./ccache-
|
|
14
|
-
import { _ as tailLines, h as startBuildHeartbeat, r as HEARTBEAT_INTERVAL_MS } from "./xcode-
|
|
15
|
-
import { r as androidToolchainAsync, t as androidRequirements } from "./toolchain-
|
|
16
|
-
import { h as detectAppIds, m as detectAndroidPackage } from "./start-
|
|
17
|
-
import { c as readProductFlavors, h as androidPathRoomRefusal, n as buildAndroid, s as productFlavorRefusal } from "./react-native-build-
|
|
6
|
+
import { r as readWorkspaceState } from "./workspace-state-CPSp3mav.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-B5tCoq9N.mjs";
|
|
8
|
+
import { v as detectIsExpo } from "./project-BiC68mIp.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-Cjcj8MCw.mjs";
|
|
10
|
+
import { $n as bundleInvocation, Kn as loadProjectProvider, Rn as processContext, Un as checkEasAuth, Z as statsProjectKey, Zn as resolveRemote } from "./budget-HyShrIpL.mjs";
|
|
11
|
+
import { A as readAssetManifest, D as assetDiffReason, E as untrackedNativeFiles, O as captureAssetManifest, S as storedAssetManifest, T as untrackedMissLine, a as configInputsChanged, b as storeBuild, d as fingerprintProject, f as gitignoredFingerprintInputs, k as compareAssetManifests, l as filesystemBuildCapability, m as inputsChangedDuringBuild, n as buildCacheKey, r as changedDuringBuildLine, u as fingerprintDiffRecord, v as refingerprintAfterMutation, y as resolveBuild } from "./build-cache-CKCzxzxA.mjs";
|
|
12
|
+
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-Ck8EIidM.mjs";
|
|
13
|
+
import { o as resolveCcache } from "./ccache-h1FKhZeg.mjs";
|
|
14
|
+
import { _ as tailLines, h as startBuildHeartbeat, r as HEARTBEAT_INTERVAL_MS } from "./xcode-CiIIDnuD.mjs";
|
|
15
|
+
import { r as androidToolchainAsync, t as androidRequirements } from "./toolchain-VzLJzZ7O.mjs";
|
|
16
|
+
import { h as detectAppIds, m as detectAndroidPackage } from "./start-YMpNwLhh.mjs";
|
|
17
|
+
import { c as readProductFlavors, h as androidPathRoomRefusal, n as buildAndroid, s as productFlavorRefusal } from "./react-native-build-CwZB-agu.mjs";
|
|
18
18
|
import { t as readDoctorFingerprint } from "./doctor-fingerprint-zlujA1Gs.mjs";
|
|
19
|
-
import { i as planEasDevelopmentBuild } from "./eas-build-
|
|
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-
|
|
21
|
-
import { a as PLATFORM, c as androidGradleProject, h as displayPath, i as NO_FINGERPRINT, l as androidJobLayout, o as androidBuildOptions, r as NO_DEVICE } from "./support-
|
|
19
|
+
import { i as planEasDevelopmentBuild } from "./eas-build-CyDKNTBP.mjs";
|
|
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";
|
|
22
22
|
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-
|
|
23
|
+
import { u as resolveAndroidRunPlan } from "./result-CR2vk2cj.mjs";
|
|
24
|
+
import { t as checkEasFallback } from "./eas-fallback-gaZi-dJL.mjs";
|
|
25
|
+
import { n as androidProcessRuntime, t as androidMetroRuntime } from "./launch-D0lPvFFu.mjs";
|
|
26
|
+
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-zCuHGlA8.mjs";
|
|
27
|
+
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-Z9HbC4cj.mjs";
|
|
28
|
+
import { t as planHostedDevice } from "./plan-placement-BqKgKHCi.mjs";
|
|
29
29
|
import { constants, existsSync, mkdirSync, readFileSync, renameSync } from "node:fs";
|
|
30
30
|
import { basename, dirname, isAbsolute, join, relative } from "node:path";
|
|
31
31
|
import chalk from "chalk";
|
|
@@ -831,6 +831,7 @@ function reactNativeAndroidArtifact({ operation, root, buildLog, writer, setting
|
|
|
831
831
|
resolve: resolveCached,
|
|
832
832
|
store: storeCached,
|
|
833
833
|
sources,
|
|
834
|
+
readAppId: async (path) => apkPackage(await dumpApkManifest(path, { context: operation })),
|
|
834
835
|
...compiled ? { assetManifest: release ? captureAssets(root, {
|
|
835
836
|
variant,
|
|
836
837
|
layout
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as spawnDeclared, t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
2
|
import { o as sharedCompilationCache } from "./paths-DQtTgsBf.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-BBvS1H6v.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-
|
|
6
|
+
import { C as resolvePackageJson } from "./project-BiC68mIp.mjs";
|
|
7
|
+
import { o as androidHome } from "./android-Cjcj8MCw.mjs";
|
|
8
8
|
import { r as register } from "./cache-manifest-BPXRONJz.mjs";
|
|
9
|
-
import { p as resolveOptimizations } from "./errors-
|
|
10
|
-
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-
|
|
11
|
-
import { a as buildXcode, d as pickXcodeProject, g as swiftPrefixMappingSupported, h as startBuildHeartbeat, i as SWIFT_PREFIX_MAPPING_MIN_SWIFT, l as parseSwiftVersion, r as HEARTBEAT_INTERVAL_MS, s as compilationCacheSettings, u as parseXcodeMajor } from "./xcode-
|
|
9
|
+
import { p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
10
|
+
import { a as readCcacheActivity, n as CCACHE_UNAVAILABLE } from "./ccache-h1FKhZeg.mjs";
|
|
11
|
+
import { a as buildXcode, d as pickXcodeProject, g as swiftPrefixMappingSupported, h as startBuildHeartbeat, i as SWIFT_PREFIX_MAPPING_MIN_SWIFT, l as parseSwiftVersion, r as HEARTBEAT_INTERVAL_MS, s as compilationCacheSettings, u as parseXcodeMajor } from "./xcode-CiIIDnuD.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,10 +1,10 @@
|
|
|
1
1
|
import { t as getExecutor } from "./exec-VFRpu1iA.mjs";
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
-
import {
|
|
4
|
-
import { v as detectIsExpo } from "./project-
|
|
5
|
-
import { b as bundlerPin } from "./xcode-
|
|
6
|
-
import { a as iosToolchainAsync, n as androidToolchain, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-
|
|
7
|
-
import { a as reactNativeDoctorFindings, i as mainCheckoutProjectRoot, n as detectFingerprintParity, r as detectLinkedLibraryGitMetadata, s as repairCxxLauncherState, t as checkMainCheckout } from "./doctor-
|
|
2
|
+
import { l as phaseLine } from "./command-output-BBvS1H6v.mjs";
|
|
3
|
+
import { G as resolveAndroidLayout, q as resolveIosProjectDir } from "./settings-B5tCoq9N.mjs";
|
|
4
|
+
import { v as detectIsExpo } from "./project-BiC68mIp.mjs";
|
|
5
|
+
import { b as bundlerPin } from "./xcode-CiIIDnuD.mjs";
|
|
6
|
+
import { a as iosToolchainAsync, n as androidToolchain, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-VzLJzZ7O.mjs";
|
|
7
|
+
import { a as reactNativeDoctorFindings, i as mainCheckoutProjectRoot, n as detectFingerprintParity, r as detectLinkedLibraryGitMetadata, s as repairCxxLauncherState, t as checkMainCheckout } from "./doctor-Bm8TVpGn.mjs";
|
|
8
8
|
import { existsSync, readdirSync } from "node:fs";
|
|
9
9
|
import { join, relative } from "node:path";
|
|
10
10
|
//#region src/diagnostics/doctor-ios-architectures.ts
|