@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
@@ -0,0 +1,121 @@
1
+ import type { KitConfig } from '../../config/schema';
2
+ import type { DeviceTarget } from '../devices';
3
+ /**
4
+ * Store screenshot sizes: what `kit shots export` renders each set at, and what the stores take
5
+ * (`kit release metadata push --screenshots` checks the listing against these before it uploads).
6
+ */
7
+ export declare const STORES: readonly ['apple', 'google'];
8
+ export type Store = (typeof STORES)[number];
9
+ /** The targets a store upload takes, in order: App Store Connect wants an iPad set beside the iPhone one. */
10
+ export declare const STORE_TARGETS: Record<Store, readonly DeviceTarget[]>;
11
+ /** The store a target's screenshots go to. */
12
+ export declare const storeOf: (target: DeviceTarget) => Store;
13
+ /** `--store apple|google|both` as stores, in `STORES` order; anything else is a usage error. */
14
+ export declare function parseStores(value: string | undefined): Store[];
15
+ export interface Size {
16
+ width: number;
17
+ height: number;
18
+ }
19
+ type SetsConfig = Required<NonNullable<NonNullable<KitConfig['shots']>['sets']>>;
20
+ /** A named export size (`shots.sets.<target>` in kit.config.ts). */
21
+ export type SetId = SetsConfig[DeviceTarget];
22
+ /** Portrait pixel size of each set. Every Apple size is in `APPLE_SIZES`; `phone` is 9:16, inside Play's 2:1. */
23
+ export declare const SET_SIZES: Record<SetId, Size>;
24
+ /** The set a target is exported at when `shots.sets` does not name one. */
25
+ export declare const DEFAULT_SETS: {
26
+ [T in DeviceTarget]: SetsConfig[T];
27
+ };
28
+ /** The set of every target: `shots.sets` over the defaults. */
29
+ export declare function resolveSets(config: Pick<KitConfig, 'shots'>): Record<DeviceTarget, SetId>;
30
+ /**
31
+ * Sizes App Store Connect takes, keyed by display type: a copy of `DEVICE_RESOLUTIONS` in the
32
+ * pinned fastlane gem (2.241.2, `deliver/lib/deliver/app_screenshot.rb`), in its order. deliver
33
+ * picks the screenshot set from the pixel size alone, so a size outside this table is not uploaded.
34
+ * Update it when `fastlane/Gemfile.lock` moves.
35
+ */
36
+ export declare const APPLE_SIZES: {
37
+ readonly APP_IPHONE_67: readonly [readonly [1260, 2736], readonly [2736, 1260], readonly [1290, 2796], readonly [2796, 1290], readonly [1320, 2868], readonly [2868, 1320]];
38
+ readonly APP_IPHONE_65: readonly [readonly [1242, 2688], readonly [2688, 1242], readonly [1284, 2778], readonly [2778, 1284]];
39
+ readonly APP_IPHONE_61: readonly [readonly [1179, 2556], readonly [2556, 1179], readonly [1206, 2622], readonly [2622, 1206]];
40
+ readonly APP_IPHONE_58: readonly [readonly [1170, 2532], readonly [2532, 1170], readonly [1125, 2436], readonly [2436, 1125], readonly [1080, 2340], readonly [2340, 1080]];
41
+ readonly APP_IPHONE_55: readonly [readonly [1242, 2208], readonly [2208, 1242]];
42
+ readonly APP_IPHONE_47: readonly [readonly [750, 1334], readonly [1334, 750]];
43
+ readonly APP_IPHONE_40: readonly [readonly [640, 1096], readonly [640, 1136], readonly [1136, 600], readonly [1136, 640]];
44
+ readonly APP_IPHONE_35: readonly [readonly [640, 920], readonly [640, 960], readonly [960, 600], readonly [960, 640]];
45
+ readonly APP_IPHONE_DUO: readonly [readonly [1398, 2034], readonly [2034, 1398], readonly [2007, 2853], readonly [2853, 2007]];
46
+ readonly APP_IPAD_97: readonly [readonly [1024, 748], readonly [1024, 768], readonly [2048, 1496], readonly [2048, 1536], readonly [768, 1004], readonly [768, 1024], readonly [1536, 2008], readonly [1536, 2048]];
47
+ readonly APP_IPAD_105: readonly [readonly [1668, 2224], readonly [2224, 1668]];
48
+ readonly APP_IPAD_PRO_3GEN_11: readonly [readonly [1488, 2266], readonly [2266, 1488], readonly [1668, 2420], readonly [2420, 1668], readonly [1668, 2388], readonly [2388, 1668], readonly [1640, 2360], readonly [2360, 1640]];
49
+ readonly APP_IPAD_PRO_129: readonly [readonly [2048, 2732], readonly [2732, 2048]];
50
+ readonly APP_IPAD_PRO_3GEN_129: readonly [readonly [2048, 2732], readonly [2732, 2048], readonly [2064, 2752], readonly [2752, 2064]];
51
+ readonly APP_DESKTOP: readonly [readonly [1280, 800], readonly [1440, 900], readonly [2560, 1600], readonly [2880, 1800]];
52
+ readonly APP_WATCH_SERIES_3: readonly [readonly [312, 390]];
53
+ readonly APP_WATCH_SERIES_4: readonly [readonly [368, 448]];
54
+ readonly APP_WATCH_SERIES_7: readonly [readonly [396, 484]];
55
+ readonly APP_WATCH_SERIES_10: readonly [readonly [416, 496]];
56
+ readonly APP_WATCH_ULTRA: readonly [readonly [410, 502], readonly [422, 514]];
57
+ readonly APP_APPLE_TV: readonly [readonly [1920, 1080], readonly [3840, 2160]];
58
+ readonly APP_APPLE_VISION_PRO: readonly [readonly [3840, 2160]];
59
+ };
60
+ /** A display type of an app's own screenshots: a key of `APPLE_SIZES`. */
61
+ type AppleAppClass = keyof typeof APPLE_SIZES;
62
+ /**
63
+ * Display types of an iMessage app's screenshots, each with the app display type whose sizes it
64
+ * takes: a copy of `DEVICE_RESOLUTIONS_MESSAGES` in the pinned fastlane gem (2.241.2,
65
+ * `deliver/lib/deliver/app_screenshot.rb`), in its order. deliver reads this table, not
66
+ * `APPLE_SIZES`, for a file in `iMessage/<locale>/`. Update it when `fastlane/Gemfile.lock` moves.
67
+ */
68
+ export declare const APPLE_MESSAGES_CLASSES: {
69
+ readonly IMESSAGE_APP_IPHONE_40: 'APP_IPHONE_40';
70
+ readonly IMESSAGE_APP_IPHONE_47: 'APP_IPHONE_47';
71
+ readonly IMESSAGE_APP_IPHONE_55: 'APP_IPHONE_55';
72
+ readonly IMESSAGE_APP_IPHONE_58: 'APP_IPHONE_58';
73
+ readonly IMESSAGE_APP_IPHONE_61: 'APP_IPHONE_61';
74
+ readonly IMESSAGE_APP_IPHONE_65: 'APP_IPHONE_65';
75
+ readonly IMESSAGE_APP_IPHONE_67: 'APP_IPHONE_67';
76
+ readonly IMESSAGE_APP_IPAD_97: 'APP_IPAD_97';
77
+ readonly IMESSAGE_APP_IPAD_105: 'APP_IPAD_105';
78
+ readonly IMESSAGE_APP_IPAD_PRO_3GEN_11: 'APP_IPAD_PRO_3GEN_11';
79
+ readonly IMESSAGE_APP_IPAD_PRO_129: 'APP_IPAD_PRO_129';
80
+ readonly IMESSAGE_APP_IPAD_PRO_3GEN_129: 'APP_IPAD_PRO_3GEN_129';
81
+ };
82
+ /** An App Store Connect display type: the screenshot set an image lands in. */
83
+ export type AppleClass = AppleAppClass | keyof typeof APPLE_MESSAGES_CLASSES;
84
+ /** The display type each Apple set id is uploaded as. */
85
+ export declare const APPLE_SET_CLASS: Record<Exclude<SetId, 'phone'>, AppleClass>;
86
+ /**
87
+ * The display type deliver gives an image of this pixel size, or undefined when App Store Connect
88
+ * takes no such size. Orientation matters: the table lists each one it accepts.
89
+ *
90
+ * deliver also reads the path, so pass it when there is one:
91
+ * - a file in `iMessage/<locale>/` (the third path component from the end is exactly `iMessage`)
92
+ * gets an `IMESSAGE_*` type, from the smaller messages table;
93
+ * - 2048x2732 is in two classes: the 3rd generation one unless the path names `app_ipad_pro_129`
94
+ * or a "12.9 … 2nd generation" dir;
95
+ * - 3840x2160 is `APP_APPLE_TV` unless the path contains "vision".
96
+ */
97
+ export declare function appleClass(width: number, height: number, path?: string): AppleClass | undefined;
98
+ /** App Store Connect keeps at most this many screenshots per locale and display type; deliver drops the rest. */
99
+ export declare const APPLE_MAX_PER_CLASS = 10;
100
+ /** Play screenshots: each side within these bounds, the long side at most `PLAY_MAX_RATIO` times the short. */
101
+ export declare const PLAY_MIN_SIDE = 320;
102
+ export declare const PLAY_MAX_SIDE = 3840;
103
+ export declare const PLAY_MAX_RATIO = 2;
104
+ /** Play keeps at most this many screenshots per type (`phoneScreenshots`, …) and locale. */
105
+ export declare const PLAY_MAX_PER_TYPE = 8;
106
+ /** Play asks for at least this many phone screenshots; fewer is a warning, not a refusal. */
107
+ export declare const PLAY_MIN_PHONE = 2;
108
+ /** Play's `featureGraphic`: exactly this size, no alpha. */
109
+ export declare const PLAY_FEATURE_GRAPHIC: Size;
110
+ /** Play's `tvBanner`: exactly this size. */
111
+ export declare const PLAY_TV_BANNER: Size;
112
+ /** Play's `icon`: exactly this size, at most `PLAY_ICON_MAX_BYTES`; alpha is allowed. */
113
+ export declare const PLAY_ICON: Size;
114
+ export declare const PLAY_ICON_MAX_BYTES: number;
115
+ /**
116
+ * Why Play refuses a screenshot of this pixel size: one sentence per broken rule, empty when it is
117
+ * accepted. Covers the size rules only (sides 320 to 3840, long side at most twice the short);
118
+ * counts, alpha, the feature graphic and the icon are the caller's.
119
+ */
120
+ export declare function playProblems(width: number, height: number): string[];
121
+ export {};
@@ -0,0 +1,397 @@
1
+ import type { KitContext } from '../../cli/command';
2
+ import type { KitConfig } from '../../config/schema';
3
+ import type { DeviceTarget } from '../devices';
4
+ import type { SetId, Store } from './sizes';
5
+ /**
6
+ * The contract of `kit shots export`. Every module under `lib/storeshots/` codes against these
7
+ * types; the function types at the end are the exact signatures each module exports.
8
+ *
9
+ * Flow: `loadProject` reads the saved project; `planExport` (pure) turns config, project, raw shot
10
+ * listing and destinations into an `ExportPlan`; `renderJobs` serves the plan to headless Chrome
11
+ * and returns one PNG per job; `writeExport` puts them in the store dirs. `exportShots` wires them.
12
+ *
13
+ * Words: a **store** is `apple` or `google`; a **target** is the device a raw shot was taken on
14
+ * (`ios`, `ipad`, `android`); a **set** is the named size a target is exported at (`iphone-6.9`);
15
+ * a **slide** is one composed screenshot of the project; a **raw shot** is the PNG `kit shots`
16
+ * captured; a **job** is one slide rendered for one set and locale.
17
+ */
18
+ export type { SetId, Size, Store } from './sizes';
19
+ export type FrameType = 'iphone-pro' | 'ipad-pro' | 'android-pixel' | 'clay-minimal' | 'frameless' | 'glass-card';
20
+ export type FrameColor = 'titanium-natural' | 'titanium-black' | 'titanium-desert' | 'titanium-silver' | 'espresso' | 'cream';
21
+ export type DevicePosition = 'bottom-peek' | 'center-float' | 'top-peek' | 'angled-3d' | 'full-bleed';
22
+ export type ShadowElevation = 'none' | 'subtle' | 'medium' | 'deep' | 'dramatic';
23
+ export type BackgroundType = 'solid' | 'linear-gradient' | 'radial-gradient' | 'mesh-glow' | 'panorama';
24
+ export type BackgroundPattern = 'none' | 'coffee-beans' | 'warm-glow' | 'subtle-grid' | 'rings';
25
+ export type BadgeIcon = 'cup' | 'star' | 'sparkles' | 'map' | 'heart' | 'check' | 'none';
26
+ export type MascotPosition = 'top-center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
27
+ export interface SlideBackground {
28
+ type: BackgroundType;
29
+ primaryColor: string;
30
+ secondaryColor: string;
31
+ accentColor: string;
32
+ /** Degrees. */
33
+ angle: number;
34
+ blur: number;
35
+ pattern: BackgroundPattern;
36
+ panoramaTotalSlides?: number;
37
+ panoramaSlideIndex?: number;
38
+ }
39
+ export interface SlideText {
40
+ id: string;
41
+ text: string;
42
+ fontFamily: string;
43
+ /** Percent of the base size (100 is the default). */
44
+ fontSize: number;
45
+ fontWeight: number;
46
+ color: string;
47
+ align: 'left' | 'center' | 'right';
48
+ lineHeight: number;
49
+ /** In the file; the renderer does not read it. */
50
+ letterSpacing: number;
51
+ /** In the file; the renderer does not read it. */
52
+ yOffset: number;
53
+ shadow: boolean;
54
+ shadowColor: string;
55
+ shadowBlur: number;
56
+ }
57
+ export interface SlideBadge {
58
+ enabled: boolean;
59
+ text: string;
60
+ icon: BadgeIcon;
61
+ backgroundColor: string;
62
+ textColor: string;
63
+ borderColor: string;
64
+ /** Percent of the base size. */
65
+ fontSize: number;
66
+ }
67
+ export interface SlideDevice {
68
+ frameType: FrameType;
69
+ color: FrameColor;
70
+ position: DevicePosition;
71
+ scale: number;
72
+ /** Percent of the canvas height. */
73
+ yOffset: number;
74
+ /** Percent of the canvas width. */
75
+ xOffset: number;
76
+ /** Degrees. */
77
+ rotation: number;
78
+ /** Degrees. */
79
+ perspectiveTilt: number;
80
+ shadowElevation: ShadowElevation;
81
+ shadowColor: string;
82
+ showReflection: boolean;
83
+ /** Screen corner radius in px of a 1320-wide canvas. */
84
+ cornerRadius: number;
85
+ }
86
+ /** One slide of the project (brewd's `ScreenshotSlide`). */
87
+ export interface Slide {
88
+ /** Unique in the project; the key into `StudioProject.locales[locale]`. */
89
+ id: string;
90
+ /** Position in the exported set, ascending; ties keep file order. */
91
+ order: number;
92
+ /** Human name; the `<slug>` of the exported file name comes from it. */
93
+ name: string;
94
+ /** The editor's URL for the shot. kit never reads it: the raw shot is found through `sourceFile`. */
95
+ imageSrc?: string;
96
+ /** File name of the raw shot (`home.png`), looked up under the raw dir. */
97
+ sourceFile: string;
98
+ /** The target the slide was composed for. In a `Job` it equals `Job.target`. */
99
+ platform: DeviceTarget;
100
+ badge: SlideBadge;
101
+ headline: SlideText;
102
+ subheadline: SlideText;
103
+ device: SlideDevice;
104
+ background: SlideBackground;
105
+ /** Draw the brand lockup (`PageBrand`) on this slide. */
106
+ showMascot: boolean;
107
+ mascotPosition: MascotPosition;
108
+ customNotes?: string;
109
+ }
110
+ /** Text that replaces a slide's base text in one locale; an absent field keeps the base text. */
111
+ export interface SlideLocaleText {
112
+ headline?: string;
113
+ subheadline?: string;
114
+ badge?: string;
115
+ }
116
+ /** The saved project: brewd's `StudioProjectState` (`version: 1`) plus `locales`. */
117
+ export interface StudioProject {
118
+ version: 1;
119
+ platform: DeviceTarget;
120
+ /** The editor's size choice. kit ignores it and uses its own set sizes. */
121
+ dimensionId?: string;
122
+ slides: Slide[];
123
+ savedAt?: string;
124
+ /**
125
+ * Localised text: locale code, then slide id. Lookup for a locale is the exact code (`fr-CA`),
126
+ * then the first entry with the same language prefix (`fr`, `fr-FR`), then the slide's base text.
127
+ */
128
+ locales?: Record<string, Record<string, SlideLocaleText>>;
129
+ }
130
+ /** One image to render and write: a slide, for one set of one store, in one locale. */
131
+ export interface Job {
132
+ /**
133
+ * Unique in the plan and safe as one URL path segment (`[A-Za-z0-9._-]+`):
134
+ * `<target>-<locale>-<NN>`, e.g. `ios-en-US-01`. The page fetches `shot/<id>` and posts `out/<id>`.
135
+ */
136
+ id: string;
137
+ store: Store;
138
+ target: DeviceTarget;
139
+ set: SetId;
140
+ locale: string;
141
+ /** 1-based position in its (set, locale); the `NN` of the file name. */
142
+ index: number;
143
+ /** Pixel size of the PNG: `SET_SIZES[set]`. */
144
+ width: number;
145
+ height: number;
146
+ /**
147
+ * The slide as the page draws it: text already localised, `platform` equal to `target`, and the
148
+ * frame swapped to the target's own device when the slide used a platform frame. The page ignores
149
+ * `imageSrc` and `sourceFile`.
150
+ */
151
+ slide: Slide;
152
+ /**
153
+ * Absolute path of the raw shot: `<raw>/<target>/<locale>/<sourceFile>` when that exists, else
154
+ * `<raw>/<target>/<sourceFile>`. Served as `shot/<id>`.
155
+ */
156
+ shot: string;
157
+ /**
158
+ * Absolute path of the PNG to write.
159
+ * apple: `<StoreDestination.dir>/<locale>/<NN>_<set>_<slug>.png`;
160
+ * google: `<StoreDestination.dir>/<locale>/images/phoneScreenshots/<NN>_<slug>.png`.
161
+ * `NN` is `index` zero-padded to two digits; `<slug>` is the slide name lower-cased with every
162
+ * run of characters outside `[a-z0-9]` turned into one `-` and trimmed of `-` (the slide id when
163
+ * that leaves nothing).
164
+ */
165
+ file: string;
166
+ }
167
+ /** A slide left out of a set because its raw shot is absent (`--allow-missing`). */
168
+ export interface SkippedSlide {
169
+ store: Store;
170
+ target: DeviceTarget;
171
+ set: SetId;
172
+ locale: string;
173
+ /** Slide id. */
174
+ slide: string;
175
+ /** The raw shot that was looked for, relative to the repo root: `<raw>/<target>/<sourceFile>`. */
176
+ shot: string;
177
+ }
178
+ /** Where one store's screenshots go and which locales are exported. */
179
+ export interface StoreDestination {
180
+ store: Store;
181
+ /**
182
+ * Absolute dir holding one sub-dir per locale; `.kit-shots.json` (the manifest) sits in it.
183
+ * apple: `<dirname(release.ios.metadata)>/screenshots`, or `<--out>/apple`;
184
+ * google: `<release.android.metadata>`, or `<--out>/google`.
185
+ */
186
+ dir: string;
187
+ /**
188
+ * Locales to export, after `--locale`: the locale dirs already in the store's metadata dir
189
+ * (`release.ios.metadata`, `release.android.metadata`), or `['en-US']` when there are none.
190
+ */
191
+ locales: string[];
192
+ }
193
+ /** A font the page loads before the first draw (`shots.fonts`). */
194
+ export interface PageFont {
195
+ family: string;
196
+ /** `asset/<n>`, relative to the page URL; `ExportPlan.assets[n]` is the file. */
197
+ url: string;
198
+ /** A CSS weight or range (`'400 800'`). */
199
+ weight?: string;
200
+ }
201
+ /** The lockup drawn on a slide with `showMascot` (`shots.brand`). */
202
+ export interface PageBrand {
203
+ /** `asset/<n>`, relative to the page URL: the mark image (svg or png). */
204
+ mark: string;
205
+ /** The word beside the mark; absent draws the mark alone. */
206
+ wordmark?: string;
207
+ /** Colour of the wordmark; default the slide's headline colour. */
208
+ color?: string;
209
+ /** Font family of the wordmark; default the slide's headline family. */
210
+ font?: string;
211
+ }
212
+ /** Everything one `kit shots export` renders and writes. Built by `planExport`; plain data. */
213
+ export interface ExportPlan {
214
+ /** The stores exported, in `STORES` order. */
215
+ stores: Store[];
216
+ /** One entry per store in `stores`, same order. */
217
+ destinations: StoreDestination[];
218
+ /** Ordered by store, target (`STORE_TARGETS` order), locale, then `index`. */
219
+ jobs: Job[];
220
+ /** Slides left out under `--allow-missing`; empty otherwise. */
221
+ skipped: SkippedSlide[];
222
+ /** `shots.fonts`, with `url` pointing into `assets`. */
223
+ fonts: PageFont[];
224
+ /** `shots.brand`, with `mark` pointing into `assets`; absent when the config sets none. */
225
+ brand?: PageBrand;
226
+ /**
227
+ * Absolute paths of the font and brand files: `GET asset/<n>` serves `assets[n]` with the
228
+ * content type of its extension (woff2, ttf, otf, svg, png). Fonts first, in config order, then
229
+ * the brand mark. `planExport` does not check that they exist; `exportShots` does (exit 4).
230
+ */
231
+ assets: string[];
232
+ }
233
+ /**
234
+ * Chrome opens `http://127.0.0.1:<port>/<token>/`; every route below is relative to that URL, and
235
+ * a request outside `/<token>/` is a 404.
236
+ *
237
+ * | Route | Body |
238
+ * | --- | --- |
239
+ * | `GET ./` | The HTML document: loads `page.js` as a module script |
240
+ * | `GET page.js` | The page bundle (`pageBundle()`) |
241
+ * | `GET plan.json` | A `PagePlan` |
242
+ * | `GET shot/<jobId>` | The job's raw shot (`Job.shot`), `image/png` |
243
+ * | `GET asset/<n>` | `ExportPlan.assets[n]` |
244
+ * | `POST out/<jobId>` | Request body: the rendered PNG (`canvas.toBlob`, `image/png`) |
245
+ * | `POST done` | Request body: a `PageDone` as JSON. The page posts it exactly once, last |
246
+ *
247
+ * The page loads every font (`FontFace.load()`, then `document.fonts.check()`), renders the jobs in
248
+ * order, posts each PNG, then posts `done`. A font, shot or brand mark that fails to load, or any
249
+ * thrown error, ends the run with `{ ok: false, error }`: the page never posts a slide without its shot.
250
+ */
251
+ export interface PagePlan {
252
+ fonts: PageFont[];
253
+ /** `null` when the config sets no brand: a slide's `showMascot` then draws nothing. */
254
+ brand: PageBrand | null;
255
+ jobs: PageJob[];
256
+ }
257
+ /** What the page needs of a `Job`. */
258
+ export type PageJob = Pick<Job, 'id' | 'width' | 'height' | 'slide'>;
259
+ /** Body of `POST done`. */
260
+ export interface PageDone {
261
+ ok: boolean;
262
+ /** Why the run failed; set when `ok` is false. */
263
+ error?: string;
264
+ /** The `Job.id` the page was rendering when it failed; absent when the failure is not one job's. */
265
+ job?: string;
266
+ }
267
+ /** The `plan.json` the render host serves for a plan. */
268
+ export declare function pagePlan(plan: Pick<ExportPlan, 'fonts' | 'brand' | 'jobs'>): PagePlan;
269
+ /** `kit shots export` flags, parsed. `--dry-run` and `--json` come from `ctx.flags`. */
270
+ export interface ExportOptions {
271
+ /** `--store`, through `parseStores`. */
272
+ stores: Store[];
273
+ /** `--locale a,b`: only these locales; absent exports every locale of each store. */
274
+ locales?: string[];
275
+ /** `--out <dir>`, as given (relative to the repo root, or absolute). */
276
+ out?: string;
277
+ /** `--allow-missing`: skip a slide whose raw shot is absent instead of failing (exit 4). */
278
+ allowMissing: boolean;
279
+ /** `--force`: replace images in an owned set that the manifest does not list. */
280
+ force: boolean;
281
+ }
282
+ /** One image written (or, in a dry run, to be written). */
283
+ export interface WrittenShot {
284
+ store: Store;
285
+ target: DeviceTarget;
286
+ set: SetId;
287
+ locale: string;
288
+ /** Slide id. */
289
+ slide: string;
290
+ /** Relative to the repo root, `/`-separated; absolute when `--out` is outside the repo. */
291
+ file: string;
292
+ width: number;
293
+ height: number;
294
+ }
295
+ /** The `--json` document of `kit shots export`, and what a dry run reports. */
296
+ export interface ExportResult {
297
+ dryRun: boolean;
298
+ stores: Store[];
299
+ written: WrittenShot[];
300
+ /** Files removed (or, in a dry run, to be removed) from the owned sets; same path form as `WrittenShot.file`. */
301
+ removed: string[];
302
+ skipped: SkippedSlide[];
303
+ }
304
+ /** What `planExport` reads. Everything from disk is passed in, so the function stays pure. */
305
+ export interface PlanInput {
306
+ /** Absolute repo root. */
307
+ root: string;
308
+ /** Read for `shots` (fonts, brand, sets); `shots` is set. */
309
+ config: KitConfig;
310
+ project: StudioProject;
311
+ /** One per exported store, `STORES` order, locales already narrowed by `--locale`. */
312
+ destinations: StoreDestination[];
313
+ /** Absolute raw dir: `shots.raw`, or the resolved `shots` suite's screenshots dir. */
314
+ rawDir: string;
315
+ /**
316
+ * The files under `rawDir`, as `/`-separated paths relative to it (`ios/home.png`,
317
+ * `ios/fr-FR/home.png`). A slide whose shot is in neither place for its target is missing.
318
+ */
319
+ raw: ReadonlySet<string>;
320
+ /** `--allow-missing`. */
321
+ allowMissing: boolean;
322
+ }
323
+ export interface RenderOptions {
324
+ /** The Chrome binary (`chromeBin()`). */
325
+ chrome: string;
326
+ /** The page JS (`pageBundle()`), served as `page.js`. */
327
+ page: string;
328
+ /**
329
+ * Kill Chrome and fail (exit 1) when no image has come back for this long; default 5 minutes.
330
+ * The clock restarts with every `out/<jobId>` the page posts, so it bounds one job, not the run.
331
+ */
332
+ timeoutMs?: number;
333
+ /** Absolute repo root: an error names a raw shot relative to it. Absent, the path is absolute. */
334
+ root?: string;
335
+ /** Where `--verbose` detail goes (a temp dir that could not be removed); absent drops it. */
336
+ verbose?: (message: string) => void;
337
+ }
338
+ export interface WriteOptions {
339
+ /** Absolute repo root: result paths are relative to it. */
340
+ root: string;
341
+ /**
342
+ * PNG bytes by job id (the result of `renderJobs`). Omitted in a dry run, where nothing is
343
+ * written or removed and the result says what would be.
344
+ */
345
+ images?: ReadonlyMap<string, Uint8Array>;
346
+ /** `--force`. */
347
+ force: boolean;
348
+ dryRun: boolean;
349
+ }
350
+ export type WriteResult = Pick<ExportResult, 'written' | 'removed'>;
351
+ /**
352
+ * `.kit-shots.json` in a `StoreDestination.dir`: the files the last export wrote there. An owned
353
+ * set is one `<locale>` dir (apple, per set id) or one `<locale>/images/phoneScreenshots` dir
354
+ * (google). Export replaces the listed files; an image in an owned set that is not listed is in
355
+ * the way (exit 4) unless `--force`. Nothing outside an owned set is ever touched.
356
+ */
357
+ export interface ShotsManifest {
358
+ version: 1;
359
+ /** Paths relative to the manifest's dir, `/`-separated, sorted. */
360
+ files: string[];
361
+ }
362
+ export declare const MANIFEST_FILE = ".kit-shots.json";
363
+ /**
364
+ * `exportShots` in `command.ts`. Resolves stores, destinations and locales; plans; in a dry run
365
+ * reports the plan without Chrome or writes; otherwise renders and writes. Emits the
366
+ * `ExportResult` with `emitJson` under `--json`. Exit codes: see `kit shots export --help`.
367
+ */
368
+ export type ExportShots = (ctx: KitContext, opts: ExportOptions) => Promise<void>;
369
+ /**
370
+ * `loadProject` in `project.ts`. `file` is absolute. A missing file or one that is not a version 1
371
+ * project is a KitError with exit 3.
372
+ */
373
+ export type LoadProject = (file: string) => Promise<StudioProject>;
374
+ /**
375
+ * `planExport` in `plan.ts`. Pure. Throws a KitError with exit 4 that lists every missing raw
376
+ * shot, unless `allowMissing` (they go to `skipped`).
377
+ */
378
+ export type PlanExport = (input: PlanInput) => ExportPlan;
379
+ /** `pageBundle` in `page-bundle.ts`: the page JS, from `dist/shots-page.js` or built from source. */
380
+ export type PageBundle = () => Promise<string>;
381
+ /**
382
+ * `renderJobs` in `render.ts`. Serves the plan, runs Chrome, and resolves with one PNG per job,
383
+ * keyed by `Job.id`. Every PNG is checked against the job's width and height (`imageInfo`) and
384
+ * flattened onto white when it carries alpha (`flattenPng`), so the bytes are ready to write.
385
+ * Chrome exiting early, the idle timeout, a page error (`PageDone.ok` false), a missing job or a
386
+ * PNG of the wrong size is a KitError with exit 1; a Chrome binary that cannot be spawned is one
387
+ * with exit 4. The server and the Chrome process tree are registered with `lib/cleanup`; a temp
388
+ * dir that cannot be removed afterwards does not fail a finished render.
389
+ */
390
+ export type RenderJobs = (plan: ExportPlan, opts: RenderOptions) => Promise<Map<string, Uint8Array>>;
391
+ /**
392
+ * `writeExport` in `write.ts`. Checks ownership of every set first (exit 4 on an unlisted image
393
+ * without `force`); then, per store dir, writes the interim manifest and the PNGs, removes the
394
+ * stale files of each owned set, and writes the final manifest. Nothing is written when any check
395
+ * fails.
396
+ */
397
+ export type WriteExport = (plan: ExportPlan, opts: WriteOptions) => Promise<WriteResult>;
@@ -0,0 +1,11 @@
1
+ import { type Stats } from 'node:fs';
2
+ import { type WriteExport } from './types';
3
+ /** `statSync`, or undefined for an entry that cannot be read: a dangling symlink, a file gone since the listing. */
4
+ export declare function statOrSkip(path: string): Stats | undefined;
5
+ /**
6
+ * Put a rendered export in the store dirs. Every set is checked before anything changes; then, per
7
+ * store dir: the manifest first (so a file kit wrote is always listed, even if the run dies), the
8
+ * PNGs, the removal of what the export replaces, and the final manifest. A dry run does the same
9
+ * checks and reports the same result without writing or removing.
10
+ */
11
+ export declare const writeExport: WriteExport;
@@ -23,8 +23,16 @@ export interface PlanOptions {
23
23
  extra?: string[];
24
24
  /** `--env` for dev and deploy. */
25
25
  env?: string;
26
- /** Staged files (repo-relative). Workspace commands get them appended; targets without one are skipped. */
26
+ /**
27
+ * Staged files (repo-relative). Workspace commands get them appended; targets with none under
28
+ * their `dir` or `paths` are skipped. A staged file no target owns selects no target.
29
+ */
27
30
  staged?: string[];
31
+ /**
32
+ * `--affected`: changed files (repo-relative). Only selects: targets no changed file affects are
33
+ * skipped, and nothing changed plans nothing. No file list reaches the tools.
34
+ */
35
+ affected?: string[];
28
36
  /** Gradle and kotlin targets build the release artifact instead. */
29
37
  release?: 'aab' | 'apk';
30
38
  }
@@ -33,13 +41,26 @@ export interface Selection {
33
41
  workspace: boolean;
34
42
  }
35
43
  /** Validate target names against config. Unknown names are a usage error with a suggestion. */
36
- export declare function selectTargets(config: KitConfig, names?: string[]): Selection;
44
+ export declare function selectTargets(config: KitConfig, names?: string[], lint?: boolean): Selection;
37
45
  /** A Gradle task name (`spotlessCheck`, `:shared:test`) rather than a shell command. */
38
46
  export declare const isGradleTask: (s: string) => boolean;
39
47
  /** What `ktlint` checks with no staged list: every Kotlin file outside build output and node_modules. */
40
48
  export declare const KTLINT_PATTERNS: string[];
41
49
  /** Commands for one target and verb. `undefined` = the target doesn't support the verb. */
42
50
  export declare function targetCommands(root: string, config: KitConfig, name: string, verb: Verb, opts?: PlanOptions): PlannedCommand[] | undefined;
51
+ /**
52
+ * Whether any of `files` (repo-relative) belongs to the target: under its `dir`, or matching its
53
+ * `paths`. The one selection rule for `--staged` and `--affected`. A file outside the kit root
54
+ * (`../…`) belongs to no target.
55
+ */
56
+ export declare function touches(root: string, t: Pick<TargetConfig, 'dir' | 'paths'>, files: string[]): boolean;
57
+ /**
58
+ * Targets `--affected` runs for `files` (changed files, repo-relative). A file under no target's
59
+ * `dir` and matching no target's positive `paths` (root lockfile, CI, shared tooling) affects every
60
+ * target; one a target claims and then excludes with a `!entry` is ignored instead. A target at
61
+ * the repo root is affected by any change but claims no file, so the first rule still holds.
62
+ */
63
+ export declare function affectedTargets(root: string, config: KitConfig, files: string[]): string[];
43
64
  /**
44
65
  * Plan a run of `verbs` (one, or `check` = lint + typecheck) over the selected targets.
45
66
  * Groups: workspace first (prepare, then each verb), then each target in config order.