stim 1.36.0 → 1.37.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 +3 -1
- package/dist/{acquire-artifact-DGTHCd0Q.mjs → acquire-artifact-zBUbPuDP.mjs} +2 -2
- package/dist/{act-CvN9xyV6.mjs → act-BGAFjY8f.mjs} +21 -21
- package/dist/{activity-BpdDvA8Q.mjs → activity-CdpXXSq2.mjs} +6 -6
- package/dist/{agent-device-usage-output-pbhaW7_k.mjs → agent-device-usage-output-D0582GHy.mjs} +5 -5
- package/dist/{android-e9WP10cE.mjs → android-BBwLpxRh.mjs} +43 -40
- package/dist/{android-5wkcMFDG.mjs → android-BPBARZMR.mjs} +2 -2
- package/dist/{android-SJx1V3R3.mjs → android-CGctfYpv.mjs} +7 -7
- package/dist/{android-B0qTdwnt.mjs → android-CaSsewbu.mjs} +5 -5
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/{android-cas-BS9_55U5.mjs → android-cas-p8gna03x.mjs} +4 -4
- package/dist/{android-image-BZ57YL6R.mjs → android-image-DY8KxK2m.mjs} +3 -3
- package/dist/api.d.mts +10 -3
- package/dist/api.mjs +34 -31
- package/dist/{apk-signed-tail-eZyXIrnc.mjs → apk-signed-tail-BMv-KLcB.mjs} +2 -2
- package/dist/{artifact-ubNdxo_K.mjs → artifact-BrNZTZtA.mjs} +12 -12
- package/dist/{artifact-C3srrGVU.mjs → artifact-BsimBWxG.mjs} +13 -13
- package/dist/{artifact-platform-DqCWUieN.mjs → artifact-platform-BaGL1i1X.mjs} +1 -1
- package/dist/{auto-placement-CKFpFCuq.mjs → auto-placement-CFKNrWLU.mjs} +7 -7
- package/dist/{browser-web-B63vLrj6.mjs → browser-web-YFsgCP_a.mjs} +15 -15
- package/dist/{build-B_Dx9SKJ.mjs → build-DIhuoozz.mjs} +29 -28
- package/dist/{build-cache-BW8T4oD2.mjs → build-cache-Dt-dhCJF.mjs} +6 -6
- package/dist/{build-plan-CeIooJqn.mjs → build-plan-CgnLDof9.mjs} +7 -7
- package/dist/{cache-manifest-CxWkZmUr.mjs → cache-manifest-BO0TIcPV.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{cdp-C216kOAn.mjs → cdp-CgT47_9A.mjs} +1 -1
- package/dist/{chrome-C8sC5tdl.mjs → chrome-DL5znvmo.mjs} +1 -1
- package/dist/{cli-COdXswmc.mjs → cli-BGUrlSH3.mjs} +21 -21
- package/dist/cli.mjs +1 -1
- package/dist/{client-KSWIeQLA.mjs → client-DU6dnGX1.mjs} +7 -7
- package/dist/collector-run.mjs +7 -7
- package/dist/{command-output-T3cDctRE.mjs → command-output-ByEmIwur.mjs} +1 -1
- package/dist/{config-BA3TgoIP.mjs → config-CNmN-ndb.mjs} +2 -2
- package/dist/{dependencies-LH-7k1Vr.mjs → dependencies-BozoTBqa.mjs} +102 -64
- package/dist/{dependency-state-Blfp3AkG.mjs → dependency-state-BQeC4FVn.mjs} +2 -2
- package/dist/{detached-entry-tfrgGVWb.mjs → detached-entry-VqFeEE9W.mjs} +1 -1
- package/dist/{dev-client-MO_DjTZr.mjs → dev-client-3SQzMRXZ.mjs} +2 -2
- package/dist/{device-BZWt_aPJ.mjs → device-BIg1iExg.mjs} +11 -11
- package/dist/{device-DNTWFFB1.mjs → device-DGMvzoZZ.mjs} +13 -13
- package/dist/{device-android-BB9Lugr8.mjs → device-android-CBat355q.mjs} +9 -9
- package/dist/{device-capacity-CpAVcKgq.mjs → device-capacity-DWUOvY13.mjs} +19 -19
- package/dist/device-host-worker.mjs +16 -16
- package/dist/{device-pool-BJToGG-q.mjs → device-pool-B8IqZKqm.mjs} +3 -3
- package/dist/{device-provision-CxQDCtrc.mjs → device-provision-DWAoSKEw.mjs} +10 -10
- package/dist/{doctor-CYZ45LnX.mjs → doctor-Bknt0121.mjs} +24 -24
- package/dist/{doctor-DV639Iw_.mjs → doctor-CPzwqcXY.mjs} +15 -15
- package/dist/{doctor-C-46SkBe.mjs → doctor-CxgR5vPi.mjs} +1 -1
- package/dist/{doctor-fingerprint-DqWvIhMb.mjs → doctor-fingerprint-Bo4z8YNP.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-TZxYt_98.mjs → doctor-watchman-CPE4C8KV.mjs} +5 -5
- package/dist/{eas-build-Xf5Jd6LR.mjs → eas-build-CwOXKJwa.mjs} +4 -4
- package/dist/{eas-fallback-DNYPNinw.mjs → eas-fallback-Cnb12a50.mjs} +6 -6
- package/dist/{eas-session-ledger-CXZ4aix0.mjs → eas-session-ledger-TE1miVz5.mjs} +6 -6
- package/dist/{error-diagnostics-CvB5bpPU.mjs → error-diagnostics-CXTT3bYC.mjs} +10 -10
- package/dist/{exec-CGuDzt40.mjs → exec-L37dbiIb.mjs} +7 -1
- package/dist/{gc-DiUhrVFo.mjs → gc-0jdcnDHs.mjs} +19 -19
- package/dist/{gc-8Qm_K1iy.mjs → gc-1ZLq1djg.mjs} +2 -2
- package/dist/{guide-CuvHRP53.mjs → guide-COxIANZu.mjs} +76 -40
- package/dist/{hosted-android-D__HGVIO.mjs → hosted-android-D8JbIzgC.mjs} +4 -4
- package/dist/{hosted-client-DMOOu8vD.mjs → hosted-client-BLwuXEZS.mjs} +4 -4
- package/dist/{hosted-logs-CClIktQM.mjs → hosted-logs-BWEQNJx_.mjs} +7 -7
- package/dist/{hosted-logs-sync-B7XCeqVm.mjs → hosted-logs-sync-uWSrH2mf.mjs} +5 -5
- package/dist/{hosted-macos-D4sDJIbB.mjs → hosted-macos-BnCYAv1y.mjs} +6 -6
- package/dist/{hosted-native-BiiUG_Q6.mjs → hosted-native-OBT2sJxn.mjs} +8 -8
- package/dist/{ios-Qam0bT9n.mjs → ios-2Qr4_Zu2.mjs} +1 -1
- package/dist/{ios-BZuhvLGr.mjs → ios-Bjz7aPLy.mjs} +8 -8
- package/dist/{ios-BhfpRfNf.mjs → ios-BveW7qK1.mjs} +16 -6
- package/dist/{ios-BhpUWyN7.mjs → ios-CGyx4PA7.mjs} +32 -31
- package/dist/{ios-device-vhYL1N--.mjs → ios-device-ByrDWSpC.mjs} +3 -3
- package/dist/{ios-device-DLdEDWJj.mjs → ios-device-ygijU78G.mjs} +1 -1
- package/dist/{ios-project-Cz0S1Sz-.mjs → ios-project-XHg87vyQ.mjs} +7 -7
- package/dist/{ios-signing-BcH88ecn.mjs → ios-signing-CRYQ1W42.mjs} +3 -3
- package/dist/{ios-state-Avwz2cbZ.mjs → ios-state-enWc5P6U.mjs} +1 -1
- package/dist/{js-swap-Desu2iII.mjs → js-swap-C6vl3vEd.mjs} +60 -13
- package/dist/{launch-6ckG9UrC.mjs → launch-f3RnbFW5.mjs} +48 -28
- package/dist/{lightened-B6TnpHMX.mjs → lightened-Cdfmo8MO.mjs} +5 -5
- package/dist/{logs-CO0CJRiC.mjs → logs-DAjxBF3c.mjs} +6 -6
- package/dist/{logs-B-DMy1K0.mjs → logs-x3em2-oI.mjs} +7 -7
- package/dist/{macos-B1aCXhem.mjs → macos-D_LAseN9.mjs} +22 -22
- package/dist/{macos-CduEmWAK.mjs → macos-ZfpWlzBO.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +6 -6
- package/dist/{metro-DM3yJL1M.mjs → metro-TIQ1Wft-.mjs} +4 -4
- package/dist/{metro-request-O8Q-JvBg.mjs → metro-request-DcUxyaq8.mjs} +2 -2
- package/dist/{named-ports-BvB_CO9B.mjs → named-ports-BfEMi9bK.mjs} +3 -3
- package/dist/{native-android-28NOG2-y.mjs → native-android-COOrNDk2.mjs} +18 -18
- package/dist/{native-gradle-artifact-inputs-DxVEtS6_.mjs → native-gradle-artifact-inputs-B4Mwydmf.mjs} +5 -5
- package/dist/{native-runtime-C3_NkUlW.mjs → native-runtime-UxUBU8up.mjs} +6 -6
- package/dist/{native-source-ChAGj7R1.mjs → native-source-D2ZfiQ6U.mjs} +1 -1
- package/dist/{native-xcode-inputs-BWFTw5cJ.mjs → native-xcode-inputs-DUv7Q3ok.mjs} +3 -3
- package/dist/{native-xcode-ios-B4Qoc7-U.mjs → native-xcode-ios-DXcteLVi.mjs} +18 -19
- package/dist/offload-worker.mjs +22 -22
- package/dist/{operation-exec-DKlBcKAL.mjs → operation-exec-DNynwpqO.mjs} +1 -1
- package/dist/{ownership-C3y8wLSl.mjs → ownership-CQTg6v1d.mjs} +3 -3
- package/dist/{page-Dj8IqvGM.mjs → page-CoN9al_x.mjs} +2 -2
- package/dist/{phone-reverses-BhSxbqom.mjs → phone-reverses-CHtco460.mjs} +4 -4
- package/dist/{placement-log-B8RCSzOm.mjs → placement-log-oQnELAvQ.mjs} +1 -1
- package/dist/{plan-placement-BI4r55aP.mjs → plan-placement-45EOlIG1.mjs} +6 -6
- package/dist/{ports-DhOSyWm9.mjs → ports-DKO7EUNt.mjs} +3 -3
- package/dist/{prebuild-Di2IhUue.mjs → prebuild-BKkj3OyL.mjs} +12 -12
- package/dist/{project-Clk1JAWL.mjs → project-BCtQz48d.mjs} +16 -16
- package/dist/{pull-request-BpMTNkMB.mjs → pull-request-m8cMZ3aE.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-bdHBMrnf.mjs → react-native-android-MI4ktuhL.mjs} +27 -31
- package/dist/{react-native-build-CJega_NM.mjs → react-native-build-dixAL2G8.mjs} +9 -9
- package/dist/{react-native-doctor-CY7BGITE.mjs → react-native-doctor-CvkWincj.mjs} +6 -6
- package/dist/{react-native-ios-Bo5EDVel.mjs → react-native-ios-DF5otoBR.mjs} +17 -18
- package/dist/{recorded-build-BuGL_fnm.mjs → recorded-build-CGHGCO8m.mjs} +20 -2
- package/dist/{recordings-6i2-x8LU.mjs → recordings-BcOzqFD1.mjs} +1 -1
- package/dist/{registration-DKjJGQ6p.mjs → registration-C-3PDR3X.mjs} +1 -1
- package/dist/{reload-A_axEbeS.mjs → reload-DGWfNFwQ.mjs} +16 -16
- package/dist/{reload-BvDuvygc.mjs → reload-DWxmO9dY.mjs} +1 -1
- package/dist/{remote-WK_swZEw.mjs → remote-CV2jBcLv.mjs} +9 -9
- package/dist/{remote-PD6CM0xp.mjs → remote-DWYGW2f5.mjs} +4 -4
- package/dist/{result-BkDpN5Mz.mjs → result-CWyxwPvZ.mjs} +17 -17
- package/dist/{run-CTFi4Nq2.mjs → run-FZtMQgrx.mjs} +2 -2
- package/dist/{server-bare-W0aPsRZE.mjs → server-bare-Ksh1NKeI.mjs} +2 -2
- package/dist/{server-command-S00-ddjK.mjs → server-command-BO2DIsJV.mjs} +5 -5
- package/dist/server-expo-9hQwyLze.mjs +2 -0
- package/dist/{server-expo-cc-cmfsl.mjs → server-expo-ZS9_WaNG.mjs} +3 -3
- package/dist/{settings-Bap-qjnp.mjs → settings-Ag4pbs0z.mjs} +5 -4
- package/dist/{settings-C_Xu4RNZ.mjs → settings-TYrzDh8T.mjs} +2 -2
- package/dist/{settings-payload-D5jjhmrw.mjs → settings-payload-CUM0DYwz.mjs} +5 -5
- package/dist/{settings-write-C5huI-iS.mjs → settings-write-D_9_IEx7.mjs} +6 -6
- package/dist/{simslim-DlBvwgeF.mjs → simslim-BMgpTRWe.mjs} +2 -2
- package/dist/{slot-launch-qEQVTth7.mjs → slot-launch-DW_29Bmu.mjs} +6 -6
- package/dist/{stage-CxVI_MlP.mjs → stage-_8k8p7uq.mjs} +2 -2
- package/dist/{start-CVzivp35.mjs → start-CdgtOksb.mjs} +1 -1
- package/dist/{start-YpT_JpQQ.mjs → start-CzBB5R7N.mjs} +12 -12
- package/dist/{state-B9VFI6r0.mjs → state-CfP-ccP8.mjs} +4 -4
- package/dist/{state-B4B5P4LU.mjs → state-DsrFh3yv.mjs} +2 -2
- package/dist/{stats-COoePEri.mjs → stats-BgTyuzib.mjs} +5 -5
- package/dist/{stats-report-BVRCqwWA.mjs → stats-report-Ci6TAfFm.mjs} +1 -1
- package/dist/{status-CIg0k7Qb.mjs → status-Bcdy5eHt.mjs} +24 -24
- package/dist/{status-CQWmNl1f.mjs → status-C2PdxK6q.mjs} +1 -1
- package/dist/{status-CIvU5-TF.mjs → status-C7Zzb-Eh.mjs} +1 -1
- package/dist/{status-watch--rfZynD_.mjs → status-watch-DY0EZcmg.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-D0P_bzmd.mjs → stim-desktop-DWGAfaud.mjs} +2 -2
- package/dist/{stop-BEBBruvD.mjs → stop-CbxsTKyZ.mjs} +5 -5
- package/dist/{stop-C3d5qG7C.mjs → stop-CkmBkNyg.mjs} +16 -16
- package/dist/{stop-BiI4_VFG.mjs → stop-iGkvEvDn.mjs} +2 -2
- package/dist/supervisor-run.mjs +15 -15
- package/dist/{support-BJbXovoO.mjs → support-CfYmOdQs.mjs} +13 -14
- package/dist/{support-Vckdzrmk.mjs → support-JZ4KRW0C.mjs} +7 -7
- package/dist/{swiftpm-artifact-inputs-DbuF-Yrr.mjs → swiftpm-artifact-inputs-C1rZDRDs.mjs} +4 -4
- package/dist/{swiftpm-macos-Bu8xeBfM.mjs → swiftpm-macos-DRTjC7Ff.mjs} +11 -11
- package/dist/{toolchain-DCnWAxQL.mjs → toolchain-BeD7tbBW.mjs} +6 -6
- package/dist/{toolchain-CIRdNl-c.mjs → toolchain-CNlKc9pH.mjs} +1 -1
- package/dist/trigger-Bp3lruF2.mjs +2 -0
- package/dist/{trigger-BtB4kbe0.mjs → trigger-G_gbfIVB.mjs} +2 -2
- package/dist/{warm-progress-DwsGBpph.mjs → warm-progress-CJQ8tk5O.mjs} +6 -6
- package/dist/{web-D2En0Wa5.mjs → web-BXbmysa1.mjs} +9 -9
- package/dist/web-BcaySU05.mjs +2 -0
- package/dist/web-run.mjs +8 -8
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-BhwAJBgA.mjs → workspace-state-DOPXG2Gp.mjs} +3 -3
- package/dist/{workspaces-Dh5N70qW.mjs → workspaces-DCzDzydB.mjs} +15 -14
- package/dist/{worktree-DLm4s2Ib.mjs → worktree-6ngObKkw.mjs} +1 -1
- package/dist/{worktree-Yw3EW77B.mjs → worktree-BAC43Kio.mjs} +27 -27
- package/package.json +7 -7
- package/dist/server-expo-BWJDa7Qb.mjs +0 -2
- package/dist/trigger-D8B7QR0q.mjs +0 -2
- package/dist/web-Dpj70t4p.mjs +0 -2
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { C as operationState, b as spawnDeclared, d as throwIfCancelled, t as getExecutor } from "./exec-
|
|
1
|
+
import { C as operationState, b as spawnDeclared, d as throwIfCancelled, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir } from "./workspace-state-DOPXG2Gp.mjs";
|
|
2
3
|
import { r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
3
|
-
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-
|
|
4
|
-
import { an as makeTemporaryDirectory, on as removeTemporaryEntry } from "./settings-
|
|
5
|
-
import { ir as bundleInvocation } from "./device-capacity-
|
|
6
|
-
import { K as tailLines, M as HEARTBEAT_INTERVAL_MS, W as startBuildHeartbeat } from "./toolchain-
|
|
7
|
-
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-
|
|
8
|
-
import { randomUUID } from "node:crypto";
|
|
4
|
+
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-DNynwpqO.mjs";
|
|
5
|
+
import { an as makeTemporaryDirectory, on as removeTemporaryEntry } from "./settings-Ag4pbs0z.mjs";
|
|
6
|
+
import { ir as bundleInvocation } from "./device-capacity-DWUOvY13.mjs";
|
|
7
|
+
import { K as tailLines, M as HEARTBEAT_INTERVAL_MS, W as startBuildHeartbeat } from "./toolchain-BeD7tbBW.mjs";
|
|
8
|
+
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-ZS9_WaNG.mjs";
|
|
9
|
+
import { createHash, randomUUID } from "node:crypto";
|
|
9
10
|
import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
|
10
11
|
import { basename, join } from "node:path";
|
|
12
|
+
import { ensurePrivateDir } from "@stim-cli/core";
|
|
11
13
|
//#region src/engine/js-swap.ts
|
|
12
14
|
const JS_BUNDLE_NAME = "main.jsbundle";
|
|
13
15
|
const LAST_LINES = 5;
|
|
@@ -49,6 +51,55 @@ function detectEntryFile(root) {
|
|
|
49
51
|
}
|
|
50
52
|
return pickEntryFile(entries);
|
|
51
53
|
}
|
|
54
|
+
function bundlerInputsKey(root, env) {
|
|
55
|
+
const hash = createHash("sha256");
|
|
56
|
+
for (const name of Object.keys(env).toSorted()) if (name.startsWith("EXPO_PUBLIC_") || name === "EXPO_NO_DOTENV" || name === "NODE_ENV") hash.update(`env\0${name}\0${env[name] ?? ""}\0`);
|
|
57
|
+
let entries = [];
|
|
58
|
+
try {
|
|
59
|
+
entries = readdirSync(root).filter((name) => name.startsWith(".env")).toSorted();
|
|
60
|
+
} catch {}
|
|
61
|
+
for (const name of entries) try {
|
|
62
|
+
hash.update(`file\0${name}\0`).update(readFileSync(join(root, name))).update("\0");
|
|
63
|
+
} catch {}
|
|
64
|
+
return hash.digest("hex");
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The TMPDIR for a swap's bundler child: a workspace-private directory that holds Metro's transform cache
|
|
68
|
+
* (`$TMPDIR/metro-cache`). Metro's cache key omits the `EXPO_PUBLIC_*` values babel-preset-expo inlines,
|
|
69
|
+
* and `expo export:embed` ignores `--reset-cache` when `CI` is set (expo/expo#49630), so the directory is
|
|
70
|
+
* emptied whenever those values, the project's `.env*` files, or the `EXPO_NO_DOTENV` and `NODE_ENV` that
|
|
71
|
+
* select which of those files Expo loads differ from the previous swap's.
|
|
72
|
+
*/
|
|
73
|
+
function swapBundlerTmpdir(root, env) {
|
|
74
|
+
const dir = join(workspaceDir(root), "js-swap-tmp");
|
|
75
|
+
const stamp = join(dir, "inputs");
|
|
76
|
+
const key = bundlerInputsKey(root, env);
|
|
77
|
+
let previous = null;
|
|
78
|
+
try {
|
|
79
|
+
previous = readFileSync(stamp, "utf-8");
|
|
80
|
+
} catch {}
|
|
81
|
+
if (previous !== key) {
|
|
82
|
+
rmSync(dir, {
|
|
83
|
+
recursive: true,
|
|
84
|
+
force: true
|
|
85
|
+
});
|
|
86
|
+
ensurePrivateDir(dir);
|
|
87
|
+
writeFileSync(stamp, key);
|
|
88
|
+
}
|
|
89
|
+
return dir;
|
|
90
|
+
}
|
|
91
|
+
/** Node's `os.tmpdir()` reads `TMPDIR` on POSIX and `TEMP`, then `TMP`, on Windows. */
|
|
92
|
+
function swapBundlerEnv(root, env) {
|
|
93
|
+
const tmp = swapBundlerTmpdir(root, env);
|
|
94
|
+
return {
|
|
95
|
+
...env,
|
|
96
|
+
...expoTelemetryEnv(env),
|
|
97
|
+
FORCE_COLOR: "0",
|
|
98
|
+
TMPDIR: tmp,
|
|
99
|
+
TEMP: tmp,
|
|
100
|
+
TMP: tmp
|
|
101
|
+
};
|
|
102
|
+
}
|
|
52
103
|
function bundleCommand({ isExpo, entryFile, bundleOutput, assetsDest, assetCatalogDest = null }) {
|
|
53
104
|
const catalogArgs = assetCatalogDest ? ["--asset-catalog-dest", assetCatalogDest] : [];
|
|
54
105
|
if (isExpo) return {
|
|
@@ -311,11 +362,7 @@ async function swapJsBundle({ context, root, iosDir, isExpo, cachedAppPath, logW
|
|
|
311
362
|
"pipe",
|
|
312
363
|
"pipe"
|
|
313
364
|
],
|
|
314
|
-
env:
|
|
315
|
-
...context?.env ?? process.env,
|
|
316
|
-
...expoTelemetryEnv(context?.env ?? process.env),
|
|
317
|
-
FORCE_COLOR: "0"
|
|
318
|
-
}
|
|
365
|
+
env: swapBundlerEnv(root, context?.env ?? process.env)
|
|
319
366
|
}));
|
|
320
367
|
killOnAbort(context ? operationState(context).runSignal ?? context.signal : void 0)(child);
|
|
321
368
|
} catch (err) {
|
|
@@ -436,4 +483,4 @@ function describe(err) {
|
|
|
436
483
|
return String(err?.message || err);
|
|
437
484
|
}
|
|
438
485
|
//#endregion
|
|
439
|
-
export { swapJsBundle as i, detectEntryFile as n, refreshUpdatesManifestFile as r, UPDATES_MANIFEST_NAME as t };
|
|
486
|
+
export { swapJsBundle as a, swapBundlerEnv as i, detectEntryFile as n, refreshUpdatesManifestFile as r, UPDATES_MANIFEST_NAME as t };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { k as workspaceLogsDir } from "./workspace-state-
|
|
3
|
-
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-
|
|
4
|
-
import { A as withConfigLockAsync, O as upsertProject, T as setDevice, dt as deviceSlotFileKey, ft as deviceSlotKey, it as formatBytes, pt as deviceSlotPlatforms, v as loadConfig, w as saveConfig } from "./config-
|
|
5
|
-
import { L as workspaceDevServerMode } from "./project-
|
|
6
|
-
import { o as workspaceLinks } from "./stim-desktop-
|
|
7
|
-
import { ct as trimAndroidCaches, i as androidDataFreeBytes, rt as resetAdoptedAvd, u as androidToolCwd } from "./android-
|
|
8
|
-
import { c as pidExists, f as signalProcessTree } from "./metro-
|
|
9
|
-
import { Cn as androidDevClientUrl, Ln as restartedAppNote, Sn as androidAppProcess, an as LAUNCH_UNVERIFIED, cn as VERIFY_TIMEOUT_MS, fn as unattributedLaunchLines, in as LAUNCH_FATAL, jn as installConflictKind, pn as unverifiedLaunchLines, rn as LAUNCH_BUNDLING, sn as RELEASE_VERIFY_WAIT_MS, vn as ADB_INSTALL_TIMEOUT_MS } from "./device-capacity-
|
|
10
|
-
import { pt as teardownOwnedAvd } from "./workspaces-
|
|
11
|
-
import { C as providerUploadOutcome } from "./build-cache-
|
|
12
|
-
import { G as lostLine, K as lostRefusal, z as DEBUG_VERIFY_STEP_MS } from "./support-
|
|
13
|
-
import { t as recordPhoneReverse } from "./phone-reverses-
|
|
14
|
-
import { n as verifyCollectorOwnership, r as readCollectors } from "./ownership-
|
|
15
|
-
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-
|
|
1
|
+
import { w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { k as workspaceLogsDir } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { _ as stepTimer, c as launchErrorReport, i as formatDuration, l as phaseLine, n as appReadinessMessage, v as launchErrorPreview } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { A as withConfigLockAsync, O as upsertProject, T as setDevice, dt as deviceSlotFileKey, ft as deviceSlotKey, it as formatBytes, pt as deviceSlotPlatforms, v as loadConfig, w as saveConfig } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { L as workspaceDevServerMode } from "./project-BCtQz48d.mjs";
|
|
6
|
+
import { o as workspaceLinks } from "./stim-desktop-DWGAfaud.mjs";
|
|
7
|
+
import { ct as trimAndroidCaches, i as androidDataFreeBytes, rt as resetAdoptedAvd, u as androidToolCwd } from "./android-CGctfYpv.mjs";
|
|
8
|
+
import { c as pidExists, f as signalProcessTree } from "./metro-TIQ1Wft-.mjs";
|
|
9
|
+
import { Cn as androidDevClientUrl, Ln as restartedAppNote, Sn as androidAppProcess, an as LAUNCH_UNVERIFIED, cn as VERIFY_TIMEOUT_MS, fn as unattributedLaunchLines, in as LAUNCH_FATAL, jn as installConflictKind, pn as unverifiedLaunchLines, rn as LAUNCH_BUNDLING, sn as RELEASE_VERIFY_WAIT_MS, vn as ADB_INSTALL_TIMEOUT_MS } from "./device-capacity-DWUOvY13.mjs";
|
|
10
|
+
import { pt as teardownOwnedAvd } from "./workspaces-DCzDzydB.mjs";
|
|
11
|
+
import { C as providerUploadOutcome } from "./build-cache-Dt-dhCJF.mjs";
|
|
12
|
+
import { G as lostLine, K as lostRefusal, z as DEBUG_VERIFY_STEP_MS } from "./support-CfYmOdQs.mjs";
|
|
13
|
+
import { t as recordPhoneReverse } from "./phone-reverses-CHtco460.mjs";
|
|
14
|
+
import { n as verifyCollectorOwnership, r as readCollectors } from "./ownership-CQTg6v1d.mjs";
|
|
15
|
+
import { n as nativeRunCommand, r as siblingPlatformSlots, t as launchSlotScope } from "./slot-launch-DW_29Bmu.mjs";
|
|
16
16
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
17
|
-
import { a as captureNativeCrashes, r as androidCrashClockOffset, s as printNativeCrashReport, t as errorDiagnostics } from "./error-diagnostics-
|
|
18
|
-
import { f as settleFingerprintCheck } from "./prebuild-
|
|
19
|
-
import { i as launchOutcomeRecord } from "./native-runtime-
|
|
20
|
-
import { a as PLATFORM, b as noDeviceDiagnostic, h as displayPath, n as LAUNCH_FAILED, r as NO_DEVICE, t as INSTALL_FAILED } from "./support-
|
|
21
|
-
import { a as persistLastBuild, n as finishAndroidUpload, s as reportAndroidResult } from "./result-
|
|
17
|
+
import { a as captureNativeCrashes, r as androidCrashClockOffset, s as printNativeCrashReport, t as errorDiagnostics } from "./error-diagnostics-CXTT3bYC.mjs";
|
|
18
|
+
import { f as settleFingerprintCheck } from "./prebuild-BKkj3OyL.mjs";
|
|
19
|
+
import { i as launchOutcomeRecord } from "./native-runtime-UxUBU8up.mjs";
|
|
20
|
+
import { a as PLATFORM, b as noDeviceDiagnostic, h as displayPath, n as LAUNCH_FAILED, r as NO_DEVICE, t as INSTALL_FAILED } from "./support-JZ4KRW0C.mjs";
|
|
21
|
+
import { a as persistLastBuild, n as finishAndroidUpload, s as reportAndroidResult } from "./result-CWyxwPvZ.mjs";
|
|
22
22
|
import { mkdirSync, openSync, statSync } from "node:fs";
|
|
23
23
|
import { basename, join } from "node:path";
|
|
24
24
|
import { ambientEnv } from "@stim-cli/core";
|
|
@@ -382,7 +382,31 @@ async function resolveInstallSerial({ root, slot, device, physical, remoteDevice
|
|
|
382
382
|
});
|
|
383
383
|
return resolved.serial;
|
|
384
384
|
}
|
|
385
|
-
async function
|
|
385
|
+
async function cleanEmulatorAppState({ avdName, owned }, serial, androidPackage, adopting, phase) {
|
|
386
|
+
if (!adopting && !owned) return {
|
|
387
|
+
code: "STIM_BAD_ARG",
|
|
388
|
+
message: `cleanAppState clears only an emulator Stim owns, and ${avdName ?? serial} is not one.`,
|
|
389
|
+
remedy: "Run `stim gc --delete` to clear the assignment so Stim creates an owned emulator."
|
|
390
|
+
};
|
|
391
|
+
const emulator = adopting ? "adopted emulator" : "emulator";
|
|
392
|
+
if (!androidPackage || !avdName) return {
|
|
393
|
+
code: LAUNCH_FAILED,
|
|
394
|
+
message: `Cannot clean an ${emulator} without its app package and AVD name.`,
|
|
395
|
+
remedy: "Retry once the APK applicationId can be read."
|
|
396
|
+
};
|
|
397
|
+
try {
|
|
398
|
+
await resetAdoptedAvd(avdName, serial, androidPackage);
|
|
399
|
+
} catch (error) {
|
|
400
|
+
return {
|
|
401
|
+
code: LAUNCH_FAILED,
|
|
402
|
+
message: `Could not clean ${emulator} ${avdName}: ${String(error?.message || error)}`,
|
|
403
|
+
remedy: adopting ? "Fix the device cleanup error and retry; adoption remains pending and the app was not launched." : "Fix the device cleanup error and retry; the app was not launched."
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
if (!adopting) phase("install", `cleared app state on ${avdName}`);
|
|
407
|
+
return null;
|
|
408
|
+
}
|
|
409
|
+
async function finishAndroidRun({ operation, runtime, runtimePreparation, lease, releaseLease, root, slot, json, metroCheck, useBuildCache, variant, release, isExpo, metroPort, logsDir, emuLog, device, physical, remoteDevice, cleanAppState = false, bootPromise, resolveAvdSerial, waitForDeviceBoot, bootDuration, bootPending, apkPath, androidPackage: initialPackage, androidPackageProblem, record, waitedForBuild, ccache, uploadPending, fingerprintCheck, providerUpload, providerName, remote, abandonedRemote: remoteWasAbandoned, started, startedAt, writer, phase, fail, readApkPackage, readProjectPackage, packageRemedy, install, launch, launchRelease, resolveDevClientScheme, verifyLaunched, verifyReleaseLaunched, spawn, kill, pidAlive, verifyCollector, writeLaunch, recordBuild, now, out, emit, recordRun, reclaimed, devServer, enterPhase, enterActivity, rebootDevice, dataFreeBytes = androidDataFreeBytes, trimCaches = trimAndroidCaches, wipeDevice = teardownOwnedAvd }) {
|
|
386
410
|
const { env, signal } = operation ?? {};
|
|
387
411
|
let androidPackage = initialPackage;
|
|
388
412
|
let leaseWarned = false;
|
|
@@ -436,13 +460,9 @@ async function finishAndroidRun({ operation, runtime, runtimePreparation, lease,
|
|
|
436
460
|
androidPackage = packageFromApk || androidPackage || await readProjectPackage();
|
|
437
461
|
if (!androidPackage && androidPackageProblem) return fail(LAUNCH_FAILED, androidPackageProblem, packageRemedy, { lastBuildStatus: true });
|
|
438
462
|
const adopting = !physical && !remoteDevice && Boolean(device.adoptionPending);
|
|
439
|
-
if (adopting) {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
await resetAdoptedAvd(device.avdName, serial, androidPackage);
|
|
443
|
-
} catch (error) {
|
|
444
|
-
return fail(LAUNCH_FAILED, `Could not clean adopted emulator ${device.avdName}: ${String(error?.message || error)}`, "Fix the device cleanup error and retry; adoption remains pending and the app was not launched.");
|
|
445
|
-
}
|
|
463
|
+
if (adopting || cleanAppState && !physical && !remoteDevice) {
|
|
464
|
+
const cleanupFailure = await cleanEmulatorAppState(device, serial, androidPackage, adopting, phase);
|
|
465
|
+
if (cleanupFailure) return fail(cleanupFailure.code, cleanupFailure.message, cleanupFailure.remedy);
|
|
446
466
|
}
|
|
447
467
|
const lostBeforeInstall = physical ? raiseLeaseFor(ADB_INSTALL_TIMEOUT_MS, true) : null;
|
|
448
468
|
if (lostBeforeInstall) return lostBeforeInstall;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as WorkspaceProcessCleanupError } from "./exec-
|
|
2
|
-
import { c as withWorkspaceStateLock } from "./workspace-state-
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import { Jt as warmWorktreePaths, Lt as podsOutOfSync, Q as resolveSettings, Rt as readWorktreeExclude, kt as listCarryableIgnoredEntries, vt as depsOutOfSync } from "./settings-
|
|
1
|
+
import { f as WorkspaceProcessCleanupError } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { c as withWorkspaceStateLock } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { l as phaseLine } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { Jt as warmWorktreePaths, Lt as podsOutOfSync, Q as resolveSettings, Rt as readWorktreeExclude, kt as listCarryableIgnoredEntries, vt as depsOutOfSync } from "./settings-Ag4pbs0z.mjs";
|
|
5
5
|
import { t as canonicalPath } from "./paths-BsJMoPP2.mjs";
|
|
6
|
-
import { m as warmWorktreeTarget } from "./worktree-
|
|
6
|
+
import { m as warmWorktreeTarget } from "./worktree-BAC43Kio.mjs";
|
|
7
7
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
8
8
|
import { basename, dirname, join, relative } from "node:path";
|
|
9
9
|
import { isJsonObject, readJsonObject, workspaceLightenedFile, workspaceMetadataFile } from "@stim-cli/core/state";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as process_identity_exports } from "./exec-
|
|
2
|
-
import { k as workspaceLogsDir$1 } from "./workspace-state-
|
|
3
|
-
import { gt as projectDeviceSlots, v as loadConfig$1 } from "./config-
|
|
4
|
-
import { f as readAgentDeviceRecordsAsync, n as agentDeviceLiveness, o as envDir } from "./activity-
|
|
5
|
-
import { o as captureWorkspaceCrashes } from "./error-diagnostics-
|
|
6
|
-
import { n as followHostedLogs, r as syncHostedLogs } from "./hosted-logs-sync-
|
|
1
|
+
import { T as process_identity_exports } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { k as workspaceLogsDir$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { gt as projectDeviceSlots, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
4
|
+
import { f as readAgentDeviceRecordsAsync, n as agentDeviceLiveness, o as envDir } from "./activity-CdpXXSq2.mjs";
|
|
5
|
+
import { o as captureWorkspaceCrashes } from "./error-diagnostics-CXTT3bYC.mjs";
|
|
6
|
+
import { n as followHostedLogs, r as syncHostedLogs } from "./hosted-logs-sync-uWSrH2mf.mjs";
|
|
7
7
|
import { readdirSync, statSync, watch } from "node:fs";
|
|
8
8
|
import { homedir } from "node:os";
|
|
9
9
|
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as recordWorkspaceUse, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-
|
|
2
|
-
import { f as refuseNoProject, v as launchErrorPreview } from "./command-output-
|
|
3
|
-
import { _ as isPathPrefix$1, ht as parseDeviceSlotOption, v as loadConfig$1 } from "./config-
|
|
4
|
-
import { n as findCommandWorkspace } from "./project-
|
|
1
|
+
import { i as recordWorkspaceUse, k as workspaceLogsDir$1, r as readWorkspaceState$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
2
|
+
import { f as refuseNoProject, v as launchErrorPreview } from "./command-output-ByEmIwur.mjs";
|
|
3
|
+
import { _ as isPathPrefix$1, ht as parseDeviceSlotOption, v as loadConfig$1 } from "./config-CNmN-ndb.mjs";
|
|
4
|
+
import { n as findCommandWorkspace } from "./project-BCtQz48d.mjs";
|
|
5
5
|
import { n as SOURCES$1, t as LEVELS$1 } from "./ndjson-CrjIsGzw.mjs";
|
|
6
|
-
import { i as followAgentActions, n as openWorkspaceLogs } from "./logs-
|
|
7
|
-
import { t as errorDiagnostics } from "./error-diagnostics-
|
|
8
|
-
import { n as followHostedLogs } from "./hosted-logs-sync-
|
|
6
|
+
import { i as followAgentActions, n as openWorkspaceLogs } from "./logs-DAjxBF3c.mjs";
|
|
7
|
+
import { t as errorDiagnostics } from "./error-diagnostics-CXTT3bYC.mjs";
|
|
8
|
+
import { n as followHostedLogs } from "./hosted-logs-sync-uWSrH2mf.mjs";
|
|
9
9
|
import { t as watchStdoutReader } from "./stdout-reader-C8yjre1x.mjs";
|
|
10
10
|
import { realpathSync } from "node:fs";
|
|
11
11
|
import { relative, sep } from "node:path";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { b as spawnDeclared, d as throwIfCancelled, p as withWorkspaceProcessLock, t as getExecutor, w as withDrainingCancellation } from "./exec-
|
|
2
|
-
import { E as workspaceDir, a as recordWorkspaceUseAsync, f as writeWorkspaceStateAsync, k as workspaceLogsDir$1, v as ensureWorkspaceStorageAsync, w as workspaceAgentDeviceDir } from "./workspace-state-
|
|
3
|
-
import { l as phaseLine } from "./command-output-
|
|
4
|
-
import { A as withConfigLockAsync$1, O as upsertProject, u as getConcurrencyLimits } from "./config-
|
|
5
|
-
import { Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, it as settingValueAt, rt as settingShapeErrors } from "./settings-
|
|
6
|
-
import { f as projectRegistry, i as findProjectRoot$1, s as ownedDeviceLabel } from "./project-
|
|
7
|
-
import { i as macosProcess, n as macosDir, o as requiredMacosRecord, r as macosLogFile } from "./state-
|
|
1
|
+
import { b as spawnDeclared, d as throwIfCancelled, p as withWorkspaceProcessLock, t as getExecutor, w as withDrainingCancellation } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, a as recordWorkspaceUseAsync, f as writeWorkspaceStateAsync, k as workspaceLogsDir$1, v as ensureWorkspaceStorageAsync, w as workspaceAgentDeviceDir } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { l as phaseLine } from "./command-output-ByEmIwur.mjs";
|
|
4
|
+
import { A as withConfigLockAsync$1, O as upsertProject, u as getConcurrencyLimits } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { Z as resolveProjectSettingsAsync, a as SETTING_SHAPE_REMEDY, it as settingValueAt, rt as settingShapeErrors } from "./settings-Ag4pbs0z.mjs";
|
|
6
|
+
import { f as projectRegistry, i as findProjectRoot$1, s as ownedDeviceLabel } from "./project-BCtQz48d.mjs";
|
|
7
|
+
import { i as macosProcess, n as macosDir, o as requiredMacosRecord, r as macosLogFile } from "./state-DsrFh3yv.mjs";
|
|
8
8
|
import { i as createNdjsonWriter } from "./ndjson-CrjIsGzw.mjs";
|
|
9
|
-
import { Un as processContext, Wn as runProcessOperation } from "./device-capacity-
|
|
10
|
-
import { $ as tapBuildLog, H as NO_BUILD_PROGRESS, Q as startBuildProgress, St as acquireBuildSlot, Tt as releaseBuildSlot, X as recordFinishedBuild, Y as recordBuildPhase, tt as errorRemedy } from "./workspaces-
|
|
11
|
-
import { _t as runCancellationSignal, vt as withNativeBuildRun } from "./toolchain-
|
|
12
|
-
import { O as sanitizeDeviceLabel } from "./ios-
|
|
13
|
-
import { C as setRemoteLogSink, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-
|
|
14
|
-
import { D as OffloadRefusal, F as requireLocalBuild, L as resolveBuildPlacement, M as namedBuildMachine, N as parseBuildMachineOption, O as automaticBuild } from "./support-
|
|
15
|
-
import { u as connectHost } from "./hosted-client-
|
|
16
|
-
import { t as placeHostedMacos } from "./hosted-macos-
|
|
17
|
-
import { i as stopMacosAppHeld, t as stopBundleInstances } from "./stop-
|
|
9
|
+
import { Un as processContext, Wn as runProcessOperation } from "./device-capacity-DWUOvY13.mjs";
|
|
10
|
+
import { $ as tapBuildLog, H as NO_BUILD_PROGRESS, Q as startBuildProgress, St as acquireBuildSlot, Tt as releaseBuildSlot, X as recordFinishedBuild, Y as recordBuildPhase, tt as errorRemedy } from "./workspaces-DCzDzydB.mjs";
|
|
11
|
+
import { _t as runCancellationSignal, vt as withNativeBuildRun } from "./toolchain-BeD7tbBW.mjs";
|
|
12
|
+
import { O as sanitizeDeviceLabel } from "./ios-BveW7qK1.mjs";
|
|
13
|
+
import { C as setRemoteLogSink, c as offloadPlacement, i as closeOffload, l as placementLoad, n as buildPlacementCandidates, o as offloadBuild, r as chooseBuildMachine, u as remotePhaseText } from "./client-DU6dnGX1.mjs";
|
|
14
|
+
import { D as OffloadRefusal, F as requireLocalBuild, L as resolveBuildPlacement, M as namedBuildMachine, N as parseBuildMachineOption, O as automaticBuild } from "./support-CfYmOdQs.mjs";
|
|
15
|
+
import { u as connectHost } from "./hosted-client-BLwuXEZS.mjs";
|
|
16
|
+
import { t as placeHostedMacos } from "./hosted-macos-BnCYAv1y.mjs";
|
|
17
|
+
import { i as stopMacosAppHeld, t as stopBundleInstances } from "./stop-CbxsTKyZ.mjs";
|
|
18
18
|
import { t as spawnEntry } from "./spawn-entry-jw19m8Nl.mjs";
|
|
19
|
-
import { t as buildPlacementRecord } from "./placement-log-
|
|
20
|
-
import { n as devicePlacementLine, t as automaticDevicePlacement } from "./auto-placement-
|
|
21
|
-
import { t as reidentifyBundle } from "./stage-
|
|
22
|
-
import { t as validateMacosArtifactPlatform } from "./artifact-platform-
|
|
23
|
-
import { t as waitForMacosRegistration } from "./registration-
|
|
19
|
+
import { t as buildPlacementRecord } from "./placement-log-oQnELAvQ.mjs";
|
|
20
|
+
import { n as devicePlacementLine, t as automaticDevicePlacement } from "./auto-placement-CFKNrWLU.mjs";
|
|
21
|
+
import { t as reidentifyBundle } from "./stage-_8k8p7uq.mjs";
|
|
22
|
+
import { t as validateMacosArtifactPlatform } from "./artifact-platform-BaGL1i1X.mjs";
|
|
23
|
+
import { t as waitForMacosRegistration } from "./registration-C-3PDR3X.mjs";
|
|
24
24
|
import { createHash, randomUUID } from "node:crypto";
|
|
25
25
|
import { closeSync, existsSync, openSync, promises, realpathSync, renameSync } from "node:fs";
|
|
26
26
|
import { join } from "node:path";
|
|
@@ -344,7 +344,7 @@ async function planMacos(context, root, buildMachineFlag) {
|
|
|
344
344
|
if (selected.failure) throw Object.assign(new Error(selected.failure.message), selected.failure);
|
|
345
345
|
const macos = settings.macos;
|
|
346
346
|
if (!macos?.product || !macos.infoPlist) throw Object.assign(/* @__PURE__ */ new Error("Set macos.product and macos.infoPlist explicitly in .stim.json. See stim guide macos."), { code: "STIM_BAD_ARG" });
|
|
347
|
-
const { swiftpmMacosProject } = await import("./swiftpm-macos-
|
|
347
|
+
const { swiftpmMacosProject } = await import("./swiftpm-macos-DRTjC7Ff.mjs");
|
|
348
348
|
const recipe = await swiftpmMacosProject(root).prepare(context, settings);
|
|
349
349
|
let identity = null;
|
|
350
350
|
let cacheHit = false;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runMacos, r as waitForLaunchServices, t as macosCommand } from "./macos-
|
|
1
|
+
import { n as runMacos, r as waitForLaunchServices, t as macosCommand } from "./macos-D_LAseN9.mjs";
|
|
2
2
|
export { macosCommand as default, runMacos, waitForLaunchServices };
|
package/dist/macos-run.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as runMacosSupervisor, t as logLines } from "./run-
|
|
1
|
+
import { n as runMacosSupervisor, t as logLines } from "./run-FZtMQgrx.mjs";
|
|
2
2
|
export { logLines, runMacosSupervisor };
|
package/dist/maintenance-run.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { it as formatBytes } from "./config-
|
|
2
|
-
import { $ as levelStillShort, Ft as deviceSweepIsScoped, Q as levelFloors, R as resolveBudget, Z as diskPressureLevel, at as maintenanceLogger, et as lowestFree, it as openGcLog, rt as maintenanceItem } from "./device-capacity-
|
|
3
|
-
import { I as memoryCulpritsUnder, V as memoryCulpritAdvice } from "./ios-
|
|
1
|
+
import { it as formatBytes } from "./config-CNmN-ndb.mjs";
|
|
2
|
+
import { $ as levelStillShort, Ft as deviceSweepIsScoped, Q as levelFloors, R as resolveBudget, Z as diskPressureLevel, at as maintenanceLogger, et as lowestFree, it as openGcLog, rt as maintenanceItem } from "./device-capacity-DWUOvY13.mjs";
|
|
3
|
+
import { I as memoryCulpritsUnder, V as memoryCulpritAdvice } from "./ios-BveW7qK1.mjs";
|
|
4
4
|
import { t as resolveMaintenanceSettings } from "./settings-D9LtQaUw.mjs";
|
|
5
|
-
import { C as sizeScanDeferred, S as measureSizes, b as measurePressure, v as measureDisk } from "./worktree-
|
|
6
|
-
import { t as relaunchWithLogFile } from "./detached-entry-
|
|
7
|
-
import { i as plannedMaintenance, n as diskRecovered, o as triggeringRoot, r as executeAction, v as measureOwnedDevices } from "./act-
|
|
5
|
+
import { C as sizeScanDeferred, S as measureSizes, b as measurePressure, v as measureDisk } from "./worktree-BAC43Kio.mjs";
|
|
6
|
+
import { t as relaunchWithLogFile } from "./detached-entry-VqFeEE9W.mjs";
|
|
7
|
+
import { i as plannedMaintenance, n as diskRecovered, o as triggeringRoot, r as executeAction, v as measureOwnedDevices } from "./act-BGAFjY8f.mjs";
|
|
8
8
|
import { r as due, t as capChildLog } from "./attempt-ClyJlZPT.mjs";
|
|
9
9
|
import { releaseClaim, tryAcquireClaim } from "@stim-cli/core/ownership-claim";
|
|
10
10
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as process_identity_exports, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-
|
|
2
|
-
import { r as readWorkspaceState } from "./workspace-state-
|
|
3
|
-
import { A as withConfigLockAsync, S as releaseMetroPort, n as allMetroPorts, ot as isOnMountedVolume, r as claimMetroPort, st as listMountedVolumes, v as loadConfig } from "./config-
|
|
4
|
-
import { t as runOperationFile } from "./operation-exec-
|
|
1
|
+
import { T as process_identity_exports, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { r as readWorkspaceState } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { A as withConfigLockAsync, S as releaseMetroPort, n as allMetroPorts, ot as isOnMountedVolume, r as claimMetroPort, st as listMountedVolumes, v as loadConfig } from "./config-CNmN-ndb.mjs";
|
|
4
|
+
import { t as runOperationFile } from "./operation-exec-DNynwpqO.mjs";
|
|
5
5
|
import { sep } from "path";
|
|
6
6
|
import { existsSync, readlinkSync, realpathSync } from "fs";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as process_identity_exports, d as throwIfCancelled, u as cancelledError } from "./exec-
|
|
2
|
-
import { j as workspaceStateFile$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
1
|
+
import { T as process_identity_exports, d as throwIfCancelled, u as cancelledError } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { j as workspaceStateFile$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { statSync, watch } from "node:fs";
|
|
5
5
|
import { HOSTED_METRO_REQUESTS_KEY, hostedMetroLinks, hostedMetroRequests, isJsonObject } from "@stim-cli/core/state";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as process_identity_exports, p as withWorkspaceProcessLock, t as getExecutor } from "./exec-
|
|
2
|
-
import { A as withConfigLockAsync, c as ensureConfig, d as getConfigDir, m as getProject, v as loadConfig, w as saveConfig } from "./config-
|
|
3
|
-
import { f as signalProcessTree, m as createPortProbe, s as parseNetstatPids } from "./metro-
|
|
1
|
+
import { T as process_identity_exports, p as withWorkspaceProcessLock, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { A as withConfigLockAsync, c as ensureConfig, d as getConfigDir, m as getProject, v as loadConfig, w as saveConfig } from "./config-CNmN-ndb.mjs";
|
|
3
|
+
import { f as signalProcessTree, m as createPortProbe, s as parseNetstatPids } from "./metro-TIQ1Wft-.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
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { E as workspaceDir, y as sharedBuildCache } from "./workspace-state-
|
|
3
|
-
import { m as getProject, pt as deviceSlotPlatforms, vt as validateDeviceSlot } from "./config-
|
|
4
|
-
import { it as settingValueAt } from "./settings-
|
|
5
|
-
import { H as ownedAvdDeviceProfile, J as ownedAvdSystemImage, O as findBuildTool, U as ownedAvdDirectory, l as androidSystemImageAbi, o as androidHome, z as listInstalledSystemImages } from "./android-
|
|
6
|
-
import { O as resolveCcache } from "./device-capacity-
|
|
7
|
-
import { r as register } from "./cache-manifest-
|
|
8
|
-
import { lt as statsProjectKey } from "./workspaces-
|
|
9
|
-
import { _t as runCancellationSignal, r as androidToolchainAsync } from "./toolchain-
|
|
10
|
-
import { T as resolveBuild, c as entryDir, t as artifactIn } from "./build-cache-
|
|
11
|
-
import { b as nativeGradleTransfer, g as gradleOffloadInputs } from "./client-
|
|
12
|
-
import { d as buildGradle, l as androidSdkRefusal } from "./react-native-build-
|
|
13
|
-
import { n as decideSystemImage, t as androidImageInstallPolicy } from "./android-image-
|
|
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-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, y as sharedBuildCache } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { m as getProject, pt as deviceSlotPlatforms, vt as validateDeviceSlot } from "./config-CNmN-ndb.mjs";
|
|
4
|
+
import { it as settingValueAt } from "./settings-Ag4pbs0z.mjs";
|
|
5
|
+
import { H as ownedAvdDeviceProfile, J as ownedAvdSystemImage, O as findBuildTool, U as ownedAvdDirectory, l as androidSystemImageAbi, o as androidHome, z as listInstalledSystemImages } from "./android-CGctfYpv.mjs";
|
|
6
|
+
import { O as resolveCcache } from "./device-capacity-DWUOvY13.mjs";
|
|
7
|
+
import { r as register } from "./cache-manifest-BO0TIcPV.mjs";
|
|
8
|
+
import { lt as statsProjectKey } from "./workspaces-DCzDzydB.mjs";
|
|
9
|
+
import { _t as runCancellationSignal, r as androidToolchainAsync } from "./toolchain-BeD7tbBW.mjs";
|
|
10
|
+
import { T as resolveBuild, c as entryDir, t as artifactIn } from "./build-cache-Dt-dhCJF.mjs";
|
|
11
|
+
import { b as nativeGradleTransfer, g as gradleOffloadInputs } from "./client-DU6dnGX1.mjs";
|
|
12
|
+
import { d as buildGradle, l as androidSdkRefusal } from "./react-native-build-dixAL2G8.mjs";
|
|
13
|
+
import { n as decideSystemImage, t as androidImageInstallPolicy } from "./android-image-DY8KxK2m.mjs";
|
|
14
|
+
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-BKkj3OyL.mjs";
|
|
15
|
+
import { u as resolveAndroidRunPlan } from "./result-CWyxwPvZ.mjs";
|
|
16
|
+
import { n as androidProcessRuntime } from "./launch-f3RnbFW5.mjs";
|
|
17
|
+
import { n as planFlagRefusal, r as planPayload } from "./build-plan-CgnLDof9.mjs";
|
|
18
|
+
import { a as nativeGradleWorkerArtifactIdentity, n as gradleArtifactInputs, r as nativeGradleArtifactSnapshot, t as NATIVE_GRADLE_CACHE_LIMIT } from "./native-gradle-artifact-inputs-B4Mwydmf.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
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { r as childEnvironment } from "./operation-exec-
|
|
3
|
-
import { o as androidHome } from "./android-
|
|
4
|
-
import { n as buildCacheKey } from "./build-cache-
|
|
5
|
-
import { g as gradleOffloadInputs, v as nativeGradleLocalSourceDigest } from "./client-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { r as childEnvironment } from "./operation-exec-DNynwpqO.mjs";
|
|
3
|
+
import { o as androidHome } from "./android-CGctfYpv.mjs";
|
|
4
|
+
import { n as buildCacheKey } from "./build-cache-Dt-dhCJF.mjs";
|
|
5
|
+
import { g as gradleOffloadInputs, v as nativeGradleLocalSourceDigest } from "./client-DU6dnGX1.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,9 +1,9 @@
|
|
|
1
|
-
import { r as readWorkspaceState$1, v as ensureWorkspaceStorageAsync } from "./workspace-state-
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
-
import { N as metroPortSetting } from "./settings-
|
|
4
|
-
import { d as resolveProjectMetro } from "./metro-
|
|
5
|
-
import { an as LAUNCH_UNVERIFIED, rn as LAUNCH_BUNDLING } from "./device-capacity-
|
|
6
|
-
import { c as startDevServer } from "./start-
|
|
1
|
+
import { r as readWorkspaceState$1, v as ensureWorkspaceStorageAsync } from "./workspace-state-DOPXG2Gp.mjs";
|
|
2
|
+
import { l as phaseLine } from "./command-output-ByEmIwur.mjs";
|
|
3
|
+
import { N as metroPortSetting } from "./settings-Ag4pbs0z.mjs";
|
|
4
|
+
import { d as resolveProjectMetro } from "./metro-TIQ1Wft-.mjs";
|
|
5
|
+
import { an as LAUNCH_UNVERIFIED, rn as LAUNCH_BUNDLING } from "./device-capacity-DWUOvY13.mjs";
|
|
6
|
+
import { c as startDevServer } from "./start-CzBB5R7N.mjs";
|
|
7
7
|
import { readIdleStop } from "@stim-cli/core/state";
|
|
8
8
|
import chalk from "chalk";
|
|
9
9
|
//#region src/commands/native-runtime.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as gitAsync } from "./operation-exec-
|
|
1
|
+
import { s as gitAsync } from "./operation-exec-DNynwpqO.mjs";
|
|
2
2
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { createReadStream } from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as workspaceDir, T as workspaceDerivedData } from "./workspace-state-
|
|
2
|
-
import { a as killOnAbort, l as gitQuietAsync, r as childEnvironment } from "./operation-exec-
|
|
3
|
-
import { h as pbxString, m as pbxReferences } from "./project-
|
|
1
|
+
import { E as workspaceDir, T as workspaceDerivedData } from "./workspace-state-DOPXG2Gp.mjs";
|
|
2
|
+
import { a as killOnAbort, l as gitQuietAsync, r as childEnvironment } from "./operation-exec-DNynwpqO.mjs";
|
|
3
|
+
import { h as pbxString, m as pbxReferences } from "./project-BCtQz48d.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,21 +1,21 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { x as sharedCompilationCache } from "./workspace-state-
|
|
3
|
-
import { G as remoteIosSetting, J as resolveCacheProviderConfig, Vt as repoRootAsync, rt as settingShapeErrors } from "./settings-
|
|
4
|
-
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-
|
|
5
|
-
import { Un as processContext } from "./device-capacity-
|
|
6
|
-
import { r as register } from "./cache-manifest-
|
|
7
|
-
import { lt as statsProjectKey } from "./workspaces-
|
|
8
|
-
import { E as readPodState, H as readBundleId, I as compilationCacheSettings, M as HEARTBEAT_INTERVAL_MS, O as runCaptured, P as buildXcode, R as parseSwiftVersion, T as podsAreStale, _t as runCancellationSignal, c as iosToolchainAsync, k as runPodInstall, z as parseXcodeMajor } from "./toolchain-
|
|
9
|
-
import { n as buildCacheKey, p as filesystemBuildCapability } from "./build-cache-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { x as sharedCompilationCache } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
|
+
import { G as remoteIosSetting, J as resolveCacheProviderConfig, Vt as repoRootAsync, rt as settingShapeErrors } from "./settings-Ag4pbs0z.mjs";
|
|
4
|
+
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-BCtQz48d.mjs";
|
|
5
|
+
import { Un as processContext } from "./device-capacity-DWUOvY13.mjs";
|
|
6
|
+
import { r as register } from "./cache-manifest-BO0TIcPV.mjs";
|
|
7
|
+
import { lt as statsProjectKey } from "./workspaces-DCzDzydB.mjs";
|
|
8
|
+
import { E as readPodState, H as readBundleId, I as compilationCacheSettings, M as HEARTBEAT_INTERVAL_MS, O as runCaptured, P as buildXcode, R as parseSwiftVersion, T as podsAreStale, _t as runCancellationSignal, c as iosToolchainAsync, k as runPodInstall, z as parseXcodeMajor } from "./toolchain-BeD7tbBW.mjs";
|
|
9
|
+
import { n as buildCacheKey, p as filesystemBuildCapability } from "./build-cache-Dt-dhCJF.mjs";
|
|
10
10
|
import { l as artifactCachePolicy, p as resolveOptimizations } from "./errors-DHm_U5gv.mjs";
|
|
11
|
-
import { a as nativeTransferRefusal } from "./client-
|
|
12
|
-
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-
|
|
13
|
-
import { r as gateProfileForDevice } from "./ios-signing-
|
|
14
|
-
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-
|
|
16
|
-
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-
|
|
17
|
-
import { t as IosRecipeRefusal } from "./ios-project-
|
|
18
|
-
import { c as iosProcessRuntime, t as DEFAULT_DEPS } from "./dependencies-
|
|
11
|
+
import { a as nativeTransferRefusal } from "./client-DU6dnGX1.mjs";
|
|
12
|
+
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-CfYmOdQs.mjs";
|
|
13
|
+
import { r as gateProfileForDevice } from "./ios-signing-CRYQ1W42.mjs";
|
|
14
|
+
import { a as nativeXcodeSources, i as nativeXcodePackages, n as nativeXcodeInputSnapshot, t as nativeXcodeHasPackages } from "./native-xcode-inputs-DUv7Q3ok.mjs";
|
|
15
|
+
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-BKkj3OyL.mjs";
|
|
16
|
+
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-CgnLDof9.mjs";
|
|
17
|
+
import { t as IosRecipeRefusal } from "./ios-project-XHg87vyQ.mjs";
|
|
18
|
+
import { c as iosProcessRuntime, t as DEFAULT_DEPS } from "./dependencies-BozoTBqa.mjs";
|
|
19
19
|
import { existsSync } from "node:fs";
|
|
20
20
|
import { join } from "node:path";
|
|
21
21
|
//#region src/integrations/native-xcode-ios.ts
|
|
@@ -380,8 +380,7 @@ async function planNativeXcode(root, options, resolved, operation = processConte
|
|
|
380
380
|
const architecture = simulatorBuildArch({
|
|
381
381
|
physical: false,
|
|
382
382
|
remoteArch: null,
|
|
383
|
-
hostArch: process.arch === "arm64" ? "arm64" : "x86_64"
|
|
384
|
-
configuration
|
|
383
|
+
hostArch: process.arch === "arm64" ? "arm64" : "x86_64"
|
|
385
384
|
});
|
|
386
385
|
const snapshot = await nativeXcodeInputSnapshot(root, selection, {
|
|
387
386
|
sdk: "iphonesimulator",
|
package/dist/offload-worker.mjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { E as workspaceDir, k as workspaceLogsDir$1 } from "./workspace-state-
|
|
1
|
+
import { t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
|
+
import { E as workspaceDir, k as workspaceLogsDir$1 } from "./workspace-state-DOPXG2Gp.mjs";
|
|
3
3
|
import { n as stripAnsi } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { j as writeConfigSetting } from "./config-
|
|
5
|
-
import { o as git, s as gitAsync } from "./operation-exec-
|
|
6
|
-
import { b as iosProjectDirSetting, d as androidLayoutSetting } from "./settings-
|
|
7
|
-
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-
|
|
4
|
+
import { j as writeConfigSetting } from "./config-CNmN-ndb.mjs";
|
|
5
|
+
import { o as git, s as gitAsync } from "./operation-exec-DNynwpqO.mjs";
|
|
6
|
+
import { b as iosProjectDirSetting, d as androidLayoutSetting } from "./settings-Ag4pbs0z.mjs";
|
|
7
|
+
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-BCtQz48d.mjs";
|
|
8
8
|
import { s as parseNdjsonText$1 } from "./ndjson-CrjIsGzw.mjs";
|
|
9
|
-
import { C as CCACHE_UNAVAILABLE, O as resolveCcache, Un as processContext } from "./device-capacity-
|
|
10
|
-
import { E as readPodState, S as workerToolchain, T as podsAreStale, i as availableIphone, k as runPodInstall, x as useJdkMajor } from "./toolchain-
|
|
11
|
-
import { a as compareSourceLists, g as fingerprintProject, i as changedOnlyInside, w as refingerprintAfterMutation } from "./build-cache-
|
|
12
|
-
import { _ as unmetNodePin, g as projectNodeLine, h as pathNodeVersion, v as withProjectNode } from "./server-expo-
|
|
13
|
-
import { S as verifyGradleTransfer, T as clearCorruptCompilationCache, _ as gradleStateDirectories, f as reactNativeArtifactReceipt, g as gradleOffloadInputs, h as reusedReactNativeArtifact, m as reactNativeBuildQuery, p as reactNativeArtifactToolchain, w as COMPILATION_CACHE_CORRUPT, x as validateGradleManifest, y as nativeGradleOutputs } from "./client-
|
|
14
|
-
import { f as podAction } from "./support-
|
|
9
|
+
import { C as CCACHE_UNAVAILABLE, O as resolveCcache, Un as processContext } from "./device-capacity-DWUOvY13.mjs";
|
|
10
|
+
import { E as readPodState, S as workerToolchain, T as podsAreStale, i as availableIphone, k as runPodInstall, x as useJdkMajor } from "./toolchain-BeD7tbBW.mjs";
|
|
11
|
+
import { a as compareSourceLists, g as fingerprintProject, i as changedOnlyInside, w as refingerprintAfterMutation } from "./build-cache-Dt-dhCJF.mjs";
|
|
12
|
+
import { _ as unmetNodePin, g as projectNodeLine, h as pathNodeVersion, v as withProjectNode } from "./server-expo-ZS9_WaNG.mjs";
|
|
13
|
+
import { S as verifyGradleTransfer, T as clearCorruptCompilationCache, _ as gradleStateDirectories, f as reactNativeArtifactReceipt, g as gradleOffloadInputs, h as reusedReactNativeArtifact, m as reactNativeBuildQuery, p as reactNativeArtifactToolchain, w as COMPILATION_CACHE_CORRUPT, x as validateGradleManifest, y as nativeGradleOutputs } from "./client-DU6dnGX1.mjs";
|
|
14
|
+
import { f as podAction } from "./support-CfYmOdQs.mjs";
|
|
15
15
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
16
|
-
import { a as sourceManifest, o as verifyNativeTransfer } from "./native-source-
|
|
17
|
-
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-
|
|
18
|
-
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-
|
|
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 { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-
|
|
25
|
-
import { a as nativeGradleWorkerArtifactIdentity, i as nativeGradleArtifactSnapshotFromReceipt, o as nativeGradleWorkerScope } from "./native-gradle-artifact-inputs-
|
|
16
|
+
import { a as sourceManifest, o as verifyNativeTransfer } from "./native-source-D2ZfiQ6U.mjs";
|
|
17
|
+
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-dixAL2G8.mjs";
|
|
18
|
+
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-DUv7Q3ok.mjs";
|
|
19
|
+
import { a as runPrebuild, r as recordPrebuild, t as planPrebuild } from "./prebuild-BKkj3OyL.mjs";
|
|
20
|
+
import { g as dumpApkManifest, p as apkPackage } from "./support-JZ4KRW0C.mjs";
|
|
21
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-DIhuoozz.mjs";
|
|
22
|
+
import { i as stageBundle, n as resolveBundleExtras } from "./stage-_8k8p7uq.mjs";
|
|
23
|
+
import { t as logLines } from "./run-FZtMQgrx.mjs";
|
|
24
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-C1rZDRDs.mjs";
|
|
25
|
+
import { a as nativeGradleWorkerArtifactIdentity, i as nativeGradleArtifactSnapshotFromReceipt, o as nativeGradleWorkerScope } from "./native-gradle-artifact-inputs-B4Mwydmf.mjs";
|
|
26
26
|
import { createHash } from "node:crypto";
|
|
27
27
|
import { chmodSync, constants, copyFileSync, cpSync, createReadStream, createWriteStream, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, symlinkSync, writeFileSync } from "node:fs";
|
|
28
28
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as operationState, d as throwIfCancelled, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-
|
|
1
|
+
import { C as operationState, d as throwIfCancelled, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-L37dbiIb.mjs";
|
|
2
2
|
import { sep } from "node:path";
|
|
3
3
|
//#region src/workspace/git.ts
|
|
4
4
|
const GIT_TIMEOUT_MS = 1e4;
|