@jordond/kit 0.7.0 → 0.8.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 +181 -5
- package/dist/_affected-D8pI64_f.js +13 -0
- package/dist/_preview-B58geuUk.js +174 -0
- package/dist/_verb-DWXrtbyb.js +136 -0
- package/dist/android-C7N3LxRq.js +56 -0
- package/dist/apply-CphKtpYM.js +120 -0
- package/dist/args-DLndWKlr.js +25 -0
- package/dist/backup-9B4K9U_G.js +50 -0
- package/dist/bin-BPRG3tvc.js +1 -0
- package/dist/bin-t8E-qlss.js +31 -0
- package/dist/boot-D1w45n5N.js +50 -0
- package/dist/build-B2Ua7rOn.js +1 -0
- package/dist/build-DeykXskB.js +36 -0
- package/dist/build-DqITJpTP.js +52 -0
- package/dist/build-DtqYlgYC.js +123 -0
- package/dist/builtins-CPRE__kE.js +1 -0
- package/dist/builtins-ysIGaptY.js +426 -0
- package/dist/bump-hLNWDGnq.js +203 -0
- package/dist/certs-DRmBZA4b.js +65 -0
- package/dist/changelog-Bx2QM52O.js +131 -0
- package/dist/changelog-CeTpoe3d.js +128 -0
- package/dist/check-CH7X4usg.js +55 -0
- package/dist/check-vl7UBzW0.js +25 -0
- package/dist/checks-DxPGOAjd.js +751 -0
- package/dist/chrome-guy8J1Sd.js +54 -0
- package/dist/clean-Cnjk-U9b.js +78 -0
- package/dist/clean-uyfwoFAC.js +248 -0
- package/dist/cleanup-B3RY_WMv.js +64 -0
- package/dist/cleanup-B7tWYXh4.js +1 -0
- package/dist/clear-C-Pq3HaB.js +34 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +23 -31
- package/dist/cloudflare-DANxWsOQ.js +297 -0
- package/dist/cloudflare-Fqiw0PwT.js +1 -0
- package/dist/command-B8J0KTC5.js +113 -0
- package/dist/command-B_tgmjMh.js +253 -0
- package/dist/command-DEjZdYUF.js +1 -0
- package/dist/command-DS2EuzYK.js +1 -0
- package/dist/command-mcR8k_HV.js +534 -0
- package/dist/completion-BiXJxPZ9.js +36 -0
- package/dist/completion-CbVmcFV9.js +39 -0
- package/dist/concurrent-DkDp6F4m.js +83 -0
- package/dist/config-4UrkUWxr.js +27 -0
- package/dist/config-B-iLUpjx.js +1 -0
- package/dist/config-B55_sHr5.js +14 -0
- package/dist/config-CWBXI-si.js +137 -0
- package/dist/create-Dy7hger6.js +20 -0
- package/dist/creds-DgLGg0OY.js +142 -0
- package/dist/creds-RiwicGw4.js +1 -0
- package/dist/d1-local-GmVnxPO4.js +47 -0
- package/dist/deploy-BBRBn_M4.js +190 -0
- package/dist/deploy-C_QOMOcM.js +1 -0
- package/dist/deps-CdBkTN7j.js +343 -0
- package/dist/dev-BZJD6OIV.js +109 -0
- package/dist/devices-DDv6rotc.js +1 -0
- package/dist/devices-Se92FvRm.js +530 -0
- package/dist/discover-C3nPq8O7.js +1 -0
- package/dist/discover-CAt8csSs.js +33 -0
- package/dist/doctor-BnNmJ3F0.js +63 -0
- package/dist/dotenv-C-L798Jx.js +1 -0
- package/dist/dotenv-DK7phuY3.js +80 -0
- package/dist/dump-CI3A09n5.js +53 -0
- package/dist/entries-B2AZnsYS.js +284 -0
- package/dist/errors-BO9WKUaF.js +20 -0
- package/dist/errors-q8HX0_8p.js +1 -0
- package/dist/exec-CGau45Vt.js +35 -0
- package/dist/export-Dou4TN6P.js +64 -0
- package/dist/fastlane-DOOIW8Bv.js +32 -0
- package/dist/fastlane-DY9nrA1Z.js +1 -0
- package/dist/fastlane-DjJlMdod.js +137 -0
- package/dist/fixes-BPJohmIs.js +115 -0
- package/dist/fixes-BRULlGZH.js +1 -0
- package/dist/fixtures-C_BKaJkW.js +3 -0
- package/dist/fixtures-kSnSse-E.js +568 -0
- package/dist/format-B9P7cwGa.js +30 -0
- package/dist/git-DS1oA148.js +213 -0
- package/dist/git-oL5tg3JB.js +1 -0
- package/dist/github-hbUxSgvC.js +91 -0
- package/dist/gradle-DCCSshhi.js +21 -0
- package/dist/index.d.ts +527 -9
- package/dist/index.js +9 -52
- package/dist/init-BWwVzmNd.js +62 -0
- package/dist/init-CM9_Vffq.js +522 -0
- package/dist/init-se_v7omf.js +72 -0
- package/dist/install-BYaBSSTu.js +1 -0
- package/dist/install-BwbPiWQ4.js +49 -0
- package/dist/install-CHWJxqqA.js +305 -0
- package/dist/ios-BEwVaO46.js +46 -0
- package/dist/kit-copy-BGFT7-eF.js +83 -0
- package/dist/kit-copy-BdBUHLSS.js +1 -0
- package/dist/kitref-D5EszLHl.js +1 -0
- package/dist/kitref-JXE2rWhj.js +100 -0
- package/dist/kotlin-D8HWnUzo.js +17 -0
- package/dist/lint-Cgq_H-NN.js +31 -0
- package/dist/list-1NXRSisF.js +20 -0
- package/dist/list-D0Qc5Qet.js +53 -0
- package/dist/load-BisdxdeI.js +45 -0
- package/dist/load-DKsm40If.js +169 -0
- package/dist/load-DtAHfNBQ.js +83 -0
- package/dist/load-DuQu-YA7.js +1 -0
- package/dist/log-CEcT9mjr.js +1 -0
- package/dist/log-jfLnWjfH.js +46 -0
- package/dist/logs-DG91Koht.js +51 -0
- package/dist/maestro-BSGMnT75.js +19 -0
- package/dist/maestro-Bd02kktp.js +160 -0
- package/dist/maestro-DKJ2SJeq.js +94 -0
- package/dist/main-Cnazq_l_.js +395 -0
- package/dist/metadata-CIIZa00_.js +657 -0
- package/dist/metadata-_t6U_Pi4.js +1 -0
- package/dist/migrate-BeBNQQ23.js +16 -0
- package/dist/migrate-command-PYN2AamL.js +295 -0
- package/dist/migrate-gonPH0WH.js +24 -0
- package/dist/mobile-DlJmxm4l.js +406 -0
- package/dist/mobile-dAnl58hp.js +1 -0
- package/dist/module-UMYvU8pS.js +117 -0
- package/dist/notes-Bdduo3ph.js +30 -0
- package/dist/notes-C7bDoJcD.js +1 -0
- package/dist/open-BHqqqGnv.js +72 -0
- package/dist/package-BVKRcQpC.js +5 -0
- package/dist/pages-CR7DZpWH.js +22 -0
- package/dist/pages-command-C4NlM9ry.js +350 -0
- package/dist/pick-Bm8e8uYD.js +160 -0
- package/dist/pick-Bu_cPUas.js +1 -0
- package/dist/plan-B_a5uNak.js +128 -0
- package/dist/plan-CcvMZsas.js +696 -0
- package/dist/plan-NaiIzubU.js +1 -0
- package/dist/pm-DKb81DKk.js +1 -0
- package/dist/pm-pcSPQYCu.js +79 -0
- package/dist/png-CYbxsNFm.js +270 -0
- package/dist/preflight-BQKjK3Mg.js +23 -0
- package/dist/proc-Bvvv4XbJ.js +1 -0
- package/dist/proc-WkAakwUC.js +218 -0
- package/dist/project-BO8s1Nwj.js +245 -0
- package/dist/promote-B1ZbzFS-.js +236 -0
- package/dist/promote-bk2Q8_L8.js +58 -0
- package/dist/prompt-BDNW2kJ2.js +1 -0
- package/dist/prompt-C0xPjGLR.js +80 -0
- package/dist/pull-Ch2Kz45B.js +28 -0
- package/dist/push-Cebz1M40.js +28 -0
- package/dist/push-Dph9Y38u.js +148 -0
- package/dist/push-EICF6s2a.js +62 -0
- package/dist/push-run-DXt7HOwQ.js +122 -0
- package/dist/qa-HDgx98qK.js +29 -0
- package/dist/render-BdsHMSvL.js +1 -0
- package/dist/render-Cp6zu41s.js +137 -0
- package/dist/render-roL1FmEH.js +302 -0
- package/dist/repair-CFNd7vN4.js +77 -0
- package/dist/reset-CwitJFp3.js +94 -0
- package/dist/restore-fT4mQq6w.js +109 -0
- package/dist/rollback-DQ9c6iV4.js +114 -0
- package/dist/rollout-gCQfGJW5.js +43 -0
- package/dist/rollout-hOEm0hZ9.js +144 -0
- package/dist/rotate-CWoDNN2_.js +65 -0
- package/dist/rotate-DnmY2rlY.js +172 -0
- package/dist/run-BSsdEdwU.js +50 -0
- package/dist/scaffold--FB-iFfy.js +1 -0
- package/dist/scaffold-B5OFkcou.js +311 -0
- package/dist/schema-D-5sWO5A.js +388 -0
- package/dist/secrets-BIStexgu.js +64 -0
- package/dist/secrets-CP1AnRbb.js +1 -0
- package/dist/seed-BJcU14Jr.js +24 -0
- package/dist/service-BHJDfoHf.js +114 -0
- package/dist/shots-DNcpoKfE.js +34 -0
- package/dist/shots-editor/assets/index-B9fyKikJ.css +2 -0
- package/dist/shots-editor/assets/index-BR5ZXxM4.js +244 -0
- package/dist/shots-editor/index.html +13 -0
- package/dist/shots-page.js +650 -564
- package/dist/show-e4oWpeIr.js +33 -0
- package/dist/sizes-CckOOSmE.js +1 -0
- package/dist/sizes-DQoBHANb.js +237 -0
- package/dist/status-BKF9wQDI.js +164 -0
- package/dist/status-CBfRGcak.js +1 -0
- package/dist/status-DgwgkAcK.js +15 -0
- package/dist/statusbar-BOLryuT7.js +56 -0
- package/dist/statusbar-C-5zclXZ.js +139 -0
- package/dist/statusbar-DmyLm4AT.js +1 -0
- package/dist/steps-BuNBR4xM.js +1 -0
- package/dist/steps-D7yIe5Ik.js +144 -0
- package/dist/studio-CjuQWgLj.js +393 -0
- package/dist/studio-SnhFnjKt.js +31 -0
- package/dist/suites-BHqxW32z.js +62 -0
- package/dist/suites-Ceg_mWy8.js +1 -0
- package/dist/sync-CzHA61P_.js +42 -0
- package/dist/target-tTLR9jzh.js +75 -0
- package/dist/targets-8X6fH7Mq.js +410 -0
- package/dist/targets-e5GoRwSs.js +1 -0
- package/dist/test-BlaVtdkO.js +17 -0
- package/dist/toml-BNhXFtqS.js +1 -0
- package/dist/toml-CdgZF4rj.js +73 -0
- package/dist/toolchain-DD2LqADU.js +1 -0
- package/dist/toolchain-Drbw2hx9.js +216 -0
- package/dist/typecheck-BqGdQvhM.js +17 -0
- package/dist/types-B33pT1hg.js +311 -0
- package/dist/uninstall-pc75zzh4.js +34 -0
- package/dist/upgrade-CuTsADCQ.js +112 -0
- package/dist/version-B5FFFYiV.js +1 -0
- package/dist/version-BP9DAmFX.js +133 -0
- package/dist/worker-BP2x5ONk.js +338 -0
- package/dist/worker-CbVQTdeT.js +1 -0
- package/dist/wrangler-DQIQQkT5.js +27 -0
- package/dist/xcode-DUgCKDwE.js +61 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.module → 0.8.0/kit-plugins-0.8.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.pom → 0.8.0/kit-plugins-0.8.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.module → 0.8.0/kit-settings-0.8.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.pom → 0.8.0/kit-settings-0.8.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom → 0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/package.json +15 -6
- package/templates/add/maestro/README.md +142 -0
- package/templates/add/maestro/config.yaml +4 -0
- package/templates/add/maestro/flows/smoke.yaml +20 -0
- package/templates/add/maestro/subflows/settle.yaml +23 -0
- package/dist/_preview-g0s46wbd.js +0 -186
- package/dist/_verb-g6837n2y.js +0 -173
- package/dist/android-17z0stcg.js +0 -60
- package/dist/apply-5531ynqp.js +0 -118
- package/dist/backup-ev2amscz.js +0 -67
- package/dist/bin-q60acre8.js +0 -15
- package/dist/boot-6t7jn0jp.js +0 -52
- package/dist/build-6rp8qsab.js +0 -46
- package/dist/build-m9z9pfdh.js +0 -21
- package/dist/build-wdysb1g7.js +0 -53
- package/dist/builtins-vh45v6hz.js +0 -10
- package/dist/bump-rce7k3yk.js +0 -202
- package/dist/certs-x8ds6gcq.js +0 -76
- package/dist/changelog-70znsn6a.js +0 -130
- package/dist/changelog-ans0k88j.js +0 -120
- package/dist/check-5p1nvffh.js +0 -38
- package/dist/check-snsfxv4x.js +0 -72
- package/dist/clean-j1aan7n6.js +0 -93
- package/dist/clean-jdky4kys.js +0 -237
- package/dist/cleanup-hrcvxmh2.js +0 -18
- package/dist/clear-exmjhx8t.js +0 -43
- package/dist/cli/builtins.d.ts +0 -13
- package/dist/cli/command.d.ts +0 -106
- package/dist/cli/discover.d.ts +0 -10
- package/dist/cli/main.d.ts +0 -1
- package/dist/cli/plugin.d.ts +0 -7
- package/dist/cli/usage.d.ts +0 -3
- package/dist/cli-0f3m8qma.js +0 -127
- package/dist/cli-0gq9ayk0.js +0 -97
- package/dist/cli-0h5bs7he.js +0 -37
- package/dist/cli-0pgyxzex.js +0 -776
- package/dist/cli-17hmeca5.js +0 -394
- package/dist/cli-19me2qqg.js +0 -1056
- package/dist/cli-1j74pfjc.js +0 -466
- package/dist/cli-28nya88s.js +0 -73
- package/dist/cli-2ja6z124.js +0 -127
- package/dist/cli-2nw36t7w.js +0 -135
- package/dist/cli-2vx7vz1p.js +0 -64
- package/dist/cli-3f9s5j76.js +0 -150
- package/dist/cli-3nqkyv98.js +0 -517
- package/dist/cli-540nme4e.js +0 -46
- package/dist/cli-5d61x8vg.js +0 -675
- package/dist/cli-5mqj72g1.js +0 -54
- package/dist/cli-5wasc5mr.js +0 -76
- package/dist/cli-5ws4pqz1.js +0 -61
- package/dist/cli-78x6rdyd.js +0 -202
- package/dist/cli-7wvrehng.js +0 -23
- package/dist/cli-8qgqecpv.js +0 -35
- package/dist/cli-9jt7ffg6.js +0 -2043
- package/dist/cli-9jv0j32a.js +0 -167
- package/dist/cli-aca1bbxq.js +0 -77
- package/dist/cli-af51pbj8.js +0 -123
- package/dist/cli-b4qnnrsp.js +0 -35
- package/dist/cli-cj4hjqac.js +0 -326
- package/dist/cli-e7kt35ys.js +0 -218
- package/dist/cli-ey6trdpc.js +0 -11
- package/dist/cli-f68dq32t.js +0 -282
- package/dist/cli-fgxfjapz.js +0 -234
- package/dist/cli-fqxtcj42.js +0 -75
- package/dist/cli-g519ev8e.js +0 -89
- package/dist/cli-j47q7z51.js +0 -98
- package/dist/cli-k3q2s02f.js +0 -54
- package/dist/cli-m2zc03pj.js +0 -106
- package/dist/cli-nnj05pns.js +0 -41
- package/dist/cli-p7bb5zr2.js +0 -14
- package/dist/cli-pd4aspw0.js +0 -208
- package/dist/cli-py23qtsd.js +0 -132
- package/dist/cli-qq1ktr8q.js +0 -234
- package/dist/cli-qr7pzwpv.js +0 -67
- package/dist/cli-qsc39jca.js +0 -275
- package/dist/cli-r2zaznxh.js +0 -123
- package/dist/cli-re3ntm60.js +0 -48
- package/dist/cli-s4bb7m1c.js +0 -407
- package/dist/cli-thr9xsnm.js +0 -109
- package/dist/cli-v5ahh2k7.js +0 -462
- package/dist/cli-vrtkz6f0.js +0 -124
- package/dist/cli-w3yfxvfc.js +0 -85
- package/dist/cli-w7nrc7bk.js +0 -267
- package/dist/cli-wrzdcgnt.js +0 -82
- package/dist/cli-y3mjprpv.js +0 -31
- package/dist/cli-ynsy144r.js +0 -196
- package/dist/cloudflare-mkq6s4p7.js +0 -51
- package/dist/command-05jwq2ce.js +0 -1108
- package/dist/command-jqp93n3b.js +0 -269
- package/dist/command-nmgz9x53.js +0 -21
- package/dist/commands/_affected.d.ts +0 -11
- package/dist/commands/_preview.d.ts +0 -12
- package/dist/commands/_verb.d.ts +0 -15
- package/dist/commands/add/module.d.ts +0 -25
- package/dist/commands/add/target.d.ts +0 -17
- package/dist/commands/app/build.d.ts +0 -11
- package/dist/commands/app/clear.d.ts +0 -7
- package/dist/commands/app/install.d.ts +0 -15
- package/dist/commands/app/run.d.ts +0 -15
- package/dist/commands/app/uninstall.d.ts +0 -7
- package/dist/commands/build.d.ts +0 -19
- package/dist/commands/changelog.d.ts +0 -30
- package/dist/commands/check.d.ts +0 -16
- package/dist/commands/clean.d.ts +0 -7
- package/dist/commands/completion.d.ts +0 -15
- package/dist/commands/config.d.ts +0 -2
- package/dist/commands/db/backup.d.ts +0 -16
- package/dist/commands/db/create.d.ts +0 -7
- package/dist/commands/db/exec.d.ts +0 -16
- package/dist/commands/db/list.d.ts +0 -11
- package/dist/commands/db/migrate.d.ts +0 -11
- package/dist/commands/db/reset.d.ts +0 -11
- package/dist/commands/db/restore.d.ts +0 -11
- package/dist/commands/db/seed.d.ts +0 -11
- package/dist/commands/deploy.d.ts +0 -26
- package/dist/commands/deps.d.ts +0 -72
- package/dist/commands/dev.d.ts +0 -8
- package/dist/commands/device/boot.d.ts +0 -7
- package/dist/commands/device/list.d.ts +0 -7
- package/dist/commands/device/statusbar.d.ts +0 -11
- package/dist/commands/doctor.d.ts +0 -20
- package/dist/commands/env/check.d.ts +0 -7
- package/dist/commands/env/init.d.ts +0 -2
- package/dist/commands/env/push.d.ts +0 -20
- package/dist/commands/env/rotate.d.ts +0 -7
- package/dist/commands/env/sync.d.ts +0 -2
- package/dist/commands/fastlane.d.ts +0 -2
- package/dist/commands/fixture/dump.d.ts +0 -7
- package/dist/commands/fixture/load.d.ts +0 -7
- package/dist/commands/format.d.ts +0 -19
- package/dist/commands/gradle.d.ts +0 -2
- package/dist/commands/init.d.ts +0 -99
- package/dist/commands/kotlin.d.ts +0 -2
- package/dist/commands/lint.d.ts +0 -20
- package/dist/commands/logs.d.ts +0 -8
- package/dist/commands/maestro.d.ts +0 -2
- package/dist/commands/open.d.ts +0 -13
- package/dist/commands/qa.d.ts +0 -31
- package/dist/commands/release/android.d.ts +0 -30
- package/dist/commands/release/certs.d.ts +0 -7
- package/dist/commands/release/ios.d.ts +0 -22
- package/dist/commands/release/metadata/pull.d.ts +0 -11
- package/dist/commands/release/metadata/push.d.ts +0 -11
- package/dist/commands/release/promote.d.ts +0 -35
- package/dist/commands/release/rollback.d.ts +0 -7
- package/dist/commands/release/rollout.d.ts +0 -23
- package/dist/commands/release/service.d.ts +0 -6
- package/dist/commands/release/status.d.ts +0 -2
- package/dist/commands/shots/export.d.ts +0 -29
- package/dist/commands/shots.d.ts +0 -31
- package/dist/commands/test.d.ts +0 -11
- package/dist/commands/typecheck.d.ts +0 -11
- package/dist/commands/upgrade.d.ts +0 -9
- package/dist/commands/version/bump.d.ts +0 -17
- package/dist/commands/version/show.d.ts +0 -2
- package/dist/commands/wrangler.d.ts +0 -2
- package/dist/commands/xcode.d.ts +0 -10
- package/dist/completion-g8bjf46s.js +0 -36
- package/dist/completion-n9yqehnf.js +0 -38
- package/dist/concurrent-atba349a.js +0 -96
- package/dist/config/load.d.ts +0 -28
- package/dist/config/schema.d.ts +0 -231
- package/dist/config-45ts3ey1.js +0 -31
- package/dist/config-d7h13gsg.js +0 -22
- package/dist/create-pzjz0d84.js +0 -38
- package/dist/creds-kgbnkj91.js +0 -34
- package/dist/d1-local-mpc7ykq4.js +0 -62
- package/dist/deploy-napjwj8w.js +0 -18
- package/dist/deps-7xxc0a5z.js +0 -334
- package/dist/dev-z4s47pvj.js +0 -114
- package/dist/discover-9egde25c.js +0 -14
- package/dist/doctor-nhn8fsqn.js +0 -153
- package/dist/dotenv-bsk2m68j.js +0 -15
- package/dist/dump-4s2wbydq.js +0 -60
- package/dist/entries-358fsdbg.js +0 -311
- package/dist/errors-1fjbr7ee.js +0 -10
- package/dist/exec-f7s2cper.js +0 -53
- package/dist/export-1eszfz4q.js +0 -65
- package/dist/fastlane-8yepfr2p.js +0 -26
- package/dist/fastlane-faays7j0.js +0 -38
- package/dist/fixes-nyvcnb08.js +0 -27
- package/dist/format-tt14cck9.js +0 -43
- package/dist/git-qyqfbf8e.js +0 -36
- package/dist/github-em8sgwvy.js +0 -95
- package/dist/gradle-zgbmvvej.js +0 -39
- package/dist/index-cx34x4np.js +0 -874
- package/dist/index-erv82p4z.js +0 -1528
- package/dist/index-gqmhnjkq.js +0 -49
- package/dist/index-jqfz6hfy.js +0 -2659
- package/dist/index-mm4ht8yh.js +0 -9
- package/dist/index-s3ehw02w.js +0 -1610
- package/dist/index-tvegt8ab.js +0 -25
- package/dist/init-025v8xjs.js +0 -464
- package/dist/init-dyd1b74n.js +0 -80
- package/dist/init-ktq9qfgk.js +0 -78
- package/dist/install-c87y65cw.js +0 -50
- package/dist/install-wz1de5cv.js +0 -35
- package/dist/ios-yas39gap.js +0 -50
- package/dist/kitref-p727zpk7.js +0 -24
- package/dist/kotlin-66qna77x.js +0 -31
- package/dist/lib/add/apply.d.ts +0 -25
- package/dist/lib/add/edits.d.ts +0 -57
- package/dist/lib/add/plan.d.ts +0 -98
- package/dist/lib/add/settings.d.ts +0 -20
- package/dist/lib/app/build.d.ts +0 -35
- package/dist/lib/app/config.d.ts +0 -21
- package/dist/lib/app/install.d.ts +0 -53
- package/dist/lib/changelog.d.ts +0 -51
- package/dist/lib/chrome.d.ts +0 -19
- package/dist/lib/clean.d.ts +0 -85
- package/dist/lib/cleanup.d.ts +0 -21
- package/dist/lib/cloudflare.d.ts +0 -121
- package/dist/lib/completion.d.ts +0 -33
- package/dist/lib/concurrent.d.ts +0 -21
- package/dist/lib/d1-local.d.ts +0 -29
- package/dist/lib/devices/index.d.ts +0 -96
- package/dist/lib/devices/pick.d.ts +0 -52
- package/dist/lib/devices/statusbar.d.ts +0 -4
- package/dist/lib/doctor/checks.d.ts +0 -134
- package/dist/lib/doctor/entries.d.ts +0 -34
- package/dist/lib/doctor/fixes.d.ts +0 -64
- package/dist/lib/doctor/repair.d.ts +0 -18
- package/dist/lib/dotenv.d.ts +0 -52
- package/dist/lib/env/github.d.ts +0 -32
- package/dist/lib/env/init.d.ts +0 -22
- package/dist/lib/env/load.d.ts +0 -12
- package/dist/lib/env/push-run.d.ts +0 -62
- package/dist/lib/env/push.d.ts +0 -54
- package/dist/lib/env/render.d.ts +0 -53
- package/dist/lib/env/rotate.d.ts +0 -24
- package/dist/lib/env/schema.d.ts +0 -69
- package/dist/lib/errors.d.ts +0 -14
- package/dist/lib/fastlane.d.ts +0 -39
- package/dist/lib/fixtures/android.d.ts +0 -33
- package/dist/lib/fixtures/config.d.ts +0 -73
- package/dist/lib/fixtures/index.d.ts +0 -20
- package/dist/lib/fixtures/ios.d.ts +0 -13
- package/dist/lib/fixtures/stage.d.ts +0 -37
- package/dist/lib/git.d.ts +0 -78
- package/dist/lib/image/png.d.ts +0 -39
- package/dist/lib/kitref.d.ts +0 -35
- package/dist/lib/log.d.ts +0 -17
- package/dist/lib/maestro/args.d.ts +0 -23
- package/dist/lib/maestro/bin.d.ts +0 -10
- package/dist/lib/maestro/command.d.ts +0 -16
- package/dist/lib/maestro/lint.d.ts +0 -14
- package/dist/lib/maestro/run.d.ts +0 -79
- package/dist/lib/maestro/suites.d.ts +0 -24
- package/dist/lib/pm.d.ts +0 -13
- package/dist/lib/proc.d.ts +0 -78
- package/dist/lib/prompt.d.ts +0 -32
- package/dist/lib/release/creds.d.ts +0 -50
- package/dist/lib/release/listing-images.d.ts +0 -86
- package/dist/lib/release/metadata.d.ts +0 -81
- package/dist/lib/release/mobile.d.ts +0 -64
- package/dist/lib/release/notes.d.ts +0 -15
- package/dist/lib/release/preflight.d.ts +0 -30
- package/dist/lib/release/promote.d.ts +0 -58
- package/dist/lib/release/rollout.d.ts +0 -33
- package/dist/lib/release/status.d.ts +0 -52
- package/dist/lib/release/version.d.ts +0 -53
- package/dist/lib/scaffold.d.ts +0 -104
- package/dist/lib/secrets.d.ts +0 -32
- package/dist/lib/steps.d.ts +0 -48
- package/dist/lib/storeshots/command.d.ts +0 -3
- package/dist/lib/storeshots/fonts.d.ts +0 -14
- package/dist/lib/storeshots/page/background.d.ts +0 -6
- package/dist/lib/storeshots/page/device-frames.d.ts +0 -16
- package/dist/lib/storeshots/page/main.d.ts +0 -1
- package/dist/lib/storeshots/page/renderer.d.ts +0 -17
- package/dist/lib/storeshots/page-bundle.d.ts +0 -7
- package/dist/lib/storeshots/plan.d.ts +0 -25
- package/dist/lib/storeshots/project.d.ts +0 -169
- package/dist/lib/storeshots/render.d.ts +0 -20
- package/dist/lib/storeshots/server.d.ts +0 -29
- package/dist/lib/storeshots/sizes.d.ts +0 -121
- package/dist/lib/storeshots/types.d.ts +0 -397
- package/dist/lib/storeshots/write.d.ts +0 -11
- package/dist/lib/targets.d.ts +0 -69
- package/dist/lib/toml.d.ts +0 -15
- package/dist/lib/toolchain.d.ts +0 -59
- package/dist/lib/worker.d.ts +0 -128
- package/dist/lint-hx7b83kn.js +0 -43
- package/dist/list-ks9e93rx.js +0 -61
- package/dist/list-xxsdc51s.js +0 -34
- package/dist/load-1fxmvh9n.js +0 -51
- package/dist/load-8y6s655t.js +0 -170
- package/dist/load-ak66yg9j.js +0 -27
- package/dist/log-g1ebh60s.js +0 -15
- package/dist/logs-zjbmpm40.js +0 -62
- package/dist/maestro-zw9p32cc.js +0 -30
- package/dist/main-1v5dgfdb.js +0 -1747
- package/dist/metadata-4jn2zdsm.js +0 -44
- package/dist/migrate-2a66bm3x.js +0 -38
- package/dist/mobile-0m026dzx.js +0 -40
- package/dist/module-2bn1p66a.js +0 -119
- package/dist/notes-pyvrbdgg.js +0 -21
- package/dist/open-rn88e9c5.js +0 -73
- package/dist/pick-a90zx6sr.js +0 -26
- package/dist/picocolors-0dxagz5d.js +0 -6
- package/dist/plan-av9jwvvk.js +0 -651
- package/dist/pm-ay4nmeps.js +0 -16
- package/dist/proc-8ewt3hs4.js +0 -35
- package/dist/promote-8g49cxj1.js +0 -63
- package/dist/promote-eezgfcm6.js +0 -290
- package/dist/prompt-3wwegvqc.js +0 -15
- package/dist/pull-0cjcf2jg.js +0 -39
- package/dist/push-qndrsnvg.js +0 -63
- package/dist/push-run-y2gb3a0r.js +0 -148
- package/dist/push-ysd4zzad.js +0 -44
- package/dist/qa-ha84kjzm.js +0 -40
- package/dist/render-hkvej41k.js +0 -24
- package/dist/repair-6989jrqg.js +0 -104
- package/dist/reset-710zhbbj.js +0 -110
- package/dist/restore-b744ykwg.js +0 -122
- package/dist/rollback-3vkb819m.js +0 -134
- package/dist/rollout-kdfmvwwv.js +0 -56
- package/dist/rollout-z1r0r7h1.js +0 -188
- package/dist/rotate-762tg2z9.js +0 -80
- package/dist/rotate-q5psaddv.js +0 -168
- package/dist/run-k2w6qqms.js +0 -56
- package/dist/scaffold-5mzc135g.js +0 -37
- package/dist/secrets-5hej44bb.js +0 -24
- package/dist/seed-9xw8ppn9.js +0 -37
- package/dist/service-n6kgj7ba.js +0 -111
- package/dist/shots-byejd6g2.js +0 -46
- package/dist/show-47xz48ea.js +0 -50
- package/dist/sizes-3kpjxm9h.js +0 -51
- package/dist/status-fk3frgy1.js +0 -41
- package/dist/status-stvsvpn3.js +0 -29
- package/dist/statusbar-tkznwzqz.js +0 -15
- package/dist/statusbar-x2rjwbz5.js +0 -55
- package/dist/steps-t6q8yxbb.js +0 -22
- package/dist/sync-7d7v2f5r.js +0 -53
- package/dist/target-hpmjbrrh.js +0 -78
- package/dist/targets-vvzvaskd.js +0 -32
- package/dist/test-f07bcpby.js +0 -31
- package/dist/toml-3fxsdkhr.js +0 -14
- package/dist/toolchain-wd7hh812.js +0 -41
- package/dist/typecheck-ztfs5rb9.js +0 -28
- package/dist/uninstall-q8ewxkdr.js +0 -43
- package/dist/upgrade-g67qx155.js +0 -127
- package/dist/version-mnds3q7r.js +0 -39
- package/dist/worker-661hvwnb.js +0 -59
- package/dist/wrangler-mvnagswd.js +0 -46
- package/dist/xcode-h3nt62t8.js +0 -75
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha512 +0 -1
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.jar → 0.8.0/kit-plugins-0.8.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.jar.md5 → 0.8.0/kit-plugins-0.8.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.jar.sha1 → 0.8.0/kit-plugins-0.8.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.jar.sha256 → 0.8.0/kit-plugins-0.8.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.7.0/kit-plugins-0.7.0.jar.sha512 → 0.8.0/kit-plugins-0.8.0.jar.sha512} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.jar → 0.8.0/kit-settings-0.8.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.jar.md5 → 0.8.0/kit-settings-0.8.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.jar.sha1 → 0.8.0/kit-settings-0.8.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.jar.sha256 → 0.8.0/kit-settings-0.8.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.7.0/kit-settings-0.7.0.jar.sha512 → 0.8.0/kit-settings-0.8.0.jar.sha512} +0 -0
package/README.md
CHANGED
|
@@ -11,6 +11,20 @@ kit --help
|
|
|
11
11
|
Install it globally too (`bun add -g @jordond/kit`) to get `kit` on your `PATH`: the global launcher finds
|
|
12
12
|
the nearest `kit.config.ts` and runs that repo's own pinned copy.
|
|
13
13
|
|
|
14
|
+
Keep the global kit at least as new as the repos it is used in. A launcher only knows the repo layouts
|
|
15
|
+
of its own release, so an older global kit can miss a newer repo's copy. kit guards against running
|
|
16
|
+
the wrong copy:
|
|
17
|
+
|
|
18
|
+
- A kit that finds the repo's own copy installed, and is not that copy, runs the repo's copy instead.
|
|
19
|
+
- A kit whose version the repo's pin excludes, in a repo whose copy is not installed, stops with exit 4
|
|
20
|
+
and names the install to run. `kit doctor`, `kit upgrade`, `kit init`, `--help` and `-V` still run,
|
|
21
|
+
with a warning.
|
|
22
|
+
- `kit doctor` warns when the `kit` on `PATH` is older than the repo's (`bun add -g @jordond/kit@<version>`).
|
|
23
|
+
|
|
24
|
+
Kits before this guard cannot check themselves: update a global kit older than 0.8 by hand.
|
|
25
|
+
|
|
26
|
+
Every `kit.config.ts` field, with defaults and full examples: [docs/CONFIG.md](docs/CONFIG.md).
|
|
27
|
+
|
|
14
28
|
### Install dir: the root or `.kit/`
|
|
15
29
|
|
|
16
30
|
kit is a dev dependency in the root `package.json`, or in `.kit/package.json` for repos that must not have
|
|
@@ -54,16 +68,17 @@ kit init --template toolchain --dry-run
|
|
|
54
68
|
- A file that already exists is kept; `.gitignore` and the catalog only gain lines. `renovate.json` is
|
|
55
69
|
skipped when the repo has a Renovate config anywhere (`.github/renovate.json`, `.renovaterc`, …).
|
|
56
70
|
|
|
57
|
-
## Adding modules and
|
|
71
|
+
## Adding modules, targets and Maestro flows
|
|
58
72
|
|
|
59
|
-
`kit add` scaffolds into a repo that already has kit.
|
|
60
|
-
with `--dry-run`, and
|
|
73
|
+
`kit add` scaffolds into a repo that already has kit. Every command shows the plan first, writes nothing
|
|
74
|
+
with `--dry-run`, and prints the plan or result as one document with `--json`.
|
|
61
75
|
|
|
62
76
|
```sh
|
|
63
77
|
kit add module core # KMP library: android, ios, jvm
|
|
64
78
|
kit add module feature:login --compose # <gradle root>/feature/login, plus kit.compose
|
|
65
79
|
kit add module data --targets android,jvm --dir libs/data
|
|
66
80
|
kit add target api --kind worker --dir apps/api # worker | vite | astro | docker | custom
|
|
81
|
+
kit add maestro # starter flows, settle subflow, README with the rules
|
|
67
82
|
```
|
|
68
83
|
|
|
69
84
|
| | Gradle (`gradle.root`) | Kotlin toolchain (`toolchain.root`) |
|
|
@@ -86,6 +101,34 @@ kit add target api --kind worker --dir apps/api # worker | vite | astro | docke
|
|
|
86
101
|
- `--kind worker` with a `--dir` that does not exist yet also writes a minimal worker: `wrangler.jsonc`
|
|
87
102
|
(placeholder name, no account id), `src/index.ts`, `package.json`, `tsconfig.json`. An existing directory
|
|
88
103
|
is only registered; other kinds get an empty directory when it is missing.
|
|
104
|
+
- `kit add maestro [--dir <path>] [--ios <bundle id>] [--android <package>]` writes the starter Maestro
|
|
105
|
+
flows (see [Maestro: QA and screenshots](#maestro-qa-and-screenshots)); its own rules are below.
|
|
106
|
+
|
|
107
|
+
### `kit add maestro`
|
|
108
|
+
|
|
109
|
+
| File (under the flows dir) | Holds |
|
|
110
|
+
| --- | --- |
|
|
111
|
+
| `config.yaml` | `flows: [flows/*]`, so `maestro test` never runs a subflow as a flow |
|
|
112
|
+
| `flows/smoke.yaml` | One example flow: launch with permissions granted, then the settle subflow. Tagged with the first stage of the `qa` suite (`smoke` by default) so `kit qa` runs it |
|
|
113
|
+
| `subflows/settle.yaml` | The settle gate: wait for content (`SETTLED`), then for animation to end |
|
|
114
|
+
| `README.md` | The rules: the settle gate, motion, boolean launch switches, taps that lie, what to gate on, no pixel baselines, device state |
|
|
115
|
+
| `.gitignore` | `output/`, Maestro's run directories |
|
|
116
|
+
|
|
117
|
+
- The flows dir is `maestro.dir` from the config, else `--dir`, else `maestro`. With no `maestro` block the
|
|
118
|
+
command adds `maestro: { dir, version }` to `kit.config.ts` by the same text edit `kit add target` uses.
|
|
119
|
+
A config it cannot edit safely is left alone, nothing is written, the line to paste goes to stdout and the
|
|
120
|
+
exit code is 1; paste it and run the command again.
|
|
121
|
+
- App ids: `--ios` / `--android`, else `app.*` in the config, else `release.*`. With none and a terminal it
|
|
122
|
+
asks once and uses the answer for both platforms; without a terminal it exits 2 naming the flags. Two
|
|
123
|
+
different ids make the smoke flow launch the right one per platform (`when: platform:`).
|
|
124
|
+
- A file that exists is kept, not an error: a second run prints `nothing to write` (`--json`: `unchanged: true`),
|
|
125
|
+
and a deleted file comes back without touching the others. `--force` overwrites them all. `--dir` cannot be
|
|
126
|
+
the repo root or a hidden directory (`.`, `.github`): exit 2.
|
|
127
|
+
- The `.gitignore` entry follows `maestro.output` when it sits under the flows dir; otherwise the README says
|
|
128
|
+
to ignore it. The README also explains that `maestro.version` is pinned on purpose and how to change it.
|
|
129
|
+
- Ids and tags are quoted in the YAML when needed (`null`, `yes`, a `:`).
|
|
130
|
+
- `flows/smoke.yaml` gates on the placeholder `Replace with text from your first screen`, which is not on
|
|
131
|
+
any screen, so it fails until you pick a string from your fixture. A gate that cannot fail is not a gate.
|
|
89
132
|
|
|
90
133
|
## Keeping kit up to date
|
|
91
134
|
|
|
@@ -220,6 +263,27 @@ a terminal that question needs `--yes`. `uninstall`, `clear` and `statusbar` nev
|
|
|
220
263
|
(otherwise `google_apis`, then AOSP). In CI the emulator starts headless.
|
|
221
264
|
`KIT_DEVICE_TIMEOUT_MS` changes the four minutes an emulator boot may take.
|
|
222
265
|
|
|
266
|
+
**Emulator arguments.** kit starts the emulator as `emulator -avd <avd>`, the headless flags in CI, then
|
|
267
|
+
any extra arguments from two places, in this order:
|
|
268
|
+
|
|
269
|
+
```ts
|
|
270
|
+
// kit.config.ts: an API 37 Play image plays no video without this
|
|
271
|
+
devices: { android: { emulatorArgs: ['-feature', '-HardwareDecoder'] } },
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
```sh
|
|
275
|
+
# this machine only: the shell, or the repo's .env (Bun loads it before kit starts)
|
|
276
|
+
KIT_EMULATOR_ARGS='-packet-streamer-endpoint default'
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
The config holds what the project needs on every machine, so it is committed; `KIT_EMULATOR_ARGS` holds
|
|
280
|
+
what this machine needs (a stale `netsimd` from another session) and stays out of the repo. It is split
|
|
281
|
+
on whitespace, with `'…'` and `"…"` keeping an argument that has spaces together. kit picks the AVD, so
|
|
282
|
+
`-avd` and `@name` are refused. The arguments apply to every command that boots the emulator
|
|
283
|
+
(`kit device boot android`, `kit qa android`, `kit shots android`, `kit fixture load android`); an
|
|
284
|
+
emulator that is already running keeps the ones it was started with, and kit says so. A boot that times
|
|
285
|
+
out shows the last lines of the emulator's log and where the log is.
|
|
286
|
+
|
|
223
287
|
**What gets built.** `kit app build <ios|android>` builds the debug variant (`--release` for release)
|
|
224
288
|
and prints the artifact path on stdout:
|
|
225
289
|
|
|
@@ -310,7 +374,48 @@ files back, checkpoints SQLite WALs, and replaces the whole fixture dir only whe
|
|
|
310
374
|
do not survive a dump.
|
|
311
375
|
|
|
312
376
|
`kit lint` also runs `maestro check-syntax` over the flows, and `kit doctor` checks the Maestro version
|
|
313
|
-
against `maestro.version` and that Java 17+ is there.
|
|
377
|
+
against `maestro.version` and that Java 17+ is there. `kit add maestro` writes a starter flows directory.
|
|
378
|
+
|
|
379
|
+
### Maestro in CI
|
|
380
|
+
|
|
381
|
+
`.github/workflows/mobile-qa.yml` is a reusable workflow that runs `kit qa`: an iOS simulator on a macOS
|
|
382
|
+
runner and an Android emulator on a Linux runner with KVM, one job each (an Android emulator cannot run on
|
|
383
|
+
an arm64 macOS runner). Pin it by SHA like `mobile-distribute.yml`:
|
|
384
|
+
|
|
385
|
+
```yaml
|
|
386
|
+
on:
|
|
387
|
+
pull_request:
|
|
388
|
+
jobs:
|
|
389
|
+
qa:
|
|
390
|
+
uses: jordond/kit/.github/workflows/mobile-qa.yml@<sha> # vX.Y.Z
|
|
391
|
+
with:
|
|
392
|
+
platform: both # ios | android | both
|
|
393
|
+
suite: '' # a maestro.suites entry; empty = qa
|
|
394
|
+
android-api: '36'
|
|
395
|
+
# API 37 images need these; same as devices.android.emulatorArgs in kit.config.ts
|
|
396
|
+
# emulator-args: -feature -HardwareDecoder
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
| Input | Default | Meaning |
|
|
400
|
+
| --- | --- | --- |
|
|
401
|
+
| `platform` | `both` | `ios`, `android` or `both` |
|
|
402
|
+
| `suite` | empty | `kit qa --suite`; empty runs the `qa` suite |
|
|
403
|
+
| `android-api` | `36` | API level of the Google Play system image the emulator uses |
|
|
404
|
+
| `ios-device` | empty | Simulator name to boot first. Empty skips the explicit boot, so `kit qa ios` uses `maestro.devices.ios`, else the newest, largest iPhone |
|
|
405
|
+
| `emulator-args` | empty | Extra emulator arguments (`KIT_EMULATOR_ARGS`), after `devices.android.emulatorArgs` |
|
|
406
|
+
| `device-timeout-ms` | `600000` | How long kit waits for a device to boot (`KIT_DEVICE_TIMEOUT_MS`) |
|
|
407
|
+
| `maestro-version` | empty | Empty reads `maestro.version` from the config |
|
|
408
|
+
| `bun-version`, `java-version` | `1.3.14`, `21` | Tool versions; Java serves Gradle and Maestro (17 or newer) |
|
|
409
|
+
| `ios-runner`, `android-runner` | `macos-latest`, `ubuntu-latest` | Runner labels |
|
|
410
|
+
| `artifact-name`, `timeout-minutes` | `qa`, `60` | Artifact prefix, job timeout. Artifacts are `<prefix>-<suite>-<platform>` (`qa-qa-ios`, `qa-nightly-android`), so calls with different suites do not collide |
|
|
411
|
+
|
|
412
|
+
Each job installs the repo's dependencies and Java and Gradle, installs Maestro at the pinned version, then
|
|
413
|
+
runs `kit qa`, which boots the device when none is running. On Linux the workflow installs only the chosen
|
|
414
|
+
API's Google Play system image and kit creates the AVD on it (fixtures go through `run-as`, never `adb root`);
|
|
415
|
+
`maestro.devices.android` names an AVD instead. Both jobs upload the Maestro run directories (`maestro.output`,
|
|
416
|
+
default `<maestro.dir>/output`) and a JUnit report as an artifact, pass or fail; the Android artifact also holds
|
|
417
|
+
the emulator log, which is what explains a boot that hung. The repo needs a `maestro` block in `kit.config.ts` and an app kit can build; the workflow takes no secrets, so a
|
|
418
|
+
build that needs some is not covered yet. It has not been run on a hosted runner.
|
|
314
419
|
|
|
315
420
|
### Store screenshots
|
|
316
421
|
|
|
@@ -333,6 +438,28 @@ shots: {
|
|
|
333
438
|
fonts: [{ family: 'Nunito', file: 'brand/fonts/nunito.woff2', weight: '400 800' }],
|
|
334
439
|
brand: { mark: 'brand/logo.svg', wordmark: 'brewd', color: '#2c1e14', font: 'Nunito' },
|
|
335
440
|
sets: { ios: 'iphone-6.9' }, // optional: iphone-6.9 | iphone-6.5 | iphone-6.3
|
|
441
|
+
presets: { sand: { background: { primaryColor: '#f4ecd8' } } }, // optional: style presets for the studio
|
|
442
|
+
palette: ['#2c1e14', '#f4ecd8'], // optional: swatches beside the studio's colour controls
|
|
443
|
+
},
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
**Artwork pages.** `kit shots pages [name...]` renders the HTML pages in `shots.pages` (the App Store
|
|
447
|
+
product page header and search results artwork, for example) with the same headless Chrome, at the pixel
|
|
448
|
+
size you declare and with the alpha channel flattened, which App Store Connect requires. It writes
|
|
449
|
+
`build/shots-pages/<name>-<width>x<height>.png` unless a page sets `out` or you pass `--out <dir>`. `--dry-run`
|
|
450
|
+
lists the files without starting Chrome; `--json` prints them on stdout. A page sets `scale` (default 2, so
|
|
451
|
+
a 3840x1646 page is laid out at 1920x823), and `background` for the colour under transparent areas. The repo
|
|
452
|
+
root is served locally (the page can read any non-dot file under it), so a page's relative assets load, and `shots.fonts` is available to every page. With
|
|
453
|
+
only `pages` set, `shots.project` may be left out. See [docs/CONFIG.md](docs/CONFIG.md#artwork-pages).
|
|
454
|
+
|
|
455
|
+
```sh
|
|
456
|
+
kit shots pages # every page
|
|
457
|
+
kit shots pages header --out build/artwork
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
```ts
|
|
461
|
+
shots: {
|
|
462
|
+
pages: [{ name: 'header', file: 'brand/creative/header.html', width: 3840, height: 1646 }],
|
|
336
463
|
},
|
|
337
464
|
```
|
|
338
465
|
|
|
@@ -348,6 +475,32 @@ falls back to another `fr` entry before that:
|
|
|
348
475
|
"locales": { "fr-FR": { "slide-1": { "headline": "…", "subheadline": "…", "badge": "…" } } }
|
|
349
476
|
```
|
|
350
477
|
|
|
478
|
+
**Version 2 and `kit shots migrate`.** A version 2 project (`"version": 2`) holds the rules once: a
|
|
479
|
+
`style`, per-target `targets`, and slides of just `shot`, `headline` and what differs. Slide ids come from
|
|
480
|
+
the shot name (`01-you.png` is `you`), and `locales` is keyed by them. Version 1 files keep working.
|
|
481
|
+
`kit shots migrate` prints the version 2 file; `kit shots migrate --write` replaces `shots.project` once it
|
|
482
|
+
has proved that every target and locale draws the same slides (`--dry-run` only proves). The merge order,
|
|
483
|
+
derived fields and the file's shape are in [docs/CONFIG.md](docs/CONFIG.md#the-project-file).
|
|
484
|
+
|
|
485
|
+
**`kit shots studio`** edits the version 2 project in a browser, previewing with the same renderer the
|
|
486
|
+
export uses. It serves on `127.0.0.1` under a random path token and prints the URL (`--port` fixes the
|
|
487
|
+
port, `--no-open` leaves the browser alone). A version 1 project opens read-only with the migrate command
|
|
488
|
+
to run. Every edit is written at a scope: all slides, one target, one slide, or one slide on one target;
|
|
489
|
+
each control shows where its value comes from and can reset it, and a value equal to what the layers below
|
|
490
|
+
give removes the override, so the file stays small. Changes autosave (Cmd/Ctrl+S saves now, Cmd/Ctrl+Z
|
|
491
|
+
undoes); if the file changed on disk the editor asks whether to reload or overwrite. Slides are added from
|
|
492
|
+
the raw shots (a PNG can be uploaded into the raw dir), reordered by dragging and deleted, undoably. With
|
|
493
|
+
no project file it offers one slide per raw shot and writes nothing until you confirm.
|
|
494
|
+
|
|
495
|
+
In the studio, a slide whose text overflows (a headline past 3 lines, text off the canvas, or text that
|
|
496
|
+
pushes the device far down) gets a warning on the filmstrip and its target column, for any locale. Drag the
|
|
497
|
+
device on a canvas to place it, scroll or pinch over it to scale it, or nudge it with the arrow keys; the
|
|
498
|
+
expand button on a column shows that target at export size. The header's Export button runs `kit shots
|
|
499
|
+
export` for the stores and locale you pick (saving first) and shows what was written. The Presets group
|
|
500
|
+
applies a built-in look (`light`, `dark`, `bold-colour`) or one from `shots.presets` in one undoable edit,
|
|
501
|
+
and `shots.palette` puts your brand colours beside every colour control. See
|
|
502
|
+
[docs/CONFIG.md](docs/CONFIG.md#shots).
|
|
503
|
+
|
|
351
504
|
**Fonts and brand.** Every font family a slide names has to be in `shots.fonts` (the CSS generics
|
|
352
505
|
`sans-serif`, `serif`, `monospace` and `system-ui` aside): Chrome would draw an unknown family in a
|
|
353
506
|
fallback font without complaint, so export stops first (exit 3). `brand` is the lockup drawn on slides
|
|
@@ -443,7 +596,7 @@ export default defineCommand({
|
|
|
443
596
|
a repo with `mise.toml` warns when mise isn't installed or a pinned version differs, and a repo with
|
|
444
597
|
`lefthook.yml` warns when lefthook isn't installed or `lefthook install` hasn't been run in the clone.
|
|
445
598
|
|
|
446
|
-
When the config has a `shots` block, `kit doctor` also checks for Chrome, which `kit shots export`
|
|
599
|
+
When the config has a `shots` block, `kit doctor` also checks for Chrome, which `kit shots export` and `kit shots pages` use to render store artwork. It warns if Chrome or Chromium is missing or older than 112; install Google Chrome or set `KIT_CHROME` to a Chrome or Chromium binary.
|
|
447
600
|
|
|
448
601
|
```sh
|
|
449
602
|
kit doctor --fix # list the fixes, confirm once, apply, check again
|
|
@@ -897,3 +1050,26 @@ For targets of kind `worker`. Every command runs wrangler from the target's dire
|
|
|
897
1050
|
`kit db reset --remote` is a usage error.
|
|
898
1051
|
- `kit logs` has no `--json` document (exit 2): for JSON lines use `kit logs <target> -- --format json`.
|
|
899
1052
|
- `--dry-run` runs nothing in any of them.
|
|
1053
|
+
|
|
1054
|
+
## Working on kit
|
|
1055
|
+
|
|
1056
|
+
kit runs on Bun and is checked and built with [Vite+](https://viteplus.dev) (`vp`). `vp` is a Node
|
|
1057
|
+
program, so a checkout needs Node `^22.18`, `^24.11` or `>=26` next to Bun; a globally installed `vp`
|
|
1058
|
+
installs Node itself.
|
|
1059
|
+
|
|
1060
|
+
| Command | Does |
|
|
1061
|
+
| --- | --- |
|
|
1062
|
+
| `bun run check` | Format check, lint and type check in one pass (`vp check`); warnings fail |
|
|
1063
|
+
| `bun run format` | Rewrite files with the formatter (`vp fmt`) |
|
|
1064
|
+
| `bun run lint` | Lint only (`vp lint`) |
|
|
1065
|
+
| `bun test` | Tests. They run on Bun, not on `vp test` |
|
|
1066
|
+
| `bun run build` | Bundle `dist/` and its declarations (`vp pack`), then build the screenshot editor into `dist/shots-editor` |
|
|
1067
|
+
| `bun run dev:studio` | The studio server on the shots fixture (`KIT_STUDIO_ROOT` picks another repo) plus the editor's dev server |
|
|
1068
|
+
| `bun run test:pack` | Install the packed tarball into a temp app and run it |
|
|
1069
|
+
|
|
1070
|
+
`KIT_DEV=<checkout>` makes the `kit` launcher run that checkout's sources.
|
|
1071
|
+
|
|
1072
|
+
The screenshot editor lives in `editor/` (React, built by `vp build`). It imports kit's renderer and
|
|
1073
|
+
project code from `src/lib/storeshots` by relative path, so those files must stay free of Node and Bun
|
|
1074
|
+
imports. `KIT_CHROME_TEST=1 bun test test/e2e/shots-editor.test.ts` checks the built editor in headless
|
|
1075
|
+
Chrome; run `bun run build` first.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/commands/_affected.ts
|
|
2
|
+
/** `--affected [--base <ref>]`, shared by lint, format, typecheck, check, test and build. */
|
|
3
|
+
const affectedArgs = {
|
|
4
|
+
affected: {
|
|
5
|
+
type: "boolean",
|
|
6
|
+
description: "Only targets changed since the base (commits, staged, unstaged and untracked files)"
|
|
7
|
+
},
|
|
8
|
+
base: {
|
|
9
|
+
type: "string",
|
|
10
|
+
description: "Ref --affected compares against (default: origin/<default branch>, then main)"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export { affectedArgs as t };
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { i as requireProject } from "./command-B8J0KTC5.js";
|
|
2
|
+
import { v as wrangler } from "./cloudflare-DANxWsOQ.js";
|
|
3
|
+
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
4
|
+
import { n as currentBranch } from "./git-DS1oA148.js";
|
|
5
|
+
import { t as emitJson } from "./log-jfLnWjfH.js";
|
|
6
|
+
import { d as runPiped, l as runLines, p as runToStderr } from "./proc-WkAakwUC.js";
|
|
7
|
+
import { c as targetCommands } from "./targets-8X6fH7Mq.js";
|
|
8
|
+
import { S as workerName, _ as requireWorker, d as parseVersionUpload, g as readWranglerConfig, m as previewComment, p as previewAlias, u as parsePr, x as versionsUploadArgs } from "./worker-BP2x5ONk.js";
|
|
9
|
+
import { n as checkEnv, t as beforeCommands } from "./deploy-BBRBn_M4.js";
|
|
10
|
+
import { relative, resolve } from "node:path";
|
|
11
|
+
// src/commands/_preview.ts
|
|
12
|
+
/**
|
|
13
|
+
* Post the preview URL on the branch's PR, or update kit's earlier comment for the same target
|
|
14
|
+
* (its own comment opening with the marker, so nobody else's is ever edited). No PR is a warning,
|
|
15
|
+
* not a failure; anything else that goes wrong with gh is.
|
|
16
|
+
*/
|
|
17
|
+
async function commentOnPr(ctx, root, branch, target, body) {
|
|
18
|
+
const view = await runPiped([
|
|
19
|
+
"gh",
|
|
20
|
+
"pr",
|
|
21
|
+
"view",
|
|
22
|
+
...branch ? [branch] : [],
|
|
23
|
+
"--json",
|
|
24
|
+
"number,comments"
|
|
25
|
+
], { cwd: root });
|
|
26
|
+
if (view.code !== 0 && /no pull requests found/i.test(view.stderr)) {
|
|
27
|
+
ctx.log.warn(`no pull request for ${branch ?? "this branch"}; not commenting`);
|
|
28
|
+
return "no-pr";
|
|
29
|
+
}
|
|
30
|
+
const pr = view.code === 0 ? parsePr(view.stdout, target) : void 0;
|
|
31
|
+
if (!pr) {
|
|
32
|
+
ctx.log.error(`could not look up the pull request (gh pr view exited with ${view.code})`, view.stderr.trim().split("\n")[0] || void 0);
|
|
33
|
+
return "failed";
|
|
34
|
+
}
|
|
35
|
+
const cmd = pr.commentId ? [
|
|
36
|
+
"gh",
|
|
37
|
+
"api",
|
|
38
|
+
"--method",
|
|
39
|
+
"PATCH",
|
|
40
|
+
`repos/{owner}/{repo}/issues/comments/${pr.commentId}`,
|
|
41
|
+
"-f",
|
|
42
|
+
`body=${body}`
|
|
43
|
+
] : [
|
|
44
|
+
"gh",
|
|
45
|
+
"pr",
|
|
46
|
+
"comment",
|
|
47
|
+
String(pr.number),
|
|
48
|
+
"--body",
|
|
49
|
+
body
|
|
50
|
+
];
|
|
51
|
+
const done = await runPiped(cmd, { cwd: root });
|
|
52
|
+
if (done.code !== 0) {
|
|
53
|
+
ctx.log.error(`commenting on #${pr.number} failed (exit ${done.code})`, done.stderr.trim() || void 0);
|
|
54
|
+
return "failed";
|
|
55
|
+
}
|
|
56
|
+
ctx.log.success(`${pr.commentId ? "updated the comment on" : "commented on"} #${pr.number}`);
|
|
57
|
+
return pr.commentId ? "updated" : "created";
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* `kit deploy <target> --preview`: `deploy.before`, then `wrangler versions upload` (production
|
|
61
|
+
* traffic stays where it is) with a preview alias from the branch. The preview URL is the result:
|
|
62
|
+
* everything else, wrangler's output included, goes to stderr.
|
|
63
|
+
*/
|
|
64
|
+
async function runPreview(ctx, names, opts) {
|
|
65
|
+
const { root, config } = requireProject(ctx);
|
|
66
|
+
if (names.length !== 1) throw new KitError("kit deploy --preview takes one worker target", void 0, ExitCode.usage);
|
|
67
|
+
const name = names[0];
|
|
68
|
+
const target = requireWorker(config, name, "kit deploy --preview");
|
|
69
|
+
const env = checkEnv(config, name, opts.env);
|
|
70
|
+
const worker = workerName(readWranglerConfig(resolve(root, target.dir))?.data ?? {}, env) ?? name;
|
|
71
|
+
const branch = process.env.GITHUB_HEAD_REF || await currentBranch(root).catch(() => void 0);
|
|
72
|
+
const alias = previewAlias(branch, worker);
|
|
73
|
+
const w = wrangler(root, config, name, ...versionsUploadArgs({
|
|
74
|
+
env,
|
|
75
|
+
alias,
|
|
76
|
+
extra: ctx.rest
|
|
77
|
+
}));
|
|
78
|
+
const d = target.deploy;
|
|
79
|
+
const custom = d === void 0 || d === false || typeof d === "string" || Array.isArray(d) ? d : d.run;
|
|
80
|
+
if (d === false || custom === false) throw new KitError(`Target "${name}" is not deployable (deploy: false), so it has no preview`, void 0, ExitCode.usage);
|
|
81
|
+
const hasBuild = target.build !== void 0 && target.build !== false;
|
|
82
|
+
if (custom !== void 0 && !hasBuild) throw new KitError(`A preview of "${name}" needs targets.${name}.build`, `targets.${name}.deploy is a custom command; kit runs the target's build, then wrangler versions upload`, ExitCode.usage);
|
|
83
|
+
const build = custom !== void 0 ? targetCommands(root, config, name, "build", { env }) ?? [] : [];
|
|
84
|
+
const self = [
|
|
85
|
+
process.execPath,
|
|
86
|
+
"--no-env-file",
|
|
87
|
+
process.argv[1]
|
|
88
|
+
];
|
|
89
|
+
const before = beforeCommands(config, name).map((args) => ({
|
|
90
|
+
title: `kit ${args.join(" ")}`,
|
|
91
|
+
cmd: [
|
|
92
|
+
...self,
|
|
93
|
+
...args,
|
|
94
|
+
...ctx.flags.yes ? ["--yes"] : []
|
|
95
|
+
]
|
|
96
|
+
}));
|
|
97
|
+
if (ctx.flags.dryRun) {
|
|
98
|
+
const plan = [
|
|
99
|
+
...before.map((b) => b.title),
|
|
100
|
+
...build.map((c) => c.cmd.join(" ")),
|
|
101
|
+
w.cmd.join(" "),
|
|
102
|
+
...opts.comment ? ["gh pr comment (when the branch has a pull request)"] : []
|
|
103
|
+
];
|
|
104
|
+
if (ctx.flags.json) emitJson({
|
|
105
|
+
dryRun: true,
|
|
106
|
+
target: name,
|
|
107
|
+
env,
|
|
108
|
+
alias,
|
|
109
|
+
plan
|
|
110
|
+
});
|
|
111
|
+
else for (const step of plan) ctx.log.step(`${name} ${step}`);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
for (const b of before) {
|
|
115
|
+
ctx.log.step(b.title);
|
|
116
|
+
const code = await runToStderr(b.cmd, {
|
|
117
|
+
cwd: root,
|
|
118
|
+
env: { KIT_ROOT: root }
|
|
119
|
+
});
|
|
120
|
+
if (code !== 0) throw new KitError(`${b.title} failed (exit ${code}); not uploading ${name}`, void 0, ExitCode.precondition);
|
|
121
|
+
}
|
|
122
|
+
for (const c of build) {
|
|
123
|
+
ctx.log.step(`${name}: ${c.title}`);
|
|
124
|
+
const code = await runToStderr(c.cmd, {
|
|
125
|
+
cwd: c.cwd,
|
|
126
|
+
env: c.env
|
|
127
|
+
});
|
|
128
|
+
if (code !== 0) throw new KitError(`build ${name} failed (exit ${code}); not uploading`, void 0, ExitCode.failed);
|
|
129
|
+
}
|
|
130
|
+
if (!alias) ctx.log.warn(`no preview alias from ${branch ?? "this checkout"}; using the version URL`);
|
|
131
|
+
ctx.log.step(`${name}: ${relative(root, w.cwd) || "."} $ ${w.cmd.join(" ")}`);
|
|
132
|
+
const { code, output } = await runLines(w.cmd, {
|
|
133
|
+
cwd: w.cwd,
|
|
134
|
+
env: env ? { KIT_ENV: env } : void 0,
|
|
135
|
+
onLine: (line) => process.stderr.write(`${line}\n`)
|
|
136
|
+
});
|
|
137
|
+
if (code !== 0) {
|
|
138
|
+
if (ctx.flags.json) emitJson({
|
|
139
|
+
ok: false,
|
|
140
|
+
target: name,
|
|
141
|
+
env,
|
|
142
|
+
error: `wrangler exited with ${code}`
|
|
143
|
+
});
|
|
144
|
+
else ctx.log.error(`preview ${name} failed (exit ${code})`);
|
|
145
|
+
process.exitCode = ExitCode.failed;
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
const { url, version } = parseVersionUpload(output);
|
|
149
|
+
if (!url) ctx.log.warn(`uploaded ${name}${version ? ` (${version})` : ""}, but wrangler printed no preview URL; enable Preview URLs for the worker`);
|
|
150
|
+
if (!ctx.flags.json && url) process.stdout.write(`${url}\n`);
|
|
151
|
+
let comment;
|
|
152
|
+
if (opts.comment) {
|
|
153
|
+
comment = !url ? "no-url" : await commentOnPr(ctx, root, branch, name, previewComment({
|
|
154
|
+
target: name,
|
|
155
|
+
url,
|
|
156
|
+
version,
|
|
157
|
+
env
|
|
158
|
+
})).catch((e) => {
|
|
159
|
+
ctx.log.error(`could not run gh: ${e instanceof Error ? e.message : String(e)}`);
|
|
160
|
+
return "failed";
|
|
161
|
+
});
|
|
162
|
+
if (comment === "failed") process.exitCode = ExitCode.failed;
|
|
163
|
+
}
|
|
164
|
+
if (ctx.flags.json) emitJson({
|
|
165
|
+
ok: comment !== "failed",
|
|
166
|
+
target: name,
|
|
167
|
+
env,
|
|
168
|
+
url: url ?? null,
|
|
169
|
+
version: version ?? null,
|
|
170
|
+
alias,
|
|
171
|
+
...comment ? { comment } : {}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
export { runPreview };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { i as requireProject } from "./command-B8J0KTC5.js";
|
|
2
|
+
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
3
|
+
import { r as log, t as emitJson } from "./log-jfLnWjfH.js";
|
|
4
|
+
import { a as summarize, n as printTimings, r as runSteps, t as commandStep } from "./steps-D7yIe5Ik.js";
|
|
5
|
+
import { a as planVerbs, o as selectTargets, r as affectedTargets } from "./targets-8X6fH7Mq.js";
|
|
6
|
+
import pc from "picocolors";
|
|
7
|
+
import { relative } from "node:path";
|
|
8
|
+
// src/commands/_verb.ts
|
|
9
|
+
/** `--affected [--base <ref>]`: the changed files and the targets they select. Undefined without the flag. */
|
|
10
|
+
async function resolveAffected(ctx, root, config, verbs) {
|
|
11
|
+
const args = ctx.args;
|
|
12
|
+
if (!args.affected) {
|
|
13
|
+
if (args.base !== void 0) throw new KitError("--base needs --affected", void 0, ExitCode.usage);
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
if (args.staged) throw new KitError("--affected and --staged select targets differently; pick one", "--staged: what is in the index. --affected: everything changed since the base", ExitCode.usage);
|
|
17
|
+
const selected = selectTargets(config, ctx.positionals, verbs.includes("lint")).targets.map(([n]) => n);
|
|
18
|
+
const { changedFiles } = await import("./git-oL5tg3JB.js");
|
|
19
|
+
const changed = await changedFiles(root, args.base).catch(() => void 0);
|
|
20
|
+
if (!changed) {
|
|
21
|
+
log.warn(`--affected: ${args.base ? `base "${args.base}"` : "no base (origin/HEAD, origin/main, main)"} not found; running every target`);
|
|
22
|
+
return {
|
|
23
|
+
base: null,
|
|
24
|
+
targets: selected,
|
|
25
|
+
reason: "base-not-found"
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
if (!args.base && changed.headIsBase && !changed.files.length) {
|
|
29
|
+
log.warn(`--affected: HEAD is the base (${changed.base}) and nothing is uncommitted; running every target`);
|
|
30
|
+
log.dim(" › For push builds pass --base HEAD~1, or the previous release tag");
|
|
31
|
+
return {
|
|
32
|
+
base: changed.base,
|
|
33
|
+
targets: selected,
|
|
34
|
+
reason: "head-is-base"
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
const hit = new Set(affectedTargets(root, config, changed.files));
|
|
38
|
+
return {
|
|
39
|
+
base: changed.base,
|
|
40
|
+
files: changed.files,
|
|
41
|
+
targets: selected.filter((n) => hit.has(n))
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/** Shared body of lint/format/typecheck/check/test/build: plan, run as a tree, summarize, exit code. */
|
|
45
|
+
async function runVerb(ctx, v) {
|
|
46
|
+
const { root, config } = requireProject(ctx);
|
|
47
|
+
if (config.cloudflare?.accountId) try {
|
|
48
|
+
(await import("./cloudflare-Fqiw0PwT.js")).pinCloudflareAccount(root, config);
|
|
49
|
+
} catch (e) {
|
|
50
|
+
if (!(e instanceof KitError)) throw e;
|
|
51
|
+
log.warn(`${e.message}; CLOUDFLARE_ACCOUNT_ID not pinned`);
|
|
52
|
+
}
|
|
53
|
+
const started = performance.now();
|
|
54
|
+
const affected = await resolveAffected(ctx, root, config, v.verbs);
|
|
55
|
+
/** `affected` and `base` in every `--json` document of an `--affected` run. */
|
|
56
|
+
const selection = affected ? {
|
|
57
|
+
affected: affected.targets,
|
|
58
|
+
base: affected.base,
|
|
59
|
+
...affected.reason ? { reason: affected.reason } : {}
|
|
60
|
+
} : {};
|
|
61
|
+
const groups = planVerbs(root, config, v.verbs, {
|
|
62
|
+
...v.plan,
|
|
63
|
+
targets: ctx.positionals,
|
|
64
|
+
extra: ctx.rest,
|
|
65
|
+
affected: affected?.files
|
|
66
|
+
});
|
|
67
|
+
const unchanged = affected?.files?.length === 0;
|
|
68
|
+
if (affected && !unchanged && !ctx.flags.json && !ctx.flags.quiet) log.step(`affected: ${affected.targets.join(", ") || "no target"}${affected.base ? ` (base ${affected.base})` : ""}`);
|
|
69
|
+
if (ctx.flags.dryRun) {
|
|
70
|
+
if (unchanged && !ctx.flags.json) log.info(`${v.name}: nothing affected since ${affected?.base}`);
|
|
71
|
+
else printPlan(root, groups, ctx, selection);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
if (!groups.length) {
|
|
75
|
+
if (ctx.flags.json) emitJson({
|
|
76
|
+
verb: v.name,
|
|
77
|
+
ok: true,
|
|
78
|
+
steps: [],
|
|
79
|
+
...selection
|
|
80
|
+
});
|
|
81
|
+
else if (unchanged) log.info(`${v.name}: nothing affected since ${affected?.base}`);
|
|
82
|
+
else log.warn(`Nothing to ${v.name}${ctx.positionals.length ? ` for ${ctx.positionals.join(", ")}` : ""}`);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
const items = groups.map((g) => ({
|
|
86
|
+
title: g.title,
|
|
87
|
+
steps: g.commands.map((c) => commandStep(c.title, c.cmd, {
|
|
88
|
+
cwd: c.cwd,
|
|
89
|
+
env: c.env,
|
|
90
|
+
mute: ctx.mute
|
|
91
|
+
}))
|
|
92
|
+
}));
|
|
93
|
+
const results = await runSteps(items, ctx.flags, { bail: ctx.flags.bail });
|
|
94
|
+
const code = ctx.flags.json ? results.every((r) => r.ok) ? 0 : 1 : summarize(v.name, results, started, v.hint);
|
|
95
|
+
if (!ctx.flags.json && code !== ExitCode.interrupted) printTimings(results, ctx.flags);
|
|
96
|
+
if (ctx.flags.json) emitJson({
|
|
97
|
+
verb: v.name,
|
|
98
|
+
ok: code === 0,
|
|
99
|
+
ms: Math.round(performance.now() - started),
|
|
100
|
+
...selection,
|
|
101
|
+
steps: results.map((r) => ({
|
|
102
|
+
target: r.group,
|
|
103
|
+
title: r.title,
|
|
104
|
+
ok: r.ok,
|
|
105
|
+
ms: Math.round(r.ms),
|
|
106
|
+
...r.ok ? {} : {
|
|
107
|
+
error: r.error,
|
|
108
|
+
output: tail(r.output)
|
|
109
|
+
}
|
|
110
|
+
}))
|
|
111
|
+
});
|
|
112
|
+
if (code) process.exitCode = code;
|
|
113
|
+
}
|
|
114
|
+
const tail = (s, n = 50) => s?.split("\n").slice(-n).join("\n");
|
|
115
|
+
function printPlan(root, groups, ctx, selection) {
|
|
116
|
+
if (ctx.flags.json) {
|
|
117
|
+
emitJson({
|
|
118
|
+
...selection,
|
|
119
|
+
plan: groups.map((g) => ({
|
|
120
|
+
target: g.title,
|
|
121
|
+
commands: g.commands.map((c) => ({
|
|
122
|
+
cmd: c.cmd,
|
|
123
|
+
cwd: relative(root, c.cwd) || "."
|
|
124
|
+
}))
|
|
125
|
+
}))
|
|
126
|
+
});
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
for (const g of groups) {
|
|
130
|
+
process.stderr.write(`${pc.bold(g.title)}\n`);
|
|
131
|
+
for (const c of g.commands) process.stderr.write(` ${pc.dim(`${relative(root, c.cwd) || "."} $`)} ${display(c.cmd)}\n`);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
/** `sh -c <string>` shows as the string. */
|
|
135
|
+
const display = (cmd) => cmd[0] === "sh" && cmd[1] === "-c" ? cmd.slice(2).filter((_a, i) => i !== 1).join(" ") : cmd.join(" ");
|
|
136
|
+
export { runVerb };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { n as defineCommand } from "./command-B8J0KTC5.js";
|
|
2
|
+
// src/commands/release/android.ts
|
|
3
|
+
var android_default = defineCommand({
|
|
4
|
+
description: "Build and upload Android to a Play track",
|
|
5
|
+
group: "Release",
|
|
6
|
+
args: {
|
|
7
|
+
track: {
|
|
8
|
+
type: "enum",
|
|
9
|
+
short: "t",
|
|
10
|
+
choices: [
|
|
11
|
+
"internal",
|
|
12
|
+
"alpha",
|
|
13
|
+
"beta",
|
|
14
|
+
"prod"
|
|
15
|
+
],
|
|
16
|
+
required: true,
|
|
17
|
+
description: "Play internal testing · closed (alpha) · open (beta) · production (prod)"
|
|
18
|
+
},
|
|
19
|
+
code: {
|
|
20
|
+
type: "number",
|
|
21
|
+
description: "Version code (default: max across Play tracks + 1)"
|
|
22
|
+
},
|
|
23
|
+
notes: {
|
|
24
|
+
type: "string",
|
|
25
|
+
description: "Release notes (default: commits since the last android/v* tag; clamped to 500)"
|
|
26
|
+
},
|
|
27
|
+
rollout: {
|
|
28
|
+
type: "number",
|
|
29
|
+
description: "prod staged-rollout fraction, 0 < r <= 1 (default release.android.prodRollout or 0.1)"
|
|
30
|
+
},
|
|
31
|
+
draft: {
|
|
32
|
+
type: "boolean",
|
|
33
|
+
description: "Upload as a draft release (required while the Play app is a draft)"
|
|
34
|
+
},
|
|
35
|
+
skip: {
|
|
36
|
+
type: "string",
|
|
37
|
+
description: "Skip release.preflight checks by skipFlag (comma-separated)"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
examples: "kit release android --track internal\nkit release android --track prod --rollout 0.2\nkit release android --track alpha --draft\nkit release android --track internal --dry-run",
|
|
41
|
+
async run(ctx) {
|
|
42
|
+
const { requireProject } = await import("./command-DEjZdYUF.js");
|
|
43
|
+
const { releaseMobile } = await import("./mobile-dAnl58hp.js");
|
|
44
|
+
requireProject(ctx);
|
|
45
|
+
await releaseMobile(ctx, {
|
|
46
|
+
platform: "android",
|
|
47
|
+
track: ctx.args.track,
|
|
48
|
+
build: ctx.args.code,
|
|
49
|
+
notes: ctx.args.notes,
|
|
50
|
+
rollout: ctx.args.rollout,
|
|
51
|
+
draft: ctx.args.draft,
|
|
52
|
+
skip: (ctx.args.skip ?? "").split(",").map((s) => s.trim()).filter(Boolean)
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export { android_default as default };
|