@jordond/kit 0.6.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (456) hide show
  1. package/README.md +669 -9
  2. package/dist/_preview-8pctvjkj.js +186 -0
  3. package/dist/_verb-b1rwwq8f.js +173 -0
  4. package/dist/{android-f2jqh5f4.js → android-rxm5012p.js} +3 -3
  5. package/dist/apply-37atsazn.js +118 -0
  6. package/dist/backup-mmf68rsk.js +67 -0
  7. package/dist/bin-q60acre8.js +15 -0
  8. package/dist/boot-z0xvjet2.js +54 -0
  9. package/dist/{build-15wfykv9.js → build-2neqt771.js} +6 -2
  10. package/dist/build-7418nfdd.js +21 -0
  11. package/dist/build-c0y6pjgv.js +53 -0
  12. package/dist/{builtins-tgrq0nnd.js → builtins-p4pf9hbc.js} +1 -1
  13. package/dist/{bump-xmjn8q5s.js → bump-4rmt4q57.js} +5 -5
  14. package/dist/{certs-5kcftfaz.js → certs-j56f2zv1.js} +5 -5
  15. package/dist/changelog-70znsn6a.js +130 -0
  16. package/dist/changelog-9c2f7zcy.js +120 -0
  17. package/dist/{check-h2qjvrge.js → check-qzf9ks2k.js} +8 -3
  18. package/dist/{check-s3xje6km.js → check-yk8mzca8.js} +11 -6
  19. package/dist/clean-8n2j982t.js +93 -0
  20. package/dist/clean-k40p14af.js +237 -0
  21. package/dist/clear-xwhv7bxy.js +43 -0
  22. package/dist/cli-0f3m8qma.js +127 -0
  23. package/dist/{kitref-9j43993r.js → cli-28nya88s.js} +2 -13
  24. package/dist/cli-2ja6z124.js +127 -0
  25. package/dist/{doctor-63ntz70n.js → cli-3nqkyv98.js} +153 -204
  26. package/dist/{cli-5qdvgv3a.js → cli-4kqc5ywj.js} +2 -2
  27. package/dist/{cli-1m6cy8wp.js → cli-4vsj6a7w.js} +3 -3
  28. package/dist/{cli-6q43d787.js → cli-507f5c8j.js} +1 -1
  29. package/dist/{cli-qhs8ww91.js → cli-5ws4pqz1.js} +11 -1
  30. package/dist/cli-7wxg8m4q.js +123 -0
  31. package/dist/cli-83zaa5dz.js +67 -0
  32. package/dist/{cli-pz86az34.js → cli-8qgbqa52.js} +23 -3
  33. package/dist/cli-8qgqecpv.js +35 -0
  34. package/dist/{cli-vpzh9t0w.js → cli-a0ghfqeb.js} +1 -1
  35. package/dist/cli-b4qnnrsp.js +35 -0
  36. package/dist/{cli-8mb4ayv9.js → cli-d6vjw06z.js} +109 -82
  37. package/dist/cli-dbww3ss1.js +479 -0
  38. package/dist/cli-e3jdg5nx.js +234 -0
  39. package/dist/cli-ey6trdpc.js +11 -0
  40. package/dist/{mobile-r27grzez.js → cli-f0epa954.js} +29 -29
  41. package/dist/cli-f7hwhng0.js +776 -0
  42. package/dist/cli-jkp4kvsr.js +124 -0
  43. package/dist/cli-k3q2s02f.js +54 -0
  44. package/dist/{cli-699g070n.js → cli-m2zc03pj.js} +10 -8
  45. package/dist/cli-p7bb5zr2.js +14 -0
  46. package/dist/{deploy-k21ee2wr.js → cli-p98ch7s2.js} +34 -19
  47. package/dist/cli-pd4aspw0.js +208 -0
  48. package/dist/cli-pxa69atq.js +98 -0
  49. package/dist/{scaffold-eqbtfksr.js → cli-qsc39jca.js} +15 -19
  50. package/dist/{cli-dht27t4r.js → cli-s4xqzg86.js} +1 -1
  51. package/dist/cli-sjmx8cqb.js +85 -0
  52. package/dist/cli-vqw9ek9v.js +474 -0
  53. package/dist/{cli-5sp3tf1s.js → cli-w7m2hct3.js} +104 -15
  54. package/dist/cli-wrzdcgnt.js +82 -0
  55. package/dist/cli-wvzmjk4c.js +196 -0
  56. package/dist/{cli-wg35kt5d.js → cli-x7ja9ygh.js} +9 -2
  57. package/dist/{cli-0j3ywy6y.js → cli-xs9ge3t2.js} +2 -2
  58. package/dist/cli-xtq08c75.js +394 -0
  59. package/dist/cli-y0yebvmg.js +37 -0
  60. package/dist/{cli-dcq8ydz0.js → cli-ye4a1asw.js} +52 -12
  61. package/dist/cli-z4gcjd7a.js +54 -0
  62. package/dist/cli-zfcp9hzk.js +282 -0
  63. package/dist/{cli-fqfan92n.js → cli-zn8nsg3w.js} +23 -1
  64. package/dist/cli.js +1 -1
  65. package/dist/{cloudflare-3p8gj4ae.js → cloudflare-vm474s23.js} +13 -5
  66. package/dist/{command-gtyznw30.js → command-jwjvb9pb.js} +1 -1
  67. package/dist/command-r3jw2m41.js +269 -0
  68. package/dist/command-wqrhr0w2.js +1108 -0
  69. package/dist/commands/_affected.d.ts +11 -0
  70. package/dist/commands/_preview.d.ts +12 -0
  71. package/dist/commands/_verb.d.ts +1 -1
  72. package/dist/commands/add/module.d.ts +25 -0
  73. package/dist/commands/add/target.d.ts +17 -0
  74. package/dist/commands/app/build.d.ts +11 -0
  75. package/dist/commands/app/clear.d.ts +7 -0
  76. package/dist/commands/app/install.d.ts +15 -0
  77. package/dist/commands/app/run.d.ts +15 -0
  78. package/dist/commands/app/uninstall.d.ts +7 -0
  79. package/dist/commands/build.d.ts +8 -0
  80. package/dist/commands/changelog.d.ts +30 -0
  81. package/dist/commands/check.d.ts +8 -0
  82. package/dist/commands/clean.d.ts +7 -0
  83. package/dist/commands/db/backup.d.ts +16 -0
  84. package/dist/commands/db/reset.d.ts +11 -0
  85. package/dist/commands/db/restore.d.ts +11 -0
  86. package/dist/commands/db/seed.d.ts +11 -0
  87. package/dist/commands/deploy.d.ts +8 -0
  88. package/dist/commands/device/boot.d.ts +7 -0
  89. package/dist/commands/device/list.d.ts +7 -0
  90. package/dist/commands/device/statusbar.d.ts +11 -0
  91. package/dist/commands/doctor.d.ts +10 -93
  92. package/dist/commands/env/push.d.ts +5 -1
  93. package/dist/commands/env/rotate.d.ts +7 -0
  94. package/dist/commands/fixture/dump.d.ts +7 -0
  95. package/dist/commands/fixture/load.d.ts +7 -0
  96. package/dist/commands/format.d.ts +8 -0
  97. package/dist/commands/lint.d.ts +8 -0
  98. package/dist/commands/logs.d.ts +8 -0
  99. package/dist/commands/maestro.d.ts +2 -0
  100. package/dist/commands/open.d.ts +13 -0
  101. package/dist/commands/qa.d.ts +31 -0
  102. package/dist/commands/release/metadata/pull.d.ts +11 -0
  103. package/dist/commands/release/metadata/push.d.ts +11 -0
  104. package/dist/commands/release/promote.d.ts +35 -0
  105. package/dist/commands/release/rollback.d.ts +7 -0
  106. package/dist/commands/release/rollout.d.ts +23 -0
  107. package/dist/commands/release/status.d.ts +2 -0
  108. package/dist/commands/shots/export.d.ts +29 -0
  109. package/dist/commands/shots.d.ts +31 -0
  110. package/dist/commands/test.d.ts +10 -1
  111. package/dist/commands/typecheck.d.ts +10 -1
  112. package/dist/{completion-6yett99s.js → completion-db2be2ww.js} +1 -1
  113. package/dist/{concurrent-zdz69ye5.js → concurrent-vvs84hhn.js} +1 -1
  114. package/dist/config/schema.d.ts +90 -0
  115. package/dist/config-45ts3ey1.js +31 -0
  116. package/dist/{config-2db8d4tg.js → config-ra2ybdkx.js} +1 -1
  117. package/dist/{create-te58argb.js → create-232vc6b4.js} +6 -6
  118. package/dist/{creds-2qk71mdx.js → creds-44ajrfzh.js} +3 -3
  119. package/dist/d1-local-jheysy22.js +62 -0
  120. package/dist/deploy-sbdbk7xz.js +18 -0
  121. package/dist/{deps-tq3jpjd3.js → deps-q404mzpf.js} +6 -6
  122. package/dist/{dev-915svrxw.js → dev-hq0acmq1.js} +7 -7
  123. package/dist/discover-gz594nzn.js +14 -0
  124. package/dist/doctor-xev4sqdt.js +153 -0
  125. package/dist/dotenv-bsk2m68j.js +15 -0
  126. package/dist/dump-bvg8ekkx.js +60 -0
  127. package/dist/entries-2yh20vd4.js +311 -0
  128. package/dist/{exec-gwnn34v2.js → exec-tr777f9f.js} +6 -6
  129. package/dist/export-fqr13qd7.js +65 -0
  130. package/dist/{fastlane-pj9c09z3.js → fastlane-5r62mn8v.js} +3 -3
  131. package/dist/{fastlane-86zcf5ys.js → fastlane-85d4k568.js} +6 -6
  132. package/dist/fixes-mqh7f9ds.js +27 -0
  133. package/dist/{format-z1jqgbad.js → format-hrad04cj.js} +7 -3
  134. package/dist/{git-3gyyfk0x.js → git-e4ys8tdc.js} +15 -3
  135. package/dist/{github-xakbbb7p.js → github-rxf67b21.js} +6 -6
  136. package/dist/{gradle-df21cm28.js → gradle-ac59hga1.js} +3 -3
  137. package/dist/index-9mmb130f.js +51 -0
  138. package/dist/index-af01qr87.js +27 -0
  139. package/dist/index.js +4 -4
  140. package/dist/{init-cbba8t64.js → init-bs57n1k0.js} +20 -11
  141. package/dist/{init-gtkmx54a.js → init-dyd1b74n.js} +11 -7
  142. package/dist/{init-hdebe1s9.js → init-en85gy2h.js} +5 -5
  143. package/dist/install-7sm85xmk.js +50 -0
  144. package/dist/install-dhw82bzn.js +35 -0
  145. package/dist/{ios-txv190np.js → ios-ftz9d17d.js} +3 -3
  146. package/dist/kitref-p727zpk7.js +24 -0
  147. package/dist/{kotlin-drt7z6bg.js → kotlin-8ytjqp7e.js} +3 -3
  148. package/dist/lib/add/apply.d.ts +25 -0
  149. package/dist/lib/add/edits.d.ts +57 -0
  150. package/dist/lib/add/plan.d.ts +98 -0
  151. package/dist/lib/add/settings.d.ts +20 -0
  152. package/dist/lib/app/build.d.ts +35 -0
  153. package/dist/lib/app/config.d.ts +21 -0
  154. package/dist/lib/app/install.d.ts +53 -0
  155. package/dist/lib/changelog.d.ts +51 -0
  156. package/dist/lib/chrome.d.ts +19 -0
  157. package/dist/lib/clean.d.ts +85 -0
  158. package/dist/lib/cloudflare.d.ts +25 -1
  159. package/dist/lib/d1-local.d.ts +29 -0
  160. package/dist/lib/devices/emulator-args.d.ts +16 -0
  161. package/dist/lib/devices/index.d.ts +101 -0
  162. package/dist/lib/devices/pick.d.ts +52 -0
  163. package/dist/lib/devices/statusbar.d.ts +4 -0
  164. package/dist/lib/doctor/checks.d.ts +134 -0
  165. package/dist/lib/doctor/entries.d.ts +34 -0
  166. package/dist/lib/doctor/fixes.d.ts +64 -0
  167. package/dist/lib/doctor/repair.d.ts +18 -0
  168. package/dist/lib/dotenv.d.ts +52 -0
  169. package/dist/lib/env/init.d.ts +1 -1
  170. package/dist/lib/env/push-run.d.ts +62 -0
  171. package/dist/lib/env/render.d.ts +2 -1
  172. package/dist/lib/env/rotate.d.ts +24 -0
  173. package/dist/lib/env/schema.d.ts +20 -0
  174. package/dist/lib/fixtures/android.d.ts +33 -0
  175. package/dist/lib/fixtures/config.d.ts +73 -0
  176. package/dist/lib/fixtures/index.d.ts +29 -0
  177. package/dist/lib/fixtures/ios.d.ts +13 -0
  178. package/dist/lib/fixtures/stage.d.ts +37 -0
  179. package/dist/lib/git.d.ts +43 -1
  180. package/dist/lib/image/png.d.ts +39 -0
  181. package/dist/lib/maestro/args.d.ts +23 -0
  182. package/dist/lib/maestro/bin.d.ts +10 -0
  183. package/dist/lib/maestro/command.d.ts +16 -0
  184. package/dist/lib/maestro/lint.d.ts +14 -0
  185. package/dist/lib/maestro/run.d.ts +79 -0
  186. package/dist/lib/maestro/suites.d.ts +24 -0
  187. package/dist/lib/pm.d.ts +5 -0
  188. package/dist/lib/proc.d.ts +10 -0
  189. package/dist/lib/release/listing-images.d.ts +86 -0
  190. package/dist/lib/release/metadata.d.ts +81 -0
  191. package/dist/lib/release/mobile.d.ts +5 -1
  192. package/dist/lib/release/promote.d.ts +58 -0
  193. package/dist/lib/release/rollout.d.ts +33 -0
  194. package/dist/lib/release/status.d.ts +52 -0
  195. package/dist/lib/scaffold.d.ts +3 -0
  196. package/dist/lib/steps.d.ts +10 -0
  197. package/dist/lib/storeshots/command.d.ts +3 -0
  198. package/dist/lib/storeshots/fonts.d.ts +14 -0
  199. package/dist/lib/storeshots/page/background.d.ts +6 -0
  200. package/dist/lib/storeshots/page/device-frames.d.ts +16 -0
  201. package/dist/lib/storeshots/page/main.d.ts +1 -0
  202. package/dist/lib/storeshots/page/renderer.d.ts +17 -0
  203. package/dist/lib/storeshots/page-bundle.d.ts +7 -0
  204. package/dist/lib/storeshots/plan.d.ts +25 -0
  205. package/dist/lib/storeshots/project.d.ts +169 -0
  206. package/dist/lib/storeshots/render.d.ts +20 -0
  207. package/dist/lib/storeshots/server.d.ts +29 -0
  208. package/dist/lib/storeshots/sizes.d.ts +121 -0
  209. package/dist/lib/storeshots/types.d.ts +397 -0
  210. package/dist/lib/storeshots/write.d.ts +11 -0
  211. package/dist/lib/targets.d.ts +23 -2
  212. package/dist/lib/worker.d.ts +128 -0
  213. package/dist/{lint-90ernbhx.js → lint-xzb2jaxv.js} +7 -3
  214. package/dist/list-3qms77kb.js +61 -0
  215. package/dist/{list-vaarpryk.js → list-c2805zb7.js} +6 -6
  216. package/dist/{load-x6mekf6y.js → load-1hnv925a.js} +3 -1
  217. package/dist/load-jy3j26eg.js +51 -0
  218. package/dist/{load-4s6t9309.js → load-nvf2hj1m.js} +36 -3
  219. package/dist/logs-jvfk9fm9.js +62 -0
  220. package/dist/maestro-6tbytfs6.js +30 -0
  221. package/dist/{main-5c6x1pd4.js → main-s7a0h69g.js} +21 -38
  222. package/dist/metadata-hpvy9bcy.js +44 -0
  223. package/dist/{migrate-9zvfp57b.js → migrate-t2pqt227.js} +6 -6
  224. package/dist/mobile-jfhpfm26.js +40 -0
  225. package/dist/module-kg87yk0v.js +119 -0
  226. package/dist/{notes-1zsa7qac.js → notes-hscncx9v.js} +3 -3
  227. package/dist/open-hdvts4mk.js +73 -0
  228. package/dist/pick-a90zx6sr.js +26 -0
  229. package/dist/plan-av9jwvvk.js +651 -0
  230. package/dist/{pm-5q5vz6w3.js → pm-ay4nmeps.js} +3 -1
  231. package/dist/{proc-jv4bcyyx.js → proc-2km5mhwc.js} +6 -2
  232. package/dist/promote-2f9jz0fb.js +290 -0
  233. package/dist/promote-8z6j6x1t.js +63 -0
  234. package/dist/pull-rza3bwrc.js +39 -0
  235. package/dist/push-29fdysqa.js +44 -0
  236. package/dist/push-5k6rqfcs.js +63 -0
  237. package/dist/push-run-znkn6gxf.js +148 -0
  238. package/dist/qa-9xm0sj2w.js +40 -0
  239. package/dist/{render-vn40fp54.js → render-hkvej41k.js} +3 -1
  240. package/dist/repair-9j76xj3d.js +104 -0
  241. package/dist/reset-wkgagcgz.js +110 -0
  242. package/dist/restore-b0msh1kh.js +122 -0
  243. package/dist/rollback-3zfvnwt4.js +134 -0
  244. package/dist/rollout-9kvwswvw.js +188 -0
  245. package/dist/rollout-b2xm5r5r.js +56 -0
  246. package/dist/rotate-b52s310n.js +168 -0
  247. package/dist/rotate-ba6anxzn.js +80 -0
  248. package/dist/run-jzqzb203.js +56 -0
  249. package/dist/scaffold-5mzc135g.js +37 -0
  250. package/dist/secrets-ed4qtmyb.js +24 -0
  251. package/dist/seed-awcycfbj.js +37 -0
  252. package/dist/{service-s5mnjq74.js → service-edjckedw.js} +18 -9
  253. package/dist/shots-c9w1qq2h.js +46 -0
  254. package/dist/shots-page.js +613 -0
  255. package/dist/{show-qhn6x1vn.js → show-4kc2sevf.js} +3 -3
  256. package/dist/sizes-3kpjxm9h.js +51 -0
  257. package/dist/status-jtxkbc62.js +41 -0
  258. package/dist/status-w6wr9403.js +29 -0
  259. package/dist/statusbar-efr97b9e.js +55 -0
  260. package/dist/statusbar-m5h8rx00.js +15 -0
  261. package/dist/steps-1ptk2gnz.js +22 -0
  262. package/dist/{sync-34029rh7.js → sync-mza36nse.js} +4 -4
  263. package/dist/target-zgg601fm.js +78 -0
  264. package/dist/{targets-5z0abrrk.js → targets-gprq0d5c.js} +11 -4
  265. package/dist/{test-rpj97zr6.js → test-gnmatth4.js} +8 -3
  266. package/dist/{typecheck-tbtp9z07.js → typecheck-peqg5a5c.js} +6 -2
  267. package/dist/uninstall-0p4qcvpn.js +43 -0
  268. package/dist/{upgrade-z5s5wzzj.js → upgrade-56bzvms8.js} +5 -5
  269. package/dist/worker-thvksjg2.js +59 -0
  270. package/dist/{wrangler-zz21zhb0.js → wrangler-f2rf697q.js} +5 -5
  271. package/dist/{xcode-w8yhedhm.js → xcode-qqb04c3a.js} +3 -3
  272. package/fastlane/Fastfile +748 -15
  273. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom} +2 -2
  274. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.md5 +1 -0
  275. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha1 +1 -0
  276. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha256 +1 -0
  277. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha512 +1 -0
  278. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
  279. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
  280. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  281. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  282. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  283. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom} +2 -2
  284. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.md5 +1 -0
  285. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha1 +1 -0
  286. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha256 +1 -0
  287. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha512 +1 -0
  288. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
  289. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
  290. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  291. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  292. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  293. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom} +2 -2
  294. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.md5 +1 -0
  295. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha1 +1 -0
  296. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha256 +1 -0
  297. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha512 +1 -0
  298. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
  299. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
  300. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  301. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  302. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  303. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom} +2 -2
  304. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.md5 +1 -0
  305. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha1 +1 -0
  306. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha256 +1 -0
  307. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha512 +1 -0
  308. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
  309. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
  310. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  311. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  312. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  313. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.module → 0.7.1/kit-plugins-0.7.1.module} +5 -5
  314. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.md5 +1 -0
  315. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha1 +1 -0
  316. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha256 +1 -0
  317. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha512 +1 -0
  318. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.pom → 0.7.1/kit-plugins-0.7.1.pom} +1 -1
  319. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.md5 +1 -0
  320. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha1 +1 -0
  321. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha256 +1 -0
  322. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha512 +1 -0
  323. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  324. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  325. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  326. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  327. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  328. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.module → 0.7.1/kit-settings-0.7.1.module} +5 -5
  329. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.md5 +1 -0
  330. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha1 +1 -0
  331. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha256 +1 -0
  332. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha512 +1 -0
  333. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.pom → 0.7.1/kit-settings-0.7.1.pom} +1 -1
  334. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.md5 +1 -0
  335. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha1 +1 -0
  336. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha256 +1 -0
  337. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha512 +1 -0
  338. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  339. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  340. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  341. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  342. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  343. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom} +2 -2
  344. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.md5 +1 -0
  345. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha1 +1 -0
  346. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha256 +1 -0
  347. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha512 +1 -0
  348. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
  349. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
  350. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  351. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  352. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  353. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom} +2 -2
  354. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.md5 +1 -0
  355. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha1 +1 -0
  356. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha256 +1 -0
  357. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha512 +1 -0
  358. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
  359. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
  360. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  361. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  362. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  363. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom} +2 -2
  364. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.md5 +1 -0
  365. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha1 +1 -0
  366. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha256 +1 -0
  367. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha512 +1 -0
  368. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  369. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  370. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  371. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  372. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  373. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom} +2 -2
  374. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.md5 +1 -0
  375. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha1 +1 -0
  376. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha256 +1 -0
  377. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha512 +1 -0
  378. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  379. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  380. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  381. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  382. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  383. package/package.json +2 -2
  384. package/templates/add/Placeholder.kt +4 -0
  385. package/templates/add/gradle-module/build.gradle.kts +9 -0
  386. package/templates/add/toolchain-module/module.yaml +4 -0
  387. package/templates/add/worker/package.json +15 -0
  388. package/templates/add/worker/src/index.ts +5 -0
  389. package/templates/add/worker/tsconfig.json +13 -0
  390. package/templates/add/worker/wrangler.jsonc +8 -0
  391. package/templates/gradle/renovate.json +4 -0
  392. package/templates/toolchain/renovate.json +4 -0
  393. package/dist/_verb-cfgwexs5.js +0 -117
  394. package/dist/cli-650g3nf7.js +0 -203
  395. package/dist/cli-xjpjdc2c.js +0 -70
  396. package/dist/push-tn468c4w.js +0 -22
  397. package/dist/push-wgbf86c0.js +0 -124
  398. package/dist/steps-8bz1tscj.js +0 -16
  399. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.md5 +0 -1
  400. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha1 +0 -1
  401. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha256 +0 -1
  402. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha512 +0 -1
  403. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.md5 +0 -1
  404. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha1 +0 -1
  405. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha256 +0 -1
  406. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha512 +0 -1
  407. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.md5 +0 -1
  408. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha1 +0 -1
  409. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha256 +0 -1
  410. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha512 +0 -1
  411. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.md5 +0 -1
  412. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha1 +0 -1
  413. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha256 +0 -1
  414. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha512 +0 -1
  415. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.md5 +0 -1
  416. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha1 +0 -1
  417. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha256 +0 -1
  418. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha512 +0 -1
  419. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.md5 +0 -1
  420. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha1 +0 -1
  421. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha256 +0 -1
  422. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha512 +0 -1
  423. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.md5 +0 -1
  424. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha1 +0 -1
  425. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha256 +0 -1
  426. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha512 +0 -1
  427. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.md5 +0 -1
  428. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha1 +0 -1
  429. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha256 +0 -1
  430. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha512 +0 -1
  431. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.md5 +0 -1
  432. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha1 +0 -1
  433. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha256 +0 -1
  434. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha512 +0 -1
  435. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.md5 +0 -1
  436. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha1 +0 -1
  437. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha256 +0 -1
  438. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha512 +0 -1
  439. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.md5 +0 -1
  440. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha1 +0 -1
  441. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha256 +0 -1
  442. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha512 +0 -1
  443. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.md5 +0 -1
  444. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha1 +0 -1
  445. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha256 +0 -1
  446. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha512 +0 -1
  447. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar → 0.7.1/kit-plugins-0.7.1.jar} +0 -0
  448. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.md5 → 0.7.1/kit-plugins-0.7.1.jar.md5} +0 -0
  449. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha1 → 0.7.1/kit-plugins-0.7.1.jar.sha1} +0 -0
  450. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha256 → 0.7.1/kit-plugins-0.7.1.jar.sha256} +0 -0
  451. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha512 → 0.7.1/kit-plugins-0.7.1.jar.sha512} +0 -0
  452. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar → 0.7.1/kit-settings-0.7.1.jar} +0 -0
  453. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.md5 → 0.7.1/kit-settings-0.7.1.jar.md5} +0 -0
  454. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha1 → 0.7.1/kit-settings-0.7.1.jar.sha1} +0 -0
  455. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha256 → 0.7.1/kit-settings-0.7.1.jar.sha256} +0 -0
  456. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha512 → 0.7.1/kit-settings-0.7.1.jar.sha512} +0 -0
package/fastlane/Fastfile CHANGED
@@ -121,6 +121,89 @@ def kit_ios_ipa
121
121
  kit_require_file("KIT_IOS_IPA")
122
122
  end
123
123
 
124
+ # metadata_pull / metadata_push helpers. deliver keeps the App Review contact
125
+ # (name, phone, email) and the demo account's user and password as plaintext
126
+ # files in <metadata>/review_information. kit never leaves that directory in
127
+ # the repo and never uploads it.
128
+ def kit_review_information?(entry)
129
+ entry.casecmp?("review_information")
130
+ end
131
+
132
+ def kit_strip_review_information(metadata)
133
+ return false unless File.directory?(metadata)
134
+
135
+ found = Dir.children(metadata).select { |entry| kit_review_information?(entry) }
136
+ found.each { |entry| FileUtils.rm_rf(File.join(metadata, entry)) }
137
+ !found.empty?
138
+ end
139
+
140
+ # Copy the metadata directory into `into` for deliver to read, without
141
+ # review_information/ and without supply's android/ (deliver skips that one).
142
+ def kit_metadata_for_push(metadata, into)
143
+ FileUtils.mkdir_p(into)
144
+ Dir.children(metadata).each do |entry|
145
+ # Any case: on a case-insensitive disk deliver reads Review_Information/ as review_information/.
146
+ next if entry.start_with?(".") || kit_review_information?(entry) || entry.casecmp?("android")
147
+
148
+ FileUtils.cp_r(File.join(metadata, entry), into)
149
+ end
150
+ into
151
+ end
152
+
153
+ # What a listing push sends. Text goes up unless KIT_METADATA_TEXT=0
154
+ # (`kit release metadata push --only-screenshots`); images only with
155
+ # KIT_METADATA_SCREENSHOTS=1. Text off and no images is nothing to upload.
156
+ #
157
+ # KIT_METADATA_TEXT is not read with kit_flag?: that takes anything but
158
+ # 1/true/yes as off, which is the careful reading for KIT_APPSTORE_SUBMIT and
159
+ # KIT_APPSTORE_PHASED but here would drop the text on "on" or a typo. Only
160
+ # 0/false/no, in any case, turns the text off.
161
+ def kit_listing_parts
162
+ text = !%w[0 false no].include?(ENV["KIT_METADATA_TEXT"].to_s.strip.downcase)
163
+ images = kit_flag?("KIT_METADATA_SCREENSHOTS")
164
+ UI.user_error!("KIT_METADATA_TEXT=0 needs KIT_METADATA_SCREENSHOTS=1: there is nothing to upload.") unless text || images
165
+ { text: text, images: images }
166
+ end
167
+
168
+ # deliver's switches for a listing push.
169
+ def kit_deliver_listing_options(parts = kit_listing_parts)
170
+ {
171
+ skip_metadata: !parts[:text],
172
+ skip_screenshots: !parts[:images],
173
+ overwrite_screenshots: parts[:images]
174
+ }
175
+ end
176
+
177
+ # supply's switches for a listing push: never a binary or a changelog. Each
178
+ # part has its own switch, so with the text off only images are sent.
179
+ def kit_supply_listing_options(parts = kit_listing_parts)
180
+ {
181
+ skip_upload_apk: true,
182
+ skip_upload_aab: true,
183
+ skip_upload_changelogs: true,
184
+ skip_upload_metadata: !parts[:text],
185
+ skip_upload_images: !parts[:images],
186
+ skip_upload_screenshots: !parts[:images]
187
+ }
188
+ end
189
+
190
+ # "the App Store listing and screenshots", "the Play screenshots", …
191
+ def kit_listing_summary(parts, images)
192
+ [parts[:text] ? "listing" : nil, parts[:images] ? images : nil].compact.join(" and ")
193
+ end
194
+
195
+ # The version deliver would edit, or an immediate error: with none, deliver
196
+ # sits in its retry loop (7 tries, up to 5 minutes apart) before failing.
197
+ def kit_require_editable_version(app, platform, bundle_id)
198
+ version = app.get_edit_app_store_version(platform: platform)
199
+ return version if version
200
+
201
+ UI.user_error!(
202
+ "#{bundle_id} has no editable App Store version, so there is no listing to update. " \
203
+ "Create the next version in App Store Connect, or push after `kit release ios --track prod`."
204
+ )
205
+ end
206
+
124
207
  platform :ios do
125
208
  desc "Print the next build number: max(TestFlight, App Store) + 1."
126
209
  desc "In: KIT_IOS_BUNDLE_ID, ASC_KEY_ID, ASC_ISSUER_ID, KIT_ASC_KEY_PATH. Out: KIT_NEXT_BUILD=<n>."
@@ -225,21 +308,29 @@ platform :ios do
225
308
 
226
309
  UI.user_error!("KIT_RELEASE_NOTES is empty: App Store Connect will not submit an update without What's New.") if whats_new.empty?
227
310
 
228
- upload_to_app_store(
229
- api_key: kit_asc_api_key,
230
- app_identifier: kit_ios_bundle_id,
231
- ipa: ipa,
232
- submit_for_review: kit_flag?("KIT_APPSTORE_SUBMIT", default: true),
233
- automatic_release: false, # the operator releases from App Store Connect after approval
234
- phased_release: kit_flag?("KIT_APPSTORE_PHASED", default: true),
235
- precheck_include_in_app_purchases: false,
236
- # No skip_metadata: deliver applies automatic_release and phased_release
237
- # inside its metadata step, so skipping it silently drops both. What's New
238
- # is the only listing field this writes.
239
- release_notes: { "en-US" => whats_new },
240
- skip_screenshots: true,
241
- force: true # skip the interactive HTML preview
242
- )
311
+ # deliver defaults metadata_path to <app>/fastlane/metadata, where the
312
+ # repo's store listing can live (`kit metadata pull`): a release must not
313
+ # upload that listing or its stale per-locale release notes. An empty dir
314
+ # loads nothing; the metadata step still runs (see below).
315
+ Dir.mktmpdir("kit-deliver") do |empty|
316
+ upload_to_app_store(
317
+ api_key: kit_asc_api_key,
318
+ app_identifier: kit_ios_bundle_id,
319
+ ipa: ipa,
320
+ submit_for_review: kit_flag?("KIT_APPSTORE_SUBMIT", default: true),
321
+ automatic_release: false, # the operator releases from App Store Connect after approval
322
+ phased_release: kit_flag?("KIT_APPSTORE_PHASED", default: true),
323
+ precheck_include_in_app_purchases: false,
324
+ # No skip_metadata: deliver applies automatic_release and phased_release
325
+ # inside its metadata step, so skipping it silently drops both. What's New
326
+ # is the only listing field this writes.
327
+ release_notes: { "en-US" => whats_new },
328
+ metadata_path: File.join(empty, "metadata"),
329
+ screenshots_path: File.join(empty, "screenshots"),
330
+ skip_screenshots: true,
331
+ force: true # skip the interactive HTML preview
332
+ )
333
+ end
243
334
  UI.success("Submitted to the App Store for review.")
244
335
  end
245
336
 
@@ -274,6 +365,118 @@ platform :ios do
274
365
  UI.user_error!("KIT_CERTS_MODE must be readonly or add, got '#{mode}'") unless %w[readonly add].include?(mode)
275
366
  kit_match(readonly: mode == "readonly", api_key: kit_asc_api_key)
276
367
  end
368
+
369
+ # fastlane has no download action, so this does what `deliver download_metadata`
370
+ # and `deliver download_screenshots` do, with the same deliver classes. Text
371
+ # comes from the latest version; screenshots from the version being edited,
372
+ # else the live one.
373
+ desc "Download the App Store listing text into the app's metadata directory; screenshots too when KIT_METADATA_SCREENSHOTS=1."
374
+ desc "In: KIT_METADATA_PATH, KIT_SCREENSHOTS_PATH, KIT_METADATA_SCREENSHOTS, KIT_IOS_BUNDLE_ID, ASC_*."
375
+ lane :metadata_pull do
376
+ require "deliver"
377
+ require "deliver/setup"
378
+
379
+ metadata = kit_path("KIT_METADATA_PATH")
380
+ with_screenshots = kit_flag?("KIT_METADATA_SCREENSHOTS")
381
+ # deliver creates its screenshots dir on login; without the flag give it a throwaway one,
382
+ # so the app's screenshots directory is neither created nor touched.
383
+ unused = Dir.mktmpdir("kit-screenshots")
384
+ screenshots = with_screenshots ? kit_path("KIT_SCREENSHOTS_PATH") : unused
385
+ available = Deliver::Options.available_options
386
+ # As `deliver download_metadata` does: a stray .ipa/.pkg next to the Fastfile is irrelevant here.
387
+ available.each do |opt|
388
+ next unless %i[ipa pkg app_rating_config_path].include?(opt.key)
389
+
390
+ opt.verify_block = nil
391
+ opt.conflicting_options = nil
392
+ end
393
+ options = FastlaneCore::Configuration.create(
394
+ available,
395
+ api_key: kit_asc_api_key,
396
+ app_identifier: kit_ios_bundle_id,
397
+ metadata_path: metadata,
398
+ screenshots_path: screenshots,
399
+ force: true
400
+ )
401
+ Deliver::Runner.new(options, skip_version: true) # logs in and finds the app; uploads nothing
402
+ app = Deliver.cache[:app]
403
+ platform = Spaceship::ConnectAPI::Platform.map(options[:platform])
404
+ version = app.get_latest_app_store_version(platform: platform)
405
+ UI.user_error!("#{kit_ios_bundle_id} has no App Store version to download a listing from.") unless version
406
+
407
+ Deliver::Setup.new.generate_metadata_files(app, version, metadata, options)
408
+ if with_screenshots
409
+ editing = app.get_edit_app_store_version(platform: platform)
410
+ Deliver::DownloadScreenshots.download({ platform: options[:platform], use_live_version: editing.nil? }, screenshots)
411
+ end
412
+ UI.success("Downloaded the App Store listing to #{metadata}#{with_screenshots ? " and #{screenshots}" : ''}.")
413
+ ensure
414
+ FileUtils.remove_entry(unused) if unused && File.exist?(unused)
415
+ # deliver writes the App Review contact and demo login next to the listing; never keep them.
416
+ if metadata && kit_strip_review_information(metadata)
417
+ UI.important("Removed review_information/ (App Review contact and demo login): kit keeps it out of the repo.")
418
+ end
419
+ end
420
+
421
+ # Listing only: no binary, no review submission, no release settings.
422
+ # This runs deliver itself rather than upload_to_app_store because the
423
+ # action's defaults are not neutral: phased_release and reset_ratings default
424
+ # to false, and deliver then deletes the phased release (set by
425
+ # upload_appstore) and any ratings reset on the version. With no default
426
+ # deliver leaves both alone, like automatic_release. The .ipa/.pkg defaults
427
+ # (newest in the working directory) go too, so a stray build is never read
428
+ # for a version or platform.
429
+ # deliver edits the version being prepared, so one must exist in App Store
430
+ # Connect; skip_app_version_update keeps it from creating or renaming one.
431
+ # Without one deliver retries for about 20 minutes before failing, so the
432
+ # lane checks first. deliver reads a copy of the metadata directory without
433
+ # review_information/, so the App Review contact and demo login are never sent.
434
+ desc "Upload the App Store listing text; screenshots too when KIT_METADATA_SCREENSHOTS=1 (replaces them)."
435
+ desc "KIT_METADATA_TEXT=0 sends the screenshots alone and leaves the text as the store has it."
436
+ desc "In: KIT_METADATA_PATH, KIT_SCREENSHOTS_PATH, KIT_METADATA_SCREENSHOTS, KIT_METADATA_TEXT, KIT_IOS_BUNDLE_ID, ASC_*, KIT_SKIP_UPLOAD."
437
+ lane :metadata_push do
438
+ parts = kit_listing_parts
439
+ with_screenshots = parts[:images]
440
+ # Screenshots alone need no metadata directory: deliver gets an empty one.
441
+ metadata = parts[:text] ? kit_require_file("KIT_METADATA_PATH") : kit_path("KIT_METADATA_PATH")
442
+ next if kit_skip_upload?("the App Store listing upload", metadata)
443
+
444
+ require "deliver"
445
+
446
+ available = Deliver::Options.available_options
447
+ available.each do |opt|
448
+ opt.default_value = nil if %i[phased_release reset_ratings].include?(opt.key)
449
+ next unless %i[ipa pkg].include?(opt.key)
450
+
451
+ opt.default_value = nil
452
+ opt.verify_block = nil
453
+ opt.conflicting_options = nil
454
+ end
455
+ # deliver creates its screenshots dir even when it skips them; give it a throwaway one then.
456
+ Dir.mktmpdir("kit-listing") do |tmp|
457
+ unused = File.join(tmp, "screenshots")
458
+ listing = File.join(tmp, "metadata")
459
+ parts[:text] ? kit_metadata_for_push(metadata, listing) : FileUtils.mkdir_p(listing)
460
+ options = FastlaneCore::Configuration.create(
461
+ available,
462
+ api_key: kit_asc_api_key,
463
+ app_identifier: kit_ios_bundle_id,
464
+ metadata_path: listing,
465
+ screenshots_path: with_screenshots ? kit_require_file("KIT_SCREENSHOTS_PATH") : unused,
466
+ skip_binary_upload: true,
467
+ skip_app_version_update: true,
468
+ submit_for_review: false,
469
+ run_precheck_before_submit: false,
470
+ force: true, # skip the interactive HTML preview
471
+ **kit_deliver_listing_options(parts)
472
+ )
473
+ runner = Deliver::Runner.new(options) # logs in and finds the app; uploads nothing yet
474
+ platform = Spaceship::ConnectAPI::Platform.map(options[:platform])
475
+ kit_require_editable_version(Deliver.cache[:app], platform, kit_ios_bundle_id)
476
+ runner.run
477
+ end
478
+ UI.success("Updated the App Store #{kit_listing_summary(parts, 'screenshots')}.")
479
+ end
277
480
  end
278
481
 
279
482
  # --------------------------------------------------------------- Android ---
@@ -300,6 +503,27 @@ def kit_find_artifact(kind)
300
503
  Dir.glob(File.join(dir, "*.#{kind}")).reject { |f| f.include?("unsigned") }.max_by { |f| File.mtime(f) }
301
504
  end
302
505
 
506
+ # metadata_pull helper. `expected` maps a Play image type to how many images
507
+ # the listing has. Returns "<language>/<type> (<got> of <want>)" for each type
508
+ # with fewer image files written since `since`: supply stores single images as
509
+ # <language>/images/<type>.<ext> and screenshots as files in
510
+ # <language>/images/<type>/. Only a non-empty .png/.jpg/.jpeg counts: supply
511
+ # writes the HTTP body whatever the status, and names the file `<type>.` when
512
+ # it cannot tell the image type, so a 403 or 5xx body is not an image.
513
+ def kit_play_missing_images(metadata, language, expected, since)
514
+ images = File.join(metadata, language, "images")
515
+ expected.filter_map do |type, want|
516
+ next if want.zero?
517
+
518
+ path = File.join(images, type)
519
+ files = File.directory?(path) ? Dir.glob(File.join(path, "*")) : Dir.glob("#{path}.*")
520
+ got = files.count do |f|
521
+ File.file?(f) && File.size(f).positive? && f.match?(/\.(png|jpe?g)\z/i) && File.mtime(f) >= since - 1
522
+ end
523
+ "#{language}/#{type} (#{got} of #{want})" if got < want
524
+ end
525
+ end
526
+
303
527
  platform :android do
304
528
  desc "Print the next version code: max across every Play track + 1."
305
529
  desc "In: KIT_ANDROID_PACKAGE, KIT_PLAY_JSON_KEY. Out: KIT_NEXT_CODE=<n>."
@@ -410,4 +634,513 @@ platform :android do
410
634
  end
411
635
  UI.success("Uploaded to the Play '#{track}' track#{draft ? ' as a draft (roll it out in the Play Console)' : ''}.")
412
636
  end
637
+
638
+ # `supply init` refuses a directory that already exists and also needs a
639
+ # production release (it downloads changelogs). This runs the same
640
+ # Supply::Setup steps for the listing only; changelogs stay with
641
+ # `upload_play`. The edit is read-only and is discarded.
642
+ desc "Download the Play listing text into the app's metadata directory; images and screenshots too when KIT_METADATA_SCREENSHOTS=1."
643
+ desc "In: KIT_METADATA_PATH, KIT_METADATA_SCREENSHOTS, KIT_ANDROID_PACKAGE, KIT_PLAY_JSON_KEY."
644
+ lane :metadata_pull do
645
+ require "supply"
646
+ require "supply/options"
647
+ require "supply/setup"
648
+
649
+ metadata = kit_path("KIT_METADATA_PATH")
650
+ package = kit_env("KIT_ANDROID_PACKAGE")
651
+ Supply.config = FastlaneCore::Configuration.create(
652
+ Supply::Options.available_options,
653
+ package_name: package,
654
+ json_key: kit_play_json_key,
655
+ metadata_path: metadata
656
+ )
657
+ with_images = kit_flag?("KIT_METADATA_SCREENSHOTS")
658
+ setup = Supply::Setup.new
659
+ client = setup.send(:client) # the client Setup downloads images with; it holds the edit
660
+ client.begin_edit(package_name: package)
661
+ missing = []
662
+ begin
663
+ client.listings.each do |listing|
664
+ setup.store_metadata(listing)
665
+ next unless with_images
666
+
667
+ # download_images logs a failed image type and carries on, so count what Play has
668
+ # first and check the files afterwards.
669
+ expected = (Supply::IMAGES_TYPES + Supply::SCREENSHOT_TYPES).to_h do |type|
670
+ [type, client.fetch_images(image_type: type, language: listing.language).length]
671
+ end
672
+ started = Time.now
673
+ setup.download_images(listing)
674
+ missing.concat(kit_play_missing_images(metadata, listing.language, expected, started))
675
+ end
676
+ ensure
677
+ client.abort_current_edit
678
+ end
679
+ unless missing.empty?
680
+ UI.user_error!("Play images failed to download: #{missing.join(', ')}. The text is in #{metadata}; run the pull again.")
681
+ end
682
+ UI.success("Downloaded the Play listing#{with_images ? ', images and screenshots' : ''} to #{metadata}.")
683
+ end
684
+
685
+ # Listing only: no AAB/APK, no changelogs, no rollout or promotion (supply
686
+ # touches a track only for a binary, `rollout` or `track_promote_to`).
687
+ # supply still wants one release to hang the edit on and fails when a track
688
+ # holds several (a staged rollout), so pick the newest version code of the
689
+ # first track that has any.
690
+ desc "Upload the Play listing text; images and screenshots too when KIT_METADATA_SCREENSHOTS=1 (replaces them)."
691
+ desc "KIT_METADATA_TEXT=0 sends the images and screenshots alone and leaves the text as the store has it."
692
+ desc "In: KIT_METADATA_PATH, KIT_METADATA_SCREENSHOTS, KIT_METADATA_TEXT, KIT_ANDROID_PACKAGE, KIT_PLAY_JSON_KEY, KIT_SKIP_UPLOAD."
693
+ lane :metadata_push do
694
+ metadata = kit_require_file("KIT_METADATA_PATH")
695
+ next if kit_skip_upload?("the Play listing upload", metadata)
696
+
697
+ json_key = kit_play_json_key
698
+ package = kit_env("KIT_ANDROID_PACKAGE")
699
+ parts = kit_listing_parts
700
+ track = nil
701
+ code = nil
702
+ %w[production beta alpha internal].each do |t|
703
+ codes = begin
704
+ google_play_track_version_codes(track: t, json_key: json_key, package_name: package)
705
+ rescue StandardError => e
706
+ UI.important("Could not fetch version codes for the '#{t}' track: #{e.message}")
707
+ []
708
+ end
709
+ next if codes.empty?
710
+
711
+ track = t
712
+ code = codes.max
713
+ break
714
+ end
715
+ UI.user_error!("No release on any Play track: upload a build with `kit release android` before pushing the listing.") unless track
716
+
717
+ upload_to_play_store(
718
+ package_name: package,
719
+ json_key: json_key,
720
+ metadata_path: metadata,
721
+ track: track,
722
+ version_code: code,
723
+ **kit_supply_listing_options(parts)
724
+ )
725
+ UI.success("Updated the Play #{kit_listing_summary(parts, 'images and screenshots')}.")
726
+ end
727
+ end
728
+
729
+ # ------------------------------------------- status, promote, rollout ---
730
+ # `kit release status|promote|rollout`: no lane here builds or uploads a binary.
731
+ # The selection helpers (which build, which release, which group) are plain
732
+ # methods over the API objects so `test/fastlane` can run them against stubs.
733
+
734
+ # A track that cannot be read is reported, not fatal: kit shows it as unknown.
735
+ def kit_status_error(key, error)
736
+ message = error.message.to_s.lines.first.to_s.strip
737
+ UI.important("Could not read #{key.downcase}: #{message}")
738
+ kit_emit("STATUS_#{key}_ERROR", message)
739
+ end
740
+
741
+ # Spaceship calls outside an action (groups, builds, the phased release) need the token set.
742
+ def kit_asc_login
743
+ require "spaceship"
744
+ Spaceship::ConnectAPI.token = Spaceship::ConnectAPI::Token.from(hash: kit_asc_api_key)
745
+ end
746
+
747
+ def kit_ios_app
748
+ app = Spaceship::ConnectAPI::App.find(kit_ios_bundle_id)
749
+ UI.user_error!("No app with bundle id #{kit_ios_bundle_id} in App Store Connect") unless app
750
+ app
751
+ end
752
+
753
+ # nil when the version has no phased release: Spaceship raises a bare
754
+ # RuntimeError "No data" for that answer. Anything else (auth, network) is a
755
+ # real failure and must not read as "no phased release".
756
+ def kit_ios_phased_release(version)
757
+ version.fetch_app_store_version_phased_release
758
+ rescue RuntimeError => e
759
+ raise unless e.instance_of?(RuntimeError) && e.message == "No data"
760
+
761
+ nil
762
+ end
763
+
764
+ # Group names (or ids) -> the app's TestFlight groups. pilot skips a name it
765
+ # cannot match and still reports success, so a miss fails here.
766
+ def kit_ios_resolve_groups(all_groups, names)
767
+ names.map do |name|
768
+ all_groups.find { |g| g.name == name || g.id == name } ||
769
+ UI.user_error!("No TestFlight group '#{name}' for this app (groups: #{all_groups.map(&:name).join(', ')})")
770
+ end
771
+ end
772
+
773
+ # Builds of one version that were distributed to one TestFlight group.
774
+ def kit_ios_group_builds(app, group, version)
775
+ Spaceship::ConnectAPI.get_builds(
776
+ filter: { app: app.id, betaGroups: group.id, "preReleaseVersion.version" => version, expired: "false" },
777
+ includes: "preReleaseVersion",
778
+ sort: "-uploadedDate",
779
+ limit: 200
780
+ ).all_pages.flat_map(&:to_models)
781
+ end
782
+
783
+ # A source group must receive its builds explicitly (the groups
784
+ # `kit release ios --track alpha|beta` distributes to). A group with automatic
785
+ # distribution (hasAccessToAllBuilds, App Store Connect's default for an
786
+ # internal group) holds every upload, `--track internal` builds included, and
787
+ # kit cannot tell those apart there.
788
+ def kit_ios_require_explicit_group(group)
789
+ all_builds = group.has_access_to_all_builds
790
+ # No answer for an internal group counts as "all builds": that is App Store
791
+ # Connect's default for them, and promoting an internal build is the worse error.
792
+ all_builds = true if all_builds.nil? && group.is_internal_group
793
+ return group unless all_builds
794
+
795
+ UI.user_error!(
796
+ "The TestFlight group '#{group.name}' receives every build automatically, internal (KIT_INTERNAL) builds " \
797
+ "included, so kit cannot tell which of its builds may be promoted. Promotion needs a source group that " \
798
+ "receives builds explicitly: the one `kit release ios --track alpha|beta` distributes to " \
799
+ "(release.ios.testflightGroups), with automatic distribution off."
800
+ )
801
+ end
802
+
803
+ # The build to promote, from the source group's builds only: `number` when
804
+ # given, else the highest build number. An internal build (compiled with
805
+ # KIT_INTERNAL, sent to no group) is not among them, as long as the group
806
+ # receives builds explicitly (kit_ios_require_explicit_group).
807
+ def kit_ios_select_build(builds, number, version, group_name)
808
+ if number
809
+ builds.find { |b| b.version.to_s == number.to_s } ||
810
+ UI.user_error!("Build #{number} of #{version} is not in the TestFlight group '#{group_name}': only a build " \
811
+ "released to that group can be promoted (internal builds are never promoted)")
812
+ else
813
+ builds.max_by { |b| b.version.to_i } ||
814
+ UI.user_error!("No build of #{version} in the TestFlight group '#{group_name}': nothing to promote")
815
+ end
816
+ end
817
+
818
+ # [app, build]: looked up and checked against the source group before anything is changed.
819
+ def kit_ios_promote_build
820
+ kit_asc_login
821
+ app = kit_ios_app
822
+ version = kit_env("KIT_IOS_VERSION")
823
+ group = kit_ios_resolve_groups(app.get_beta_groups, [kit_env("KIT_TESTFLIGHT_FROM_GROUP")]).first
824
+ kit_ios_require_explicit_group(group)
825
+ builds = kit_ios_group_builds(app, group, version)
826
+ [app, kit_ios_select_build(builds, kit_env_opt("KIT_IOS_BUILD"), version, group.name)]
827
+ end
828
+
829
+ platform :ios do
830
+ desc "Print the latest TestFlight build and the live App Store build."
831
+ desc "In: KIT_IOS_BUNDLE_ID, KIT_IOS_VERSION (optional: TestFlight builds of this version only), ASC_*. " \
832
+ "Out: KIT_STATUS_TESTFLIGHT_BUILD=, KIT_STATUS_TESTFLIGHT_VERSION=, KIT_STATUS_APPSTORE_BUILD=, " \
833
+ "KIT_STATUS_APPSTORE_VERSION=, KIT_STATUS_APPSTORE_PHASED= (or KIT_STATUS_APPSTORE_PHASED_ERROR=), " \
834
+ "KIT_STATUS_<TRACK>_ERROR= (empty BUILD = no build)."
835
+ lane :status do
836
+ api_key = kit_asc_api_key
837
+ bundle_id = kit_ios_bundle_id
838
+ begin
839
+ params = { api_key: api_key, app_identifier: bundle_id, initial_build_number: 0 }
840
+ version = kit_env_opt("KIT_IOS_VERSION")
841
+ params[:version] = version if version
842
+ build = latest_testflight_build_number(params).to_i
843
+ kit_emit("STATUS_TESTFLIGHT_BUILD", build.zero? ? "" : build)
844
+ kit_emit("STATUS_TESTFLIGHT_VERSION", lane_context[SharedValues::LATEST_TESTFLIGHT_VERSION]) unless build.zero?
845
+ rescue StandardError => e
846
+ kit_status_error("TESTFLIGHT", e)
847
+ end
848
+ begin
849
+ build = app_store_build_number(api_key: api_key, app_identifier: bundle_id, live: true)
850
+ kit_emit("STATUS_APPSTORE_BUILD", build)
851
+ kit_emit("STATUS_APPSTORE_VERSION", lane_context[SharedValues::LATEST_VERSION])
852
+ rescue StandardError => e
853
+ # An app that was never released has no live version: empty, not unknown.
854
+ if e.message.include?("Could not find a live-version")
855
+ kit_emit("STATUS_APPSTORE_BUILD", "")
856
+ else
857
+ kit_status_error("APPSTORE", e)
858
+ end
859
+ end
860
+ begin
861
+ kit_asc_login
862
+ live = kit_ios_app.get_live_app_store_version
863
+ phased = live && kit_ios_phased_release(live)
864
+ kit_emit("STATUS_APPSTORE_PHASED", phased.phased_release_state) if phased
865
+ rescue StandardError => e
866
+ # Not the same as "no phased release": kit shows the phased state as unknown.
867
+ UI.important("Could not read the phased release: #{e.message}")
868
+ kit_emit("STATUS_APPSTORE_PHASED_ERROR", e.message.to_s.lines.first.to_s.strip)
869
+ end
870
+ end
871
+
872
+ desc "Print the build a promotion would move: it must be in the source TestFlight group."
873
+ desc "In: KIT_IOS_BUNDLE_ID, KIT_IOS_VERSION, KIT_TESTFLIGHT_FROM_GROUP, KIT_IOS_BUILD (optional: check this " \
874
+ "build; default the highest build number in the group), ASC_*. Out: KIT_PROMOTE_BUILD=<n>."
875
+ lane :promote_build do
876
+ _app, build = kit_ios_promote_build
877
+ kit_emit("PROMOTE_BUILD", build.version)
878
+ end
879
+
880
+ desc "Distribute a build from one TestFlight group to others (no upload)."
881
+ desc "In: KIT_IOS_BUNDLE_ID, KIT_IOS_VERSION, KIT_TESTFLIGHT_FROM_GROUP, KIT_IOS_BUILD (optional), " \
882
+ "KIT_TESTFLIGHT_GROUPS (comma list: the destination groups), KIT_RELEASE_NOTES (optional: replaces What " \
883
+ "to Test), KIT_TESTFLIGHT_WAIT_TIMEOUT (seconds, default 900), ASC_*."
884
+ lane :promote_testflight do
885
+ names = kit_list("KIT_TESTFLIGHT_GROUPS")
886
+ UI.user_error!("KIT_TESTFLIGHT_GROUPS is empty: a promotion needs the destination tester group") if names.empty?
887
+ app, build = kit_ios_promote_build
888
+ groups = kit_ios_resolve_groups(app.get_beta_groups, names).map(&:name)
889
+ params = {
890
+ api_key: kit_asc_api_key,
891
+ app_identifier: kit_ios_bundle_id,
892
+ distribute_only: true,
893
+ app_version: kit_env("KIT_IOS_VERSION"),
894
+ build_number: build.version.to_s,
895
+ distribute_external: true,
896
+ groups: groups,
897
+ # The build exists (looked up above); never poll without an end for one still processing.
898
+ wait_processing_timeout_duration: kit_env_opt("KIT_TESTFLIGHT_WAIT_TIMEOUT", "900").to_i
899
+ }
900
+ notes = kit_env_opt("KIT_RELEASE_NOTES")
901
+ params[:changelog] = notes if notes
902
+ upload_to_testflight(params)
903
+ UI.success("Distributed build #{build.version} to TestFlight groups: #{groups.join(', ')}.")
904
+ end
905
+
906
+ desc "Submit a build from a TestFlight group for App Store review (no upload)."
907
+ desc "In: KIT_IOS_BUNDLE_ID, KIT_IOS_VERSION, KIT_TESTFLIGHT_FROM_GROUP, KIT_IOS_BUILD (optional), " \
908
+ "KIT_RELEASE_NOTES (What's New, en-US), KIT_APPSTORE_PHASED (default 1), KIT_APPSTORE_SUBMIT (default 1), ASC_*."
909
+ lane :promote_appstore do
910
+ whats_new = kit_env_opt("KIT_RELEASE_NOTES", "")
911
+ UI.user_error!("KIT_RELEASE_NOTES is empty: App Store Connect will not submit an update without What's New.") if whats_new.empty?
912
+ _app, build = kit_ios_promote_build
913
+
914
+ # Same submit, phased and What's New rules as upload_appstore, and the same
915
+ # empty metadata dir: deliver must not load the repo's listing.
916
+ Dir.mktmpdir("kit-deliver") do |empty|
917
+ upload_to_app_store(
918
+ api_key: kit_asc_api_key,
919
+ app_identifier: kit_ios_bundle_id,
920
+ app_version: kit_env("KIT_IOS_VERSION"),
921
+ build_number: build.version.to_s,
922
+ skip_binary_upload: true,
923
+ submit_for_review: kit_flag?("KIT_APPSTORE_SUBMIT", default: true),
924
+ automatic_release: false,
925
+ phased_release: kit_flag?("KIT_APPSTORE_PHASED", default: true),
926
+ precheck_include_in_app_purchases: false,
927
+ release_notes: { "en-US" => whats_new },
928
+ metadata_path: File.join(empty, "metadata"),
929
+ screenshots_path: File.join(empty, "screenshots"),
930
+ skip_screenshots: true,
931
+ force: true
932
+ )
933
+ end
934
+ UI.success("Submitted build #{build.version} to the App Store for review.")
935
+ end
936
+
937
+ # The App Store has no rollout percentage: a phased release follows Apple's
938
+ # fixed 7-day schedule and can only be paused, resumed or completed.
939
+ desc "Pause, resume or complete the phased release of the live App Store version."
940
+ desc "In: KIT_ROLLOUT_ACTION (halt|resume|complete), KIT_IOS_BUNDLE_ID, ASC_*. " \
941
+ "Out: KIT_ROLLOUT_VERSION=, KIT_ROLLOUT_STATE=."
942
+ lane :rollout do
943
+ action = kit_env("KIT_ROLLOUT_ACTION")
944
+ UI.user_error!("KIT_ROLLOUT_ACTION must be halt, resume or complete, got '#{action}'") unless %w[halt resume complete].include?(action)
945
+
946
+ kit_asc_login
947
+ live = kit_ios_app.get_live_app_store_version
948
+ UI.user_error!("No live App Store version for #{kit_ios_bundle_id}") unless live
949
+ phased = kit_ios_phased_release(live)
950
+ UI.user_error!("#{live.version_string} has no phased release (it was released to everyone at once)") unless phased
951
+
952
+ state = phased.phased_release_state
953
+ allowed = { "halt" => %w[ACTIVE], "resume" => %w[PAUSED], "complete" => %w[ACTIVE PAUSED] }.fetch(action)
954
+ UI.user_error!("Cannot #{action} the phased release of #{live.version_string}: it is #{state}") unless allowed.include?(state)
955
+
956
+ updated = case action
957
+ when "halt" then phased.pause
958
+ when "resume" then phased.resume
959
+ else phased.complete
960
+ end
961
+ kit_emit("ROLLOUT_VERSION", live.version_string)
962
+ kit_emit("ROLLOUT_STATE", updated ? updated.phased_release_state : state)
963
+ end
964
+ end
965
+
966
+ # kit track name (or Play track name) -> Play track name.
967
+ def kit_play_track_name(track)
968
+ tracks = { "internal" => "internal", "alpha" => "alpha", "beta" => "beta",
969
+ "prod" => "production", "production" => "production" }
970
+ tracks.fetch(track) { UI.user_error!("Unknown Play track '#{track}' (#{tracks.keys.join(', ')})") }
971
+ end
972
+
973
+ def kit_play_no_upload
974
+ { skip_upload_apk: true, skip_upload_aab: true, skip_upload_metadata: true,
975
+ skip_upload_images: true, skip_upload_screenshots: true, skip_upload_changelogs: true }
976
+ end
977
+
978
+ # The production release a rollout change applies to: the one staged rollout
979
+ # in progress, or the halted one for `resume`. Never a draft (supply's own
980
+ # rollout update would publish it) and never a guess between two.
981
+ def kit_play_rollout_release(releases, action, code)
982
+ want = action == "resume" ? "halted" : "inProgress"
983
+ found = (releases || []).select { |r| r.status == want }
984
+ found = found.select { |r| (r.version_codes || []).map(&:to_s).include?(code.to_s) } if code
985
+ if found.empty?
986
+ why = want == "halted" ? "there is no halted rollout to resume" : "no staged rollout is in progress (resume a halted one first)"
987
+ UI.user_error!("No #{want} release on the production track#{code ? " with version code #{code}" : ''}: #{why}")
988
+ end
989
+ if found.size > 1
990
+ codes = found.flat_map { |r| r.version_codes || [] }.join(", ")
991
+ UI.user_error!("More than one #{want} release on the production track (version codes #{codes}): pass --build <version code>")
992
+ end
993
+ found.first
994
+ end
995
+
996
+ # Set the release's status and user fraction for the action. Halt and resume
997
+ # keep the fraction the rollout had. A release halted with no fraction was at
998
+ # 100%: Play rejects it as inProgress, and completing it is the user's call.
999
+ def kit_play_apply_rollout(release, action, fraction)
1000
+ case action
1001
+ when "percent"
1002
+ value = fraction.to_f
1003
+ UI.user_error!("KIT_PLAY_ROLLOUT must be in (0, 1], got '#{fraction}'") unless value.positive? && value <= 1
1004
+ release.status = value >= 1 ? "completed" : "inProgress"
1005
+ release.user_fraction = value >= 1 ? nil : value
1006
+ when "complete"
1007
+ release.status = "completed"
1008
+ release.user_fraction = nil
1009
+ when "halt"
1010
+ release.status = "halted"
1011
+ when "resume"
1012
+ if release.user_fraction.nil?
1013
+ codes = (release.version_codes || []).join(", ")
1014
+ UI.user_error!("The halted release (version code #{codes}) was halted at 100%, so there is no staged rollout " \
1015
+ "to resume. Release it to everyone with `kit release rollout android --complete`.")
1016
+ end
1017
+ release.status = "inProgress"
1018
+ else
1019
+ UI.user_error!("KIT_ROLLOUT_ACTION must be percent, halt, resume or complete, got '#{action}'")
1020
+ end
1021
+ release
1022
+ end
1023
+
1024
+ # One Play edit: pick the release, change it, commit. Not the supply action:
1025
+ # its rollout update also matches draft releases, cannot find a halted one and
1026
+ # overwrites the user fraction.
1027
+ def kit_play_update_rollout(action, fraction, code)
1028
+ require "supply"
1029
+ package = kit_env("KIT_ANDROID_PACKAGE")
1030
+ Supply.config = FastlaneCore::Configuration.create(
1031
+ Supply::Options.available_options,
1032
+ { json_key: kit_play_json_key, package_name: package, track: "production" }
1033
+ )
1034
+ client = Supply::Client.make_from_config
1035
+ client.begin_edit(package_name: package)
1036
+ begin
1037
+ track = client.tracks("production").first
1038
+ UI.user_error!("The app has no production track") unless track
1039
+ release = kit_play_apply_rollout(kit_play_rollout_release(track.releases, action, code), action, fraction)
1040
+ # Play keeps the track's other releases when the update names only this one.
1041
+ track.releases = [release]
1042
+ client.update_track("production", track)
1043
+ client.commit_current_edit!
1044
+ release
1045
+ rescue StandardError
1046
+ begin
1047
+ client.abort_current_edit
1048
+ rescue StandardError
1049
+ nil
1050
+ end
1051
+ raise
1052
+ end
1053
+ end
1054
+
1055
+ platform :android do
1056
+ desc "Print the version codes and release names on each Play track."
1057
+ desc "In: KIT_ANDROID_PACKAGE, KIT_PLAY_JSON_KEY, KIT_STATUS_TRACKS (comma list, default every track). " \
1058
+ "Out per track: KIT_STATUS_<TRACK>_CODES=<a,b>, KIT_STATUS_<TRACK>_NAMES=<json array>, KIT_STATUS_<TRACK>_ERROR=."
1059
+ lane :status do
1060
+ json_key = kit_play_json_key
1061
+ package = kit_env("KIT_ANDROID_PACKAGE")
1062
+ tracks = kit_list("KIT_STATUS_TRACKS").map { |t| kit_play_track_name(t) }
1063
+ tracks = %w[internal alpha beta production] if tracks.empty?
1064
+ tracks.each do |t|
1065
+ key = t.upcase
1066
+ begin
1067
+ codes = google_play_track_version_codes(track: t, json_key: json_key, package_name: package)
1068
+ kit_emit("STATUS_#{key}_CODES", codes.sort.join(","))
1069
+ rescue StandardError => e
1070
+ kit_status_error(key, e)
1071
+ next
1072
+ end
1073
+ begin
1074
+ names = google_play_track_release_names(track: t, json_key: json_key, package_name: package)
1075
+ kit_emit("STATUS_#{key}_NAMES", names.compact.to_json)
1076
+ rescue StandardError => e
1077
+ UI.important("Could not fetch release names for the '#{t}' track: #{e.message}")
1078
+ end
1079
+ end
1080
+ end
1081
+
1082
+ # Internal builds are compiled with KIT_INTERNAL set and are never promoted.
1083
+ desc "Promote a release from one Play track to a later one (no upload, no rebuild)."
1084
+ desc "In: KIT_ANDROID_PACKAGE, KIT_PLAY_JSON_KEY, KIT_PLAY_TRACK (from: alpha|beta), KIT_PLAY_PROMOTE_TO " \
1085
+ "(beta|prod), KIT_ANDROID_CODE (optional: the version code to promote), KIT_PLAY_ROLLOUT (production, " \
1086
+ "default 0.1), KIT_PLAY_DRAFT, KIT_RELEASE_NOTES (changelog; not for production)."
1087
+ lane :promote do
1088
+ from = kit_play_track
1089
+ to = kit_play_track_name(kit_env("KIT_PLAY_PROMOTE_TO"))
1090
+ UI.user_error!("Internal builds are never promoted (they are built with KIT_INTERNAL): rebuild for #{to}") if from == "internal"
1091
+
1092
+ draft = kit_flag?("KIT_PLAY_DRAFT")
1093
+ code = kit_env_opt("KIT_ANDROID_CODE")
1094
+ params = kit_play_no_upload.merge(
1095
+ package_name: kit_env("KIT_ANDROID_PACKAGE"),
1096
+ json_key: kit_play_json_key,
1097
+ track: from,
1098
+ track_promote_to: to
1099
+ )
1100
+ params[:version_code] = code.to_i if code
1101
+
1102
+ # Same staged default and draft handling as upload_play.
1103
+ if draft
1104
+ params[:track_promote_release_status] = "draft"
1105
+ elsif to == "production"
1106
+ rollout = kit_env_opt("KIT_PLAY_ROLLOUT", "0.1")
1107
+ if rollout.to_f >= 1
1108
+ params[:track_promote_release_status] = "completed"
1109
+ else
1110
+ params[:track_promote_release_status] = "inProgress"
1111
+ params[:rollout] = rollout
1112
+ end
1113
+ else
1114
+ params[:track_promote_release_status] = "completed"
1115
+ end
1116
+
1117
+ notes = kit_env_opt("KIT_RELEASE_NOTES", "")
1118
+ Dir.mktmpdir("kit-play-metadata") do |metadata|
1119
+ if to != "production" && !notes.empty? && code
1120
+ locale = kit_env_opt("KIT_PLAY_LOCALE", "en-US")
1121
+ dir = File.join(metadata, locale, "changelogs")
1122
+ FileUtils.mkdir_p(dir)
1123
+ File.write(File.join(dir, "#{code}.txt"), notes[0, 500])
1124
+ params[:metadata_path] = metadata
1125
+ params[:skip_upload_changelogs] = false
1126
+ end
1127
+ upload_to_play_store(params)
1128
+ end
1129
+ UI.success("Promoted #{code ? "version code #{code}" : 'the release'} from '#{from}' to '#{to}'#{draft ? ' as a draft' : ''}.")
1130
+ end
1131
+
1132
+ desc "Change the production staged rollout: set the fraction, halt, resume or complete it."
1133
+ desc "In: KIT_ROLLOUT_ACTION (percent|halt|resume|complete), KIT_PLAY_ROLLOUT (percent: fraction in (0, 1]), " \
1134
+ "KIT_ANDROID_CODE (optional: the release's version code), KIT_ANDROID_PACKAGE, KIT_PLAY_JSON_KEY. " \
1135
+ "Out: KIT_ROLLOUT_STATE=, KIT_ROLLOUT_FRACTION=, KIT_ROLLOUT_CODE=."
1136
+ lane :rollout do
1137
+ action = kit_env("KIT_ROLLOUT_ACTION")
1138
+ UI.user_error!("KIT_ROLLOUT_ACTION must be percent, halt, resume or complete, got '#{action}'") unless %w[percent halt resume complete].include?(action)
1139
+
1140
+ fraction = action == "percent" ? kit_env("KIT_PLAY_ROLLOUT") : nil
1141
+ release = kit_play_update_rollout(action, fraction, kit_env_opt("KIT_ANDROID_CODE"))
1142
+ kit_emit("ROLLOUT_STATE", release.status)
1143
+ kit_emit("ROLLOUT_FRACTION", release.user_fraction) if release.user_fraction
1144
+ kit_emit("ROLLOUT_CODE", (release.version_codes || []).map(&:to_i).max)
1145
+ end
413
1146
  end