@jordond/kit 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/README.md +691 -9
  2. package/bin/kit +2 -2
  3. package/dist/_preview-g0s46wbd.js +186 -0
  4. package/dist/_verb-g6837n2y.js +173 -0
  5. package/dist/{android-m93y4yam.js → android-17z0stcg.js} +3 -3
  6. package/dist/apply-5531ynqp.js +118 -0
  7. package/dist/backup-ev2amscz.js +67 -0
  8. package/dist/bin-q60acre8.js +15 -0
  9. package/dist/boot-6t7jn0jp.js +52 -0
  10. package/dist/{build-8vcgsjwr.js → build-6rp8qsab.js} +6 -2
  11. package/dist/build-m9z9pfdh.js +21 -0
  12. package/dist/build-wdysb1g7.js +53 -0
  13. package/dist/{builtins-v7aeynd1.js → builtins-vh45v6hz.js} +1 -1
  14. package/dist/{bump-6sw1bwp2.js → bump-rce7k3yk.js} +5 -5
  15. package/dist/{certs-3nstba8v.js → certs-x8ds6gcq.js} +5 -5
  16. package/dist/changelog-70znsn6a.js +130 -0
  17. package/dist/changelog-ans0k88j.js +120 -0
  18. package/dist/{check-bbcvkd59.js → check-5p1nvffh.js} +8 -3
  19. package/dist/{check-6p4he09p.js → check-snsfxv4x.js} +11 -6
  20. package/dist/clean-j1aan7n6.js +93 -0
  21. package/dist/clean-jdky4kys.js +237 -0
  22. package/dist/clear-exmjhx8t.js +43 -0
  23. package/dist/cli-0f3m8qma.js +127 -0
  24. package/dist/{cli-08ff849s.js → cli-0gq9ayk0.js} +1 -1
  25. package/dist/cli-0h5bs7he.js +37 -0
  26. package/dist/cli-0pgyxzex.js +776 -0
  27. package/dist/cli-17hmeca5.js +394 -0
  28. package/dist/cli-1j74pfjc.js +466 -0
  29. package/dist/cli-28nya88s.js +73 -0
  30. package/dist/cli-2ja6z124.js +127 -0
  31. package/dist/cli-2vx7vz1p.js +64 -0
  32. package/dist/{cli-fqfan92n.js → cli-3f9s5j76.js} +16 -1
  33. package/dist/{doctor-rngjjwn8.js → cli-3nqkyv98.js} +153 -204
  34. package/dist/cli-5mqj72g1.js +54 -0
  35. package/dist/{cli-qhs8ww91.js → cli-5ws4pqz1.js} +11 -1
  36. package/dist/cli-8qgqecpv.js +35 -0
  37. package/dist/{cli-pz86az34.js → cli-9jt7ffg6.js} +23 -3
  38. package/dist/{deploy-4ns94w14.js → cli-9jv0j32a.js} +34 -19
  39. package/dist/{cli-wg35kt5d.js → cli-aca1bbxq.js} +9 -2
  40. package/dist/{cli-5qdvgv3a.js → cli-af51pbj8.js} +2 -2
  41. package/dist/cli-b4qnnrsp.js +35 -0
  42. package/dist/{cli-5sp3tf1s.js → cli-cj4hjqac.js} +104 -15
  43. package/dist/{cli-kzmewy2g.js → cli-e7kt35ys.js} +104 -75
  44. package/dist/cli-ey6trdpc.js +11 -0
  45. package/dist/cli-f68dq32t.js +282 -0
  46. package/dist/cli-fgxfjapz.js +234 -0
  47. package/dist/cli-j47q7z51.js +98 -0
  48. package/dist/cli-k3q2s02f.js +54 -0
  49. package/dist/{cli-699g070n.js → cli-m2zc03pj.js} +10 -8
  50. package/dist/{cli-dht27t4r.js → cli-nnj05pns.js} +1 -1
  51. package/dist/cli-p7bb5zr2.js +14 -0
  52. package/dist/cli-pd4aspw0.js +208 -0
  53. package/dist/{cli-vpzh9t0w.js → cli-py23qtsd.js} +1 -1
  54. package/dist/cli-qr7pzwpv.js +67 -0
  55. package/dist/cli-qsc39jca.js +275 -0
  56. package/dist/cli-r2zaznxh.js +123 -0
  57. package/dist/cli-s4bb7m1c.js +407 -0
  58. package/dist/{cli-vdxz787w.js → cli-thr9xsnm.js} +3 -3
  59. package/dist/{mobile-r27grzez.js → cli-v5ahh2k7.js} +29 -29
  60. package/dist/cli-vrtkz6f0.js +124 -0
  61. package/dist/cli-w3yfxvfc.js +85 -0
  62. package/dist/{cli-q4k5hjzg.js → cli-w7nrc7bk.js} +52 -12
  63. package/dist/cli-wrzdcgnt.js +82 -0
  64. package/dist/cli-ynsy144r.js +196 -0
  65. package/dist/cli.js +1 -1
  66. package/dist/{cloudflare-d4rm8ndz.js → cloudflare-mkq6s4p7.js} +13 -5
  67. package/dist/command-05jwq2ce.js +1108 -0
  68. package/dist/command-jqp93n3b.js +269 -0
  69. package/dist/{command-ybq4jdy8.js → command-nmgz9x53.js} +1 -1
  70. package/dist/commands/_affected.d.ts +11 -0
  71. package/dist/commands/_preview.d.ts +12 -0
  72. package/dist/commands/_verb.d.ts +1 -1
  73. package/dist/commands/add/module.d.ts +25 -0
  74. package/dist/commands/add/target.d.ts +17 -0
  75. package/dist/commands/app/build.d.ts +11 -0
  76. package/dist/commands/app/clear.d.ts +7 -0
  77. package/dist/commands/app/install.d.ts +15 -0
  78. package/dist/commands/app/run.d.ts +15 -0
  79. package/dist/commands/app/uninstall.d.ts +7 -0
  80. package/dist/commands/build.d.ts +8 -0
  81. package/dist/commands/changelog.d.ts +30 -0
  82. package/dist/commands/check.d.ts +8 -0
  83. package/dist/commands/clean.d.ts +7 -0
  84. package/dist/commands/db/backup.d.ts +16 -0
  85. package/dist/commands/db/reset.d.ts +11 -0
  86. package/dist/commands/db/restore.d.ts +11 -0
  87. package/dist/commands/db/seed.d.ts +11 -0
  88. package/dist/commands/deploy.d.ts +8 -0
  89. package/dist/commands/device/boot.d.ts +7 -0
  90. package/dist/commands/device/list.d.ts +7 -0
  91. package/dist/commands/device/statusbar.d.ts +11 -0
  92. package/dist/commands/doctor.d.ts +10 -93
  93. package/dist/commands/env/push.d.ts +5 -1
  94. package/dist/commands/env/rotate.d.ts +7 -0
  95. package/dist/commands/fixture/dump.d.ts +7 -0
  96. package/dist/commands/fixture/load.d.ts +7 -0
  97. package/dist/commands/format.d.ts +8 -0
  98. package/dist/commands/init.d.ts +29 -1
  99. package/dist/commands/lint.d.ts +8 -0
  100. package/dist/commands/logs.d.ts +8 -0
  101. package/dist/commands/maestro.d.ts +2 -0
  102. package/dist/commands/open.d.ts +13 -0
  103. package/dist/commands/qa.d.ts +31 -0
  104. package/dist/commands/release/metadata/pull.d.ts +11 -0
  105. package/dist/commands/release/metadata/push.d.ts +11 -0
  106. package/dist/commands/release/promote.d.ts +35 -0
  107. package/dist/commands/release/rollback.d.ts +7 -0
  108. package/dist/commands/release/rollout.d.ts +23 -0
  109. package/dist/commands/release/status.d.ts +2 -0
  110. package/dist/commands/shots/export.d.ts +29 -0
  111. package/dist/commands/shots.d.ts +31 -0
  112. package/dist/commands/test.d.ts +10 -1
  113. package/dist/commands/typecheck.d.ts +10 -1
  114. package/dist/commands/upgrade.d.ts +9 -0
  115. package/dist/completion-g8bjf46s.js +36 -0
  116. package/dist/{completion-hm4rhvpk.js → completion-n9yqehnf.js} +1 -1
  117. package/dist/{concurrent-zdz69ye5.js → concurrent-atba349a.js} +1 -1
  118. package/dist/config/load.d.ts +8 -0
  119. package/dist/config/schema.d.ts +85 -0
  120. package/dist/config-45ts3ey1.js +31 -0
  121. package/dist/{config-3craadxe.js → config-d7h13gsg.js} +1 -1
  122. package/dist/{create-p7gmz7yv.js → create-pzjz0d84.js} +6 -6
  123. package/dist/{creds-2qk71mdx.js → creds-kgbnkj91.js} +3 -3
  124. package/dist/d1-local-mpc7ykq4.js +62 -0
  125. package/dist/deploy-napjwj8w.js +18 -0
  126. package/dist/{deps-e65wk9g0.js → deps-7xxc0a5z.js} +6 -6
  127. package/dist/{dev-gq83jvk8.js → dev-z4s47pvj.js} +7 -7
  128. package/dist/discover-9egde25c.js +14 -0
  129. package/dist/doctor-nhn8fsqn.js +153 -0
  130. package/dist/dotenv-bsk2m68j.js +15 -0
  131. package/dist/dump-4s2wbydq.js +60 -0
  132. package/dist/entries-358fsdbg.js +311 -0
  133. package/dist/{exec-p5xfgqgs.js → exec-f7s2cper.js} +6 -6
  134. package/dist/export-1eszfz4q.js +65 -0
  135. package/dist/{fastlane-pj9c09z3.js → fastlane-8yepfr2p.js} +3 -3
  136. package/dist/{fastlane-yypgpmwr.js → fastlane-faays7j0.js} +6 -6
  137. package/dist/fixes-nyvcnb08.js +27 -0
  138. package/dist/{format-0ynd2amx.js → format-tt14cck9.js} +7 -3
  139. package/dist/{git-3gyyfk0x.js → git-qyqfbf8e.js} +15 -3
  140. package/dist/{github-4q7gxxx5.js → github-em8sgwvy.js} +6 -6
  141. package/dist/{gradle-526a5wt2.js → gradle-zgbmvvej.js} +3 -3
  142. package/dist/index-gqmhnjkq.js +49 -0
  143. package/dist/index-tvegt8ab.js +25 -0
  144. package/dist/index.js +4 -4
  145. package/dist/init-025v8xjs.js +464 -0
  146. package/dist/{init-gtkmx54a.js → init-dyd1b74n.js} +11 -7
  147. package/dist/{init-c2zyegvv.js → init-ktq9qfgk.js} +5 -5
  148. package/dist/install-c87y65cw.js +50 -0
  149. package/dist/install-wz1de5cv.js +35 -0
  150. package/dist/{ios-hk9xkjak.js → ios-yas39gap.js} +3 -3
  151. package/dist/kitref-p727zpk7.js +24 -0
  152. package/dist/{kotlin-y092s32p.js → kotlin-66qna77x.js} +3 -3
  153. package/dist/lib/add/apply.d.ts +25 -0
  154. package/dist/lib/add/edits.d.ts +57 -0
  155. package/dist/lib/add/plan.d.ts +98 -0
  156. package/dist/lib/add/settings.d.ts +20 -0
  157. package/dist/lib/app/build.d.ts +35 -0
  158. package/dist/lib/app/config.d.ts +21 -0
  159. package/dist/lib/app/install.d.ts +53 -0
  160. package/dist/lib/changelog.d.ts +51 -0
  161. package/dist/lib/chrome.d.ts +19 -0
  162. package/dist/lib/clean.d.ts +85 -0
  163. package/dist/lib/cloudflare.d.ts +25 -1
  164. package/dist/lib/completion.d.ts +33 -0
  165. package/dist/lib/d1-local.d.ts +29 -0
  166. package/dist/lib/devices/index.d.ts +96 -0
  167. package/dist/lib/devices/pick.d.ts +52 -0
  168. package/dist/lib/devices/statusbar.d.ts +4 -0
  169. package/dist/lib/doctor/checks.d.ts +134 -0
  170. package/dist/lib/doctor/entries.d.ts +34 -0
  171. package/dist/lib/doctor/fixes.d.ts +64 -0
  172. package/dist/lib/doctor/repair.d.ts +18 -0
  173. package/dist/lib/dotenv.d.ts +52 -0
  174. package/dist/lib/env/init.d.ts +1 -1
  175. package/dist/lib/env/push-run.d.ts +62 -0
  176. package/dist/lib/env/render.d.ts +2 -1
  177. package/dist/lib/env/rotate.d.ts +24 -0
  178. package/dist/lib/env/schema.d.ts +20 -0
  179. package/dist/lib/fixtures/android.d.ts +33 -0
  180. package/dist/lib/fixtures/config.d.ts +73 -0
  181. package/dist/lib/fixtures/index.d.ts +20 -0
  182. package/dist/lib/fixtures/ios.d.ts +13 -0
  183. package/dist/lib/fixtures/stage.d.ts +37 -0
  184. package/dist/lib/git.d.ts +43 -1
  185. package/dist/lib/image/png.d.ts +39 -0
  186. package/dist/lib/kitref.d.ts +35 -0
  187. package/dist/lib/maestro/args.d.ts +23 -0
  188. package/dist/lib/maestro/bin.d.ts +10 -0
  189. package/dist/lib/maestro/command.d.ts +16 -0
  190. package/dist/lib/maestro/lint.d.ts +14 -0
  191. package/dist/lib/maestro/run.d.ts +79 -0
  192. package/dist/lib/maestro/suites.d.ts +24 -0
  193. package/dist/lib/pm.d.ts +5 -0
  194. package/dist/lib/proc.d.ts +5 -0
  195. package/dist/lib/release/listing-images.d.ts +86 -0
  196. package/dist/lib/release/metadata.d.ts +81 -0
  197. package/dist/lib/release/mobile.d.ts +5 -1
  198. package/dist/lib/release/promote.d.ts +58 -0
  199. package/dist/lib/release/rollout.d.ts +33 -0
  200. package/dist/lib/release/status.d.ts +52 -0
  201. package/dist/lib/scaffold.d.ts +104 -0
  202. package/dist/lib/steps.d.ts +10 -0
  203. package/dist/lib/storeshots/command.d.ts +3 -0
  204. package/dist/lib/storeshots/fonts.d.ts +14 -0
  205. package/dist/lib/storeshots/page/background.d.ts +6 -0
  206. package/dist/lib/storeshots/page/device-frames.d.ts +16 -0
  207. package/dist/lib/storeshots/page/main.d.ts +1 -0
  208. package/dist/lib/storeshots/page/renderer.d.ts +17 -0
  209. package/dist/lib/storeshots/page-bundle.d.ts +7 -0
  210. package/dist/lib/storeshots/plan.d.ts +25 -0
  211. package/dist/lib/storeshots/project.d.ts +169 -0
  212. package/dist/lib/storeshots/render.d.ts +20 -0
  213. package/dist/lib/storeshots/server.d.ts +29 -0
  214. package/dist/lib/storeshots/sizes.d.ts +121 -0
  215. package/dist/lib/storeshots/types.d.ts +397 -0
  216. package/dist/lib/storeshots/write.d.ts +11 -0
  217. package/dist/lib/targets.d.ts +23 -2
  218. package/dist/lib/worker.d.ts +128 -0
  219. package/dist/{lint-ex675vcp.js → lint-hx7b83kn.js} +7 -3
  220. package/dist/list-ks9e93rx.js +61 -0
  221. package/dist/{list-vftxgz96.js → list-xxsdc51s.js} +6 -6
  222. package/dist/load-1fxmvh9n.js +51 -0
  223. package/dist/{load-4s6t9309.js → load-8y6s655t.js} +36 -3
  224. package/dist/{load-75xm9qcy.js → load-ak66yg9j.js} +7 -1
  225. package/dist/logs-zjbmpm40.js +62 -0
  226. package/dist/maestro-zw9p32cc.js +30 -0
  227. package/dist/{main-g6ndff3w.js → main-1v5dgfdb.js} +24 -99
  228. package/dist/metadata-4jn2zdsm.js +44 -0
  229. package/dist/{migrate-5bj93aqj.js → migrate-2a66bm3x.js} +6 -6
  230. package/dist/mobile-0m026dzx.js +40 -0
  231. package/dist/module-2bn1p66a.js +119 -0
  232. package/dist/{notes-1zsa7qac.js → notes-pyvrbdgg.js} +3 -3
  233. package/dist/open-rn88e9c5.js +73 -0
  234. package/dist/pick-a90zx6sr.js +26 -0
  235. package/dist/plan-av9jwvvk.js +651 -0
  236. package/dist/{pm-5q5vz6w3.js → pm-ay4nmeps.js} +3 -1
  237. package/dist/{proc-jv4bcyyx.js → proc-8ewt3hs4.js} +4 -2
  238. package/dist/promote-8g49cxj1.js +63 -0
  239. package/dist/promote-eezgfcm6.js +290 -0
  240. package/dist/pull-0cjcf2jg.js +39 -0
  241. package/dist/push-qndrsnvg.js +63 -0
  242. package/dist/push-run-y2gb3a0r.js +148 -0
  243. package/dist/push-ysd4zzad.js +44 -0
  244. package/dist/qa-ha84kjzm.js +40 -0
  245. package/dist/{render-vn40fp54.js → render-hkvej41k.js} +3 -1
  246. package/dist/repair-6989jrqg.js +104 -0
  247. package/dist/reset-710zhbbj.js +110 -0
  248. package/dist/restore-b744ykwg.js +122 -0
  249. package/dist/rollback-3vkb819m.js +134 -0
  250. package/dist/rollout-kdfmvwwv.js +56 -0
  251. package/dist/rollout-z1r0r7h1.js +188 -0
  252. package/dist/rotate-762tg2z9.js +80 -0
  253. package/dist/rotate-q5psaddv.js +168 -0
  254. package/dist/run-k2w6qqms.js +56 -0
  255. package/dist/scaffold-5mzc135g.js +37 -0
  256. package/dist/secrets-5hej44bb.js +24 -0
  257. package/dist/seed-9xw8ppn9.js +37 -0
  258. package/dist/{service-dfkyxsed.js → service-n6kgj7ba.js} +18 -9
  259. package/dist/shots-byejd6g2.js +46 -0
  260. package/dist/shots-page.js +613 -0
  261. package/dist/{show-qdsehk9z.js → show-47xz48ea.js} +3 -3
  262. package/dist/sizes-3kpjxm9h.js +51 -0
  263. package/dist/status-fk3frgy1.js +41 -0
  264. package/dist/status-stvsvpn3.js +29 -0
  265. package/dist/statusbar-tkznwzqz.js +15 -0
  266. package/dist/statusbar-x2rjwbz5.js +55 -0
  267. package/dist/steps-t6q8yxbb.js +22 -0
  268. package/dist/{sync-ngknzh6t.js → sync-7d7v2f5r.js} +4 -4
  269. package/dist/target-hpmjbrrh.js +78 -0
  270. package/dist/{targets-5z0abrrk.js → targets-vvzvaskd.js} +11 -4
  271. package/dist/{test-gdynbr4p.js → test-f07bcpby.js} +8 -3
  272. package/dist/{typecheck-9mfcx412.js → typecheck-ztfs5rb9.js} +6 -2
  273. package/dist/uninstall-q8ewxkdr.js +43 -0
  274. package/dist/upgrade-g67qx155.js +127 -0
  275. package/dist/worker-661hvwnb.js +59 -0
  276. package/dist/{wrangler-vecn5dwg.js → wrangler-mvnagswd.js} +5 -5
  277. package/dist/{xcode-33s2hs2d.js → xcode-h3nt62t8.js} +3 -3
  278. package/fastlane/Fastfile +748 -15
  279. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom} +2 -2
  280. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.md5 +1 -0
  281. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha1 +1 -0
  282. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha256 +1 -0
  283. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha512 +1 -0
  284. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
  285. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
  286. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  287. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  288. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  289. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom} +2 -2
  290. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.md5 +1 -0
  291. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha1 +1 -0
  292. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha256 +1 -0
  293. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha512 +1 -0
  294. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
  295. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
  296. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  297. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  298. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  299. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom} +2 -2
  300. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.md5 +1 -0
  301. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha1 +1 -0
  302. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha256 +1 -0
  303. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha512 +1 -0
  304. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
  305. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
  306. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  307. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  308. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  309. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom} +2 -2
  310. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.md5 +1 -0
  311. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha1 +1 -0
  312. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha256 +1 -0
  313. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha512 +1 -0
  314. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
  315. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
  316. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  317. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  318. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  319. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.module → 0.7.0/kit-plugins-0.7.0.module} +5 -5
  320. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.md5 +1 -0
  321. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha1 +1 -0
  322. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha256 +1 -0
  323. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha512 +1 -0
  324. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.pom → 0.7.0/kit-plugins-0.7.0.pom} +1 -1
  325. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.md5 +1 -0
  326. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha1 +1 -0
  327. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha256 +1 -0
  328. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha512 +1 -0
  329. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  330. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  331. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  332. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  333. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  334. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.module → 0.7.0/kit-settings-0.7.0.module} +5 -5
  335. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.md5 +1 -0
  336. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha1 +1 -0
  337. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha256 +1 -0
  338. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha512 +1 -0
  339. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.pom → 0.7.0/kit-settings-0.7.0.pom} +1 -1
  340. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.md5 +1 -0
  341. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha1 +1 -0
  342. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha256 +1 -0
  343. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha512 +1 -0
  344. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  345. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  346. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  347. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  348. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  349. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom} +2 -2
  350. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.md5 +1 -0
  351. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha1 +1 -0
  352. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha256 +1 -0
  353. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha512 +1 -0
  354. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
  355. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
  356. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  357. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  358. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  359. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom} +2 -2
  360. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.md5 +1 -0
  361. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha1 +1 -0
  362. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha256 +1 -0
  363. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha512 +1 -0
  364. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
  365. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
  366. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  367. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  368. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  369. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom} +2 -2
  370. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.md5 +1 -0
  371. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha1 +1 -0
  372. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha256 +1 -0
  373. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha512 +1 -0
  374. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  375. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  376. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  377. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  378. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  379. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom} +2 -2
  380. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.md5 +1 -0
  381. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha1 +1 -0
  382. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha256 +1 -0
  383. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha512 +1 -0
  384. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  385. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  386. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  387. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  388. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  389. package/package.json +2 -2
  390. package/templates/add/Placeholder.kt +4 -0
  391. package/templates/add/gradle-module/build.gradle.kts +9 -0
  392. package/templates/add/toolchain-module/module.yaml +4 -0
  393. package/templates/add/worker/package.json +15 -0
  394. package/templates/add/worker/src/index.ts +5 -0
  395. package/templates/add/worker/tsconfig.json +13 -0
  396. package/templates/add/worker/wrangler.jsonc +8 -0
  397. package/templates/{new → gradle}/.github/workflows/ci.yml +3 -3
  398. package/templates/gradle/renovate.json +4 -0
  399. package/templates/lefthook.yml +1 -1
  400. package/templates/toolchain/.editorconfig +32 -0
  401. package/templates/toolchain/.env.example +20 -0
  402. package/templates/toolchain/.github/workflows/ci.yml +44 -0
  403. package/templates/toolchain/.github/workflows/distribute.yml +41 -0
  404. package/templates/toolchain/fastlane/Fastfile +1 -0
  405. package/templates/toolchain/mise.toml +6 -0
  406. package/templates/toolchain/renovate.json +4 -0
  407. package/dist/_verb-d8z0az83.js +0 -117
  408. package/dist/cli-tt8q6taw.js +0 -197
  409. package/dist/cli-xjpjdc2c.js +0 -70
  410. package/dist/init-ndgxaqcj.js +0 -281
  411. package/dist/push-bhnr14ms.js +0 -22
  412. package/dist/push-nx5n43se.js +0 -124
  413. package/dist/steps-8bz1tscj.js +0 -16
  414. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.md5 +0 -1
  415. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha1 +0 -1
  416. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha256 +0 -1
  417. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha512 +0 -1
  418. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.md5 +0 -1
  419. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha1 +0 -1
  420. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha256 +0 -1
  421. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha512 +0 -1
  422. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.md5 +0 -1
  423. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha1 +0 -1
  424. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha256 +0 -1
  425. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha512 +0 -1
  426. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.md5 +0 -1
  427. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha1 +0 -1
  428. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha256 +0 -1
  429. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha512 +0 -1
  430. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.md5 +0 -1
  431. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha1 +0 -1
  432. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha256 +0 -1
  433. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha512 +0 -1
  434. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.md5 +0 -1
  435. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha1 +0 -1
  436. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha256 +0 -1
  437. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha512 +0 -1
  438. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.md5 +0 -1
  439. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha1 +0 -1
  440. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha256 +0 -1
  441. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha512 +0 -1
  442. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.md5 +0 -1
  443. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha1 +0 -1
  444. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha256 +0 -1
  445. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha512 +0 -1
  446. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.md5 +0 -1
  447. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha1 +0 -1
  448. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha256 +0 -1
  449. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha512 +0 -1
  450. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.md5 +0 -1
  451. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha1 +0 -1
  452. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha256 +0 -1
  453. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha512 +0 -1
  454. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.md5 +0 -1
  455. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha1 +0 -1
  456. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha256 +0 -1
  457. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha512 +0 -1
  458. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.md5 +0 -1
  459. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha1 +0 -1
  460. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha256 +0 -1
  461. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha512 +0 -1
  462. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar → 0.7.0/kit-plugins-0.7.0.jar} +0 -0
  463. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.md5 → 0.7.0/kit-plugins-0.7.0.jar.md5} +0 -0
  464. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.sha1 → 0.7.0/kit-plugins-0.7.0.jar.sha1} +0 -0
  465. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.sha256 → 0.7.0/kit-plugins-0.7.0.jar.sha256} +0 -0
  466. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.sha512 → 0.7.0/kit-plugins-0.7.0.jar.sha512} +0 -0
  467. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar → 0.7.0/kit-settings-0.7.0.jar} +0 -0
  468. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.md5 → 0.7.0/kit-settings-0.7.0.jar.md5} +0 -0
  469. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.sha1 → 0.7.0/kit-settings-0.7.0.jar.sha1} +0 -0
  470. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.sha256 → 0.7.0/kit-settings-0.7.0.jar.sha256} +0 -0
  471. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.sha512 → 0.7.0/kit-settings-0.7.0.jar.sha512} +0 -0
  472. /package/templates/{new → gradle}/.env.example +0 -0
  473. /package/templates/{new → gradle}/apps/client/fastlane/Fastfile +0 -0
  474. /package/templates/{new → gradle}/apps/client/gradle/libs.versions.toml +0 -0
  475. /package/templates/{new → gradle}/apps/client/settings.gradle.kts +0 -0
  476. /package/templates/{new → gradle}/kit.config.ts +0 -0
package/README.md CHANGED
@@ -20,10 +20,101 @@ a root `package.json`:
20
20
  mkdir -p .kit && cd .kit && bun init -y && bun add -d @jordond/kit # then: .kit/node_modules/.bin/kit
21
21
  ```
22
22
 
23
- `kit.config.ts` stays at the root and keeps `import { defineConfig } from '@jordond/kit'`: kit resolves that
24
- import to itself. The launcher, `kit init`, `kit doctor`, the setup action and `mobile-distribute.yml` all
25
- look in both places. Kotlin toolchain repos need `.kit/`: the toolchain runs `pnpm add` for its Kotlin/Wasm
26
- test browser in a build folder with no `package.json`, and pnpm installs into the nearest one above it.
23
+ The config can sit next to it as `.kit/kit.config.ts`, where editors resolve the `@jordond/kit` import
24
+ through `.kit/node_modules`; a root `kit.config.ts` wins when both exist and still runs (kit resolves the
25
+ import to itself), but editors show it unresolved. Paths in the config are relative to the repo root in
26
+ both places. The launcher, `kit init`, `kit doctor`, `kit upgrade`, the setup action and
27
+ `mobile-distribute.yml` all look in both places. Kotlin toolchain repos need `.kit/`: the toolchain runs
28
+ `pnpm add` for its Kotlin/Wasm test browser in a build folder with no `package.json`, and pnpm installs
29
+ into the nearest one above it.
30
+
31
+ ## New repos
32
+
33
+ `kit init` in a repo without a `kit.config.ts` can write the kit files first, then set the clone up as
34
+ usual (`.env`, install, toolchain download, fastlane bundle). Run it with a global kit or `bunx @jordond/kit init`.
35
+
36
+ ```sh
37
+ kit init --template toolchain # in a Kotlin toolchain project (a `kotlin` wrapper + project.yaml)
38
+ kit init --template gradle --name MyApp
39
+ kit init --template toolchain --dry-run
40
+ ```
41
+
42
+ | Template | Writes |
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`, `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
+
47
+ - `toolchain` layers kit over an existing project and never writes a root `package.json`. Create the project
48
+ first (`kotlin init`). A plain `kit init` there offers the template (`--yes` accepts it).
49
+ - It reads the project to fill the config: the `android/app` module and its `applicationId`, the `ios/app`
50
+ module's Xcode project, scheme, bundle id, team and the xcconfig holding `MARKETING_VERSION`, and the
51
+ `jvm/app` module for `kit dev`. An id it cannot find is `com.example.<name>`: replace it before a release.
52
+ CI tests the non-Apple platforms the modules declare (`--platform jvm --platform android …`).
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. `renovate.json` is
55
+ skipped when the repo has a Renovate config anywhere (`.github/renovate.json`, `.renovaterc`, …).
56
+
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:
97
+
98
+ ```sh
99
+ kit upgrade # the latest release on npm
100
+ kit upgrade 0.6.0
101
+ ```
102
+
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.
27
118
 
28
119
  ## Shell completion
29
120
 
@@ -34,7 +125,275 @@ kit completion fish > ~/.config/fish/completions/kit.fish
34
125
  ```
35
126
 
36
127
  The script calls back into the `kit` on your `PATH`, so it follows each repo's pinned version and
37
- works outside a repo too.
128
+ works outside a repo too. `kit init` offers to install it for your `$SHELL` when `kit` is on `PATH`, and
129
+ never in CI: fish gets its completions file; zsh and bash get the script in `~/.config/kit/` and a line
130
+ in `~/.zshrc` (`~/.bash_profile` on macOS, else `~/.bashrc`) that sources it. Sourcing a file means no
131
+ kit process runs when a shell starts.
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
+ **What gets built.** `kit app build <ios|android>` builds the debug variant (`--release` for release)
224
+ and prints the artifact path on stdout:
225
+
226
+ | | Android | iOS simulator |
227
+ | --- | --- | --- |
228
+ | Gradle | `<module>:assembleDebug` | `xcodebuild -scheme <scheme> -configuration Debug` for the simulator |
229
+ | Kotlin toolchain | `./kotlin build -m <module> -p android -v debug` | `./kotlin build -m <module> -p iosSimulatorArm64 -v debug` |
230
+
231
+ `kit build <target> --release` is still the signed store build; `kit app build` is for a device.
232
+
233
+ **Installing.** `kit app install` builds first; `--no-build` installs the newest artifact already there,
234
+ and `--file` installs a given `.apk`, `.app` or `.aab` (an AAB goes through `bundletool`). A physical
235
+ iPhone takes `--device <id> --file <path>` and installs with `devicectl`.
236
+
237
+ The app comes from `release.*` in kit.config.ts. Set `app` only when it differs, or when the repo has no
238
+ release block:
239
+
240
+ ```ts
241
+ app: {
242
+ ios: { bundleId: 'app.example', project: 'ios/iosApp.xcodeproj', scheme: 'iosApp' },
243
+ android: { packageName: 'app.example', module: ':android' },
244
+ },
245
+ ```
246
+
247
+ `kit doctor` adds three checks for a repo with a mobile app, all warnings: `adb`, the Android emulator
248
+ (emulator, `avdmanager`, a system image for this machine) and an installed iOS simulator runtime.
249
+
250
+ ## Maestro: QA and screenshots
251
+
252
+ The repo writes [Maestro](https://maestro.dev) flows; kit does the rest: device, build, install,
253
+ status bar, fixture, the runs, and collecting the screenshots.
254
+
255
+ ```sh
256
+ kit qa ios # build, install, load the fixture, run the smoke flows
257
+ kit qa android --device emulator-5554 --junit report.xml
258
+ kit qa ios --no-build --tags smoke,settings
259
+ kit shots ios # 9:41 status bar, fixture, flows, PNGs copied out
260
+ kit shots ipad --full # the shots-full suite
261
+ kit fixture load ios portland # replay app state onto the device
262
+ kit fixture dump android portland
263
+ kit maestro studio # the Maestro CLI itself
264
+ ```
265
+
266
+ ```ts
267
+ maestro: {
268
+ dir: 'apps/client/maestro', // config.yaml and the flows
269
+ version: '2.9.0', // kit doctor compares it; CI installs it
270
+ devices: { ios: 'iPhone 17 Pro Max' }, // optional: what to boot when nothing is running
271
+ suites: {
272
+ qa: { tags: ['smoke'], fixture: 'portland' },
273
+ shots: { tags: ['appstore'], fixture: 'portland', screenshots: 'brand/screenshots' },
274
+ 'shots-full': { extends: 'shots', stages: [['appstore', 'appstore-full'], ['appstore-onboarding']] },
275
+ },
276
+ },
277
+ fixtures: {
278
+ dir: 'apps/client/fixtures', // one dir per fixture
279
+ files: [
280
+ { from: 'app_database.db', ios: 'Documents/databases/', android: 'databases/', sqlite: true },
281
+ { from: 'entry_photos/', ios: 'Documents/entry_photos/', android: 'files/entry_photos/' },
282
+ ],
283
+ clear: { ios: ['Library/Caches'], android: ['cache', 'code_cache'] },
284
+ prepare: 'apps/client/fixtures/rebase.sh',
285
+ },
286
+ ```
287
+
288
+ **Suites.** `kit qa` runs the `qa` suite (default: tags `smoke`), `kit shots` the `shots` suite (default:
289
+ tags `screenshots`, status bar pinned, PNGs to `<maestro.dir>/screenshots/<target>/`), `kit shots --full`
290
+ the `shots-full` suite, and `--suite <name>` any other. A suite has `tags` (one Maestro run) or `stages`
291
+ (one run per tag set, in order). Stages exist because Maestro's own `executionOrder` breaks under tag
292
+ filters: a flow that wipes app state belongs in a last stage of its own. Flows get `PLATFORM=ios|android`
293
+ plus the suite's `env`.
294
+
295
+ **The run.** One device is resolved first (see Devices above), then everything lands on it: the debug
296
+ build and install (`--no-build` drives what is installed), the 9:41 status bar when the suite asks, the
297
+ fixture (`--fixture <name>`, `--no-fixture`), then each stage. A failing stage stops the run and exits 1. The status bar stays pinned afterwards
298
+ (`kit device statusbar <target> --clear`).
299
+ Screenshots are the flows' `takeScreenshot` PNGs: a shot replaces the file of the same name and leaves the
300
+ rest. Maestro's logs stay under `<maestro.dir>/output/<target>-<suite>/`. Maestro drives simulators and
301
+ Android devices, not physical iPhones.
302
+
303
+ **Fixtures.** `<fixtures.dir>/<name>/` holds the files listed in `fixtures.files`; `ios` and `android`
304
+ are destination dirs inside the simulator's data container and the app's data dir. Loading stops the
305
+ app, replaces each destination (a stale file is never left over), and removes the `clear` dirs. `prepare`
306
+ runs on a staged copy first, with `KIT_FIXTURE`, `KIT_FIXTURE_DIR`, `KIT_PLATFORM` and `KIT_ROOT` set: the
307
+ place to rebase dates so an old capture reads as current. Android goes through `run-as`, so the installed
308
+ build must be debuggable (`kit app install android` installs one); a rooted adb is the fallback for load. `kit fixture dump` captures the same
309
+ files back, checkpoints SQLite WALs, and replaces the whole fixture dir only when the capture succeeded: files not listed in `fixtures.files`
310
+ do not survive a dump.
311
+
312
+ `kit lint` also runs `maestro check-syntax` over the flows, and `kit doctor` checks the Maestro version
313
+ against `maestro.version` and that Java 17+ is there.
314
+
315
+ ### Store screenshots
316
+
317
+ `kit shots export` turns the raw shots into the images the stores take: each slide of a saved project
318
+ (background, headline, device frame around the raw shot) is drawn by headless Chrome at the store's
319
+ exact size and written into the store listing dirs, ready for `kit release metadata push --screenshots`.
320
+
321
+ ```sh
322
+ kit shots ios && kit shots ipad && kit shots android # capture the raw shots
323
+ kit shots export # compose them, for both stores and every locale
324
+ kit shots export --store apple --locale en-US
325
+ kit shots export --out build/store-shots --dry-run --json
326
+ kit release metadata push ios --only-screenshots # upload the images, leave the text (see Store listing)
327
+ ```
328
+
329
+ ```ts
330
+ shots: {
331
+ project: 'brand/studio.json', // the saved project: slides, text, frames
332
+ raw: 'brand/screenshots', // optional: default the shots suite's screenshots dir
333
+ fonts: [{ family: 'Nunito', file: 'brand/fonts/nunito.woff2', weight: '400 800' }],
334
+ brand: { mark: 'brand/logo.svg', wordmark: 'brewd', color: '#2c1e14', font: 'Nunito' },
335
+ sets: { ios: 'iphone-6.9' }, // optional: iphone-6.9 | iphone-6.5 | iphone-6.3
336
+ },
337
+ ```
338
+
339
+ **The project file.** A version 1 project as the screenshot editor saves it: `slides[]`, each with a
340
+ `name`, an `order`, the `sourceFile` of its raw shot (`home.png`), its text, device and background. kit
341
+ ignores the editor's `imageSrc` and `dimensionId`. Every slide is exported for every target: the raw shot
342
+ is `<raw>/<target>/<locale>/<sourceFile>` when that exists, else `<raw>/<target>/<sourceFile>`, and a
343
+ slide framed in an iPhone gets the iPad or Pixel frame on the other targets. An optional `locales` block
344
+ replaces the text per locale and slide id; a field left out keeps the slide's own text, and `fr-CA`
345
+ falls back to another `fr` entry before that:
346
+
347
+ ```json
348
+ "locales": { "fr-FR": { "slide-1": { "headline": "…", "subheadline": "…", "badge": "…" } } }
349
+ ```
350
+
351
+ **Fonts and brand.** Every font family a slide names has to be in `shots.fonts` (the CSS generics
352
+ `sans-serif`, `serif`, `monospace` and `system-ui` aside): Chrome would draw an unknown family in a
353
+ fallback font without complaint, so export stops first (exit 3). `brand` is the lockup drawn on slides
354
+ that show it: the mark, and the wordmark beside it. The wordmark and a slide's badge are drawn in
355
+ `brand.font`, or in the slide's headline family when there is none, so that family has to be declared
356
+ even on a slide whose headline is empty.
357
+
358
+ **Output.** Locales are, per store, the locale dirs already in that store's metadata dir (`en-US` when
359
+ there are none yet); `--locale` narrows them. In the iOS metadata dir, the dirs deliver does not read
360
+ as a locale are left out (`default`, `review_information`, `trade_representative_contact_information`,
361
+ `app_clip_review_information`, `android`, `fonts`, `appleTV`, `iMessage`), and in either store so is a
362
+ dir whose name cannot be a locale (`Old Backup`).
363
+
364
+ | Store | Target | Size | Written to |
365
+ | --- | --- | --- | --- |
366
+ | apple | ios | 1320x2868 (`iphone-6.9`) | `<release.ios.metadata>/../screenshots/<locale>/NN_iphone-6.9_<slug>.png` |
367
+ | apple | ipad | 2064x2752 (`ipad-13`) | same dir, `NN_ipad-13_<slug>.png` |
368
+ | google | android | 1440x2560 (`phone`) | `<release.android.metadata>/<locale>/images/phoneScreenshots/NN_<slug>.png` |
369
+
370
+ `NN` is the slide's position and `<slug>` its name. Each dir gets a `.kit-shots.json` listing what
371
+ export wrote. The next export replaces those files and removes the ones it no longer writes; an image
372
+ in the same set that it did not write is in the way (exit 4) until it is moved or `--force` replaces it.
373
+ So is a directory or a dangling link with an image name there: the uploader would take it and fail.
374
+ Play's icon, feature graphic and other screenshot types are never touched. The PNGs have no alpha
375
+ channel, which App Store Connect requires.
376
+
377
+ | Flag | Meaning |
378
+ | --- | --- |
379
+ | `--store apple\|google\|both` | Default `both`. A store with no `release.<platform>.metadata` is a usage error unless `--out` is given |
380
+ | `--locale <a,b>` | Only these locales |
381
+ | `--out <dir>` | Write `<dir>/apple/<locale>/…` and `<dir>/google/<locale>/images/phoneScreenshots/…` instead of the store dirs |
382
+ | `--allow-missing` | Skip a slide whose raw shot is absent, instead of stopping (exit 4) |
383
+ | `--force` | Replace images in an exported set that kit did not write |
384
+ | `--dry-run` | Print what would be written and removed; Chrome is not started and nothing changes |
385
+ | `--json` | `{ dryRun, stores, written: [{ store, target, set, locale, slide, file, width, height }], removed, skipped }` |
386
+
387
+ `--store`, `--locale` and `--out` given an empty or whitespace-only value (`--out "$OUT"` with `OUT`
388
+ unset) are a usage error (exit 2), not the default.
389
+
390
+ Nothing is written unless every image came back at its exact size: a Chrome that exits, a page error or
391
+ five minutes without a new image is exit 1 with the store dirs as they were. Every rendered PNG is held
392
+ in memory until all of them are back, so memory grows with slides x locales (a few MB each); `--store`
393
+ and `--locale` split a large export into smaller runs. Before Chrome starts, export checks
394
+ that the raw shots, font and brand files are there, that Chrome is, and that no set has more slides
395
+ than its store keeps (10 on the App Store, 8 on Play); each of those is exit 4. Chrome is the installed
396
+ Google Chrome or Chromium (112 or newer), or the binary `KIT_CHROME` names.
38
397
 
39
398
  ## Repo commands
40
399
 
@@ -84,11 +443,67 @@ export default defineCommand({
84
443
  a repo with `mise.toml` warns when mise isn't installed or a pinned version differs, and a repo with
85
444
  `lefthook.yml` warns when lefthook isn't installed or `lefthook install` hasn't been run in the clone.
86
445
 
446
+ 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.
447
+
448
+ ```sh
449
+ kit doctor --fix # list the fixes, confirm once, apply, check again
450
+ kit doctor --fix --yes # no question (needed without a terminal)
451
+ kit doctor --fix --dry-run # list them only
452
+ ```
453
+
454
+ `--fix` repairs what is safe and local, runs the touched checks again, then reports (and exits on)
455
+ the state after the fixes. A fix is "fixed" only when its check passes afterwards: a command that ran
456
+ and left the check failing (tools `mise install` put somewhere this shell does not look yet) is
457
+ reported as applied, with the next step.
458
+
459
+ | Check | Fix |
460
+ | --- | --- |
461
+ | lefthook hook not installed | `lefthook install` |
462
+ | mise tool missing or drifted | `mise install` |
463
+ | wrangler not installed | the worker's install: the package manager of the nearest lockfile above the worker dir, run where that lockfile is |
464
+ | iOS / Android version drift | writes the TOML version to the xcconfig's `MARKETING_VERSION` / the module.yaml's `versionName` |
465
+ | Kotlin toolchain wrapper not executable | `chmod +x` |
466
+ | 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) |
467
+
468
+ Xcode, the JDK, the Android SDK, logins, `.env` values and secrets are never fixed: those checks keep
469
+ their hint. Plain `kit doctor` ends with `N fixable with kit doctor --fix` when there is something to
470
+ apply, and `--json` adds `fixes: [{ id, description, applied, ok, error?, hint? }]`, where `ok` is whether
471
+ the check passes after the fix.
472
+
473
+ ## Changelog
474
+
475
+ ```sh
476
+ kit changelog # Markdown since the last release tag
477
+ kit changelog --platform ios # since the last ios/v* tag
478
+ kit changelog --from v0.5.0 --to v0.6.0 --json
479
+ kit changelog --platform android --write # add a section to CHANGELOG.md
480
+ kit changelog --write docs/CHANGES.md
481
+ ```
482
+
483
+ Groups the Conventional Commits in the range into Breaking (`!` or a `BREAKING CHANGE:` footer),
484
+ Features, Fixes, Performance and Other. `chore(release)` and merge commits are always left out;
485
+ `chore`, `test`, `ci` and `style` too unless `--all` is given. The range starts at the newest release
486
+ tag reachable from `--to` (`<platform>/v*` with `--platform`, any `…v<version>` tag without); with no
487
+ tag it is the whole history. `--to <tag>` lists that release: the range starts at the tag before it.
488
+
489
+ `--write` puts a `## <version> (<date>)` section above the newest one in `CHANGELOG.md` (or the file
490
+ named after it), creating the file when needed. The version is the `--to` tag's, else the platform's
491
+ version in the catalog TOML, else the root `package.json` version, else `Unreleased`; with `--platform`
492
+ the heading is `## ios 1.4.0 (…)`. A version that already has a section is not added again; the
493
+ `Unreleased` section is rewritten in place on each run, so new commits keep landing in it.
494
+
495
+ In a shallow clone with no release tag in it (CI's default checkout) the range would be whatever was
496
+ fetched: `kit changelog` warns, and `--write` refuses (exit 4) until the history is there
497
+ (`git fetch --unshallow --tags`, or `fetch-depth: 0`). Any other git failure (a ref that does not
498
+ exist, not a repository) is an error, never an empty changelog.
499
+ `--json` prints `{ from, to, sections: [{ title, commits }] }`.
500
+
87
501
  ## Kotlin toolchain
88
502
 
89
503
  Apps built with the [JetBrains Kotlin Toolchain](https://kotlin-toolchain.org/latest/) (formerly Amper)
90
- have a `kotlin` wrapper, `project.yaml` and one `module.yaml` per module instead of Gradle. Install kit
91
- in [`.kit/`](#install-dir-the-root-or-kit), set `toolchain.root` in place of `gradle` (they are exclusive)
504
+ have a `kotlin` wrapper, `project.yaml` and one `module.yaml` per module instead of Gradle.
505
+ [`kit init --template toolchain`](#new-repos) sets all of this up. By hand: install kit in
506
+ [`.kit/`](#install-dir-the-root-or-kit), set `toolchain.root` in place of `gradle` (they are exclusive)
92
507
  and use the `kotlin` target kind:
93
508
 
94
509
  ```ts
@@ -131,6 +546,55 @@ it comes from kit's Gradle plugin.
131
546
  Give the Release configuration manual signing with the match profiles, a `DEVELOPMENT_TEAM`, and
132
547
  `MARKETING_VERSION` in `release.ios.xcconfig`.
133
548
 
549
+ ## Env
550
+
551
+ One `.env` per repo; `env.schema` (a zod object, usually `.kit/env.ts`) declares each key, and
552
+ `env.workerSecrets` / `env.githubSecrets` say which remotes hold it. Keys are secret unless marked
553
+ `.meta({ secret: false })`. Values never reach output: only names and statuses are printed.
554
+
555
+ | Command | Does |
556
+ | --- | --- |
557
+ | `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 |
558
+ | `kit env push --workers` | Every worker, GitHub skipped. Exclusive with `--all`, `--target` and `--github` |
559
+ | `kit env push --target <t>` / `--github` | One worker / GitHub only; both flags together push that worker and GitHub |
560
+ | `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 |
561
+
562
+ `kit env rotate` only takes keys whose schema says how to make them:
563
+
564
+ ```ts
565
+ INTERNAL_API_SECRET: z.string().min(32).meta({ generate: 'hex' }), // 32 random bytes, hex
566
+ SESSION_KEY: z.string().meta({ generate: 'base64url', length: 48 }), // length is in bytes
567
+ INSTALL_ID: z.uuid().meta({ generate: 'uuid' }),
568
+ ```
569
+
570
+ - The new value is checked against the key's own rule before anything is written; only that line of
571
+ `.env` changes (comments, order, quotes and line endings stay), and a key `.env` lacks is added.
572
+ - kit reads `.env` the way dotenv and Bun do: on an unquoted value ` #` starts a comment
573
+ (`KEY=value # note` is `value`, `KEY= # note` is empty), a `#` inside `'…'`, `"…"` or backticks is
574
+ part of the value, `"…"` turns `\n` / `\r` into line breaks, and `\$` is a literal `$`. kit itself
575
+ never expands `$NAME`, but Bun (which loads `.env` before kit starts) does, so write a literal
576
+ dollar as `\$`.
577
+ - When kit writes a value (`env init`, `env rotate`, rendered outputs) it quotes one that holds a
578
+ `#`, has spaces at either end or starts with a quote, writes a multi-line value as `"…\n…"`, and in
579
+ `.env` writes `$` as `\$` (`.dev.vars` keeps `$` raw: wrangler does not expand there). It refuses
580
+ (exit 3, naming the key) a value no reader would get back intact: one that needs quotes and holds
581
+ `'`, `"` and a backtick or ends in a backslash, a multi-line value holding `"` or a literal `\n`,
582
+ and in `.env` one ending in `\$`. Base64-encode such a value.
583
+ - `kit env check`, `kit env push` and `kit doctor` warn about hand-written `.env` lines that Bun, dotenv
584
+ and kit read differently (names and line numbers only): a `#` inside an unquoted value, an unescaped
585
+ `$`, a quote that does not close on its line. What runs locally and what `kit env push` sends could
586
+ differ there; the warning says how to write the line. `kit env check --json` lists them under
587
+ `ambiguous`.
588
+ - It confirms first, since the old value stops working once the new one is pushed (`--yes` skips).
589
+ `--dry-run` writes nothing and lists what would rotate and where it would be pushed.
590
+ - `--push` pushes every secret of the remotes that hold the key. The remotes are listed first (a
591
+ remote kit cannot list stops the run, with `--yes` too) and one confirm covers rotating and pushing,
592
+ so nothing is written until the push can go ahead.
593
+ - `--json` reports `{ rotated: [{ key, destinations }], pushed }`, never a value. When `.env` holds
594
+ a new value that is not on its remotes yet, `pending` is the command that finishes the job; the
595
+ same note goes to stderr.
596
+ - A key without `generate` belongs to a provider: rotate it there, update `.env`, then `kit env push`.
597
+
134
598
  ## Releases
135
599
 
136
600
  kit owns the release flow; one shared `fastlane/Fastfile` (shipped in this package) runs the lanes.
@@ -149,10 +613,55 @@ No Appfile, Matchfile, Pluginfile or app Gemfile: inputs reach the lanes as `KIT
149
613
  | `kit version show` | Version names from `versions.file` and the last release tags |
150
614
  | `kit version bump <patch\|minor\|major> [--platform ios\|android\|all\|<service>]` | Edit the TOML value, commit `chore(release): …`, push (`--no-push`, `--pr`) |
151
615
  | `kit release ios\|android --track internal\|alpha\|beta\|prod` | Preflight → next build number from the store → confirm → build → upload → tag `<platform>/v<version>+<build>` |
152
- | `kit release <service>` | `release.services.<name>`: build, deploy, tag `<name>/v<version>` |
616
+ | `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`) |
617
+ | `kit release rollback <service> [--to <version-id>]` | Worker services only: `wrangler rollback`; tags stay put (see [Cloudflare workers](#cloudflare-workers)) |
153
618
  | `kit release certs [--add]` | match `appstore`, readonly; `--add` creates only what this app is missing (never nuke) |
154
619
  | `kit fastlane …` | fastlane with kit's env and the ASC/Play key files |
155
-
620
+ | `kit release status [ios\|android]` | The TOML version and the latest build per store track (`--json`) |
621
+ | `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 |
622
+ | `kit release rollout <ios\|android> --percent <1-100>\|--halt\|--resume\|--complete` | Change the production rollout of the released build |
623
+
624
+ - `kit release status`: Android lists every Play track (version codes and release names); iOS lists
625
+ `testflight` (one build list for every group) and `prod` (the live App Store build and its phased
626
+ release state; `unknown` with a warning and `phasedError` when it could not be read, which is not
627
+ the same as having none). A track the store will not answer for is `unknown` with a warning; the command fails
628
+ only when a platform has no readable track.
629
+ - `kit release promote`: `--build` picks the build number / version code (default: the latest on the
630
+ source track). It runs the branch check, the store credentials, `release.preflight` and the same
631
+ confirmation as a release to `--to`. A promotion never tags: a tag names a build, not a track
632
+ (release notes are computed from the last `<platform>/v*` tag), so the tag from the build's first
633
+ release stands. When `<platform>/v<version>+<build>` is missing, kit warns and prints the `git tag`
634
+ command to run on the commit that built it (`tagExisted` and `tagCommand` in `--json`); HEAD is not
635
+ that commit.
636
+ `--dry-run` prints the plan and runs nothing.
637
+ - **Internal builds are never promoted** (`--from internal` exits 2): they are compiled with
638
+ `KIT_INTERNAL` set, so a later track needs `kit release <platform> --track <track>`.
639
+ - Android: `--rollout` (prod, default `release.android.prodRollout` or 0.1) and `--draft` work as in
640
+ `kit release android`; `--notes` sets the changelog except on production.
641
+ - iOS: `--app-version <x.y.z>` promotes a build from before a version bump (default: the TOML version);
642
+ it is the lane's app version and the tag's version. On Android it is a usage error (the version
643
+ code alone finds the release).
644
+ - iOS: the build must be in the source tester group (`release.ios.testflightGroups.<from>`, default
645
+ the track name). A build that never reached it, an internal build included, is refused with
646
+ exit 1, `--build` or not; so is a destination group the app does not have.
647
+ - iOS: the source group must receive its builds explicitly, as `kit release ios --track alpha|beta`
648
+ distributes them. A group with automatic distribution (App Store Connect's default for an
649
+ internal group) holds every upload, internal builds included, and kit cannot tell them apart
650
+ there: promoting from it is refused. Turn automatic distribution off for that group, or point
651
+ `release.ios.testflightGroups` at one without it.
652
+ - iOS: `alpha → beta` distributes the build to `release.ios.testflightGroups.beta`;
653
+ `→ prod` submits it for App Store review (phased, manual release) and requires `--notes`.
654
+ - `kit release rollout` takes exactly one action. `--percent`, `--resume` and `--complete` widen
655
+ production exposure, so they use the `prod` confirmation: type `prod` locally (`--yes` doesn't skip),
656
+ the `production` environment's reviewers in CI. `--halt` is the emergency brake: a prompt that
657
+ `--yes` skips. `--dry-run` runs nothing.
658
+ Android changes the production staged rollout; `--percent 100` completes it, and a halted rollout
659
+ must be resumed before its percentage changes. Only a rollout in progress (or, for `--resume`, a
660
+ halted one) is touched, never a draft; `--build <version code>` names the release when the track
661
+ holds more than one, and the result names the version code that changed. A release halted at 100%
662
+ has no staged rollout to resume: `--resume` says so, use `--complete`. The App Store has no percentage (a phased release
663
+ follows Apple's 7-day schedule), so `--percent` is a usage error on iOS: `--halt` pauses the phased
664
+ release, `--resume` and `--complete` do what they say.
156
665
  - Build numbers are never committed: `max(store) + 1`, or `--build` / `--code`.
157
666
  - iOS: set `release.ios.xcconfig` to the xcconfig holding `MARKETING_VERSION` (what local Xcode builds
158
667
  show). `kit version bump` rewrites it in the same commit, and `kit release ios` / `kit doctor` fail
@@ -192,6 +701,102 @@ export default definePreflight({
192
701
 
193
702
  `release.android.gates` run Gradle tasks for the listed tracks (e.g. baseline-profile verification).
194
703
 
704
+ ### Store listing
705
+
706
+ `kit release metadata` keeps the store listing in the repo, in fastlane's own layouts. Both keys are
707
+ optional paths relative to the repo root:
708
+
709
+ ```ts
710
+ release: {
711
+ ios: { /* … */ metadata: 'client/fastlane/metadata' }, // deliver: <locale>/name.txt, …; screenshots in ../screenshots
712
+ android: { /* … */ metadata: 'client/fastlane/metadata/android' }, // supply: <locale>/title.txt, <locale>/images/
713
+ },
714
+ ```
715
+
716
+ | Command | Does |
717
+ | --- | --- |
718
+ | `kit release metadata pull <ios\|android> [--screenshots] [--force]` | Download the listing text; `--screenshots` also downloads the screenshots (Play: and the feature graphic and icon) |
719
+ | `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 |
720
+
721
+ - `push` never uploads a binary, submits for review, or changes a rollout or phased release. It asks
722
+ before changing the public listing (`--yes` skips); `--dry-run` prints the files it would send and
723
+ runs nothing.
724
+ - `pull` stops when what it would write has uncommitted changes (the text; with `--screenshots` the
725
+ screenshots too); `--force` overwrites them. Without `--screenshots` local screenshots are left alone.
726
+ - iOS `review_information/` (the App Review contact and the demo account's user and password, which
727
+ deliver writes as plaintext) never stays in the repo: `pull` removes it, and `push` neither lists nor
728
+ uploads it. Edit those fields in App Store Connect.
729
+ - Only the store key is needed: `ASC_*` for iOS, `PLAY_SERVICE_ACCOUNT_BASE64` for Android.
730
+ - iOS edits the version being prepared in App Store Connect; with none, `push` fails at once: create
731
+ the next version there, or push after `kit release ios --track prod`. Android needs a
732
+ release on some Play track, and `changelogs/` is never sent: `kit release android` writes those.
733
+ - A missing key or directory is a usage error (exit 2) naming `release.<platform>.metadata`.
734
+
735
+ #### Screenshots
736
+
737
+ `kit release metadata push <ios|android> --screenshots` uploads the listing text and the images.
738
+ `--only-screenshots` uploads the images alone: no text is sent, none has to exist in the repo, and the
739
+ store keeps the text it has. Use it after `kit shots export`.
740
+
741
+ One thing is still added on iOS: deliver creates a version localization for every local screenshot
742
+ locale the version being prepared lacks. `--only-screenshots` with a new `fr-FR/` directory adds a
743
+ fr-FR locale to that version with no text in it; fill it in App Store Connect or with a text push
744
+ before submitting.
745
+
746
+ ```sh
747
+ kit release metadata push ios --only-screenshots --dry-run # check the images, upload nothing
748
+ kit release metadata push ios --only-screenshots
749
+ kit release metadata push android --screenshots --yes
750
+ ```
751
+
752
+ kit finds the images the way fastlane does, so what it checks, lists and counts is what goes up:
753
+
754
+ | Store | Uploaded | Not uploaded |
755
+ | --- | --- | --- |
756
+ | 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" |
757
+ | 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/` |
758
+
759
+ Every other directory in `screenshots/` must be named after an App Store locale, in any case. The
760
+ names are deliver's list in the pinned fastlane: `ar-SA`, `bn-BD`, `ca`, `cs`, `da`, `de-DE`, `el`,
761
+ `en-AU`, `en-CA`, `en-GB`, `en-US`, `es-ES`, `es-MX`, `fi`, `fr-CA`, `fr-FR`, `gu-IN`, `he`, `hi`, `hr`,
762
+ `hu`, `id`, `it`, `ja`, `kn-IN`, `ko`, `ml-IN`, `mr-IN`, `ms`, `nl-NL`, `no`, `or-IN`, `pa-IN`, `pl`,
763
+ `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl-SI`, `sv`, `ta-IN`, `te-IN`, `th`, `tr`, `uk`, `ur-PK`, `vi`,
764
+ `zh-Hans`, `zh-Hant`. Two layouts stop the push with exit 4, because deliver would fail on them, the
765
+ second one after deleting the store's screenshots:
766
+
767
+ - a directory with another name, such as `screenshots/en/`;
768
+ - `screenshots/default/`, or `default`, `appleTV` or `iMessage` inside `appleTV/` or `iMessage/`,
769
+ when it holds an image: deliver reads its files with no locale. Without one it is left alone.
770
+
771
+ An image push also stops with exit 4 when the absolute path of the screenshots directory (iOS) or
772
+ the metadata directory (Android) contains one of `[ ] { } * ? \`: fastlane cannot read such a path.
773
+ deliver and supply find the images with a glob, read these characters as a pattern, upload nothing
774
+ and report success. Of several files for one Play image type (`icon.png` beside `icon.jpg`) supply
775
+ uploads the last of `png`, `jpg`, `jpeg`, and that one is the file kit checks.
776
+
777
+ Before the confirmation (and in `--dry-run`) kit reads every image it is about to upload. If the store
778
+ would refuse any of them, the push stops with exit 4 and lists each file with its reason; nothing is
779
+ uploaded and kit never rewrites the files. A directory or a dangling link with an image name is listed
780
+ too: fastlane would still try to upload it.
781
+
782
+ | Store | Rule |
783
+ | --- | --- |
784
+ | Both | The file is a PNG or JPEG and its content matches its extension; no alpha channel |
785
+ | 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 |
786
+ | 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 |
787
+ | 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) |
788
+
789
+ The confirmation shows, per locale and class, how many images go up and at what size. With `--json`
790
+ the document carries `files` (what goes up), `images` (`file`, `locale`, `class`, `width`, `height`
791
+ for each image that could be read), `problems` (what stopped the push) and `warnings` (what did not,
792
+ such as a single Play phone screenshot); the last three are empty arrays on a text-only push.
793
+
794
+ **An iOS screenshot push replaces whole locales.** For each locale that has local screenshots, every
795
+ screenshot set of that locale is deleted from the App Store before the new ones upload, including
796
+ sets you have no local files for: a locale with only iPhone screenshots in the repo loses its iPad
797
+ set. The confirmation names the locales ("replaces every screenshot set of: en-US, fr-FR"). Google
798
+ Play replaces only the screenshot types that have local files, and applies the change in one commit.
799
+
195
800
  ### CI
196
801
 
197
802
  `.github/workflows/mobile-distribute.yml` is a reusable workflow. Pin it by SHA and pass named secrets:
@@ -215,3 +820,80 @@ jobs:
215
820
  MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
216
821
  SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
217
822
  ```
823
+
824
+ The same workflow promotes and changes rollouts through `operation` (default `release`):
825
+
826
+ | `operation` | Runs | Inputs |
827
+ | --- | --- | --- |
828
+ | `release` | `kit release <platform> --track <track>` | `track`, `build`, `notes`, `rollout`, `draft`, `skip` |
829
+ | `promote` | `kit release promote <platform> --from <from> --to <track>` | `from`, `track` (the destination), `build`, `app-version`, `notes`, `rollout`, `draft`, `skip` |
830
+ | `rollout` | `kit release rollout <platform> --<rollout-action>` | `rollout-action` (`percent`, `halt`, `resume`, `complete`), `percent`, `build` |
831
+
832
+ ```yaml
833
+ promote:
834
+ uses: jordond/kit/.github/workflows/mobile-distribute.yml@<sha> # vX.Y.Z
835
+ permissions: { contents: write }
836
+ with: { operation: promote, platform: android, from: beta, track: prod }
837
+ secrets:
838
+ PLAY_SERVICE_ACCOUNT_BASE64: ${{ secrets.PLAY_SERVICE_ACCOUNT_BASE64 }}
839
+ ```
840
+
841
+ The job runs in the `production` environment for a release or promote to `prod` and for every
842
+ rollout, so its required reviewers approve whatever widens production. That is the gate kit relies on
843
+ when it skips the typed `prod` confirmation on GitHub Actions: run `kit release promote --to prod` and
844
+ `kit release rollout` in CI through this workflow, or from a job that sets `environment: production`.
845
+
846
+ ### Lane tests
847
+
848
+ The shared Fastfile's selection logic (which build a promotion moves, which Play release a rollout
849
+ changes, tester-group resolution) has Ruby tests that run it against stubbed store objects:
850
+
851
+ ```sh
852
+ ruby test/fastlane/run.rb
853
+ ```
854
+
855
+ They need only Ruby and its bundled minitest, not kit's fastlane bundle. `bun test` runs them too
856
+ (`test/e2e/fastlane-lanes.test.ts`), plus a `fastlane lanes` parse of the Fastfile when the bundle is
857
+ installed; each part is skipped when its tool is missing.
858
+
859
+ ## Cloudflare workers
860
+
861
+ For targets of kind `worker`. Every command runs wrangler from the target's directory with
862
+ `CLOUDFLARE_ACCOUNT_ID` pinned from `cloudflare.accountId`.
863
+
864
+ | Command | Does |
865
+ | --- | --- |
866
+ | `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 }`) |
867
+ | `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) |
868
+ | `kit logs <target> [-- <wrangler tail flags>]` | `wrangler tail`, attached to the terminal; Ctrl-C stops |
869
+ | `kit open <target> [--print]` | The worker's Cloudflare dashboard page; `--print` or `--json` writes the URL instead |
870
+ | `kit db backup [--remote] [--out <file>]` | `wrangler d1 export` to `backups/<db>-<UTC timestamp>.sql`; prints the path |
871
+ | `kit db restore <file> [--remote]` | Load a backup: locally it replaces the database; remotely the database must be empty |
872
+ | `kit db seed [--remote]` | Run the file named by `cloudflare.d1.<db>.seed` (relative to the repo root) |
873
+ | `kit db reset` | Local only: delete the local database, re-apply migrations, then seed if configured |
874
+
875
+ - `--preview` takes one worker target, honours `--env` and `deploy.before`, and aliases the preview
876
+ to the branch (`feat/login` → `feat-login-<worker>.<subdomain>.workers.dev`); with no usable branch
877
+ name the URL is the per-version one. A target with a custom `deploy` command runs its `build`
878
+ first (and needs one: exit 2 otherwise); `deploy: false` has no preview.
879
+ - `--comment` posts the URL on the branch's pull request with `gh`, and on the next preview updates
880
+ that comment: only one the `gh` user wrote that opens with kit's marker. With no pull request it
881
+ warns; any other `gh` failure exits 1, after the URL is printed (`comment: 'failed'`, `ok: false`).
882
+ - `kit release rollback` works out the version itself: every `wrangler secret put` (`kit env push`)
883
+ is a deployment, so "the previous deployment" would only undo the last secret. kit picks the last
884
+ deployment whose code differs from what is live, shows its id and date, and warns when secrets
885
+ changed since then: their values go back too, so run `kit env push` afterwards. `--to` names a
886
+ 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
887
+ longer matches production. A service whose deploy is not a worker exits 2.
888
+ - `kit db restore`: a backup carries the schema and the applied-migrations table, so it loads into
889
+ an empty database only. Locally kit deletes the database first (after a confirm, like `reset`).
890
+ Remotely it checks the database has no tables and exits 4 naming them if it does; kit never drops
891
+ remote tables.
892
+ - `kit db backup` warns when git does not ignore the file it wrote: a `--remote` dump is production
893
+ data. `kit init` adds `backups/` to `.gitignore`.
894
+ - `kit db reset` and a local restore stop (exit 1, "layout not recognised") rather than report a
895
+ reset that deleted nothing, when wrangler's local state is not where kit expects it.
896
+ - `kit db` commands take `--db`; `--remote` writes (`restore`, `seed`) confirm first, and
897
+ `kit db reset --remote` is a usage error.
898
+ - `kit logs` has no `--json` document (exit 2): for JSON lines use `kit logs <target> -- --format json`.
899
+ - `--dry-run` runs nothing in any of them.