stim 1.32.0 → 1.34.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-CI9fIokp.mjs → acquire-artifact-B0SWoVNt.mjs} +2 -2
- package/dist/{act-BfChMxcU.mjs → act-7f7wIvCQ.mjs} +22 -22
- package/dist/{activity-yjH7Q3zn.mjs → activity-DkS-Ir6V.mjs} +6 -6
- package/dist/{agent-device-usage-output-DO412bsG.mjs → agent-device-usage-output-BVdgKbfz.mjs} +5 -5
- package/dist/{android-BeeC15Ve.mjs → android-B2DSKg-A.mjs} +2 -2
- package/dist/{android-D56S_GX3.mjs → android-BU4uBX8I.mjs} +5 -5
- package/dist/{android-BNm5A40S.mjs → android-D7qjT2fq.mjs} +87 -53
- package/dist/{android-DsEj2CCs.mjs → android-Iq0M2t2d.mjs} +27 -15
- package/dist/{android-cas-CbumHXIq.mjs → android-cas-Dhcjkys1.mjs} +4 -4
- package/dist/android-cas-compiler.mjs +1 -1
- package/dist/android-image-DFk26aY6.mjs +254 -0
- package/dist/{android-project-CCEQyYJK.d.mts → android-project-DhO6el8N.d.mts} +2 -2
- package/dist/api.d.mts +2 -1
- package/dist/api.mjs +28 -28
- package/dist/{apk-signed-tail-B9Usseps.mjs → apk-signed-tail-CPpA-3vu.mjs} +2 -2
- package/dist/{artifact-k1x9Jrn0.mjs → artifact-CNnTZs3R.mjs} +34 -21
- package/dist/{artifact-C8Nvp07y.mjs → artifact-DmRtKFXW.mjs} +13 -13
- package/dist/{artifact-platform-BO2Uvk_A.mjs → artifact-platform-DqCWUieN.mjs} +1 -1
- package/dist/{auto-placement--nfdQ9rp.mjs → auto-placement-DA65VQH7.mjs} +11 -9
- package/dist/{browser-web-6RDAeH0z.mjs → browser-web-Dn_hgKZC.mjs} +15 -15
- package/dist/{build-VXX_dtl5.mjs → build-D7SuVoRX.mjs} +23 -23
- package/dist/build-artifact-cache-D7B6seMj.mjs +174 -0
- package/dist/build-artifact-cache.d.mts +25 -0
- package/dist/build-artifact-cache.mjs +2 -0
- package/dist/{build-cache-BsKim4V7.mjs → build-cache-Cqj4FGnX.mjs} +20 -8
- package/dist/{build-plan-BK34X2iY.mjs → build-plan-Ct1FiA3E.mjs} +7 -7
- package/dist/{cache-manifest-CfiEny4T.mjs → cache-manifest-8JX9S1QJ.mjs} +1 -1
- package/dist/cache-manifest.mjs +1 -1
- package/dist/{ccache-BrwGIxmV.mjs → ccache-ChBMXlBq.mjs} +35 -67
- package/dist/{cdp-C3svvXiE.mjs → cdp-C216kOAn.mjs} +1 -1
- package/dist/{chrome-DyDWurWG.mjs → chrome-C8sC5tdl.mjs} +1 -1
- package/dist/{cli-Jc7obreB.mjs → cli-DjdvQG5U.mjs} +20 -20
- package/dist/cli.mjs +1 -1
- package/dist/{client-lDmA-5jx.mjs → client-kU37gURU.mjs} +70 -13
- package/dist/collector-run.mjs +7 -7
- package/dist/{command-output-CfPW1bKP.mjs → command-output-DjExb_tZ.mjs} +1 -1
- package/dist/{config-D5qNWJEP.mjs → config-BW0fAtoK.mjs} +256 -246
- package/dist/{dependencies-DkZ8681S.mjs → dependencies-CZ7c8XX_.mjs} +39 -39
- package/dist/{dependency-state-DZVln1P9.mjs → dependency-state-mL5g4H6K.mjs} +2 -2
- package/dist/{detached-entry-BPlSaCwC.mjs → detached-entry-tfrgGVWb.mjs} +1 -1
- package/dist/{dev-client-eDZy6RoX.mjs → dev-client-D3wOllNd.mjs} +2 -2
- package/dist/{device-CeIikWac.mjs → device-CWPFAqs0.mjs} +13 -13
- package/dist/{device-CTozKhU0.mjs → device-DH5yf6TU.mjs} +11 -11
- package/dist/{device-android-zgD9We85.mjs → device-android-ChfF5I9A.mjs} +10 -10
- package/dist/{device-capacity-Bki6B-7h.mjs → device-capacity-CHC3dKWg.mjs} +9 -9
- package/dist/device-host-worker.mjs +58 -17
- package/dist/{device-ios-TE5ejeXx.mjs → device-ios-B3-Ah--R.mjs} +9 -9
- package/dist/{device-lease-run-DeNGjJZM.mjs → device-lease-run-i3FNX4OE.mjs} +5 -5
- package/dist/{device-pool-mjyUYaau.mjs → device-pool-EZziQ0uS.mjs} +3 -3
- package/dist/{device-provision-j_B7G0e6.mjs → device-provision-CfpEy-Vm.mjs} +10 -10
- package/dist/{doctor-sSLtn-j1.mjs → doctor-B5uEZiKp.mjs} +30 -17
- package/dist/{doctor-CNZuvTSe.mjs → doctor-CGBsS_68.mjs} +1 -1
- package/dist/{doctor-BlrcoQ7B.mjs → doctor-dwRboaXx.mjs} +54 -25
- package/dist/{doctor-fingerprint-o7ZI9YLn.mjs → doctor-fingerprint-DqWvIhMb.mjs} +1 -1
- package/dist/doctor-fingerprint.mjs +1 -1
- package/dist/{doctor-watchman-CCuboyj1.mjs → doctor-watchman-r7M9UPi0.mjs} +5 -5
- package/dist/{eas-build-CaG-Sfs9.mjs → eas-build-BpHIt_M3.mjs} +4 -4
- package/dist/{eas-fallback-BpX1lpco.mjs → eas-fallback-CNPcjq3K.mjs} +6 -6
- package/dist/{eas-session-ledger-B-nTfdfk.mjs → eas-session-ledger-CXwagcQ7.mjs} +6 -6
- package/dist/{error-diagnostics-q56Im4D8.mjs → error-diagnostics-Ym2mjmJ0.mjs} +10 -10
- package/dist/{exec-aULwtNly.mjs → exec-CGuDzt40.mjs} +103 -103
- package/dist/{gc-By2Kc-Ek.mjs → gc-B464w_a5.mjs} +2 -2
- package/dist/{gc-Dv6nb9nf.mjs → gc-C7YxKNci.mjs} +25 -54
- package/dist/{guide-CwpsGWTJ.mjs → guide-BFW-cB7R.mjs} +141 -44
- package/dist/{hosted-android-c5nPJA6S.mjs → hosted-android-B7yfqXEy.mjs} +4 -4
- package/dist/{hosted-client-Hs-fD4L3.mjs → hosted-client-CQuzZwAu.mjs} +6 -5
- package/dist/{hosted-logs-BteXG8rm.mjs → hosted-logs-DfYCqrrR.mjs} +7 -7
- package/dist/{hosted-logs-sync-B8bjLEMs.mjs → hosted-logs-sync-Dlpa2mQF.mjs} +5 -5
- package/dist/{hosted-macos-B4byscei.mjs → hosted-macos-JKefapEm.mjs} +6 -6
- package/dist/{hosted-native-Bh9IJ_t5.mjs → hosted-native-B7OFt5gB.mjs} +14 -10
- package/dist/{idle-shutdown-BaeCo4ps.mjs → idle-shutdown-DPD8oV36.mjs} +6 -6
- package/dist/{ios-CdAV4-1E.mjs → ios-BdZdNsAj.mjs} +6 -6
- package/dist/{ios-D3oK9-O4.mjs → ios-DSBs9c6d.mjs} +28 -28
- package/dist/{ios-CsRVik64.mjs → ios-Qam0bT9n.mjs} +1 -1
- package/dist/{ios-device-CiBA-er9.mjs → ios-device-DLdEDWJj.mjs} +1 -1
- package/dist/{ios-device-D7Gi3e1I.mjs → ios-device-Drplrgzo.mjs} +3 -3
- package/dist/{ios-project-DDQlX_jX.mjs → ios-project-DoTQYghg.mjs} +7 -7
- package/dist/{ios-D1XKSITX.mjs → ios-sUPbWqEh.mjs} +8 -8
- package/dist/ios-signing-R34vbrNU.mjs +202 -0
- package/dist/{ios-state-BEIJRJ7P.mjs → ios-state-CWsBysyN.mjs} +1 -1
- package/dist/{js-swap-C8N5DXHl.mjs → js-swap-DrokhOfo.mjs} +6 -6
- package/dist/{launch-DxpvL6il.mjs → launch-Cy-MWEZc.mjs} +20 -20
- package/dist/{lightened-Df6II_XI.mjs → lightened-ALwQcQtV.mjs} +5 -5
- package/dist/{logs-zv3ge7c6.mjs → logs-DWT7jGpF.mjs} +6 -6
- package/dist/{logs-CuWJWF88.mjs → logs-DuED-01Z.mjs} +7 -7
- package/dist/{macos-C6U-4Iip.mjs → macos-CtBtA_hW.mjs} +22 -22
- package/dist/{macos-CbRZheLw.mjs → macos-kWGcfLzx.mjs} +1 -1
- package/dist/macos-run.mjs +1 -1
- package/dist/maintenance-run.mjs +6 -6
- package/dist/{metro-mKHEMO-a.mjs → metro-B5PVz0Wv.mjs} +4 -4
- package/dist/{metro-request-DODHNXCN.mjs → metro-request-2LmFpC1z.mjs} +2 -2
- package/dist/{named-ports-B0hCk2v-.mjs → named-ports-CA0nB9Yw.mjs} +3 -3
- package/dist/{native-android-9dVFqvTT.mjs → native-android-tISP2EVp.mjs} +29 -19
- package/dist/{native-gradle-artifact-inputs-BlY97pt8.mjs → native-gradle-artifact-inputs-DVoeZkrw.mjs} +5 -5
- package/dist/{native-runtime-DQfxW5Au.mjs → native-runtime-CNgxeOCG.mjs} +6 -6
- package/dist/{native-source-D1AzWiuP.mjs → native-source-ChAGj7R1.mjs} +1 -1
- package/dist/{native-xcode-inputs-tDuUvSU8.mjs → native-xcode-inputs-DGzkhpu4.mjs} +3 -3
- package/dist/{native-xcode-ios-CG-PD-7g.mjs → native-xcode-ios-B9nsfId2.mjs} +17 -17
- package/dist/offload-worker.d.mts +8 -1
- package/dist/offload-worker.mjs +62 -23
- package/dist/{operation-exec-Dp4FuIGR.mjs → operation-exec-DKlBcKAL.mjs} +1 -1
- package/dist/{ownership-CCfiBfOP.mjs → ownership-hC7xvvxF.mjs} +3 -3
- package/dist/{page-CQJlcj3x.mjs → page-Dj8IqvGM.mjs} +2 -2
- package/dist/{phone-reverses-CnNwdz9A.mjs → phone-reverses-Bo0EzJ-P.mjs} +4 -4
- package/dist/{placement-log-CRL0IY-k.mjs → placement-log-BsGvKLtU.mjs} +1 -1
- package/dist/{plan-placement-2imvnlWP.mjs → plan-placement-Am0IjuxB.mjs} +6 -6
- package/dist/{ports-CKktj5lV.mjs → ports-CNzg1LYD.mjs} +3 -3
- package/dist/{prebuild-CyNrUWgV.mjs → prebuild-BfJII57G.mjs} +12 -12
- package/dist/{project-Crtcbfl0.mjs → project-DU3jjnBE.mjs} +16 -16
- package/dist/{pull-request-BzLmzAIQ.mjs → pull-request-BpMTNkMB.mjs} +2 -2
- package/dist/pull-requests.mjs +1 -1
- package/dist/{react-native-android-Cabe2YER.mjs → react-native-android-3dZiJv-4.mjs} +37 -33
- package/dist/{react-native-build-DhWBUV_H.mjs → react-native-build-CuvNPt-q.mjs} +10 -10
- package/dist/{react-native-doctor-D-twmBon.mjs → react-native-doctor-a35BwMUO.mjs} +6 -6
- package/dist/{react-native-ios-u_ley41B.mjs → react-native-ios-CqnReM1t.mjs} +22 -17
- package/dist/{recordings-BWnIlhZH.mjs → recordings-AKZfsW2W.mjs} +1 -1
- package/dist/{registration-BwCe64PH.mjs → registration-DKjJGQ6p.mjs} +1 -1
- package/dist/{reload-D2TpUlns.mjs → reload-CC3sNo10.mjs} +17 -17
- package/dist/{reload-f9hvEHE9.mjs → reload-YPnvXGlB.mjs} +1 -1
- package/dist/{remote-BsBAjlD2.mjs → remote-BfaIHnhM.mjs} +9 -9
- package/dist/{result-EOsWV6sp.mjs → result-H-AxY7Ud.mjs} +24 -20
- package/dist/{run-2CHAJ9Oj.mjs → run-N-BbRxnC.mjs} +2 -2
- package/dist/{selection-C4ZQz_ER.mjs → selection-CH-MUVGD.mjs} +5 -4
- package/dist/{server-bare-CFyVFZXJ.mjs → server-bare-BTlICuaX.mjs} +2 -2
- package/dist/{server-command-BMyKtnjH.mjs → server-command-Bn_gOObU.mjs} +5 -5
- package/dist/server-expo-B59N16uT.mjs +2 -0
- package/dist/{server-expo-BLxcN2x2.mjs → server-expo-CUJ2fuv1.mjs} +3 -3
- package/dist/{settings-C6UTYW2K.mjs → settings-B5IBDfTx.mjs} +4 -4
- package/dist/{settings-jeS0WmUF.mjs → settings-DoWHJopy.mjs} +2 -2
- package/dist/{settings-payload-CrX933Xi.mjs → settings-payload-Bxw3hid5.mjs} +5 -5
- package/dist/{settings-write-DMcT23Kl.mjs → settings-write-C6d7EC54.mjs} +6 -6
- package/dist/settings.schema.json +38 -0
- package/dist/{simslim-93xmPh-d.mjs → simslim-DKdJx0LL.mjs} +2 -2
- package/dist/{slot-launch-CSpQcFZw.mjs → slot-launch-kq0-7w9C.mjs} +6 -6
- package/dist/{stage-Cf9uSM1a.mjs → stage-CBfMTUK3.mjs} +2 -2
- package/dist/{start-CquYgzVf.mjs → start-Diu8q6_U.mjs} +1 -1
- package/dist/{start-CLN_r9EG.mjs → start-WTMumMHi.mjs} +12 -12
- package/dist/{state-CM_HvvkS.mjs → state-CtmYTRWm.mjs} +4 -4
- package/dist/{state-CiflgxTP.mjs → state-DSOUqO-o.mjs} +2 -2
- package/dist/{stats-BVEZuSlg.mjs → stats-D4cW247z.mjs} +5 -5
- package/dist/{stats-report-B86Cv7Uc.mjs → stats-report-BVRCqwWA.mjs} +1 -1
- package/dist/{status-Bhdy07v0.mjs → status-B-oeWS0Z.mjs} +1 -1
- package/dist/{status-D0ruTmPl.mjs → status-CEwxo-PS.mjs} +37 -28
- package/dist/{status-GQ-JqvRi.mjs → status-DTFhDnd1.mjs} +1 -1
- package/dist/{status-watch-DSu_hhg6.mjs → status-watch-D63R5nSI.mjs} +5 -5
- package/dist/status-worker.mjs +1 -1
- package/dist/{stim-desktop-1XxET4S8.mjs → stim-desktop-_WTria-r.mjs} +2 -2
- package/dist/{stop-RZqER_Ww.mjs → stop-Dm9ON6Os.mjs} +2 -2
- package/dist/{stop-B616ZyTv.mjs → stop-HL2RvhrE.mjs} +5 -5
- package/dist/{stop-W4DK8qZq.mjs → stop-vX4w3_8V.mjs} +16 -16
- package/dist/supervisor-run.mjs +16 -16
- package/dist/{support-S_5nkkzs.mjs → support-BNe1_Hg7.mjs} +18 -8
- package/dist/{support-NxnD8QXd.mjs → support-ivsfDj0v.mjs} +9 -9
- package/dist/{swiftpm-artifact-inputs-yp8D5LE4.mjs → swiftpm-artifact-inputs-uq5oV7xR.mjs} +4 -4
- package/dist/{swiftpm-macos-Gtq9bNQb.mjs → swiftpm-macos-ClF203_2.mjs} +11 -11
- package/dist/{toolchain-B2bN8jEo.mjs → toolchain-CECahBDa.mjs} +1 -1
- package/dist/{toolchain-Bnm8vUCV.mjs → toolchain-CYonNjd_.mjs} +429 -20
- package/dist/{trigger-CfnOfpDd.mjs → trigger-BtB4kbe0.mjs} +2 -2
- package/dist/trigger-D8B7QR0q.mjs +2 -0
- package/dist/{warm-progress-_aTMvkIH.mjs → warm-progress-q11Vdvhh.mjs} +6 -6
- package/dist/{web-BdWG8b5_.mjs → web-BdaMBr2O.mjs} +9 -9
- package/dist/web-CIpHpGp8.mjs +2 -0
- package/dist/web-run.mjs +8 -8
- package/dist/windows-report.mjs +1 -1
- package/dist/{workspace-state-3bF4TB8P.mjs → workspace-state-BdZ-QgmB.mjs} +3 -3
- package/dist/{workspaces-C59v9bpD.mjs → workspaces-B9v5V7Es.mjs} +14 -14
- package/dist/{worktree-CinoSsGy.mjs → worktree-C3N86KpI.mjs} +77 -31
- package/dist/{worktree-K9F50fD_.mjs → worktree-C4MBOMz7.mjs} +1 -1
- package/package.json +12 -7
- package/dist/ios-signing-BJzvDPfU.mjs +0 -489
- package/dist/server-expo-DwR3eD-a.mjs +0 -2
- package/dist/trigger-DBZ-GBrl.mjs +0 -2
- package/dist/web-DwuluWJt.mjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as gitAsync } from "./operation-exec-
|
|
1
|
+
import { s as gitAsync } from "./operation-exec-DKlBcKAL.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-BdZ-QgmB.mjs";
|
|
2
|
+
import { a as killOnAbort, l as gitQuietAsync, r as childEnvironment } from "./operation-exec-DKlBcKAL.mjs";
|
|
3
|
+
import { h as pbxString, m as pbxReferences } from "./project-DU3jjnBE.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 {
|
|
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,
|
|
9
|
-
import {
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { x as sharedCompilationCache } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { G as remoteIosSetting, J as resolveCacheProviderConfig, Vt as repoRootAsync, rt as settingShapeErrors } from "./settings-B5IBDfTx.mjs";
|
|
4
|
+
import { g as selectNativeXcodeProject, h as pbxString, p as NativeXcodeError } from "./project-DU3jjnBE.mjs";
|
|
5
|
+
import { Sn as processContext } from "./ccache-ChBMXlBq.mjs";
|
|
6
|
+
import { r as register } from "./cache-manifest-8JX9S1QJ.mjs";
|
|
7
|
+
import { lt as statsProjectKey } from "./workspaces-B9v5V7Es.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-CYonNjd_.mjs";
|
|
9
|
+
import { f as filesystemBuildCapability, n as buildCacheKey } from "./build-cache-Cqj4FGnX.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-kU37gURU.mjs";
|
|
12
|
+
import { a as deviceModelRefusal, h as resolveDeviceType, m as resolveConfiguration, v as resolveRuntime, x as simulatorBuildArch, y as resolveSchemeSelection } from "./support-ivsfDj0v.mjs";
|
|
13
|
+
import { r as gateProfileForDevice } from "./ios-signing-R34vbrNU.mjs";
|
|
14
|
+
import { a as nativeXcodeSources, i as nativeXcodePackages, n as nativeXcodeInputSnapshot, t as nativeXcodeHasPackages } from "./native-xcode-inputs-DGzkhpu4.mjs";
|
|
15
|
+
import { s as explainBuildMiss, u as skippedMissReason } from "./prebuild-BfJII57G.mjs";
|
|
16
|
+
import { n as planFlagRefusal, t as planCachedBuild } from "./build-plan-Ct1FiA3E.mjs";
|
|
17
|
+
import { t as IosRecipeRefusal } from "./ios-project-DoTQYghg.mjs";
|
|
18
|
+
import { c as iosProcessRuntime, t as DEFAULT_DEPS } from "./dependencies-CZ7c8XX_.mjs";
|
|
19
19
|
import { existsSync } from "node:fs";
|
|
20
20
|
import { join } from "node:path";
|
|
21
21
|
//#region src/integrations/native-xcode-ios.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as CompilationCacheActivity, g as CcacheActivity, i as AndroidBuildOptions, l as IosToolchain, m as Optimizations, r as SwiftpmArtifactToolchain, t as NativeGradleArtifactReceipt, u as WorkerToolchain } from "./android-project-
|
|
1
|
+
import { _ as CompilationCacheActivity, g as CcacheActivity, i as AndroidBuildOptions, l as IosToolchain, m as Optimizations, r as SwiftpmArtifactToolchain, t as NativeGradleArtifactReceipt, u as WorkerToolchain } from "./android-project-DhO6el8N.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
|
|
@@ -92,6 +92,12 @@ interface WorkerJob {
|
|
|
92
92
|
/** The top-level entries the client counted although an ignore pattern matches them; this checkout has no index. */
|
|
93
93
|
expectedTracked?: string[];
|
|
94
94
|
cacheArtifact?: boolean;
|
|
95
|
+
/** The client has no Xcode and left pod install to this machine, which may then rekey sources in the iOS project. */
|
|
96
|
+
podsOnWorker?: boolean;
|
|
97
|
+
/** The client's cache reads allow the app stim-server retained under the fingerprint after this machine's pod install. */
|
|
98
|
+
reuseArtifact?: boolean;
|
|
99
|
+
/** The directory of stim-server's retained artifacts for this client's repository. */
|
|
100
|
+
artifactCache?: string;
|
|
95
101
|
stimBuild?: string;
|
|
96
102
|
compat?: number;
|
|
97
103
|
/** The JDK major the client builds on; the build runs on an installed JDK of it when the default differs. */
|
|
@@ -119,6 +125,7 @@ type WorkerResult = {
|
|
|
119
125
|
sha256: string;
|
|
120
126
|
};
|
|
121
127
|
fingerprint: string | null;
|
|
128
|
+
reused?: true;
|
|
122
129
|
androidPackage?: string;
|
|
123
130
|
sourceDigest?: string;
|
|
124
131
|
cacheArtifact?: {
|
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-
|
|
3
|
-
import { A as writeConfigSetting } from "./config-D5qNWJEP.mjs";
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { E as workspaceDir, k as workspaceLogsDir$1 } from "./workspace-state-BdZ-QgmB.mjs";
|
|
4
3
|
import { n as stripAnsi } from "./process-output-Fpl8PYi8.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { A as writeConfigSetting } from "./config-BW0fAtoK.mjs";
|
|
5
|
+
import { o as git, s as gitAsync } from "./operation-exec-DKlBcKAL.mjs";
|
|
6
|
+
import { b as iosProjectDirSetting, d as androidLayoutSetting } from "./settings-B5IBDfTx.mjs";
|
|
7
|
+
import { f as projectRegistry, g as selectNativeXcodeProject } from "./project-DU3jjnBE.mjs";
|
|
8
8
|
import { s as parseNdjsonText$1 } from "./ndjson-CrjIsGzw.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { E as readPodState, S as workerToolchain, T as podsAreStale, i as availableIphone, k as runPodInstall, x as useJdkMajor } from "./toolchain-
|
|
11
|
-
import {
|
|
12
|
-
import { _ as unmetNodePin, g as projectNodeLine, h as pathNodeVersion, v as withProjectNode } from "./server-expo-
|
|
13
|
-
import {
|
|
9
|
+
import { Sn as processContext, n as CCACHE_UNAVAILABLE, s as resolveCcache } from "./ccache-ChBMXlBq.mjs";
|
|
10
|
+
import { E as readPodState, S as workerToolchain, T as podsAreStale, i as availableIphone, k as runPodInstall, x as useJdkMajor } from "./toolchain-CYonNjd_.mjs";
|
|
11
|
+
import { C as refingerprintAfterMutation, a as compareSourceLists, h as fingerprintProject, i as changedOnlyInside } from "./build-cache-Cqj4FGnX.mjs";
|
|
12
|
+
import { _ as unmetNodePin, g as projectNodeLine, h as pathNodeVersion, v as withProjectNode } from "./server-expo-CUJ2fuv1.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-kU37gURU.mjs";
|
|
14
14
|
import { n as fingerprintNativeInputs, r as manifestDigest } from "./native-inputs-TRTTTRxt.mjs";
|
|
15
|
-
import { a as sourceManifest, o as verifyNativeTransfer } from "./native-source-
|
|
16
|
-
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-
|
|
17
|
-
import { f as podAction } from "./support-
|
|
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-
|
|
15
|
+
import { a as sourceManifest, o as verifyNativeTransfer } from "./native-source-ChAGj7R1.mjs";
|
|
16
|
+
import { n as buildAndroid, o as gradlewPath, r as buildIos, u as assembleTaskFor } from "./react-native-build-CuvNPt-q.mjs";
|
|
17
|
+
import { f as podAction } from "./support-ivsfDj0v.mjs";
|
|
18
|
+
import { r as nativeXcodeMetadataDirectories } from "./native-xcode-inputs-DGzkhpu4.mjs";
|
|
19
|
+
import { a as runPrebuild, r as recordPrebuild, t as planPrebuild } from "./prebuild-BfJII57G.mjs";
|
|
20
|
+
import { g as dumpApkManifest, p as apkPackage } from "./support-BNe1_Hg7.mjs";
|
|
21
|
+
import { n as buildAndroidOperation, t as buildIosOperation } from "./build-D7SuVoRX.mjs";
|
|
22
|
+
import { i as stageBundle, n as resolveBundleExtras } from "./stage-CBfMTUK3.mjs";
|
|
23
|
+
import { t as logLines } from "./run-N-BbRxnC.mjs";
|
|
24
|
+
import { n as swiftpmArtifactInputs, r as swiftpmArtifactSnapshot, t as readSwiftpmArtifactToolchain } from "./swiftpm-artifact-inputs-uq5oV7xR.mjs";
|
|
25
|
+
import { a as nativeGradleWorkerArtifactIdentity, i as nativeGradleArtifactSnapshotFromReceipt, o as nativeGradleWorkerScope } from "./native-gradle-artifact-inputs-DVoeZkrw.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";
|
|
@@ -510,6 +510,16 @@ function fingerprintMismatch(job, there, sources, mutated) {
|
|
|
510
510
|
].join("; ");
|
|
511
511
|
}
|
|
512
512
|
/**
|
|
513
|
+
* Why the synced checkout does not build under the client's fingerprint, or null. A client without Xcode left pod
|
|
514
|
+
* install to this machine and cannot have the files it rewrites or generates in `iosDir`, so a fingerprint that
|
|
515
|
+
* differs only in sources there stands; any other difference, such as the app config, still refuses.
|
|
516
|
+
*/
|
|
517
|
+
function fingerprintRefusal(job, iosDir, built, mutated) {
|
|
518
|
+
if (built.hash === job.expectedFingerprint) return null;
|
|
519
|
+
if (job.podsOnWorker && job.expectedSources && changedOnlyInside(job.expectedSources, [...built.sources], iosDir)) return null;
|
|
520
|
+
return fingerprintMismatch(job, built.hash, built.sources, mutated());
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
513
523
|
* Puts the Node that `root`, or the nearest directory above it in `src`, pins first on this worker's `PATH`, and
|
|
514
524
|
* reports which Node the build runs on.
|
|
515
525
|
*/
|
|
@@ -769,6 +779,10 @@ async function build(job) {
|
|
|
769
779
|
const pods = podAction(podState, podsAreStale(podState.lockText, podState.manifestText, podState.dir));
|
|
770
780
|
if (pods.install) {
|
|
771
781
|
note("pods", `${pods.reason ?? "Pods are stale"} -> pod install`);
|
|
782
|
+
rmSync(join(iosProject.dir, "Pods", "Local Podspecs"), {
|
|
783
|
+
recursive: true,
|
|
784
|
+
force: true
|
|
785
|
+
});
|
|
772
786
|
const result = await time("podsMs", () => runPodInstall(realRoot, log, {
|
|
773
787
|
directory: iosProject.dir,
|
|
774
788
|
onHeartbeat: (line) => note("pods", line)
|
|
@@ -794,13 +808,26 @@ async function build(job) {
|
|
|
794
808
|
sources = after.sources;
|
|
795
809
|
if (mutations.includes("expo prebuild")) recordPrebuild(realRoot, platform, after.hash);
|
|
796
810
|
}
|
|
797
|
-
|
|
811
|
+
const refused = fingerprintRefusal(job, iosProject.relative, {
|
|
812
|
+
hash: fingerprint,
|
|
813
|
+
sources
|
|
814
|
+
}, () => ({
|
|
798
815
|
steps: mutations,
|
|
799
816
|
files: mutations.length ? rewrittenFiles(src, job.manifest, mirrored.record) : []
|
|
800
817
|
}));
|
|
818
|
+
if (refused) return failed("fingerprint-mismatch", refused);
|
|
801
819
|
const tools = job.cacheArtifact ? await reactNativeArtifactToolchain(platform, realRoot, iosProject.dir) : null;
|
|
802
820
|
const query = tools ? reactNativeBuildQuery(job, fingerprint, job.project, tools) : null;
|
|
803
821
|
const receipt = query ? reactNativeArtifactReceipt(query, tools) : null;
|
|
822
|
+
const reused = await reuseRetained(job, query, mutations, time);
|
|
823
|
+
if (reused) return {
|
|
824
|
+
ok: true,
|
|
825
|
+
artifact: reused,
|
|
826
|
+
fingerprint,
|
|
827
|
+
reused: true,
|
|
828
|
+
compilationCache: {},
|
|
829
|
+
timings
|
|
830
|
+
};
|
|
804
831
|
compiled = platform === "android" ? await compileAndroid(job, realRoot, log, time, androidLayout) : await compileIos(job, realRoot, log, time);
|
|
805
832
|
if (!compiled.ok) return failed(compiled.code, compiled.message);
|
|
806
833
|
const builtFingerprint = fingerprint;
|
|
@@ -857,6 +884,18 @@ async function build(job) {
|
|
|
857
884
|
});
|
|
858
885
|
}
|
|
859
886
|
}
|
|
887
|
+
/** The app stim-server retained under the fingerprint after `mutations`, in place of compiling; null builds. */
|
|
888
|
+
async function reuseRetained(job, query, mutations, time) {
|
|
889
|
+
if (!query) return null;
|
|
890
|
+
try {
|
|
891
|
+
const reused = await time("packageMs", () => reusedReactNativeArtifact(job, query, join(job.area, "out", job.job), AbortSignal.timeout(6e5)));
|
|
892
|
+
if (reused) note("cache", `hit ${query.fingerprint.slice(0, 12)} (post-${mutations.join(", ")} key)`);
|
|
893
|
+
return reused;
|
|
894
|
+
} catch (error) {
|
|
895
|
+
note("cache", `could not reuse the retained app: ${error instanceof Error ? error.message : String(error)}`);
|
|
896
|
+
return null;
|
|
897
|
+
}
|
|
898
|
+
}
|
|
860
899
|
function differingParameters(here, there, path) {
|
|
861
900
|
if (JSON.stringify(here) === JSON.stringify(there)) return [];
|
|
862
901
|
if (!isJsonObject(here) || !isJsonObject(there)) return [path];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as operationState, d as throwIfCancelled, f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
2
|
import { sep } from "node:path";
|
|
3
3
|
//#region src/workspace/git.ts
|
|
4
4
|
const GIT_TIMEOUT_MS = 1e4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as withWorkspaceStateLock, d as writeWorkspaceState, r as readWorkspaceState } from "./workspace-state-
|
|
3
|
-
import { c as pidExists } from "./metro-
|
|
1
|
+
import { T as process_identity_exports } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { c as withWorkspaceStateLock, d as writeWorkspaceState, r as readWorkspaceState } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { c as pidExists } from "./metro-B5PVz0Wv.mjs";
|
|
4
4
|
import { realpathSync } from "node:fs";
|
|
5
5
|
//#region src/collector/state.ts
|
|
6
6
|
function collectorRoot(root) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as connectOwnedBrowser } from "./cdp-
|
|
1
|
+
import { T as process_identity_exports, d as throwIfCancelled } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { t as connectOwnedBrowser } from "./cdp-C216kOAn.mjs";
|
|
3
3
|
//#region src/web/page.ts
|
|
4
4
|
/** The record of a verified live browser: its supervisor and Chrome are the processes the record names. */
|
|
5
5
|
function liveWebRecord(record) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-
|
|
2
|
-
import {
|
|
3
|
-
import { tt as removeMetroReverses } from "./android-
|
|
4
|
-
import { a as stopHostedNative, i as prepareHostedNative, r as placeHostedNative } from "./hosted-native-
|
|
1
|
+
import { r as readWorkspaceState$1, s as updateWorkspaceStateAsync } from "./workspace-state-BdZ-QgmB.mjs";
|
|
2
|
+
import { dt as deviceSlotKey, pt as parseDeviceSlotKey } from "./config-BW0fAtoK.mjs";
|
|
3
|
+
import { tt as removeMetroReverses } from "./android-Iq0M2t2d.mjs";
|
|
4
|
+
import { a as stopHostedNative, i as prepareHostedNative, r as placeHostedNative } from "./hosted-native-B7OFt5gB.mjs";
|
|
5
5
|
import { isJsonObject } from "@stim-cli/core/state";
|
|
6
6
|
//#region src/device-host/hosted-ios.ts
|
|
7
7
|
async function prepareHostedIos(machine, selectors, recorded, mode) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as buildPlacementSettings } from "./selection-
|
|
1
|
+
import { r as buildPlacementSettings } from "./selection-CH-MUVGD.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,9 +1,9 @@
|
|
|
1
|
-
import { v as loadConfig$1 } from "./config-
|
|
2
|
-
import {
|
|
3
|
-
import { _ as hostingMachines } from "./selection-
|
|
4
|
-
import { r as readHostedNative } from "./ios-state-
|
|
5
|
-
import { n as buildPreferenceRefusal } from "./settings-payload-
|
|
6
|
-
import { r as probeHost, t as automaticDevicePlacement } from "./auto-placement
|
|
1
|
+
import { v as loadConfig$1 } from "./config-BW0fAtoK.mjs";
|
|
2
|
+
import { Sn as processContext } from "./ccache-ChBMXlBq.mjs";
|
|
3
|
+
import { _ as hostingMachines } from "./selection-CH-MUVGD.mjs";
|
|
4
|
+
import { r as readHostedNative } from "./ios-state-CWsBysyN.mjs";
|
|
5
|
+
import { n as buildPreferenceRefusal } from "./settings-payload-Bxw3hid5.mjs";
|
|
6
|
+
import { r as probeHost, t as automaticDevicePlacement } from "./auto-placement-DA65VQH7.mjs";
|
|
7
7
|
import { automaticMachineEnabled } from "@stim-cli/core/state";
|
|
8
8
|
//#region src/device-host/plan-placement.ts
|
|
9
9
|
const DOCTOR_REMEDY = "Run `stim doctor` to check the hosts and settings placement uses.";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as getProject } from "./config-
|
|
2
|
-
import { n as findCommandWorkspace } from "./project-
|
|
3
|
-
import { n as getNamedPort, t as clearNamedPorts } from "./named-ports-
|
|
1
|
+
import { m as getProject } from "./config-BW0fAtoK.mjs";
|
|
2
|
+
import { n as findCommandWorkspace } from "./project-DU3jjnBE.mjs";
|
|
3
|
+
import { n as getNamedPort, t as clearNamedPorts } from "./named-ports-CA0nB9Yw.mjs";
|
|
4
4
|
//#region src/commands/ports.ts
|
|
5
5
|
async function inProject(action) {
|
|
6
6
|
try {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { E as debugLog,
|
|
2
|
-
import { M as withDirLock$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, y as sharedBuildCache } from "./workspace-state-
|
|
1
|
+
import { E as debugLog, b as spawnDeclared, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { M as withDirLock$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, y as sharedBuildCache } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
3
|
import { n as stripAnsi, r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
4
|
-
import { m as shortHash } from "./command-output-
|
|
5
|
-
import { o as git, s as gitAsync } from "./operation-exec-
|
|
6
|
-
import { Ct as gitCommonDirOnDisk } from "./settings-
|
|
7
|
-
import { v as detectIsExpo } from "./project-
|
|
8
|
-
import {
|
|
9
|
-
import { r as register } from "./cache-manifest-
|
|
10
|
-
import { nt as STIM_VERSION } from "./workspaces-
|
|
11
|
-
import {
|
|
12
|
-
import { i as expoBinRefusal, o as expoSdkMajor, r as expoBinPath, s as expoTelemetryEnv } from "./server-expo-
|
|
13
|
-
import { t as readDoctorFingerprint } from "./doctor-fingerprint-
|
|
4
|
+
import { m as shortHash } from "./command-output-DjExb_tZ.mjs";
|
|
5
|
+
import { o as git, s as gitAsync } from "./operation-exec-DKlBcKAL.mjs";
|
|
6
|
+
import { Ct as gitCommonDirOnDisk } from "./settings-B5IBDfTx.mjs";
|
|
7
|
+
import { v as detectIsExpo } from "./project-DU3jjnBE.mjs";
|
|
8
|
+
import { Rn as remoteCliInvocation } from "./ccache-ChBMXlBq.mjs";
|
|
9
|
+
import { r as register } from "./cache-manifest-8JX9S1QJ.mjs";
|
|
10
|
+
import { nt as STIM_VERSION } from "./workspaces-B9v5V7Es.mjs";
|
|
11
|
+
import { O as storedSources, d as expoEnvFiles, h as fingerprintProject, m as fingerprintOptions, s as diffFingerprintSources, y as packageIn } from "./build-cache-Cqj4FGnX.mjs";
|
|
12
|
+
import { i as expoBinRefusal, o as expoSdkMajor, r as expoBinPath, s as expoTelemetryEnv } from "./server-expo-CUJ2fuv1.mjs";
|
|
13
|
+
import { t as readDoctorFingerprint } from "./doctor-fingerprint-DqWvIhMb.mjs";
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
16
16
|
import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as supervisorPidFile, c as withWorkspaceStateLock, j as workspaceStateFile$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-
|
|
3
|
-
import {
|
|
4
|
-
import { Bt as repoRoot, Y as resolveIosProjectDir, ct as webSettings, it as settingValueAt, q as resolveAndroidLayout } from "./settings-
|
|
1
|
+
import { T as process_identity_exports } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { C as supervisorPidFile, c as withWorkspaceStateLock, j as workspaceStateFile$1, l as withWorkspaceStateLockAsync, o as updateWorkspaceState, r as readWorkspaceState$1, t as clearWorkspaceStateKey } from "./workspace-state-BdZ-QgmB.mjs";
|
|
3
|
+
import { _ as isPathPrefix$1, dt as deviceSlotKey, l as findEnclosingWorktreeRoot, m as getProject, pt as parseDeviceSlotKey, v as loadConfig$1 } from "./config-BW0fAtoK.mjs";
|
|
4
|
+
import { Bt as repoRoot, Y as resolveIosProjectDir, ct as webSettings, it as settingValueAt, q as resolveAndroidLayout } from "./settings-B5IBDfTx.mjs";
|
|
5
5
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
7
7
|
import { projectRootDirectories } from "@stim-cli/core/state";
|
|
@@ -311,8 +311,8 @@ const nativeAndroidIntegration = {
|
|
|
311
311
|
application: true,
|
|
312
312
|
platforms: () => ["android"],
|
|
313
313
|
validate: (operation) => operation === "android" ? null : void 0,
|
|
314
|
-
android: async () => (await import("./native-android-
|
|
315
|
-
doctor: async () => (await import("./native-android-
|
|
314
|
+
android: async () => (await import("./native-android-tISP2EVp.mjs")).nativeAndroidProject(root),
|
|
315
|
+
doctor: async () => (await import("./native-android-tISP2EVp.mjs")).nativeAndroidDoctor(root)
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
};
|
|
@@ -740,8 +740,8 @@ const nativeXcodeProjectIntegration = {
|
|
|
740
740
|
application: problem === null,
|
|
741
741
|
platforms: () => problem ? [] : ["ios"],
|
|
742
742
|
validate: (operation) => operation === "ios" ? problem : void 0,
|
|
743
|
-
ios: async () => (await import("./native-xcode-ios-
|
|
744
|
-
doctor: async () => (await import("./native-xcode-ios-
|
|
743
|
+
ios: async () => (await import("./native-xcode-ios-B9nsfId2.mjs")).nativeXcodeIosProject(root),
|
|
744
|
+
doctor: async () => (await import("./native-xcode-ios-B9nsfId2.mjs")).nativeXcodeDoctor(root)
|
|
745
745
|
};
|
|
746
746
|
}
|
|
747
747
|
};
|
|
@@ -946,7 +946,7 @@ function createProjectRegistry(integrations) {
|
|
|
946
946
|
//#region src/integrations/projects.ts
|
|
947
947
|
const expo = {
|
|
948
948
|
mode: MODE_EXPO,
|
|
949
|
-
loadDevServer: async () => (await import("./server-expo-
|
|
949
|
+
loadDevServer: async () => (await import("./server-expo-B59N16uT.mjs")).startExpoServer,
|
|
950
950
|
platforms(root) {
|
|
951
951
|
const appJson = readAppJson(root);
|
|
952
952
|
const config = appJson?.expo ?? appJson;
|
|
@@ -966,7 +966,7 @@ const expo = {
|
|
|
966
966
|
};
|
|
967
967
|
const reactNative = {
|
|
968
968
|
mode: MODE_BARE,
|
|
969
|
-
loadDevServer: async () => (await import("./server-bare-
|
|
969
|
+
loadDevServer: async () => (await import("./server-bare-BTlICuaX.mjs")).startBareServer,
|
|
970
970
|
platforms(root, { context, settings }) {
|
|
971
971
|
if (!declaresAppDependency(readPackageJson(root))) return [];
|
|
972
972
|
const platforms = [];
|
|
@@ -996,9 +996,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
996
996
|
ownedRoots: problem === null ? [join(root, "ios"), join(root, "android")] : [],
|
|
997
997
|
platforms: (resolved) => nativeProjectIntegration(root).platforms(root, resolved),
|
|
998
998
|
validate: (operation) => operation === "ios" || operation === "android" || operation === "dev-server" ? problem : void 0,
|
|
999
|
-
ios: async (settings) => (await import("./react-native-ios-
|
|
1000
|
-
android: async (resolved) => (await import("./react-native-android-
|
|
1001
|
-
doctor: async () => (await import("./react-native-doctor-
|
|
999
|
+
ios: async (settings) => (await import("./react-native-ios-CqnReM1t.mjs")).reactNativeIosProject(root, settings),
|
|
1000
|
+
android: async (resolved) => (await import("./react-native-android-3dZiJv-4.mjs")).reactNativeAndroidProject(root, resolved),
|
|
1001
|
+
doctor: async () => (await import("./react-native-doctor-a35BwMUO.mjs")).reactNativeProjectDoctor(root)
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
1004
1004
|
},
|
|
@@ -1012,9 +1012,9 @@ const projectRegistry = createProjectRegistry([
|
|
|
1012
1012
|
application: true,
|
|
1013
1013
|
platforms: ({ settings }) => settingValueAt(settings, "macos.product") && settingValueAt(settings, "macos.infoPlist") ? ["macos"] : [],
|
|
1014
1014
|
validate: (operation) => operation === "macos" ? null : void 0,
|
|
1015
|
-
macos: async () => (await import("./swiftpm-macos-
|
|
1015
|
+
macos: async () => (await import("./swiftpm-macos-ClF203_2.mjs")).swiftpmMacosProject(root),
|
|
1016
1016
|
doctor: async () => {
|
|
1017
|
-
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-
|
|
1017
|
+
const { macosToolchain, macosToolchainAsync } = await import("./toolchain-CECahBDa.mjs");
|
|
1018
1018
|
return {
|
|
1019
1019
|
inspect: () => [],
|
|
1020
1020
|
offloadTargets: ({ options: { host = process.platform, platform, operation } }) => host === "darwin" && platform === void 0 ? async () => [{
|
|
@@ -1034,7 +1034,7 @@ const projectRegistry = createProjectRegistry([
|
|
|
1034
1034
|
application: false,
|
|
1035
1035
|
platforms: ({ settings }) => webSettings(settings).url !== null ? ["web"] : [],
|
|
1036
1036
|
validate: (operation) => operation === "web" ? null : void 0,
|
|
1037
|
-
web: async () => (await import("./browser-web-
|
|
1037
|
+
web: async () => (await import("./browser-web-Dn_hgKZC.mjs")).browserWebProject(root)
|
|
1038
1038
|
};
|
|
1039
1039
|
}
|
|
1040
1040
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as gitQuiet, l as gitQuietAsync, r as childEnvironment, s as gitAsync, t as runOperationFile } from "./operation-exec-
|
|
1
|
+
import { f as WorkspaceProcessCleanupError, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { c as gitQuiet, l as gitQuietAsync, r as childEnvironment, s as gitAsync, t as runOperationFile } from "./operation-exec-DKlBcKAL.mjs";
|
|
3
3
|
//#region src/workspace/pull-request.ts
|
|
4
4
|
const GH_TIMEOUT_MS = 2e4;
|
|
5
5
|
const GH_ENV = {
|
package/dist/pull-requests.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as pullRequestLookup, c as selectPullRequest, i as parseRemoteRepo, l as worktreePullRequests, n as describePullRequest, o as pullRequestLookupAsync, r as endedPullRequest, s as pullRequestLookups, t as checkCounts } from "./pull-request-
|
|
1
|
+
import { a as pullRequestLookup, c as selectPullRequest, i as parseRemoteRepo, l as worktreePullRequests, n as describePullRequest, o as pullRequestLookupAsync, r as endedPullRequest, s as pullRequestLookups, t as checkCounts } from "./pull-request-BpMTNkMB.mjs";
|
|
2
2
|
export { checkCounts, describePullRequest, endedPullRequest, parseRemoteRepo, pullRequestLookup, pullRequestLookupAsync, pullRequestLookups, selectPullRequest, worktreePullRequests };
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { r as readWorkspaceState } from "./workspace-state-
|
|
3
|
-
import { J as validateDeviceSlot, U as deviceSlotPlatforms, m as getProject } from "./config-D5qNWJEP.mjs";
|
|
1
|
+
import { C as operationState, b as spawnDeclared, d as throwIfCancelled, r as reportSignal, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { r as readWorkspaceState } from "./workspace-state-BdZ-QgmB.mjs";
|
|
4
3
|
import { r as waitForChild, t as createLineReader } from "./process-output-Fpl8PYi8.mjs";
|
|
5
|
-
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { h as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
4
|
+
import { i as formatDuration, l as phaseLine, m as shortHash } from "./command-output-DjExb_tZ.mjs";
|
|
5
|
+
import { _t as validateDeviceSlot, ft as deviceSlotPlatforms, m as getProject } from "./config-BW0fAtoK.mjs";
|
|
6
|
+
import { a as killOnAbort, t as runOperationFile } from "./operation-exec-DKlBcKAL.mjs";
|
|
7
|
+
import { B as publicUrlSetting, H as realpathInside, W as remoteEasFallbackSetting, an as makeTemporaryDirectory, at as settingsLayers, m as defaultAndroidLayout, nt as settingOriginScope, on as removeTemporaryEntry, ot as tunnelModeSetting, q as resolveAndroidLayout } from "./settings-B5IBDfTx.mjs";
|
|
8
|
+
import { v as detectIsExpo } from "./project-DU3jjnBE.mjs";
|
|
9
|
+
import { J as ownedAvdSystemImage, O as findBuildTool, R as listAvdsAsync, U as ownedAvdDirectory, l as androidSystemImageAbi, r as androidBuildToolName, z as listInstalledSystemImages } from "./android-Iq0M2t2d.mjs";
|
|
10
|
+
import { An as loadProjectProvider, Dn as checkEasAuth, Fn as resolveRemote, Ln as bundleInvocation, Sn as processContext, s as resolveCcache } from "./ccache-ChBMXlBq.mjs";
|
|
11
|
+
import { lt as statsProjectKey } from "./workspaces-B9v5V7Es.mjs";
|
|
12
|
+
import { K as tailLines, M as HEARTBEAT_INTERVAL_MS, W as startBuildHeartbeat, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-CYonNjd_.mjs";
|
|
13
|
+
import { A as untrackedMissLine, C as refingerprintAfterMutation, D as storedAssetManifest, F as readAssetManifest, M as assetDiffReason, N as captureAssetManifest, P as compareAssetManifests, T as storeBuild, f as filesystemBuildCapability, g as gitignoredFingerprintInputs, h as fingerprintProject, j as untrackedNativeFiles, n as buildCacheKey, o as configInputsChanged, p as fingerprintDiffRecord, r as changedDuringBuildLine, v as inputsChangedDuringBuild, w as resolveBuild } from "./build-cache-Cqj4FGnX.mjs";
|
|
14
|
+
import { s as expoTelemetryEnv, t as cleanLine } from "./server-expo-CUJ2fuv1.mjs";
|
|
15
|
+
import { c as readProductFlavors, h as androidPathRoomRefusal, n as buildAndroid, s as productFlavorRefusal } from "./react-native-build-CuvNPt-q.mjs";
|
|
16
|
+
import { h as detectAppIds, m as detectAndroidPackage } from "./start-WTMumMHi.mjs";
|
|
17
|
+
import { t as readDoctorFingerprint } from "./doctor-fingerprint-DqWvIhMb.mjs";
|
|
18
|
+
import { n as decideSystemImage, t as androidImageInstallPolicy } from "./android-image-DFk26aY6.mjs";
|
|
19
|
+
import { i as planEasDevelopmentBuild } from "./eas-build-BpHIt_M3.mjs";
|
|
20
|
+
import { a as runPrebuild, c as fingerprintErrorMissReason, d as memoizedFingerprint, i as recordPrebuildAsync, n as planPrebuildAsync, o as staleNativeDirRefusal, s as explainBuildMiss, t as planPrebuild } from "./prebuild-BfJII57G.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-BNe1_Hg7.mjs";
|
|
21
22
|
import { t as AndroidRecipeRefusal } from "./android-project-BCAAmMwz.mjs";
|
|
22
|
-
import { u as resolveAndroidRunPlan } from "./result-
|
|
23
|
-
import { n as androidProcessRuntime, t as androidMetroRuntime } from "./launch-
|
|
24
|
-
import { t as checkEasFallback } from "./eas-fallback-
|
|
25
|
-
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-
|
|
26
|
-
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-
|
|
27
|
-
import { t as planHostedDevice } from "./plan-placement-
|
|
23
|
+
import { u as resolveAndroidRunPlan } from "./result-H-AxY7Ud.mjs";
|
|
24
|
+
import { n as androidProcessRuntime, t as androidMetroRuntime } from "./launch-Cy-MWEZc.mjs";
|
|
25
|
+
import { t as checkEasFallback } from "./eas-fallback-CNPcjq3K.mjs";
|
|
26
|
+
import { n as planFlagRefusal, r as planPayload, t as planCachedBuild } from "./build-plan-Ct1FiA3E.mjs";
|
|
27
|
+
import { n as detectEntryFile, r as refreshUpdatesManifestFile, t as UPDATES_MANIFEST_NAME } from "./js-swap-DrokhOfo.mjs";
|
|
28
|
+
import { t as planHostedDevice } from "./plan-placement-Am0IjuxB.mjs";
|
|
28
29
|
import { constants, existsSync, mkdirSync, readFileSync, renameSync } from "node:fs";
|
|
29
30
|
import { basename, dirname, isAbsolute, join, relative } from "node:path";
|
|
30
31
|
import chalk from "chalk";
|
|
@@ -481,7 +482,7 @@ function imageReplacement(root, slot, flagImage, deps) {
|
|
|
481
482
|
}
|
|
482
483
|
};
|
|
483
484
|
}
|
|
484
|
-
async function emulatorImage(root, slot, requested, replaces, deps, signal) {
|
|
485
|
+
async function emulatorImage(root, slot, requested, replaces, policy, deps, signal) {
|
|
485
486
|
const record = deviceSlotPlatforms(getProject(root), slot)?.android;
|
|
486
487
|
if (record?.avdName && !record.setupIncomplete && !replaces) {
|
|
487
488
|
if (record.owned && deps.avdDirectory(record.avdName)) return { systemImage: deps.avdSystemImage(record.avdName) };
|
|
@@ -497,13 +498,16 @@ async function emulatorImage(root, slot, requested, replaces, deps, signal) {
|
|
|
497
498
|
remedy: "Check that ANDROID_HOME points at a readable SDK, then try again."
|
|
498
499
|
} };
|
|
499
500
|
}
|
|
500
|
-
const
|
|
501
|
-
|
|
502
|
-
|
|
501
|
+
const decided = decideSystemImage({
|
|
502
|
+
requested,
|
|
503
|
+
installed: images,
|
|
504
|
+
policy
|
|
505
|
+
});
|
|
506
|
+
if (decided.kind !== "refuse") return { systemImage: decided.pkg };
|
|
503
507
|
return { refusal: {
|
|
504
|
-
code:
|
|
505
|
-
message:
|
|
506
|
-
remedy:
|
|
508
|
+
code: decided.code,
|
|
509
|
+
message: decided.message,
|
|
510
|
+
remedy: decided.remedy
|
|
507
511
|
} };
|
|
508
512
|
}
|
|
509
513
|
async function avdListed(avdName, list, signal) {
|
|
@@ -603,7 +607,7 @@ async function planReactNativeAndroid(root, opts, runtimeKind, { context: settin
|
|
|
603
607
|
if (target.kind === "emulator" && replacement.refusal) return refuse(replacement.refusal);
|
|
604
608
|
const abiKeyed = build.targetAbiOnly && !build.release;
|
|
605
609
|
let localImageRead;
|
|
606
|
-
const localImage = () => localImageRead ??= abiKeyed ? emulatorImage(root, slot, target.systemImage, replacement.replaces, deps, operation.signal) : Promise.resolve({ systemImage: null });
|
|
610
|
+
const localImage = () => localImageRead ??= abiKeyed ? emulatorImage(root, slot, target.systemImage, replacement.replaces, androidImageInstallPolicy(settings), deps, operation.signal) : Promise.resolve({ systemImage: null });
|
|
607
611
|
let image;
|
|
608
612
|
let hostedAbi = null;
|
|
609
613
|
let placement;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { x as sharedCompilationCache } from "./workspace-state-
|
|
1
|
+
import { b as spawnDeclared, t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { x as sharedCompilationCache } from "./workspace-state-BdZ-QgmB.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-
|
|
5
|
-
import { a as killOnAbort } from "./operation-exec-
|
|
6
|
-
import { C as resolvePackageJson } from "./project-
|
|
7
|
-
import { o as androidHome } from "./android-
|
|
8
|
-
import { n as CCACHE_UNAVAILABLE, o as readCcacheActivity } from "./ccache-
|
|
9
|
-
import { r as register } from "./cache-manifest-
|
|
10
|
-
import { B as pickXcodeProject, G as swiftPrefixMappingSupported, I as compilationCacheSettings, M as HEARTBEAT_INTERVAL_MS, N as SWIFT_PREFIX_MAPPING_MIN_SWIFT, P as buildXcode, R as parseSwiftVersion, W as startBuildHeartbeat, z as parseXcodeMajor } from "./toolchain-
|
|
4
|
+
import { l as phaseLine } from "./command-output-DjExb_tZ.mjs";
|
|
5
|
+
import { a as killOnAbort } from "./operation-exec-DKlBcKAL.mjs";
|
|
6
|
+
import { C as resolvePackageJson } from "./project-DU3jjnBE.mjs";
|
|
7
|
+
import { o as androidHome } from "./android-Iq0M2t2d.mjs";
|
|
8
|
+
import { n as CCACHE_UNAVAILABLE, o as readCcacheActivity } from "./ccache-ChBMXlBq.mjs";
|
|
9
|
+
import { r as register } from "./cache-manifest-8JX9S1QJ.mjs";
|
|
10
|
+
import { B as pickXcodeProject, G as swiftPrefixMappingSupported, I as compilationCacheSettings, M as HEARTBEAT_INTERVAL_MS, N as SWIFT_PREFIX_MAPPING_MIN_SWIFT, P as buildXcode, R as parseSwiftVersion, W as startBuildHeartbeat, z as parseXcodeMajor } from "./toolchain-CYonNjd_.mjs";
|
|
11
11
|
import { p as resolveOptimizations } from "./errors-DHm_U5gv.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";
|
|
15
15
|
import { ambientContext } from "@stim-cli/core";
|
|
16
|
-
import { fileURLToPath } from "node:url";
|
|
17
16
|
import chalk from "chalk";
|
|
17
|
+
import { fileURLToPath } from "node:url";
|
|
18
18
|
//#region src/engine/android-path-limit.ts
|
|
19
19
|
/**
|
|
20
20
|
* CMake's single-config Ninja generator measures an object against CMAKE_OBJECT_PATH_MAX from
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getExecutor } from "./exec-
|
|
2
|
-
import { l as phaseLine } from "./command-output-
|
|
3
|
-
import { Y as resolveIosProjectDir, q as resolveAndroidLayout } from "./settings-
|
|
4
|
-
import { v as detectIsExpo } from "./project-
|
|
5
|
-
import { Y as bundlerPin, a as buildsOnlyOnWorker, c as iosToolchainAsync, n as androidToolchain, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-
|
|
6
|
-
import { a as
|
|
1
|
+
import { t as getExecutor } from "./exec-CGuDzt40.mjs";
|
|
2
|
+
import { l as phaseLine } from "./command-output-DjExb_tZ.mjs";
|
|
3
|
+
import { Y as resolveIosProjectDir, q as resolveAndroidLayout } from "./settings-B5IBDfTx.mjs";
|
|
4
|
+
import { v as detectIsExpo } from "./project-DU3jjnBE.mjs";
|
|
5
|
+
import { Y as bundlerPin, a as buildsOnlyOnWorker, c as iosToolchainAsync, n as androidToolchain, r as androidToolchainAsync, t as androidRequirements } from "./toolchain-CYonNjd_.mjs";
|
|
6
|
+
import { a as mainCheckoutProjectRoot, c as repairCxxLauncherState, i as detectLinkedLibraryGitMetadata, n as checkMainCheckout, o as reactNativeDoctorFindings, r as detectFingerprintParity } from "./doctor-dwRboaXx.mjs";
|
|
7
7
|
import { existsSync, readdirSync, statSync } from "node:fs";
|
|
8
8
|
import { join, relative } from "node:path";
|
|
9
9
|
//#region src/diagnostics/doctor-ios-architectures.ts
|