@jordond/kit 0.6.0 → 0.7.1

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.
Files changed (456) hide show
  1. package/README.md +669 -9
  2. package/dist/_preview-8pctvjkj.js +186 -0
  3. package/dist/_verb-b1rwwq8f.js +173 -0
  4. package/dist/{android-f2jqh5f4.js → android-rxm5012p.js} +3 -3
  5. package/dist/apply-37atsazn.js +118 -0
  6. package/dist/backup-mmf68rsk.js +67 -0
  7. package/dist/bin-q60acre8.js +15 -0
  8. package/dist/boot-z0xvjet2.js +54 -0
  9. package/dist/{build-15wfykv9.js → build-2neqt771.js} +6 -2
  10. package/dist/build-7418nfdd.js +21 -0
  11. package/dist/build-c0y6pjgv.js +53 -0
  12. package/dist/{builtins-tgrq0nnd.js → builtins-p4pf9hbc.js} +1 -1
  13. package/dist/{bump-xmjn8q5s.js → bump-4rmt4q57.js} +5 -5
  14. package/dist/{certs-5kcftfaz.js → certs-j56f2zv1.js} +5 -5
  15. package/dist/changelog-70znsn6a.js +130 -0
  16. package/dist/changelog-9c2f7zcy.js +120 -0
  17. package/dist/{check-h2qjvrge.js → check-qzf9ks2k.js} +8 -3
  18. package/dist/{check-s3xje6km.js → check-yk8mzca8.js} +11 -6
  19. package/dist/clean-8n2j982t.js +93 -0
  20. package/dist/clean-k40p14af.js +237 -0
  21. package/dist/clear-xwhv7bxy.js +43 -0
  22. package/dist/cli-0f3m8qma.js +127 -0
  23. package/dist/{kitref-9j43993r.js → cli-28nya88s.js} +2 -13
  24. package/dist/cli-2ja6z124.js +127 -0
  25. package/dist/{doctor-63ntz70n.js → cli-3nqkyv98.js} +153 -204
  26. package/dist/{cli-5qdvgv3a.js → cli-4kqc5ywj.js} +2 -2
  27. package/dist/{cli-1m6cy8wp.js → cli-4vsj6a7w.js} +3 -3
  28. package/dist/{cli-6q43d787.js → cli-507f5c8j.js} +1 -1
  29. package/dist/{cli-qhs8ww91.js → cli-5ws4pqz1.js} +11 -1
  30. package/dist/cli-7wxg8m4q.js +123 -0
  31. package/dist/cli-83zaa5dz.js +67 -0
  32. package/dist/{cli-pz86az34.js → cli-8qgbqa52.js} +23 -3
  33. package/dist/cli-8qgqecpv.js +35 -0
  34. package/dist/{cli-vpzh9t0w.js → cli-a0ghfqeb.js} +1 -1
  35. package/dist/cli-b4qnnrsp.js +35 -0
  36. package/dist/{cli-8mb4ayv9.js → cli-d6vjw06z.js} +109 -82
  37. package/dist/cli-dbww3ss1.js +479 -0
  38. package/dist/cli-e3jdg5nx.js +234 -0
  39. package/dist/cli-ey6trdpc.js +11 -0
  40. package/dist/{mobile-r27grzez.js → cli-f0epa954.js} +29 -29
  41. package/dist/cli-f7hwhng0.js +776 -0
  42. package/dist/cli-jkp4kvsr.js +124 -0
  43. package/dist/cli-k3q2s02f.js +54 -0
  44. package/dist/{cli-699g070n.js → cli-m2zc03pj.js} +10 -8
  45. package/dist/cli-p7bb5zr2.js +14 -0
  46. package/dist/{deploy-k21ee2wr.js → cli-p98ch7s2.js} +34 -19
  47. package/dist/cli-pd4aspw0.js +208 -0
  48. package/dist/cli-pxa69atq.js +98 -0
  49. package/dist/{scaffold-eqbtfksr.js → cli-qsc39jca.js} +15 -19
  50. package/dist/{cli-dht27t4r.js → cli-s4xqzg86.js} +1 -1
  51. package/dist/cli-sjmx8cqb.js +85 -0
  52. package/dist/cli-vqw9ek9v.js +474 -0
  53. package/dist/{cli-5sp3tf1s.js → cli-w7m2hct3.js} +104 -15
  54. package/dist/cli-wrzdcgnt.js +82 -0
  55. package/dist/cli-wvzmjk4c.js +196 -0
  56. package/dist/{cli-wg35kt5d.js → cli-x7ja9ygh.js} +9 -2
  57. package/dist/{cli-0j3ywy6y.js → cli-xs9ge3t2.js} +2 -2
  58. package/dist/cli-xtq08c75.js +394 -0
  59. package/dist/cli-y0yebvmg.js +37 -0
  60. package/dist/{cli-dcq8ydz0.js → cli-ye4a1asw.js} +52 -12
  61. package/dist/cli-z4gcjd7a.js +54 -0
  62. package/dist/cli-zfcp9hzk.js +282 -0
  63. package/dist/{cli-fqfan92n.js → cli-zn8nsg3w.js} +23 -1
  64. package/dist/cli.js +1 -1
  65. package/dist/{cloudflare-3p8gj4ae.js → cloudflare-vm474s23.js} +13 -5
  66. package/dist/{command-gtyznw30.js → command-jwjvb9pb.js} +1 -1
  67. package/dist/command-r3jw2m41.js +269 -0
  68. package/dist/command-wqrhr0w2.js +1108 -0
  69. package/dist/commands/_affected.d.ts +11 -0
  70. package/dist/commands/_preview.d.ts +12 -0
  71. package/dist/commands/_verb.d.ts +1 -1
  72. package/dist/commands/add/module.d.ts +25 -0
  73. package/dist/commands/add/target.d.ts +17 -0
  74. package/dist/commands/app/build.d.ts +11 -0
  75. package/dist/commands/app/clear.d.ts +7 -0
  76. package/dist/commands/app/install.d.ts +15 -0
  77. package/dist/commands/app/run.d.ts +15 -0
  78. package/dist/commands/app/uninstall.d.ts +7 -0
  79. package/dist/commands/build.d.ts +8 -0
  80. package/dist/commands/changelog.d.ts +30 -0
  81. package/dist/commands/check.d.ts +8 -0
  82. package/dist/commands/clean.d.ts +7 -0
  83. package/dist/commands/db/backup.d.ts +16 -0
  84. package/dist/commands/db/reset.d.ts +11 -0
  85. package/dist/commands/db/restore.d.ts +11 -0
  86. package/dist/commands/db/seed.d.ts +11 -0
  87. package/dist/commands/deploy.d.ts +8 -0
  88. package/dist/commands/device/boot.d.ts +7 -0
  89. package/dist/commands/device/list.d.ts +7 -0
  90. package/dist/commands/device/statusbar.d.ts +11 -0
  91. package/dist/commands/doctor.d.ts +10 -93
  92. package/dist/commands/env/push.d.ts +5 -1
  93. package/dist/commands/env/rotate.d.ts +7 -0
  94. package/dist/commands/fixture/dump.d.ts +7 -0
  95. package/dist/commands/fixture/load.d.ts +7 -0
  96. package/dist/commands/format.d.ts +8 -0
  97. package/dist/commands/lint.d.ts +8 -0
  98. package/dist/commands/logs.d.ts +8 -0
  99. package/dist/commands/maestro.d.ts +2 -0
  100. package/dist/commands/open.d.ts +13 -0
  101. package/dist/commands/qa.d.ts +31 -0
  102. package/dist/commands/release/metadata/pull.d.ts +11 -0
  103. package/dist/commands/release/metadata/push.d.ts +11 -0
  104. package/dist/commands/release/promote.d.ts +35 -0
  105. package/dist/commands/release/rollback.d.ts +7 -0
  106. package/dist/commands/release/rollout.d.ts +23 -0
  107. package/dist/commands/release/status.d.ts +2 -0
  108. package/dist/commands/shots/export.d.ts +29 -0
  109. package/dist/commands/shots.d.ts +31 -0
  110. package/dist/commands/test.d.ts +10 -1
  111. package/dist/commands/typecheck.d.ts +10 -1
  112. package/dist/{completion-6yett99s.js → completion-db2be2ww.js} +1 -1
  113. package/dist/{concurrent-zdz69ye5.js → concurrent-vvs84hhn.js} +1 -1
  114. package/dist/config/schema.d.ts +90 -0
  115. package/dist/config-45ts3ey1.js +31 -0
  116. package/dist/{config-2db8d4tg.js → config-ra2ybdkx.js} +1 -1
  117. package/dist/{create-te58argb.js → create-232vc6b4.js} +6 -6
  118. package/dist/{creds-2qk71mdx.js → creds-44ajrfzh.js} +3 -3
  119. package/dist/d1-local-jheysy22.js +62 -0
  120. package/dist/deploy-sbdbk7xz.js +18 -0
  121. package/dist/{deps-tq3jpjd3.js → deps-q404mzpf.js} +6 -6
  122. package/dist/{dev-915svrxw.js → dev-hq0acmq1.js} +7 -7
  123. package/dist/discover-gz594nzn.js +14 -0
  124. package/dist/doctor-xev4sqdt.js +153 -0
  125. package/dist/dotenv-bsk2m68j.js +15 -0
  126. package/dist/dump-bvg8ekkx.js +60 -0
  127. package/dist/entries-2yh20vd4.js +311 -0
  128. package/dist/{exec-gwnn34v2.js → exec-tr777f9f.js} +6 -6
  129. package/dist/export-fqr13qd7.js +65 -0
  130. package/dist/{fastlane-pj9c09z3.js → fastlane-5r62mn8v.js} +3 -3
  131. package/dist/{fastlane-86zcf5ys.js → fastlane-85d4k568.js} +6 -6
  132. package/dist/fixes-mqh7f9ds.js +27 -0
  133. package/dist/{format-z1jqgbad.js → format-hrad04cj.js} +7 -3
  134. package/dist/{git-3gyyfk0x.js → git-e4ys8tdc.js} +15 -3
  135. package/dist/{github-xakbbb7p.js → github-rxf67b21.js} +6 -6
  136. package/dist/{gradle-df21cm28.js → gradle-ac59hga1.js} +3 -3
  137. package/dist/index-9mmb130f.js +51 -0
  138. package/dist/index-af01qr87.js +27 -0
  139. package/dist/index.js +4 -4
  140. package/dist/{init-cbba8t64.js → init-bs57n1k0.js} +20 -11
  141. package/dist/{init-gtkmx54a.js → init-dyd1b74n.js} +11 -7
  142. package/dist/{init-hdebe1s9.js → init-en85gy2h.js} +5 -5
  143. package/dist/install-7sm85xmk.js +50 -0
  144. package/dist/install-dhw82bzn.js +35 -0
  145. package/dist/{ios-txv190np.js → ios-ftz9d17d.js} +3 -3
  146. package/dist/kitref-p727zpk7.js +24 -0
  147. package/dist/{kotlin-drt7z6bg.js → kotlin-8ytjqp7e.js} +3 -3
  148. package/dist/lib/add/apply.d.ts +25 -0
  149. package/dist/lib/add/edits.d.ts +57 -0
  150. package/dist/lib/add/plan.d.ts +98 -0
  151. package/dist/lib/add/settings.d.ts +20 -0
  152. package/dist/lib/app/build.d.ts +35 -0
  153. package/dist/lib/app/config.d.ts +21 -0
  154. package/dist/lib/app/install.d.ts +53 -0
  155. package/dist/lib/changelog.d.ts +51 -0
  156. package/dist/lib/chrome.d.ts +19 -0
  157. package/dist/lib/clean.d.ts +85 -0
  158. package/dist/lib/cloudflare.d.ts +25 -1
  159. package/dist/lib/d1-local.d.ts +29 -0
  160. package/dist/lib/devices/emulator-args.d.ts +16 -0
  161. package/dist/lib/devices/index.d.ts +101 -0
  162. package/dist/lib/devices/pick.d.ts +52 -0
  163. package/dist/lib/devices/statusbar.d.ts +4 -0
  164. package/dist/lib/doctor/checks.d.ts +134 -0
  165. package/dist/lib/doctor/entries.d.ts +34 -0
  166. package/dist/lib/doctor/fixes.d.ts +64 -0
  167. package/dist/lib/doctor/repair.d.ts +18 -0
  168. package/dist/lib/dotenv.d.ts +52 -0
  169. package/dist/lib/env/init.d.ts +1 -1
  170. package/dist/lib/env/push-run.d.ts +62 -0
  171. package/dist/lib/env/render.d.ts +2 -1
  172. package/dist/lib/env/rotate.d.ts +24 -0
  173. package/dist/lib/env/schema.d.ts +20 -0
  174. package/dist/lib/fixtures/android.d.ts +33 -0
  175. package/dist/lib/fixtures/config.d.ts +73 -0
  176. package/dist/lib/fixtures/index.d.ts +29 -0
  177. package/dist/lib/fixtures/ios.d.ts +13 -0
  178. package/dist/lib/fixtures/stage.d.ts +37 -0
  179. package/dist/lib/git.d.ts +43 -1
  180. package/dist/lib/image/png.d.ts +39 -0
  181. package/dist/lib/maestro/args.d.ts +23 -0
  182. package/dist/lib/maestro/bin.d.ts +10 -0
  183. package/dist/lib/maestro/command.d.ts +16 -0
  184. package/dist/lib/maestro/lint.d.ts +14 -0
  185. package/dist/lib/maestro/run.d.ts +79 -0
  186. package/dist/lib/maestro/suites.d.ts +24 -0
  187. package/dist/lib/pm.d.ts +5 -0
  188. package/dist/lib/proc.d.ts +10 -0
  189. package/dist/lib/release/listing-images.d.ts +86 -0
  190. package/dist/lib/release/metadata.d.ts +81 -0
  191. package/dist/lib/release/mobile.d.ts +5 -1
  192. package/dist/lib/release/promote.d.ts +58 -0
  193. package/dist/lib/release/rollout.d.ts +33 -0
  194. package/dist/lib/release/status.d.ts +52 -0
  195. package/dist/lib/scaffold.d.ts +3 -0
  196. package/dist/lib/steps.d.ts +10 -0
  197. package/dist/lib/storeshots/command.d.ts +3 -0
  198. package/dist/lib/storeshots/fonts.d.ts +14 -0
  199. package/dist/lib/storeshots/page/background.d.ts +6 -0
  200. package/dist/lib/storeshots/page/device-frames.d.ts +16 -0
  201. package/dist/lib/storeshots/page/main.d.ts +1 -0
  202. package/dist/lib/storeshots/page/renderer.d.ts +17 -0
  203. package/dist/lib/storeshots/page-bundle.d.ts +7 -0
  204. package/dist/lib/storeshots/plan.d.ts +25 -0
  205. package/dist/lib/storeshots/project.d.ts +169 -0
  206. package/dist/lib/storeshots/render.d.ts +20 -0
  207. package/dist/lib/storeshots/server.d.ts +29 -0
  208. package/dist/lib/storeshots/sizes.d.ts +121 -0
  209. package/dist/lib/storeshots/types.d.ts +397 -0
  210. package/dist/lib/storeshots/write.d.ts +11 -0
  211. package/dist/lib/targets.d.ts +23 -2
  212. package/dist/lib/worker.d.ts +128 -0
  213. package/dist/{lint-90ernbhx.js → lint-xzb2jaxv.js} +7 -3
  214. package/dist/list-3qms77kb.js +61 -0
  215. package/dist/{list-vaarpryk.js → list-c2805zb7.js} +6 -6
  216. package/dist/{load-x6mekf6y.js → load-1hnv925a.js} +3 -1
  217. package/dist/load-jy3j26eg.js +51 -0
  218. package/dist/{load-4s6t9309.js → load-nvf2hj1m.js} +36 -3
  219. package/dist/logs-jvfk9fm9.js +62 -0
  220. package/dist/maestro-6tbytfs6.js +30 -0
  221. package/dist/{main-5c6x1pd4.js → main-s7a0h69g.js} +21 -38
  222. package/dist/metadata-hpvy9bcy.js +44 -0
  223. package/dist/{migrate-9zvfp57b.js → migrate-t2pqt227.js} +6 -6
  224. package/dist/mobile-jfhpfm26.js +40 -0
  225. package/dist/module-kg87yk0v.js +119 -0
  226. package/dist/{notes-1zsa7qac.js → notes-hscncx9v.js} +3 -3
  227. package/dist/open-hdvts4mk.js +73 -0
  228. package/dist/pick-a90zx6sr.js +26 -0
  229. package/dist/plan-av9jwvvk.js +651 -0
  230. package/dist/{pm-5q5vz6w3.js → pm-ay4nmeps.js} +3 -1
  231. package/dist/{proc-jv4bcyyx.js → proc-2km5mhwc.js} +6 -2
  232. package/dist/promote-2f9jz0fb.js +290 -0
  233. package/dist/promote-8z6j6x1t.js +63 -0
  234. package/dist/pull-rza3bwrc.js +39 -0
  235. package/dist/push-29fdysqa.js +44 -0
  236. package/dist/push-5k6rqfcs.js +63 -0
  237. package/dist/push-run-znkn6gxf.js +148 -0
  238. package/dist/qa-9xm0sj2w.js +40 -0
  239. package/dist/{render-vn40fp54.js → render-hkvej41k.js} +3 -1
  240. package/dist/repair-9j76xj3d.js +104 -0
  241. package/dist/reset-wkgagcgz.js +110 -0
  242. package/dist/restore-b0msh1kh.js +122 -0
  243. package/dist/rollback-3zfvnwt4.js +134 -0
  244. package/dist/rollout-9kvwswvw.js +188 -0
  245. package/dist/rollout-b2xm5r5r.js +56 -0
  246. package/dist/rotate-b52s310n.js +168 -0
  247. package/dist/rotate-ba6anxzn.js +80 -0
  248. package/dist/run-jzqzb203.js +56 -0
  249. package/dist/scaffold-5mzc135g.js +37 -0
  250. package/dist/secrets-ed4qtmyb.js +24 -0
  251. package/dist/seed-awcycfbj.js +37 -0
  252. package/dist/{service-s5mnjq74.js → service-edjckedw.js} +18 -9
  253. package/dist/shots-c9w1qq2h.js +46 -0
  254. package/dist/shots-page.js +613 -0
  255. package/dist/{show-qhn6x1vn.js → show-4kc2sevf.js} +3 -3
  256. package/dist/sizes-3kpjxm9h.js +51 -0
  257. package/dist/status-jtxkbc62.js +41 -0
  258. package/dist/status-w6wr9403.js +29 -0
  259. package/dist/statusbar-efr97b9e.js +55 -0
  260. package/dist/statusbar-m5h8rx00.js +15 -0
  261. package/dist/steps-1ptk2gnz.js +22 -0
  262. package/dist/{sync-34029rh7.js → sync-mza36nse.js} +4 -4
  263. package/dist/target-zgg601fm.js +78 -0
  264. package/dist/{targets-5z0abrrk.js → targets-gprq0d5c.js} +11 -4
  265. package/dist/{test-rpj97zr6.js → test-gnmatth4.js} +8 -3
  266. package/dist/{typecheck-tbtp9z07.js → typecheck-peqg5a5c.js} +6 -2
  267. package/dist/uninstall-0p4qcvpn.js +43 -0
  268. package/dist/{upgrade-z5s5wzzj.js → upgrade-56bzvms8.js} +5 -5
  269. package/dist/worker-thvksjg2.js +59 -0
  270. package/dist/{wrangler-zz21zhb0.js → wrangler-f2rf697q.js} +5 -5
  271. package/dist/{xcode-w8yhedhm.js → xcode-qqb04c3a.js} +3 -3
  272. package/fastlane/Fastfile +748 -15
  273. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom} +2 -2
  274. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.md5 +1 -0
  275. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha1 +1 -0
  276. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha256 +1 -0
  277. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha512 +1 -0
  278. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
  279. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
  280. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  281. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  282. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  283. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom} +2 -2
  284. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.md5 +1 -0
  285. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha1 +1 -0
  286. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha256 +1 -0
  287. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha512 +1 -0
  288. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
  289. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
  290. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  291. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  292. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  293. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom} +2 -2
  294. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.md5 +1 -0
  295. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha1 +1 -0
  296. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha256 +1 -0
  297. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha512 +1 -0
  298. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
  299. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
  300. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  301. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  302. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  303. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom} +2 -2
  304. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.md5 +1 -0
  305. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha1 +1 -0
  306. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha256 +1 -0
  307. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha512 +1 -0
  308. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
  309. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
  310. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  311. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  312. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  313. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.module → 0.7.1/kit-plugins-0.7.1.module} +5 -5
  314. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.md5 +1 -0
  315. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha1 +1 -0
  316. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha256 +1 -0
  317. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha512 +1 -0
  318. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.pom → 0.7.1/kit-plugins-0.7.1.pom} +1 -1
  319. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.md5 +1 -0
  320. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha1 +1 -0
  321. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha256 +1 -0
  322. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha512 +1 -0
  323. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  324. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  325. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  326. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  327. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  328. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.module → 0.7.1/kit-settings-0.7.1.module} +5 -5
  329. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.md5 +1 -0
  330. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha1 +1 -0
  331. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha256 +1 -0
  332. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha512 +1 -0
  333. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.pom → 0.7.1/kit-settings-0.7.1.pom} +1 -1
  334. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.md5 +1 -0
  335. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha1 +1 -0
  336. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha256 +1 -0
  337. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha512 +1 -0
  338. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  339. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  340. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  341. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  342. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  343. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom} +2 -2
  344. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.md5 +1 -0
  345. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha1 +1 -0
  346. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha256 +1 -0
  347. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha512 +1 -0
  348. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
  349. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
  350. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  351. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  352. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  353. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom} +2 -2
  354. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.md5 +1 -0
  355. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha1 +1 -0
  356. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha256 +1 -0
  357. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha512 +1 -0
  358. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
  359. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
  360. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  361. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  362. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  363. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom} +2 -2
  364. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.md5 +1 -0
  365. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha1 +1 -0
  366. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha256 +1 -0
  367. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha512 +1 -0
  368. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  369. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  370. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  371. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  372. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  373. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom} +2 -2
  374. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.md5 +1 -0
  375. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha1 +1 -0
  376. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha256 +1 -0
  377. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha512 +1 -0
  378. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  379. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  380. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  381. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  382. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  383. package/package.json +2 -2
  384. package/templates/add/Placeholder.kt +4 -0
  385. package/templates/add/gradle-module/build.gradle.kts +9 -0
  386. package/templates/add/toolchain-module/module.yaml +4 -0
  387. package/templates/add/worker/package.json +15 -0
  388. package/templates/add/worker/src/index.ts +5 -0
  389. package/templates/add/worker/tsconfig.json +13 -0
  390. package/templates/add/worker/wrangler.jsonc +8 -0
  391. package/templates/gradle/renovate.json +4 -0
  392. package/templates/toolchain/renovate.json +4 -0
  393. package/dist/_verb-cfgwexs5.js +0 -117
  394. package/dist/cli-650g3nf7.js +0 -203
  395. package/dist/cli-xjpjdc2c.js +0 -70
  396. package/dist/push-tn468c4w.js +0 -22
  397. package/dist/push-wgbf86c0.js +0 -124
  398. package/dist/steps-8bz1tscj.js +0 -16
  399. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.md5 +0 -1
  400. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha1 +0 -1
  401. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha256 +0 -1
  402. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha512 +0 -1
  403. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.md5 +0 -1
  404. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha1 +0 -1
  405. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha256 +0 -1
  406. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha512 +0 -1
  407. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.md5 +0 -1
  408. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha1 +0 -1
  409. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha256 +0 -1
  410. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha512 +0 -1
  411. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.md5 +0 -1
  412. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha1 +0 -1
  413. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha256 +0 -1
  414. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha512 +0 -1
  415. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.md5 +0 -1
  416. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha1 +0 -1
  417. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha256 +0 -1
  418. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha512 +0 -1
  419. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.md5 +0 -1
  420. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha1 +0 -1
  421. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha256 +0 -1
  422. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha512 +0 -1
  423. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.md5 +0 -1
  424. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha1 +0 -1
  425. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha256 +0 -1
  426. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha512 +0 -1
  427. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.md5 +0 -1
  428. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha1 +0 -1
  429. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha256 +0 -1
  430. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha512 +0 -1
  431. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.md5 +0 -1
  432. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha1 +0 -1
  433. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha256 +0 -1
  434. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha512 +0 -1
  435. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.md5 +0 -1
  436. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha1 +0 -1
  437. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha256 +0 -1
  438. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha512 +0 -1
  439. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.md5 +0 -1
  440. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha1 +0 -1
  441. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha256 +0 -1
  442. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha512 +0 -1
  443. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.md5 +0 -1
  444. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha1 +0 -1
  445. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha256 +0 -1
  446. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha512 +0 -1
  447. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar → 0.7.1/kit-plugins-0.7.1.jar} +0 -0
  448. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.md5 → 0.7.1/kit-plugins-0.7.1.jar.md5} +0 -0
  449. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha1 → 0.7.1/kit-plugins-0.7.1.jar.sha1} +0 -0
  450. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha256 → 0.7.1/kit-plugins-0.7.1.jar.sha256} +0 -0
  451. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha512 → 0.7.1/kit-plugins-0.7.1.jar.sha512} +0 -0
  452. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar → 0.7.1/kit-settings-0.7.1.jar} +0 -0
  453. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.md5 → 0.7.1/kit-settings-0.7.1.jar.md5} +0 -0
  454. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha1 → 0.7.1/kit-settings-0.7.1.jar.sha1} +0 -0
  455. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha256 → 0.7.1/kit-settings-0.7.1.jar.sha256} +0 -0
  456. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha512 → 0.7.1/kit-settings-0.7.1.jar.sha512} +0 -0
package/README.md CHANGED
@@ -41,8 +41,8 @@ kit init --template toolchain --dry-run
41
41
 
42
42
  | Template | Writes |
43
43
  | --- | --- |
44
- | `toolchain` | `.kit/package.json`, `.kit/kit.config.ts`, `fastlane/Fastfile`, `.env.example`, `.editorconfig` (ktlint, 2-space), `mise.toml` (bun + ktlint, no java), `lefthook.yml`, `.github/workflows/{ci,distribute}.yml`; adds `node_modules/` and `.env` to `.gitignore` and `app-android-version` / `app-ios-version` to `libs.versions.toml` |
45
- | `gradle` | root `package.json`, `kit.config.ts`, `apps/client/{settings.gradle.kts,gradle/libs.versions.toml,fastlane/Fastfile}`, `.env.example`, `mise.toml`, `lefthook.yml`, `.github/workflows/ci.yml`. Add the Gradle wrapper and the modules yourself |
44
+ | `toolchain` | `.kit/package.json`, `.kit/kit.config.ts`, `fastlane/Fastfile`, `.env.example`, `.editorconfig` (ktlint, 2-space), `mise.toml` (bun + ktlint, no java), `lefthook.yml`, `.github/workflows/{ci,distribute}.yml`, `renovate.json`; adds `node_modules/` and `.env` to `.gitignore` and `app-android-version` / `app-ios-version` to `libs.versions.toml` |
45
+ | `gradle` | root `package.json`, `kit.config.ts`, `apps/client/{settings.gradle.kts,gradle/libs.versions.toml,fastlane/Fastfile}`, `.env.example`, `mise.toml`, `lefthook.yml`, `.github/workflows/ci.yml`, `renovate.json`. Add the Gradle wrapper and the modules yourself |
46
46
 
47
47
  - `toolchain` layers kit over an existing project and never writes a root `package.json`. Create the project
48
48
  first (`kotlin init`). A plain `kit init` there offers the template (`--yes` accepts it).
@@ -51,18 +51,70 @@ kit init --template toolchain --dry-run
51
51
  `jvm/app` module for `kit dev`. An id it cannot find is `com.example.<name>`: replace it before a release.
52
52
  CI tests the non-Apple platforms the modules declare (`--platform jvm --platform android …`).
53
53
  - Workflows pin kit by the commit of the running version's tag (`@<sha> # vX.Y.Z`).
54
- - A file that already exists is kept; `.gitignore` and the catalog only gain lines.
54
+ - A file that already exists is kept; `.gitignore` and the catalog only gain lines. `renovate.json` is
55
+ skipped when the repo has a Renovate config anywhere (`.github/renovate.json`, `.renovaterc`, …).
55
56
 
56
- ## Upgrading
57
+ ## Adding modules and targets
58
+
59
+ `kit add` scaffolds into a repo that already has kit. Both commands show the plan first, write nothing
60
+ with `--dry-run`, and print the plan or result as one document with `--json`.
61
+
62
+ ```sh
63
+ kit add module core # KMP library: android, ios, jvm
64
+ kit add module feature:login --compose # <gradle root>/feature/login, plus kit.compose
65
+ kit add module data --targets android,jvm --dir libs/data
66
+ kit add target api --kind worker --dir apps/api # worker | vite | astro | docker | custom
67
+ ```
68
+
69
+ | | Gradle (`gradle.root`) | Kotlin toolchain (`toolchain.root`) |
70
+ | --- | --- | --- |
71
+ | `kit add module <name>` writes | `build.gradle.kts` on kit's plugins only (`io.github.jordond.kit.kmp.library`, `…kit.compose` with `--compose`) with `kit { targets { … } }`, and `src/commonMain/kotlin/<package>/Placeholder.kt` | `module.yaml` (`kmp/lib`, the platforms of `--targets`; `--compose` enables Compose) and `src/Placeholder.kt` |
72
+ | and registers it in | `settings.gradle.kts`: one `include(":<name>")` after the last include (plus a `projectDir` line when `--dir` is not the path) | `project.yaml`: one entry in `modules:`, in the list's own style |
73
+ | Package | catalog `app-name` + the module path, the same rule the plugin uses for the Android namespace (`:feature:login` → `<app-name>.feature.login`) | the Android `applicationId` (or iOS bundle id) + the module name |
74
+
75
+ - Module names follow Gradle's project name rules (letters, digits, `-`, `_`, a letter first); `:` nests and
76
+ maps to directories. The Kotlin toolchain names a module after its directory, so names do not nest there.
77
+ - A file that already exists is never overwritten: the command lists them and exits 2. `--force` overwrites.
78
+ A module that is already included or listed is left as it is.
79
+ - Every edit keeps the file's line endings and is read back before it is written. A `settings.gradle` gets
80
+ Groovy syntax (`include ':core'`). A settings file or `project.yaml` kit cannot edit safely is left
81
+ untouched: the line to add goes to stdout and the exit code is 1.
82
+ - `kit add target` appends to `targets: { … }` in `kit.config.ts` (or `.kit/kit.config.ts`) with a text edit
83
+ that keeps the file as written, then loads the config to prove it. A config it cannot edit safely
84
+ (`targets` from a variable, a spread, a wrapper) is left untouched: the line to paste goes to stdout and
85
+ the exit code is 1. The name cannot be an existing target, `workspace`, or a kit command.
86
+ - `--kind worker` with a `--dir` that does not exist yet also writes a minimal worker: `wrangler.jsonc`
87
+ (placeholder name, no account id), `src/index.ts`, `package.json`, `tsconfig.json`. An existing directory
88
+ is only registered; other kinds get an empty directory when it is missing.
89
+
90
+ ## Keeping kit up to date
91
+
92
+ A repo pins kit twice: the `@jordond/kit` range in `package.json` (or `.kit/package.json`) and the
93
+ `jordond/kit/…@<sha> # vX.Y.Z` refs in `.github/workflows`. Both must name the same release;
94
+ `kit doctor --ci` fails when they differ.
95
+
96
+ By hand:
57
97
 
58
98
  ```sh
59
99
  kit upgrade # the latest release on npm
60
100
  kit upgrade 0.6.0
61
101
  ```
62
102
 
63
- Moves the `@jordond/kit` range in `package.json` (or `.kit/package.json`), runs the install, and rewrites
64
- every `jordond/kit/…@<sha> # vX.Y.Z` in `.github/workflows` to that release's tag commit, which is what
65
- `kit doctor --ci` compares. Re-running it repairs workflow pins that lag the npm pin.
103
+ Moves the range, runs the install, and rewrites every workflow ref to that release's tag commit.
104
+ Re-running it repairs workflow pins that lag the npm pin (`kit doctor --fix` does that part too).
105
+
106
+ With Renovate, extend kit's preset (the `kit init` templates write this `renovate.json`):
107
+
108
+ ```json
109
+ {
110
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
111
+ "extends": ["config:recommended", "github>jordond/kit//renovate/default"]
112
+ }
113
+ ```
114
+
115
+ The preset puts the npm package and the workflow refs in one group, so a kit release arrives as one
116
+ PR; moves the `package.json` range itself (`^0.6.0` to `^0.6.1`), never only the lockfile; and keeps
117
+ the workflow refs pinned to a commit SHA with the `# vX.Y.Z` comment kit reads.
66
118
 
67
119
  ## Shell completion
68
120
 
@@ -78,6 +130,292 @@ never in CI: fish gets its completions file; zsh and bash get the script in `~/.
78
130
  in `~/.zshrc` (`~/.bash_profile` on macOS, else `~/.bashrc`) that sources it. Sourcing a file means no
79
131
  kit process runs when a shell starts.
80
132
 
133
+ ## Affected targets
134
+
135
+ ```sh
136
+ kit check --affected # what this branch changed since origin/<default branch>
137
+ kit test --affected --base origin/develop
138
+ kit lint api web --affected # named targets ∩ affected ones
139
+ ```
140
+
141
+ `lint`, `format`, `typecheck`, `check`, `test` and `build` take `--affected [--base <ref>]`: only the
142
+ targets changed since the merge base with `<ref>` run, counting commits on the branch plus staged,
143
+ unstaged and untracked files. The default base is `origin/<default branch>` (from `origin/HEAD`), then
144
+ `origin/main`, then `main`; a base that doesn't exist runs everything, with a warning.
145
+
146
+ A target is affected by a change under its `dir`, or under one of its `paths` (dirs or globs, for shared
147
+ code that lives elsewhere):
148
+
149
+ ```ts
150
+ targets: {
151
+ api: { kind: 'worker', dir: 'apps/api', paths: ['packages/shared', 'schema/**/*.sql'] },
152
+ }
153
+ ```
154
+
155
+ A glob that matches a directory (`packages/*`) claims everything under it, and a `!` entry excludes:
156
+ `paths: ['packages/shared', '!**/*.md']`. Exclusions apply after the other entries and never to `dir`;
157
+ a file a target claims and then excludes is ignored (it does not count as unclaimed).
158
+
159
+ When HEAD is the default base itself with a clean tree (a push build of `main`), there is nothing to
160
+ compare: every target runs, with a warning, and `--json` adds `reason: "head-is-base"`. Pass
161
+ `--base HEAD~1` or the previous release tag there. With an explicit `--base`, no difference means
162
+ nothing runs. When `kit.config.ts` sits below the git root, a change outside it counts as unclaimed.
163
+
164
+ A changed file that no target claims (the root lockfile, `kit.config.ts`, CI workflows) affects every
165
+ target, and the workspace commands run whenever anything changed. Nothing changed exits 0. Unlike
166
+ `--staged`, tools get no file list: `--affected` only picks targets, and the two can't be combined.
167
+ `--staged` picks targets by the same `dir` and `paths` rule, but a staged file no target claims selects
168
+ none (the workspace commands still get it), so pre-commit hooks stay fast.
169
+ `--json` adds `affected` (the target names) and `base`.
170
+
171
+ ## Step timings
172
+
173
+ After a verb runs more than one step, the summary lists the five slowest (`--verbose`: all of them).
174
+ With `--json`, every step has `ms` and the document a total `ms`; `deploy`, `release` and `init` report
175
+ the same fields.
176
+
177
+ ## Clean
178
+
179
+ ```sh
180
+ kit clean --dry-run # list what would go, with sizes
181
+ kit clean client # one target
182
+ kit clean --deep --yes
183
+ ```
184
+
185
+ `kit clean [targets...]` deletes build output: `.gradle/`, `.kotlin/` and each Gradle project's `build/`
186
+ under the Gradle root (never `~/.gradle`), the Kotlin toolchain's `build/`, `dist/`, `.wrangler/tmp`,
187
+ `.astro` and the bundler caches in `node_modules` for worker, vite and astro targets, and the
188
+ `release.ios.output` .ipa with its dSYM zip (their dir too, only when it holds nothing else and git
189
+ tracks nothing in it). `--deep` adds `node_modules` (root and `.kit/`), `.wrangler/state` (your local
190
+ D1/KV data) and the configured iOS project's Xcode DerivedData. It lists every path with its size and asks
191
+ first (`--yes` skips the question); `--json` reports `{ removed: [{ path, bytes }], bytes }`. Symlinks
192
+ and anything that resolves outside the repo root are refused.
193
+
194
+ ## Devices and the debug app
195
+
196
+ ```sh
197
+ kit device list # simulators, emulators and phones; booted first
198
+ kit device boot ios # newest, largest iPhone; created when it does not exist
199
+ kit device boot ipad
200
+ kit device boot android # newest, largest Pixel AVD; created on a Play image
201
+ kit device statusbar ios # 9:41, full battery and signal; --clear restores it
202
+
203
+ kit app build android # debug build; prints the .apk path
204
+ kit app install ios # build, then install on the simulator
205
+ kit app run android --device emulator-5554
206
+ kit app install android --file app.aab
207
+ kit app uninstall ios
208
+ kit app clear android # wipe the app's data, keep it installed
209
+ ```
210
+
211
+ `kit app` and `kit device` take a platform: `ios`, `android`, and for devices `ipad` (the iOS app on an
212
+ iPad simulator). kit owns the device lifecycle with `simctl`, `adb`, `emulator` and `avdmanager`.
213
+
214
+ **Which device.** `--device <id>` is used as given (a simulator UDID or an adb serial). Without it: the
215
+ one running device; with several up, a picker (`--yes` takes the newest, largest iPhone or iPad, and an
216
+ emulator over a cabled phone); with none, kit offers to boot one, creating it first when needed. Without
217
+ a terminal that question needs `--yes`. `uninstall`, `clear` and `statusbar` never boot a device.
218
+
219
+ **Which emulator image.** A new AVD gets a Play system image when one is installed, newest API first
220
+ (otherwise `google_apis`, then AOSP). In CI the emulator starts headless.
221
+ `KIT_DEVICE_TIMEOUT_MS` changes the four minutes an emulator boot may take.
222
+
223
+ **Emulator arguments.** kit starts the emulator as `emulator -avd <avd>`, the headless flags in CI, then
224
+ any extra arguments from two places, in this order:
225
+
226
+ ```ts
227
+ // kit.config.ts: an API 37 Play image plays no video without this
228
+ devices: { android: { emulatorArgs: ['-feature', '-HardwareDecoder'] } },
229
+ ```
230
+
231
+ ```sh
232
+ # this machine only: the shell, or the repo's .env (Bun loads it before kit starts)
233
+ KIT_EMULATOR_ARGS='-packet-streamer-endpoint default'
234
+ ```
235
+
236
+ The config holds what the project needs on every machine, so it is committed; `KIT_EMULATOR_ARGS` holds
237
+ what this machine needs (a stale `netsimd` from another session) and stays out of the repo. It is split
238
+ on whitespace, with `'…'` and `"…"` keeping an argument that has spaces together. kit picks the AVD, so
239
+ `-avd` and `@name` are refused. The arguments apply to every command that boots the emulator
240
+ (`kit device boot android`, `kit qa android`, `kit shots android`, `kit fixture load android`); an
241
+ emulator that is already running keeps the ones it was started with, and kit says so. A boot that times
242
+ out shows the last lines of the emulator's log and where the log is.
243
+
244
+ **What gets built.** `kit app build <ios|android>` builds the debug variant (`--release` for release)
245
+ and prints the artifact path on stdout:
246
+
247
+ | | Android | iOS simulator |
248
+ | --- | --- | --- |
249
+ | Gradle | `<module>:assembleDebug` | `xcodebuild -scheme <scheme> -configuration Debug` for the simulator |
250
+ | Kotlin toolchain | `./kotlin build -m <module> -p android -v debug` | `./kotlin build -m <module> -p iosSimulatorArm64 -v debug` |
251
+
252
+ `kit build <target> --release` is still the signed store build; `kit app build` is for a device.
253
+
254
+ **Installing.** `kit app install` builds first; `--no-build` installs the newest artifact already there,
255
+ and `--file` installs a given `.apk`, `.app` or `.aab` (an AAB goes through `bundletool`). A physical
256
+ iPhone takes `--device <id> --file <path>` and installs with `devicectl`.
257
+
258
+ The app comes from `release.*` in kit.config.ts. Set `app` only when it differs, or when the repo has no
259
+ release block:
260
+
261
+ ```ts
262
+ app: {
263
+ ios: { bundleId: 'app.example', project: 'ios/iosApp.xcodeproj', scheme: 'iosApp' },
264
+ android: { packageName: 'app.example', module: ':android' },
265
+ },
266
+ ```
267
+
268
+ `kit doctor` adds three checks for a repo with a mobile app, all warnings: `adb`, the Android emulator
269
+ (emulator, `avdmanager`, a system image for this machine) and an installed iOS simulator runtime.
270
+
271
+ ## Maestro: QA and screenshots
272
+
273
+ The repo writes [Maestro](https://maestro.dev) flows; kit does the rest: device, build, install,
274
+ status bar, fixture, the runs, and collecting the screenshots.
275
+
276
+ ```sh
277
+ kit qa ios # build, install, load the fixture, run the smoke flows
278
+ kit qa android --device emulator-5554 --junit report.xml
279
+ kit qa ios --no-build --tags smoke,settings
280
+ kit shots ios # 9:41 status bar, fixture, flows, PNGs copied out
281
+ kit shots ipad --full # the shots-full suite
282
+ kit fixture load ios portland # replay app state onto the device
283
+ kit fixture dump android portland
284
+ kit maestro studio # the Maestro CLI itself
285
+ ```
286
+
287
+ ```ts
288
+ maestro: {
289
+ dir: 'apps/client/maestro', // config.yaml and the flows
290
+ version: '2.9.0', // kit doctor compares it; CI installs it
291
+ devices: { ios: 'iPhone 17 Pro Max' }, // optional: what to boot when nothing is running
292
+ suites: {
293
+ qa: { tags: ['smoke'], fixture: 'portland' },
294
+ shots: { tags: ['appstore'], fixture: 'portland', screenshots: 'brand/screenshots' },
295
+ 'shots-full': { extends: 'shots', stages: [['appstore', 'appstore-full'], ['appstore-onboarding']] },
296
+ },
297
+ },
298
+ fixtures: {
299
+ dir: 'apps/client/fixtures', // one dir per fixture
300
+ files: [
301
+ { from: 'app_database.db', ios: 'Documents/databases/', android: 'databases/', sqlite: true },
302
+ { from: 'entry_photos/', ios: 'Documents/entry_photos/', android: 'files/entry_photos/' },
303
+ ],
304
+ clear: { ios: ['Library/Caches'], android: ['cache', 'code_cache'] },
305
+ prepare: 'apps/client/fixtures/rebase.sh',
306
+ },
307
+ ```
308
+
309
+ **Suites.** `kit qa` runs the `qa` suite (default: tags `smoke`), `kit shots` the `shots` suite (default:
310
+ tags `screenshots`, status bar pinned, PNGs to `<maestro.dir>/screenshots/<target>/`), `kit shots --full`
311
+ the `shots-full` suite, and `--suite <name>` any other. A suite has `tags` (one Maestro run) or `stages`
312
+ (one run per tag set, in order). Stages exist because Maestro's own `executionOrder` breaks under tag
313
+ filters: a flow that wipes app state belongs in a last stage of its own. Flows get `PLATFORM=ios|android`
314
+ plus the suite's `env`.
315
+
316
+ **The run.** One device is resolved first (see Devices above), then everything lands on it: the debug
317
+ build and install (`--no-build` drives what is installed), the 9:41 status bar when the suite asks, the
318
+ fixture (`--fixture <name>`, `--no-fixture`), then each stage. A failing stage stops the run and exits 1. The status bar stays pinned afterwards
319
+ (`kit device statusbar <target> --clear`).
320
+ Screenshots are the flows' `takeScreenshot` PNGs: a shot replaces the file of the same name and leaves the
321
+ rest. Maestro's logs stay under `<maestro.dir>/output/<target>-<suite>/`. Maestro drives simulators and
322
+ Android devices, not physical iPhones.
323
+
324
+ **Fixtures.** `<fixtures.dir>/<name>/` holds the files listed in `fixtures.files`; `ios` and `android`
325
+ are destination dirs inside the simulator's data container and the app's data dir. Loading stops the
326
+ app, replaces each destination (a stale file is never left over), and removes the `clear` dirs. `prepare`
327
+ runs on a staged copy first, with `KIT_FIXTURE`, `KIT_FIXTURE_DIR`, `KIT_PLATFORM` and `KIT_ROOT` set: the
328
+ place to rebase dates so an old capture reads as current. Android goes through `run-as`, so the installed
329
+ build must be debuggable (`kit app install android` installs one); a rooted adb is the fallback for load. `kit fixture dump` captures the same
330
+ files back, checkpoints SQLite WALs, and replaces the whole fixture dir only when the capture succeeded: files not listed in `fixtures.files`
331
+ do not survive a dump.
332
+
333
+ `kit lint` also runs `maestro check-syntax` over the flows, and `kit doctor` checks the Maestro version
334
+ against `maestro.version` and that Java 17+ is there.
335
+
336
+ ### Store screenshots
337
+
338
+ `kit shots export` turns the raw shots into the images the stores take: each slide of a saved project
339
+ (background, headline, device frame around the raw shot) is drawn by headless Chrome at the store's
340
+ exact size and written into the store listing dirs, ready for `kit release metadata push --screenshots`.
341
+
342
+ ```sh
343
+ kit shots ios && kit shots ipad && kit shots android # capture the raw shots
344
+ kit shots export # compose them, for both stores and every locale
345
+ kit shots export --store apple --locale en-US
346
+ kit shots export --out build/store-shots --dry-run --json
347
+ kit release metadata push ios --only-screenshots # upload the images, leave the text (see Store listing)
348
+ ```
349
+
350
+ ```ts
351
+ shots: {
352
+ project: 'brand/studio.json', // the saved project: slides, text, frames
353
+ raw: 'brand/screenshots', // optional: default the shots suite's screenshots dir
354
+ fonts: [{ family: 'Nunito', file: 'brand/fonts/nunito.woff2', weight: '400 800' }],
355
+ brand: { mark: 'brand/logo.svg', wordmark: 'brewd', color: '#2c1e14', font: 'Nunito' },
356
+ sets: { ios: 'iphone-6.9' }, // optional: iphone-6.9 | iphone-6.5 | iphone-6.3
357
+ },
358
+ ```
359
+
360
+ **The project file.** A version 1 project as the screenshot editor saves it: `slides[]`, each with a
361
+ `name`, an `order`, the `sourceFile` of its raw shot (`home.png`), its text, device and background. kit
362
+ ignores the editor's `imageSrc` and `dimensionId`. Every slide is exported for every target: the raw shot
363
+ is `<raw>/<target>/<locale>/<sourceFile>` when that exists, else `<raw>/<target>/<sourceFile>`, and a
364
+ slide framed in an iPhone gets the iPad or Pixel frame on the other targets. An optional `locales` block
365
+ replaces the text per locale and slide id; a field left out keeps the slide's own text, and `fr-CA`
366
+ falls back to another `fr` entry before that:
367
+
368
+ ```json
369
+ "locales": { "fr-FR": { "slide-1": { "headline": "…", "subheadline": "…", "badge": "…" } } }
370
+ ```
371
+
372
+ **Fonts and brand.** Every font family a slide names has to be in `shots.fonts` (the CSS generics
373
+ `sans-serif`, `serif`, `monospace` and `system-ui` aside): Chrome would draw an unknown family in a
374
+ fallback font without complaint, so export stops first (exit 3). `brand` is the lockup drawn on slides
375
+ that show it: the mark, and the wordmark beside it. The wordmark and a slide's badge are drawn in
376
+ `brand.font`, or in the slide's headline family when there is none, so that family has to be declared
377
+ even on a slide whose headline is empty.
378
+
379
+ **Output.** Locales are, per store, the locale dirs already in that store's metadata dir (`en-US` when
380
+ there are none yet); `--locale` narrows them. In the iOS metadata dir, the dirs deliver does not read
381
+ as a locale are left out (`default`, `review_information`, `trade_representative_contact_information`,
382
+ `app_clip_review_information`, `android`, `fonts`, `appleTV`, `iMessage`), and in either store so is a
383
+ dir whose name cannot be a locale (`Old Backup`).
384
+
385
+ | Store | Target | Size | Written to |
386
+ | --- | --- | --- | --- |
387
+ | apple | ios | 1320x2868 (`iphone-6.9`) | `<release.ios.metadata>/../screenshots/<locale>/NN_iphone-6.9_<slug>.png` |
388
+ | apple | ipad | 2064x2752 (`ipad-13`) | same dir, `NN_ipad-13_<slug>.png` |
389
+ | google | android | 1440x2560 (`phone`) | `<release.android.metadata>/<locale>/images/phoneScreenshots/NN_<slug>.png` |
390
+
391
+ `NN` is the slide's position and `<slug>` its name. Each dir gets a `.kit-shots.json` listing what
392
+ export wrote. The next export replaces those files and removes the ones it no longer writes; an image
393
+ in the same set that it did not write is in the way (exit 4) until it is moved or `--force` replaces it.
394
+ So is a directory or a dangling link with an image name there: the uploader would take it and fail.
395
+ Play's icon, feature graphic and other screenshot types are never touched. The PNGs have no alpha
396
+ channel, which App Store Connect requires.
397
+
398
+ | Flag | Meaning |
399
+ | --- | --- |
400
+ | `--store apple\|google\|both` | Default `both`. A store with no `release.<platform>.metadata` is a usage error unless `--out` is given |
401
+ | `--locale <a,b>` | Only these locales |
402
+ | `--out <dir>` | Write `<dir>/apple/<locale>/…` and `<dir>/google/<locale>/images/phoneScreenshots/…` instead of the store dirs |
403
+ | `--allow-missing` | Skip a slide whose raw shot is absent, instead of stopping (exit 4) |
404
+ | `--force` | Replace images in an exported set that kit did not write |
405
+ | `--dry-run` | Print what would be written and removed; Chrome is not started and nothing changes |
406
+ | `--json` | `{ dryRun, stores, written: [{ store, target, set, locale, slide, file, width, height }], removed, skipped }` |
407
+
408
+ `--store`, `--locale` and `--out` given an empty or whitespace-only value (`--out "$OUT"` with `OUT`
409
+ unset) are a usage error (exit 2), not the default.
410
+
411
+ Nothing is written unless every image came back at its exact size: a Chrome that exits, a page error or
412
+ five minutes without a new image is exit 1 with the store dirs as they were. Every rendered PNG is held
413
+ in memory until all of them are back, so memory grows with slides x locales (a few MB each); `--store`
414
+ and `--locale` split a large export into smaller runs. Before Chrome starts, export checks
415
+ that the raw shots, font and brand files are there, that Chrome is, and that no set has more slides
416
+ than its store keeps (10 on the App Store, 8 on Play); each of those is exit 4. Chrome is the installed
417
+ Google Chrome or Chromium (112 or newer), or the binary `KIT_CHROME` names.
418
+
81
419
  ## Repo commands
82
420
 
83
421
  `.kit/commands/<path>.ts` adds `kit <path>`; the file path is the command path. Keep heavy imports
@@ -126,6 +464,61 @@ export default defineCommand({
126
464
  a repo with `mise.toml` warns when mise isn't installed or a pinned version differs, and a repo with
127
465
  `lefthook.yml` warns when lefthook isn't installed or `lefthook install` hasn't been run in the clone.
128
466
 
467
+ When the config has a `shots` block, `kit doctor` also checks for Chrome, which `kit shots export` uses to render store screenshots. 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.
468
+
469
+ ```sh
470
+ kit doctor --fix # list the fixes, confirm once, apply, check again
471
+ kit doctor --fix --yes # no question (needed without a terminal)
472
+ kit doctor --fix --dry-run # list them only
473
+ ```
474
+
475
+ `--fix` repairs what is safe and local, runs the touched checks again, then reports (and exits on)
476
+ the state after the fixes. A fix is "fixed" only when its check passes afterwards: a command that ran
477
+ and left the check failing (tools `mise install` put somewhere this shell does not look yet) is
478
+ reported as applied, with the next step.
479
+
480
+ | Check | Fix |
481
+ | --- | --- |
482
+ | lefthook hook not installed | `lefthook install` |
483
+ | mise tool missing or drifted | `mise install` |
484
+ | wrangler not installed | the worker's install: the package manager of the nearest lockfile above the worker dir, run where that lockfile is |
485
+ | iOS / Android version drift | writes the TOML version to the xcconfig's `MARKETING_VERSION` / the module.yaml's `versionName` |
486
+ | Kotlin toolchain wrapper not executable | `chmod +x` |
487
+ | workflow pins behind the npm pin | moves them to that release's tag commit, as `kit upgrade` does; skipped with a note when the tag cannot be resolved (offline) |
488
+
489
+ Xcode, the JDK, the Android SDK, logins, `.env` values and secrets are never fixed: those checks keep
490
+ their hint. Plain `kit doctor` ends with `N fixable with kit doctor --fix` when there is something to
491
+ apply, and `--json` adds `fixes: [{ id, description, applied, ok, error?, hint? }]`, where `ok` is whether
492
+ the check passes after the fix.
493
+
494
+ ## Changelog
495
+
496
+ ```sh
497
+ kit changelog # Markdown since the last release tag
498
+ kit changelog --platform ios # since the last ios/v* tag
499
+ kit changelog --from v0.5.0 --to v0.6.0 --json
500
+ kit changelog --platform android --write # add a section to CHANGELOG.md
501
+ kit changelog --write docs/CHANGES.md
502
+ ```
503
+
504
+ Groups the Conventional Commits in the range into Breaking (`!` or a `BREAKING CHANGE:` footer),
505
+ Features, Fixes, Performance and Other. `chore(release)` and merge commits are always left out;
506
+ `chore`, `test`, `ci` and `style` too unless `--all` is given. The range starts at the newest release
507
+ tag reachable from `--to` (`<platform>/v*` with `--platform`, any `…v<version>` tag without); with no
508
+ tag it is the whole history. `--to <tag>` lists that release: the range starts at the tag before it.
509
+
510
+ `--write` puts a `## <version> (<date>)` section above the newest one in `CHANGELOG.md` (or the file
511
+ named after it), creating the file when needed. The version is the `--to` tag's, else the platform's
512
+ version in the catalog TOML, else the root `package.json` version, else `Unreleased`; with `--platform`
513
+ the heading is `## ios 1.4.0 (…)`. A version that already has a section is not added again; the
514
+ `Unreleased` section is rewritten in place on each run, so new commits keep landing in it.
515
+
516
+ In a shallow clone with no release tag in it (CI's default checkout) the range would be whatever was
517
+ fetched: `kit changelog` warns, and `--write` refuses (exit 4) until the history is there
518
+ (`git fetch --unshallow --tags`, or `fetch-depth: 0`). Any other git failure (a ref that does not
519
+ exist, not a repository) is an error, never an empty changelog.
520
+ `--json` prints `{ from, to, sections: [{ title, commits }] }`.
521
+
129
522
  ## Kotlin toolchain
130
523
 
131
524
  Apps built with the [JetBrains Kotlin Toolchain](https://kotlin-toolchain.org/latest/) (formerly Amper)
@@ -174,6 +567,55 @@ it comes from kit's Gradle plugin.
174
567
  Give the Release configuration manual signing with the match profiles, a `DEVELOPMENT_TEAM`, and
175
568
  `MARKETING_VERSION` in `release.ios.xcconfig`.
176
569
 
570
+ ## Env
571
+
572
+ One `.env` per repo; `env.schema` (a zod object, usually `.kit/env.ts`) declares each key, and
573
+ `env.workerSecrets` / `env.githubSecrets` say which remotes hold it. Keys are secret unless marked
574
+ `.meta({ secret: false })`. Values never reach output: only names and statuses are printed.
575
+
576
+ | Command | Does |
577
+ | --- | --- |
578
+ | `kit env push` | Every worker in `env.workerSecrets` (`wrangler secret put`) and `env.githubSecrets` (`gh secret set`); lists names, confirms (`--yes` skips), `--dry-run` only lists |
579
+ | `kit env push --workers` | Every worker, GitHub skipped. Exclusive with `--all`, `--target` and `--github` |
580
+ | `kit env push --target <t>` / `--github` | One worker / GitHub only; both flags together push that worker and GitHub |
581
+ | `kit env rotate <KEY...> [--push]` | New generated value in `.env`, outputs re-rendered as `kit env sync` does, then prints where the key lives and the `kit env push …` to run; `--push` runs it |
582
+
583
+ `kit env rotate` only takes keys whose schema says how to make them:
584
+
585
+ ```ts
586
+ INTERNAL_API_SECRET: z.string().min(32).meta({ generate: 'hex' }), // 32 random bytes, hex
587
+ SESSION_KEY: z.string().meta({ generate: 'base64url', length: 48 }), // length is in bytes
588
+ INSTALL_ID: z.uuid().meta({ generate: 'uuid' }),
589
+ ```
590
+
591
+ - The new value is checked against the key's own rule before anything is written; only that line of
592
+ `.env` changes (comments, order, quotes and line endings stay), and a key `.env` lacks is added.
593
+ - kit reads `.env` the way dotenv and Bun do: on an unquoted value ` #` starts a comment
594
+ (`KEY=value # note` is `value`, `KEY= # note` is empty), a `#` inside `'…'`, `"…"` or backticks is
595
+ part of the value, `"…"` turns `\n` / `\r` into line breaks, and `\$` is a literal `$`. kit itself
596
+ never expands `$NAME`, but Bun (which loads `.env` before kit starts) does, so write a literal
597
+ dollar as `\$`.
598
+ - When kit writes a value (`env init`, `env rotate`, rendered outputs) it quotes one that holds a
599
+ `#`, has spaces at either end or starts with a quote, writes a multi-line value as `"…\n…"`, and in
600
+ `.env` writes `$` as `\$` (`.dev.vars` keeps `$` raw: wrangler does not expand there). It refuses
601
+ (exit 3, naming the key) a value no reader would get back intact: one that needs quotes and holds
602
+ `'`, `"` and a backtick or ends in a backslash, a multi-line value holding `"` or a literal `\n`,
603
+ and in `.env` one ending in `\$`. Base64-encode such a value.
604
+ - `kit env check`, `kit env push` and `kit doctor` warn about hand-written `.env` lines that Bun, dotenv
605
+ and kit read differently (names and line numbers only): a `#` inside an unquoted value, an unescaped
606
+ `$`, a quote that does not close on its line. What runs locally and what `kit env push` sends could
607
+ differ there; the warning says how to write the line. `kit env check --json` lists them under
608
+ `ambiguous`.
609
+ - It confirms first, since the old value stops working once the new one is pushed (`--yes` skips).
610
+ `--dry-run` writes nothing and lists what would rotate and where it would be pushed.
611
+ - `--push` pushes every secret of the remotes that hold the key. The remotes are listed first (a
612
+ remote kit cannot list stops the run, with `--yes` too) and one confirm covers rotating and pushing,
613
+ so nothing is written until the push can go ahead.
614
+ - `--json` reports `{ rotated: [{ key, destinations }], pushed }`, never a value. When `.env` holds
615
+ a new value that is not on its remotes yet, `pending` is the command that finishes the job; the
616
+ same note goes to stderr.
617
+ - A key without `generate` belongs to a provider: rotate it there, update `.env`, then `kit env push`.
618
+
177
619
  ## Releases
178
620
 
179
621
  kit owns the release flow; one shared `fastlane/Fastfile` (shipped in this package) runs the lanes.
@@ -192,10 +634,55 @@ No Appfile, Matchfile, Pluginfile or app Gemfile: inputs reach the lanes as `KIT
192
634
  | `kit version show` | Version names from `versions.file` and the last release tags |
193
635
  | `kit version bump <patch\|minor\|major> [--platform ios\|android\|all\|<service>]` | Edit the TOML value, commit `chore(release): …`, push (`--no-push`, `--pr`) |
194
636
  | `kit release ios\|android --track internal\|alpha\|beta\|prod` | Preflight → next build number from the store → confirm → build → upload → tag `<platform>/v<version>+<build>` |
195
- | `kit release <service>` | `release.services.<name>`: build, deploy, tag `<name>/v<version>` |
637
+ | `kit release <service>` | `release.services.<name>`: build, deploy, tag `<name>/v<version>`. A service cannot be named after a release command (`ios`, `android`, `certs`, `status`, `promote`, `rollout`, `metadata`, `rollback`) |
638
+ | `kit release rollback <service> [--to <version-id>]` | Worker services only: `wrangler rollback`; tags stay put (see [Cloudflare workers](#cloudflare-workers)) |
196
639
  | `kit release certs [--add]` | match `appstore`, readonly; `--add` creates only what this app is missing (never nuke) |
197
640
  | `kit fastlane …` | fastlane with kit's env and the ASC/Play key files |
198
-
641
+ | `kit release status [ios\|android]` | The TOML version and the latest build per store track (`--json`) |
642
+ | `kit release promote <ios\|android> --from alpha\|beta --to beta\|prod` | Move a build the store already has to a later track: no rebuild, no upload |
643
+ | `kit release rollout <ios\|android> --percent <1-100>\|--halt\|--resume\|--complete` | Change the production rollout of the released build |
644
+
645
+ - `kit release status`: Android lists every Play track (version codes and release names); iOS lists
646
+ `testflight` (one build list for every group) and `prod` (the live App Store build and its phased
647
+ release state; `unknown` with a warning and `phasedError` when it could not be read, which is not
648
+ the same as having none). A track the store will not answer for is `unknown` with a warning; the command fails
649
+ only when a platform has no readable track.
650
+ - `kit release promote`: `--build` picks the build number / version code (default: the latest on the
651
+ source track). It runs the branch check, the store credentials, `release.preflight` and the same
652
+ confirmation as a release to `--to`. A promotion never tags: a tag names a build, not a track
653
+ (release notes are computed from the last `<platform>/v*` tag), so the tag from the build's first
654
+ release stands. When `<platform>/v<version>+<build>` is missing, kit warns and prints the `git tag`
655
+ command to run on the commit that built it (`tagExisted` and `tagCommand` in `--json`); HEAD is not
656
+ that commit.
657
+ `--dry-run` prints the plan and runs nothing.
658
+ - **Internal builds are never promoted** (`--from internal` exits 2): they are compiled with
659
+ `KIT_INTERNAL` set, so a later track needs `kit release <platform> --track <track>`.
660
+ - Android: `--rollout` (prod, default `release.android.prodRollout` or 0.1) and `--draft` work as in
661
+ `kit release android`; `--notes` sets the changelog except on production.
662
+ - iOS: `--app-version <x.y.z>` promotes a build from before a version bump (default: the TOML version);
663
+ it is the lane's app version and the tag's version. On Android it is a usage error (the version
664
+ code alone finds the release).
665
+ - iOS: the build must be in the source tester group (`release.ios.testflightGroups.<from>`, default
666
+ the track name). A build that never reached it, an internal build included, is refused with
667
+ exit 1, `--build` or not; so is a destination group the app does not have.
668
+ - iOS: the source group must receive its builds explicitly, as `kit release ios --track alpha|beta`
669
+ distributes them. A group with automatic distribution (App Store Connect's default for an
670
+ internal group) holds every upload, internal builds included, and kit cannot tell them apart
671
+ there: promoting from it is refused. Turn automatic distribution off for that group, or point
672
+ `release.ios.testflightGroups` at one without it.
673
+ - iOS: `alpha → beta` distributes the build to `release.ios.testflightGroups.beta`;
674
+ `→ prod` submits it for App Store review (phased, manual release) and requires `--notes`.
675
+ - `kit release rollout` takes exactly one action. `--percent`, `--resume` and `--complete` widen
676
+ production exposure, so they use the `prod` confirmation: type `prod` locally (`--yes` doesn't skip),
677
+ the `production` environment's reviewers in CI. `--halt` is the emergency brake: a prompt that
678
+ `--yes` skips. `--dry-run` runs nothing.
679
+ Android changes the production staged rollout; `--percent 100` completes it, and a halted rollout
680
+ must be resumed before its percentage changes. Only a rollout in progress (or, for `--resume`, a
681
+ halted one) is touched, never a draft; `--build <version code>` names the release when the track
682
+ holds more than one, and the result names the version code that changed. A release halted at 100%
683
+ has no staged rollout to resume: `--resume` says so, use `--complete`. The App Store has no percentage (a phased release
684
+ follows Apple's 7-day schedule), so `--percent` is a usage error on iOS: `--halt` pauses the phased
685
+ release, `--resume` and `--complete` do what they say.
199
686
  - Build numbers are never committed: `max(store) + 1`, or `--build` / `--code`.
200
687
  - iOS: set `release.ios.xcconfig` to the xcconfig holding `MARKETING_VERSION` (what local Xcode builds
201
688
  show). `kit version bump` rewrites it in the same commit, and `kit release ios` / `kit doctor` fail
@@ -235,6 +722,102 @@ export default definePreflight({
235
722
 
236
723
  `release.android.gates` run Gradle tasks for the listed tracks (e.g. baseline-profile verification).
237
724
 
725
+ ### Store listing
726
+
727
+ `kit release metadata` keeps the store listing in the repo, in fastlane's own layouts. Both keys are
728
+ optional paths relative to the repo root:
729
+
730
+ ```ts
731
+ release: {
732
+ ios: { /* … */ metadata: 'client/fastlane/metadata' }, // deliver: <locale>/name.txt, …; screenshots in ../screenshots
733
+ android: { /* … */ metadata: 'client/fastlane/metadata/android' }, // supply: <locale>/title.txt, <locale>/images/
734
+ },
735
+ ```
736
+
737
+ | Command | Does |
738
+ | --- | --- |
739
+ | `kit release metadata pull <ios\|android> [--screenshots] [--force]` | Download the listing text; `--screenshots` also downloads the screenshots (Play: and the feature graphic and icon) |
740
+ | `kit release metadata push <ios\|android> [--screenshots] [--only-screenshots]` | Upload the listing text; `--screenshots` also replaces the screenshots (Play: and the feature graphic and icon); `--only-screenshots` sends the images and no text |
741
+
742
+ - `push` never uploads a binary, submits for review, or changes a rollout or phased release. It asks
743
+ before changing the public listing (`--yes` skips); `--dry-run` prints the files it would send and
744
+ runs nothing.
745
+ - `pull` stops when what it would write has uncommitted changes (the text; with `--screenshots` the
746
+ screenshots too); `--force` overwrites them. Without `--screenshots` local screenshots are left alone.
747
+ - iOS `review_information/` (the App Review contact and the demo account's user and password, which
748
+ deliver writes as plaintext) never stays in the repo: `pull` removes it, and `push` neither lists nor
749
+ uploads it. Edit those fields in App Store Connect.
750
+ - Only the store key is needed: `ASC_*` for iOS, `PLAY_SERVICE_ACCOUNT_BASE64` for Android.
751
+ - iOS edits the version being prepared in App Store Connect; with none, `push` fails at once: create
752
+ the next version there, or push after `kit release ios --track prod`. Android needs a
753
+ release on some Play track, and `changelogs/` is never sent: `kit release android` writes those.
754
+ - A missing key or directory is a usage error (exit 2) naming `release.<platform>.metadata`.
755
+
756
+ #### Screenshots
757
+
758
+ `kit release metadata push <ios|android> --screenshots` uploads the listing text and the images.
759
+ `--only-screenshots` uploads the images alone: no text is sent, none has to exist in the repo, and the
760
+ store keeps the text it has. Use it after `kit shots export`.
761
+
762
+ One thing is still added on iOS: deliver creates a version localization for every local screenshot
763
+ locale the version being prepared lacks. `--only-screenshots` with a new `fr-FR/` directory adds a
764
+ fr-FR locale to that version with no text in it; fill it in App Store Connect or with a text push
765
+ before submitting.
766
+
767
+ ```sh
768
+ kit release metadata push ios --only-screenshots --dry-run # check the images, upload nothing
769
+ kit release metadata push ios --only-screenshots
770
+ kit release metadata push android --screenshots --yes
771
+ ```
772
+
773
+ kit finds the images the way fastlane does, so what it checks, lists and counts is what goes up:
774
+
775
+ | Store | Uploaded | Not uploaded |
776
+ | --- | --- | --- |
777
+ | App Store (deliver) | The `.png`, `.jpg` and `.jpeg` files directly in `screenshots/<locale>/`, and in `screenshots/appleTV/<locale>/` and `screenshots/iMessage/<locale>/` | Files at the root of `screenshots/`, in deeper directories, and in `fonts/`, `android/` and `review_information/`. In a locale directory with a `*_framed` file, every file whose path names neither "framed" nor "watch" |
778
+ | Google Play (supply) | `<locale>/images/featureGraphic.<ext>`, `icon.<ext>` and `tvBanner.<ext>`, and the files directly in `<locale>/images/phoneScreenshots/`, `sevenInchScreenshots/`, `tenInchScreenshots/`, `tvScreenshots/` and `wearScreenshots/` | Any other file or directory under `<locale>/images/` |
779
+
780
+ Every other directory in `screenshots/` must be named after an App Store locale, in any case. The
781
+ names are deliver's list in the pinned fastlane: `ar-SA`, `bn-BD`, `ca`, `cs`, `da`, `de-DE`, `el`,
782
+ `en-AU`, `en-CA`, `en-GB`, `en-US`, `es-ES`, `es-MX`, `fi`, `fr-CA`, `fr-FR`, `gu-IN`, `he`, `hi`, `hr`,
783
+ `hu`, `id`, `it`, `ja`, `kn-IN`, `ko`, `ml-IN`, `mr-IN`, `ms`, `nl-NL`, `no`, `or-IN`, `pa-IN`, `pl`,
784
+ `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl-SI`, `sv`, `ta-IN`, `te-IN`, `th`, `tr`, `uk`, `ur-PK`, `vi`,
785
+ `zh-Hans`, `zh-Hant`. Two layouts stop the push with exit 4, because deliver would fail on them, the
786
+ second one after deleting the store's screenshots:
787
+
788
+ - a directory with another name, such as `screenshots/en/`;
789
+ - `screenshots/default/`, or `default`, `appleTV` or `iMessage` inside `appleTV/` or `iMessage/`,
790
+ when it holds an image: deliver reads its files with no locale. Without one it is left alone.
791
+
792
+ An image push also stops with exit 4 when the absolute path of the screenshots directory (iOS) or
793
+ the metadata directory (Android) contains one of `[ ] { } * ? \`: fastlane cannot read such a path.
794
+ deliver and supply find the images with a glob, read these characters as a pattern, upload nothing
795
+ and report success. Of several files for one Play image type (`icon.png` beside `icon.jpg`) supply
796
+ uploads the last of `png`, `jpg`, `jpeg`, and that one is the file kit checks.
797
+
798
+ Before the confirmation (and in `--dry-run`) kit reads every image it is about to upload. If the store
799
+ would refuse any of them, the push stops with exit 4 and lists each file with its reason; nothing is
800
+ uploaded and kit never rewrites the files. A directory or a dangling link with an image name is listed
801
+ too: fastlane would still try to upload it.
802
+
803
+ | Store | Rule |
804
+ | --- | --- |
805
+ | Both | The file is a PNG or JPEG and its content matches its extension; no alpha channel |
806
+ | App Store | The pixel size is one App Store Connect takes; at most 10 screenshots per locale and display type. A file in `iMessage/<locale>/` is an iMessage display type: its own count, and no Mac, Watch, Apple TV or Vision Pro sizes |
807
+ | Google Play screenshots | Each side 320 to 3840 px; the long side at most twice the short side; at most 8 per type and locale. Fewer than 2 phone screenshots is a warning |
808
+ | Google Play images | `featureGraphic` is exactly 1024x500 and `tvBanner` exactly 1280x720, both with no alpha; `icon` is 512x512 and at most 1024 KB (alpha allowed) |
809
+
810
+ The confirmation shows, per locale and class, how many images go up and at what size. With `--json`
811
+ the document carries `files` (what goes up), `images` (`file`, `locale`, `class`, `width`, `height`
812
+ for each image that could be read), `problems` (what stopped the push) and `warnings` (what did not,
813
+ such as a single Play phone screenshot); the last three are empty arrays on a text-only push.
814
+
815
+ **An iOS screenshot push replaces whole locales.** For each locale that has local screenshots, every
816
+ screenshot set of that locale is deleted from the App Store before the new ones upload, including
817
+ sets you have no local files for: a locale with only iPhone screenshots in the repo loses its iPad
818
+ set. The confirmation names the locales ("replaces every screenshot set of: en-US, fr-FR"). Google
819
+ Play replaces only the screenshot types that have local files, and applies the change in one commit.
820
+
238
821
  ### CI
239
822
 
240
823
  `.github/workflows/mobile-distribute.yml` is a reusable workflow. Pin it by SHA and pass named secrets:
@@ -258,3 +841,80 @@ jobs:
258
841
  MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
259
842
  SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
260
843
  ```
844
+
845
+ The same workflow promotes and changes rollouts through `operation` (default `release`):
846
+
847
+ | `operation` | Runs | Inputs |
848
+ | --- | --- | --- |
849
+ | `release` | `kit release <platform> --track <track>` | `track`, `build`, `notes`, `rollout`, `draft`, `skip` |
850
+ | `promote` | `kit release promote <platform> --from <from> --to <track>` | `from`, `track` (the destination), `build`, `app-version`, `notes`, `rollout`, `draft`, `skip` |
851
+ | `rollout` | `kit release rollout <platform> --<rollout-action>` | `rollout-action` (`percent`, `halt`, `resume`, `complete`), `percent`, `build` |
852
+
853
+ ```yaml
854
+ promote:
855
+ uses: jordond/kit/.github/workflows/mobile-distribute.yml@<sha> # vX.Y.Z
856
+ permissions: { contents: write }
857
+ with: { operation: promote, platform: android, from: beta, track: prod }
858
+ secrets:
859
+ PLAY_SERVICE_ACCOUNT_BASE64: ${{ secrets.PLAY_SERVICE_ACCOUNT_BASE64 }}
860
+ ```
861
+
862
+ The job runs in the `production` environment for a release or promote to `prod` and for every
863
+ rollout, so its required reviewers approve whatever widens production. That is the gate kit relies on
864
+ when it skips the typed `prod` confirmation on GitHub Actions: run `kit release promote --to prod` and
865
+ `kit release rollout` in CI through this workflow, or from a job that sets `environment: production`.
866
+
867
+ ### Lane tests
868
+
869
+ The shared Fastfile's selection logic (which build a promotion moves, which Play release a rollout
870
+ changes, tester-group resolution) has Ruby tests that run it against stubbed store objects:
871
+
872
+ ```sh
873
+ ruby test/fastlane/run.rb
874
+ ```
875
+
876
+ They need only Ruby and its bundled minitest, not kit's fastlane bundle. `bun test` runs them too
877
+ (`test/e2e/fastlane-lanes.test.ts`), plus a `fastlane lanes` parse of the Fastfile when the bundle is
878
+ installed; each part is skipped when its tool is missing.
879
+
880
+ ## Cloudflare workers
881
+
882
+ For targets of kind `worker`. Every command runs wrangler from the target's directory with
883
+ `CLOUDFLARE_ACCOUNT_ID` pinned from `cloudflare.accountId`.
884
+
885
+ | Command | Does |
886
+ | --- | --- |
887
+ | `kit deploy <target> --preview [--comment]` | `wrangler versions upload`: a new version, production traffic untouched. The preview URL is the only thing on stdout (`--json`: `{ ok, target, url, version }`) |
888
+ | `kit release rollback <service> [--to <version-id>]` | `wrangler rollback` to the last deployment with different code, for a service whose `deploy` is `kit deploy <worker target>`; confirms first (`--yes` skips) |
889
+ | `kit logs <target> [-- <wrangler tail flags>]` | `wrangler tail`, attached to the terminal; Ctrl-C stops |
890
+ | `kit open <target> [--print]` | The worker's Cloudflare dashboard page; `--print` or `--json` writes the URL instead |
891
+ | `kit db backup [--remote] [--out <file>]` | `wrangler d1 export` to `backups/<db>-<UTC timestamp>.sql`; prints the path |
892
+ | `kit db restore <file> [--remote]` | Load a backup: locally it replaces the database; remotely the database must be empty |
893
+ | `kit db seed [--remote]` | Run the file named by `cloudflare.d1.<db>.seed` (relative to the repo root) |
894
+ | `kit db reset` | Local only: delete the local database, re-apply migrations, then seed if configured |
895
+
896
+ - `--preview` takes one worker target, honours `--env` and `deploy.before`, and aliases the preview
897
+ to the branch (`feat/login` → `feat-login-<worker>.<subdomain>.workers.dev`); with no usable branch
898
+ name the URL is the per-version one. A target with a custom `deploy` command runs its `build`
899
+ first (and needs one: exit 2 otherwise); `deploy: false` has no preview.
900
+ - `--comment` posts the URL on the branch's pull request with `gh`, and on the next preview updates
901
+ that comment: only one the `gh` user wrote that opens with kit's marker. With no pull request it
902
+ warns; any other `gh` failure exits 1, after the URL is printed (`comment: 'failed'`, `ok: false`).
903
+ - `kit release rollback` works out the version itself: every `wrangler secret put` (`kit env push`)
904
+ is a deployment, so "the previous deployment" would only undo the last secret. kit picks the last
905
+ deployment whose code differs from what is live, shows its id and date, and warns when secrets
906
+ changed since then: their values go back too, so run `kit env push` afterwards. `--to` names a
907
+ version outright, and is required while a gradual deployment is live (exit 4 lists the candidates). Git tags are never moved or deleted: it names the `<service>/v*` tag that no
908
+ longer matches production. A service whose deploy is not a worker exits 2.
909
+ - `kit db restore`: a backup carries the schema and the applied-migrations table, so it loads into
910
+ an empty database only. Locally kit deletes the database first (after a confirm, like `reset`).
911
+ Remotely it checks the database has no tables and exits 4 naming them if it does; kit never drops
912
+ remote tables.
913
+ - `kit db backup` warns when git does not ignore the file it wrote: a `--remote` dump is production
914
+ data. `kit init` adds `backups/` to `.gitignore`.
915
+ - `kit db reset` and a local restore stop (exit 1, "layout not recognised") rather than report a
916
+ reset that deleted nothing, when wrangler's local state is not where kit expects it.
917
+ - `kit db` commands take `--db`; `--remote` writes (`restore`, `seed`) confirm first, and
918
+ `kit db reset --remote` is a usage error.
919
+ - `kit logs` has no `--json` document (exit 2): for JSON lines use `kit logs <target> -- --format json`.
920
+ - `--dry-run` runs nothing in any of them.