@jordond/kit 0.6.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 (455) hide show
  1. package/README.md +648 -9
  2. package/dist/_preview-g0s46wbd.js +186 -0
  3. package/dist/_verb-g6837n2y.js +173 -0
  4. package/dist/{android-f2jqh5f4.js → android-17z0stcg.js} +3 -3
  5. package/dist/apply-5531ynqp.js +118 -0
  6. package/dist/backup-ev2amscz.js +67 -0
  7. package/dist/bin-q60acre8.js +15 -0
  8. package/dist/boot-6t7jn0jp.js +52 -0
  9. package/dist/{build-15wfykv9.js → build-6rp8qsab.js} +6 -2
  10. package/dist/build-m9z9pfdh.js +21 -0
  11. package/dist/build-wdysb1g7.js +53 -0
  12. package/dist/{builtins-tgrq0nnd.js → builtins-vh45v6hz.js} +1 -1
  13. package/dist/{bump-xmjn8q5s.js → bump-rce7k3yk.js} +5 -5
  14. package/dist/{certs-5kcftfaz.js → certs-x8ds6gcq.js} +5 -5
  15. package/dist/changelog-70znsn6a.js +130 -0
  16. package/dist/changelog-ans0k88j.js +120 -0
  17. package/dist/{check-h2qjvrge.js → check-5p1nvffh.js} +8 -3
  18. package/dist/{check-s3xje6km.js → check-snsfxv4x.js} +11 -6
  19. package/dist/clean-j1aan7n6.js +93 -0
  20. package/dist/clean-jdky4kys.js +237 -0
  21. package/dist/clear-exmjhx8t.js +43 -0
  22. package/dist/cli-0f3m8qma.js +127 -0
  23. package/dist/{cli-6q43d787.js → cli-0gq9ayk0.js} +1 -1
  24. package/dist/cli-0h5bs7he.js +37 -0
  25. package/dist/cli-0pgyxzex.js +776 -0
  26. package/dist/cli-17hmeca5.js +394 -0
  27. package/dist/cli-1j74pfjc.js +466 -0
  28. package/dist/{kitref-9j43993r.js → cli-28nya88s.js} +2 -13
  29. package/dist/cli-2ja6z124.js +127 -0
  30. package/dist/{cli-0j3ywy6y.js → cli-2vx7vz1p.js} +2 -2
  31. package/dist/{cli-fqfan92n.js → cli-3f9s5j76.js} +16 -1
  32. package/dist/{doctor-63ntz70n.js → cli-3nqkyv98.js} +153 -204
  33. package/dist/cli-5mqj72g1.js +54 -0
  34. package/dist/{cli-qhs8ww91.js → cli-5ws4pqz1.js} +11 -1
  35. package/dist/cli-8qgqecpv.js +35 -0
  36. package/dist/{cli-pz86az34.js → cli-9jt7ffg6.js} +23 -3
  37. package/dist/{deploy-k21ee2wr.js → cli-9jv0j32a.js} +34 -19
  38. package/dist/{cli-wg35kt5d.js → cli-aca1bbxq.js} +9 -2
  39. package/dist/{cli-5qdvgv3a.js → cli-af51pbj8.js} +2 -2
  40. package/dist/cli-b4qnnrsp.js +35 -0
  41. package/dist/{cli-5sp3tf1s.js → cli-cj4hjqac.js} +104 -15
  42. package/dist/{cli-8mb4ayv9.js → cli-e7kt35ys.js} +104 -82
  43. package/dist/cli-ey6trdpc.js +11 -0
  44. package/dist/cli-f68dq32t.js +282 -0
  45. package/dist/cli-fgxfjapz.js +234 -0
  46. package/dist/cli-j47q7z51.js +98 -0
  47. package/dist/cli-k3q2s02f.js +54 -0
  48. package/dist/{cli-699g070n.js → cli-m2zc03pj.js} +10 -8
  49. package/dist/{cli-dht27t4r.js → cli-nnj05pns.js} +1 -1
  50. package/dist/cli-p7bb5zr2.js +14 -0
  51. package/dist/cli-pd4aspw0.js +208 -0
  52. package/dist/{cli-vpzh9t0w.js → cli-py23qtsd.js} +1 -1
  53. package/dist/cli-qr7pzwpv.js +67 -0
  54. package/dist/{scaffold-eqbtfksr.js → cli-qsc39jca.js} +15 -19
  55. package/dist/cli-r2zaznxh.js +123 -0
  56. package/dist/cli-s4bb7m1c.js +407 -0
  57. package/dist/{cli-1m6cy8wp.js → cli-thr9xsnm.js} +3 -3
  58. package/dist/{mobile-r27grzez.js → cli-v5ahh2k7.js} +29 -29
  59. package/dist/cli-vrtkz6f0.js +124 -0
  60. package/dist/cli-w3yfxvfc.js +85 -0
  61. package/dist/{cli-dcq8ydz0.js → cli-w7nrc7bk.js} +52 -12
  62. package/dist/cli-wrzdcgnt.js +82 -0
  63. package/dist/cli-ynsy144r.js +196 -0
  64. package/dist/cli.js +1 -1
  65. package/dist/{cloudflare-3p8gj4ae.js → cloudflare-mkq6s4p7.js} +13 -5
  66. package/dist/command-05jwq2ce.js +1108 -0
  67. package/dist/command-jqp93n3b.js +269 -0
  68. package/dist/{command-gtyznw30.js → command-nmgz9x53.js} +1 -1
  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-n9yqehnf.js} +1 -1
  113. package/dist/{concurrent-zdz69ye5.js → concurrent-atba349a.js} +1 -1
  114. package/dist/config/schema.d.ts +85 -0
  115. package/dist/config-45ts3ey1.js +31 -0
  116. package/dist/{config-2db8d4tg.js → config-d7h13gsg.js} +1 -1
  117. package/dist/{create-te58argb.js → create-pzjz0d84.js} +6 -6
  118. package/dist/{creds-2qk71mdx.js → creds-kgbnkj91.js} +3 -3
  119. package/dist/d1-local-mpc7ykq4.js +62 -0
  120. package/dist/deploy-napjwj8w.js +18 -0
  121. package/dist/{deps-tq3jpjd3.js → deps-7xxc0a5z.js} +6 -6
  122. package/dist/{dev-915svrxw.js → dev-z4s47pvj.js} +7 -7
  123. package/dist/discover-9egde25c.js +14 -0
  124. package/dist/doctor-nhn8fsqn.js +153 -0
  125. package/dist/dotenv-bsk2m68j.js +15 -0
  126. package/dist/dump-4s2wbydq.js +60 -0
  127. package/dist/entries-358fsdbg.js +311 -0
  128. package/dist/{exec-gwnn34v2.js → exec-f7s2cper.js} +6 -6
  129. package/dist/export-1eszfz4q.js +65 -0
  130. package/dist/{fastlane-pj9c09z3.js → fastlane-8yepfr2p.js} +3 -3
  131. package/dist/{fastlane-86zcf5ys.js → fastlane-faays7j0.js} +6 -6
  132. package/dist/fixes-nyvcnb08.js +27 -0
  133. package/dist/{format-z1jqgbad.js → format-tt14cck9.js} +7 -3
  134. package/dist/{git-3gyyfk0x.js → git-qyqfbf8e.js} +15 -3
  135. package/dist/{github-xakbbb7p.js → github-em8sgwvy.js} +6 -6
  136. package/dist/{gradle-df21cm28.js → gradle-zgbmvvej.js} +3 -3
  137. package/dist/index-gqmhnjkq.js +49 -0
  138. package/dist/index-tvegt8ab.js +25 -0
  139. package/dist/index.js +4 -4
  140. package/dist/{init-cbba8t64.js → init-025v8xjs.js} +20 -11
  141. package/dist/{init-gtkmx54a.js → init-dyd1b74n.js} +11 -7
  142. package/dist/{init-hdebe1s9.js → init-ktq9qfgk.js} +5 -5
  143. package/dist/install-c87y65cw.js +50 -0
  144. package/dist/install-wz1de5cv.js +35 -0
  145. package/dist/{ios-txv190np.js → ios-yas39gap.js} +3 -3
  146. package/dist/kitref-p727zpk7.js +24 -0
  147. package/dist/{kotlin-drt7z6bg.js → kotlin-66qna77x.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/index.d.ts +96 -0
  161. package/dist/lib/devices/pick.d.ts +52 -0
  162. package/dist/lib/devices/statusbar.d.ts +4 -0
  163. package/dist/lib/doctor/checks.d.ts +134 -0
  164. package/dist/lib/doctor/entries.d.ts +34 -0
  165. package/dist/lib/doctor/fixes.d.ts +64 -0
  166. package/dist/lib/doctor/repair.d.ts +18 -0
  167. package/dist/lib/dotenv.d.ts +52 -0
  168. package/dist/lib/env/init.d.ts +1 -1
  169. package/dist/lib/env/push-run.d.ts +62 -0
  170. package/dist/lib/env/render.d.ts +2 -1
  171. package/dist/lib/env/rotate.d.ts +24 -0
  172. package/dist/lib/env/schema.d.ts +20 -0
  173. package/dist/lib/fixtures/android.d.ts +33 -0
  174. package/dist/lib/fixtures/config.d.ts +73 -0
  175. package/dist/lib/fixtures/index.d.ts +20 -0
  176. package/dist/lib/fixtures/ios.d.ts +13 -0
  177. package/dist/lib/fixtures/stage.d.ts +37 -0
  178. package/dist/lib/git.d.ts +43 -1
  179. package/dist/lib/image/png.d.ts +39 -0
  180. package/dist/lib/maestro/args.d.ts +23 -0
  181. package/dist/lib/maestro/bin.d.ts +10 -0
  182. package/dist/lib/maestro/command.d.ts +16 -0
  183. package/dist/lib/maestro/lint.d.ts +14 -0
  184. package/dist/lib/maestro/run.d.ts +79 -0
  185. package/dist/lib/maestro/suites.d.ts +24 -0
  186. package/dist/lib/pm.d.ts +5 -0
  187. package/dist/lib/proc.d.ts +5 -0
  188. package/dist/lib/release/listing-images.d.ts +86 -0
  189. package/dist/lib/release/metadata.d.ts +81 -0
  190. package/dist/lib/release/mobile.d.ts +5 -1
  191. package/dist/lib/release/promote.d.ts +58 -0
  192. package/dist/lib/release/rollout.d.ts +33 -0
  193. package/dist/lib/release/status.d.ts +52 -0
  194. package/dist/lib/scaffold.d.ts +3 -0
  195. package/dist/lib/steps.d.ts +10 -0
  196. package/dist/lib/storeshots/command.d.ts +3 -0
  197. package/dist/lib/storeshots/fonts.d.ts +14 -0
  198. package/dist/lib/storeshots/page/background.d.ts +6 -0
  199. package/dist/lib/storeshots/page/device-frames.d.ts +16 -0
  200. package/dist/lib/storeshots/page/main.d.ts +1 -0
  201. package/dist/lib/storeshots/page/renderer.d.ts +17 -0
  202. package/dist/lib/storeshots/page-bundle.d.ts +7 -0
  203. package/dist/lib/storeshots/plan.d.ts +25 -0
  204. package/dist/lib/storeshots/project.d.ts +169 -0
  205. package/dist/lib/storeshots/render.d.ts +20 -0
  206. package/dist/lib/storeshots/server.d.ts +29 -0
  207. package/dist/lib/storeshots/sizes.d.ts +121 -0
  208. package/dist/lib/storeshots/types.d.ts +397 -0
  209. package/dist/lib/storeshots/write.d.ts +11 -0
  210. package/dist/lib/targets.d.ts +23 -2
  211. package/dist/lib/worker.d.ts +128 -0
  212. package/dist/{lint-90ernbhx.js → lint-hx7b83kn.js} +7 -3
  213. package/dist/list-ks9e93rx.js +61 -0
  214. package/dist/{list-vaarpryk.js → list-xxsdc51s.js} +6 -6
  215. package/dist/load-1fxmvh9n.js +51 -0
  216. package/dist/{load-4s6t9309.js → load-8y6s655t.js} +36 -3
  217. package/dist/{load-x6mekf6y.js → load-ak66yg9j.js} +3 -1
  218. package/dist/logs-zjbmpm40.js +62 -0
  219. package/dist/maestro-zw9p32cc.js +30 -0
  220. package/dist/{main-5c6x1pd4.js → main-1v5dgfdb.js} +21 -38
  221. package/dist/metadata-4jn2zdsm.js +44 -0
  222. package/dist/{migrate-9zvfp57b.js → migrate-2a66bm3x.js} +6 -6
  223. package/dist/mobile-0m026dzx.js +40 -0
  224. package/dist/module-2bn1p66a.js +119 -0
  225. package/dist/{notes-1zsa7qac.js → notes-pyvrbdgg.js} +3 -3
  226. package/dist/open-rn88e9c5.js +73 -0
  227. package/dist/pick-a90zx6sr.js +26 -0
  228. package/dist/plan-av9jwvvk.js +651 -0
  229. package/dist/{pm-5q5vz6w3.js → pm-ay4nmeps.js} +3 -1
  230. package/dist/{proc-jv4bcyyx.js → proc-8ewt3hs4.js} +4 -2
  231. package/dist/promote-8g49cxj1.js +63 -0
  232. package/dist/promote-eezgfcm6.js +290 -0
  233. package/dist/pull-0cjcf2jg.js +39 -0
  234. package/dist/push-qndrsnvg.js +63 -0
  235. package/dist/push-run-y2gb3a0r.js +148 -0
  236. package/dist/push-ysd4zzad.js +44 -0
  237. package/dist/qa-ha84kjzm.js +40 -0
  238. package/dist/{render-vn40fp54.js → render-hkvej41k.js} +3 -1
  239. package/dist/repair-6989jrqg.js +104 -0
  240. package/dist/reset-710zhbbj.js +110 -0
  241. package/dist/restore-b744ykwg.js +122 -0
  242. package/dist/rollback-3vkb819m.js +134 -0
  243. package/dist/rollout-kdfmvwwv.js +56 -0
  244. package/dist/rollout-z1r0r7h1.js +188 -0
  245. package/dist/rotate-762tg2z9.js +80 -0
  246. package/dist/rotate-q5psaddv.js +168 -0
  247. package/dist/run-k2w6qqms.js +56 -0
  248. package/dist/scaffold-5mzc135g.js +37 -0
  249. package/dist/secrets-5hej44bb.js +24 -0
  250. package/dist/seed-9xw8ppn9.js +37 -0
  251. package/dist/{service-s5mnjq74.js → service-n6kgj7ba.js} +18 -9
  252. package/dist/shots-byejd6g2.js +46 -0
  253. package/dist/shots-page.js +613 -0
  254. package/dist/{show-qhn6x1vn.js → show-47xz48ea.js} +3 -3
  255. package/dist/sizes-3kpjxm9h.js +51 -0
  256. package/dist/status-fk3frgy1.js +41 -0
  257. package/dist/status-stvsvpn3.js +29 -0
  258. package/dist/statusbar-tkznwzqz.js +15 -0
  259. package/dist/statusbar-x2rjwbz5.js +55 -0
  260. package/dist/steps-t6q8yxbb.js +22 -0
  261. package/dist/{sync-34029rh7.js → sync-7d7v2f5r.js} +4 -4
  262. package/dist/target-hpmjbrrh.js +78 -0
  263. package/dist/{targets-5z0abrrk.js → targets-vvzvaskd.js} +11 -4
  264. package/dist/{test-rpj97zr6.js → test-f07bcpby.js} +8 -3
  265. package/dist/{typecheck-tbtp9z07.js → typecheck-ztfs5rb9.js} +6 -2
  266. package/dist/uninstall-q8ewxkdr.js +43 -0
  267. package/dist/{upgrade-z5s5wzzj.js → upgrade-g67qx155.js} +5 -5
  268. package/dist/worker-661hvwnb.js +59 -0
  269. package/dist/{wrangler-zz21zhb0.js → wrangler-mvnagswd.js} +5 -5
  270. package/dist/{xcode-w8yhedhm.js → xcode-h3nt62t8.js} +3 -3
  271. package/fastlane/Fastfile +748 -15
  272. 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.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom} +2 -2
  273. 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
  274. 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
  275. 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
  276. 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
  277. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
  278. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
  279. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  280. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  281. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  282. 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.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom} +2 -2
  283. 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
  284. 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
  285. 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
  286. 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
  287. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
  288. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
  289. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  290. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  291. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  292. 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.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom} +2 -2
  293. 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
  294. 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
  295. 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
  296. 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
  297. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
  298. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
  299. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  300. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  301. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  302. 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.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom} +2 -2
  303. 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
  304. 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
  305. 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
  306. 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
  307. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
  308. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
  309. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  310. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  311. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  312. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.module → 0.7.0/kit-plugins-0.7.0.module} +5 -5
  313. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.md5 +1 -0
  314. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha1 +1 -0
  315. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha256 +1 -0
  316. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha512 +1 -0
  317. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.pom → 0.7.0/kit-plugins-0.7.0.pom} +1 -1
  318. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.md5 +1 -0
  319. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha1 +1 -0
  320. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha256 +1 -0
  321. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha512 +1 -0
  322. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  323. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  324. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  325. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  326. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  327. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.module → 0.7.0/kit-settings-0.7.0.module} +5 -5
  328. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.md5 +1 -0
  329. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha1 +1 -0
  330. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha256 +1 -0
  331. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha512 +1 -0
  332. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.pom → 0.7.0/kit-settings-0.7.0.pom} +1 -1
  333. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.md5 +1 -0
  334. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha1 +1 -0
  335. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha256 +1 -0
  336. package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha512 +1 -0
  337. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  338. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  339. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  340. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  341. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  342. 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.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom} +2 -2
  343. 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
  344. 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
  345. 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
  346. 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
  347. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
  348. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
  349. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  350. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  351. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  352. 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.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom} +2 -2
  353. 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
  354. 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
  355. 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
  356. 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
  357. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
  358. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
  359. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  360. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  361. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  362. 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.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom} +2 -2
  363. 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
  364. 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
  365. 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
  366. 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
  367. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  368. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  369. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  370. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  371. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  372. 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.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom} +2 -2
  373. 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
  374. 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
  375. 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
  376. 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
  377. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  378. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  379. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  380. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  381. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  382. package/package.json +2 -2
  383. package/templates/add/Placeholder.kt +4 -0
  384. package/templates/add/gradle-module/build.gradle.kts +9 -0
  385. package/templates/add/toolchain-module/module.yaml +4 -0
  386. package/templates/add/worker/package.json +15 -0
  387. package/templates/add/worker/src/index.ts +5 -0
  388. package/templates/add/worker/tsconfig.json +13 -0
  389. package/templates/add/worker/wrangler.jsonc +8 -0
  390. package/templates/gradle/renovate.json +4 -0
  391. package/templates/toolchain/renovate.json +4 -0
  392. package/dist/_verb-cfgwexs5.js +0 -117
  393. package/dist/cli-650g3nf7.js +0 -203
  394. package/dist/cli-xjpjdc2c.js +0 -70
  395. package/dist/push-tn468c4w.js +0 -22
  396. package/dist/push-wgbf86c0.js +0 -124
  397. package/dist/steps-8bz1tscj.js +0 -16
  398. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  402. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  406. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  410. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  414. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.md5 +0 -1
  415. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha1 +0 -1
  416. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha256 +0 -1
  417. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha512 +0 -1
  418. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.md5 +0 -1
  419. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha1 +0 -1
  420. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha256 +0 -1
  421. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha512 +0 -1
  422. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.md5 +0 -1
  423. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha1 +0 -1
  424. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha256 +0 -1
  425. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha512 +0 -1
  426. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.md5 +0 -1
  427. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha1 +0 -1
  428. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha256 +0 -1
  429. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha512 +0 -1
  430. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  434. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  438. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  442. 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
  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.sha1 +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.sha256 +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.sha512 +0 -1
  446. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar → 0.7.0/kit-plugins-0.7.0.jar} +0 -0
  447. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.md5 → 0.7.0/kit-plugins-0.7.0.jar.md5} +0 -0
  448. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha1 → 0.7.0/kit-plugins-0.7.0.jar.sha1} +0 -0
  449. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha256 → 0.7.0/kit-plugins-0.7.0.jar.sha256} +0 -0
  450. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha512 → 0.7.0/kit-plugins-0.7.0.jar.sha512} +0 -0
  451. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar → 0.7.0/kit-settings-0.7.0.jar} +0 -0
  452. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.md5 → 0.7.0/kit-settings-0.7.0.jar.md5} +0 -0
  453. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha1 → 0.7.0/kit-settings-0.7.0.jar.sha1} +0 -0
  454. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha256 → 0.7.0/kit-settings-0.7.0.jar.sha256} +0 -0
  455. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha512 → 0.7.0/kit-settings-0.7.0.jar.sha512} +0 -0
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Reading and writing one dotenv line, shared by every kit reader (`loadDotEnv`, `parseDotenv`) and
3
+ * writer (`kit env init`, the output renderer, `kit env rotate`).
4
+ *
5
+ * Two formats, because the files have different consumers:
6
+ * - `env`: the repo `.env`. Bun loads it before kit starts (and expands `$NAME`, `${X}`, `$1`, `$$`
7
+ * in bare and quoted values alike), and wrangler falls back to it through dotenv-expand.
8
+ * - `vars`: rendered outputs (`.dev.vars`). wrangler reads them with dotenv `parse`: no expansion.
9
+ *
10
+ * Reading (both formats; one line, the text after `KEY=` already trimmed):
11
+ * - A raw value that starts with `#` is empty plus a comment (`KEY= # note`).
12
+ * - Quoted with `'`, `"` or a backtick: the value runs to the closing quote; a `#` inside is part of
13
+ * it. In double quotes `\n` and `\r` become a newline and a carriage return. Nothing else is an
14
+ * escape, so a quoted value cannot hold its own quote character.
15
+ * - Unquoted: a ` #` starts a comment.
16
+ * - `env` only: `\$` is a literal `$`. An unescaped `$` is left as written: kit does not expand.
17
+ *
18
+ * Writing produces a line every consumer of that format reads back as the same value:
19
+ * - Bare when possible. Quoted when the value holds a `#` (Bun and dotenv cut a bare value at any
20
+ * `#`), has whitespace at either end, or starts with a quote character; in the first of `'`, `"`,
21
+ * backtick the value does not hold (a line's existing style is kept when it fits).
22
+ * - `env` only: every `$` is written `\$`, except one that ends the value (no reader unescapes there).
23
+ * - A multi-line value is double-quoted, newlines as `\n` and carriage returns as `\r`.
24
+ * - Refused (exit 3, naming the key), because some consumer would read something else: a value that
25
+ * needs quotes and holds all three quote characters or ends in a backslash; a value with a literal
26
+ * `\n` / `\r` that could only go in double quotes; a multi-line value holding `"`, a literal `\n` /
27
+ * `\r`, a backslash before a line break or at its end; in `env`, a value ending in `\$`.
28
+ */
29
+ export type DotenvFormat = 'env' | 'vars';
30
+ /** The value of one dotenv line, given the text after `KEY=` (already trimmed). */
31
+ export declare function dotenvValue(raw: string, format: DotenvFormat): string;
32
+ /**
33
+ * A value as it goes after `KEY=` in a file of `format`; see the rules above. `prefer` is the quote
34
+ * style the line already uses. Throws exit 3 naming `key` (never the value) when no line can hold it.
35
+ */
36
+ export declare function dotenvEncode(key: string, value: string, format: DotenvFormat, prefer?: string): string;
37
+ /** `KEY=value` (no line ending) for a file of `format`. */
38
+ export declare function dotenvLine(key: string, value: string, format: DotenvFormat, prefer?: string): string;
39
+ export interface DotenvAmbiguity {
40
+ key: string;
41
+ /** 1-based line in the file. */
42
+ line: number;
43
+ reason: string;
44
+ /** How to write the line so every reader agrees. */
45
+ hint: string;
46
+ }
47
+ /**
48
+ * Hand-written `.env` lines that Bun (which loads `.env` before kit starts), dotenv and kit read as
49
+ * different values, so what runs locally and what `kit env push` sends could differ. Names, line
50
+ * numbers and reasons only: values never leave this function. kit's own writers never produce these.
51
+ */
52
+ export declare function dotenvAmbiguities(text: string): DotenvAmbiguity[];
@@ -5,7 +5,7 @@ import type { EnvKey, EnvSchema } from './schema';
5
5
  * `replace-me…` placeholder. Optional keys are never asked. Values are only ever written to `.env`.
6
6
  */
7
7
  export declare const PLACEHOLDER_RE: RegExp;
8
- /** Replace `KEY=…` in place, or append it. Comments and other lines are kept. */
8
+ /** Replace `KEY=…` in place, or append it. Comments and other lines are kept; the value is quoted when it needs it. */
9
9
  export declare function setKey(text: string, key: string, value: string): string;
10
10
  export interface InitPlan {
11
11
  /** `.env` did not exist; it starts as a copy of `.env.example` (or empty). */
@@ -0,0 +1,62 @@
1
+ import type { Flags } from '../../cli/command';
2
+ import type { KitConfig } from '../../config/schema';
3
+ import type { Logger } from '../log';
4
+ import { type PlannedDestination } from './push';
5
+ import type { EnvValues } from './schema';
6
+ /**
7
+ * One `kit env push` run: pick destinations, list, summarise, confirm, push. Shared by
8
+ * `kit env push` and `kit env rotate --push`, so both follow the same listing and failure rules.
9
+ * Split into a read-only preflight and the puts, so `rotate` can preflight before it writes `.env`.
10
+ * Prints names and statuses only (to stderr, and not at all under --json); the caller writes the
11
+ * JSON document and sets the exit code from the report.
12
+ */
13
+ /** Which remotes a push covers; mirrors the `kit env push` flags. */
14
+ export interface PushSelection {
15
+ /** One worker target. */
16
+ target?: string;
17
+ /** GitHub Actions secrets. Alone: GitHub only. With `target`: both. */
18
+ github?: boolean;
19
+ /** Every worker, GitHub skipped. */
20
+ workers?: boolean;
21
+ /** Every worker and GitHub: the same as an empty selection. */
22
+ all?: boolean;
23
+ }
24
+ export interface PushReport {
25
+ ok: boolean;
26
+ dryRun: boolean;
27
+ /** `output` is the redacted child output of a failed put. */
28
+ outcomes: {
29
+ destination: string;
30
+ key: string;
31
+ status: string;
32
+ output?: string;
33
+ }[];
34
+ }
35
+ type PushCtx = {
36
+ flags: Flags;
37
+ log: Logger;
38
+ };
39
+ /** The read-only half of a push: the remotes listed and every key classified. Nothing is written yet. */
40
+ export interface PushPreflight {
41
+ plans: PlannedDestination[];
42
+ /** How many keys would be put. */
43
+ count: number;
44
+ /** Remotes kit could not list (and `--yes` was not given). */
45
+ listFailed: string[];
46
+ }
47
+ /** Usage error (exit 2) for flags that contradict each other. */
48
+ export declare function assertSelection(sel: PushSelection): void;
49
+ /** The `kit env push …` command line for a selection. */
50
+ export declare function pushCommand(sel: PushSelection): string;
51
+ /** Join the preflights of several selections, so one confirm and one push cover them all. */
52
+ export declare function mergePreflights(list: PushPreflight[]): PushPreflight;
53
+ /** Pick the destinations, pin the Cloudflare account, list each remote and print the summary. */
54
+ export declare function preflightPush(ctx: PushCtx, root: string, config: KitConfig, values: EnvValues, sel: PushSelection,
55
+ /** `strict`: a remote that cannot be listed is a failure even with `--yes` (rotate must not write first). */
56
+ opts?: {
57
+ strict?: boolean;
58
+ }): Promise<PushPreflight>;
59
+ /** The mutating half: put every planned key, stopping at the first failure. It does not confirm. */
60
+ export declare function executePreflight(ctx: PushCtx, pre: PushPreflight, values: EnvValues): Promise<PushReport>;
61
+ export declare function runPush(ctx: PushCtx, root: string, config: KitConfig, values: EnvValues, sel: PushSelection): Promise<PushReport>;
62
+ export {};
@@ -1,4 +1,5 @@
1
1
  import type { KitConfig } from '../../config/schema';
2
+ import { type DotenvFormat } from '../dotenv';
2
3
  import type { EnvSchema, EnvValues } from './schema';
3
4
  /**
4
5
  * Outputs rendered from `.env` (ported from WhaleSay `_lib/env-master.ts` and brewd `lib/env.ts`).
@@ -29,7 +30,7 @@ export declare function outputs(config: KitConfig, schema: EnvSchema): Output[];
29
30
  /** Render an output. Pure. */
30
31
  export declare function render(output: Output, values: EnvValues): string;
31
32
  /** Parse a rendered (or any dotenv) file into name → value; `# KEY=` placeholders read as ''. */
32
- export declare function parseDotenv(text: string): Record<string, string>;
33
+ export declare function parseDotenv(text: string, format: DotenvFormat): Record<string, string>;
33
34
  export interface KeyDiff {
34
35
  added: string[];
35
36
  updated: string[];
@@ -0,0 +1,24 @@
1
+ import type { KitConfig } from '../../config/schema';
2
+ import type { PushSelection } from './push-run';
3
+ import type { EnvGenerate } from './schema';
4
+ /**
5
+ * `kit env rotate`: mint a new value for a key whose schema declares `.meta({ generate })`, rewrite
6
+ * its `.env` line, and work out which remotes hold the key. Pure apart from the random source; the
7
+ * command does the file write, the render and the push.
8
+ */
9
+ /** A fresh value, registered for redaction before it is returned. */
10
+ export declare function generateValue(spec: EnvGenerate): string;
11
+ /**
12
+ * Replace the value on `KEY=…` lines and leave everything else as it was: comments (a trailing
13
+ * ` # note` after the value too), order, other keys, `export`, spacing around `=`, the quote style
14
+ * and the file's line endings; the new value is quoted when it needs it. A `#` inside quotes is part of the value, not a comment. A key the
15
+ * file lacks is appended as its own line. A commented `# KEY=` is a comment, not the key.
16
+ */
17
+ export declare function rewriteKey(text: string, key: string, value: string): string;
18
+ /** Remotes that hold `key`: worker targets from `env.workerSecrets`, then `github` from `env.githubSecrets`. */
19
+ export declare function destinationsFor(config: KitConfig, key: string): string[];
20
+ /**
21
+ * The fewest `kit env push` runs that reach every remote holding `keys`, never widening to a remote
22
+ * that holds none of them. Empty when no remote holds any.
23
+ */
24
+ export declare function pushSelections(config: KitConfig, keys: string[]): PushSelection[];
@@ -15,15 +15,28 @@ import type { KitConfig } from '../../config/schema';
15
15
  * Mark plain values with `secret: false`.
16
16
  * - `description` (or zod `.describe()`) is shown in `kit env init` prompts.
17
17
  * - Required = the schema rejects `undefined` (no `.optional()` or `.default()`).
18
+ * - `generate: 'hex' | 'base64url' | 'uuid'` marks a key kit itself can mint (`kit env rotate`), with
19
+ * `length` random bytes (default 32; ignored for uuid). Keys without it belong to a provider.
18
20
  *
19
21
  * The schema module imports the repo's own zod, so it is inspected structurally, never with
20
22
  * `instanceof`. Values are never printed; validation messages are redacted.
21
23
  */
24
+ export declare const GENERATE_KINDS: readonly ['hex', 'base64url', 'uuid'];
25
+ export type GenerateKind = (typeof GENERATE_KINDS)[number];
26
+ export declare const DEFAULT_GENERATE_LENGTH = 32;
27
+ /** How `kit env rotate` mints a key's value. */
28
+ export interface EnvGenerate {
29
+ kind: GenerateKind;
30
+ /** Random bytes before encoding; unused for uuid. */
31
+ length: number;
32
+ }
22
33
  export interface EnvKey {
23
34
  name: string;
24
35
  secret: boolean;
25
36
  required: boolean;
26
37
  description?: string;
38
+ /** Set when the schema declares `.meta({ generate })`: the key is rotatable. */
39
+ generate?: EnvGenerate;
27
40
  }
28
41
  export interface EnvIssue {
29
42
  key: string;
@@ -37,7 +50,14 @@ export interface EnvSchema {
37
50
  values: Record<string, string>;
38
51
  issues: EnvIssue[];
39
52
  };
53
+ /** Check one value against its key's own rule; returns the redacted message when it fails. */
54
+ validateKey(name: string, value: string): string | undefined;
40
55
  }
56
+ /** `.meta({ generate, length })` as an `EnvGenerate`; a value kit does not know is a config error (exit 3). */
57
+ export declare function parseGenerate(name: string, meta: {
58
+ generate?: unknown;
59
+ length?: unknown;
60
+ }): EnvGenerate | undefined;
41
61
  export declare function describeSchema(schema: unknown): EnvSchema;
42
62
  /** A schema with no rules: every key referenced by env config, optional and secret. */
43
63
  export declare function implicitSchema(config: KitConfig): EnvSchema;
@@ -0,0 +1,33 @@
1
+ import { type DeviceEnv } from '../devices';
2
+ import { type FixtureConfig, type LoadOp } from './config';
3
+ import type { FixtureResult } from './index';
4
+ /** Android transport: files staged in /data/local/tmp, copied into the app's data dir by the app or by root. */
5
+ /** Single-quote `value` for a POSIX shell: nothing in it can end the quoting or expand. */
6
+ export declare const shQuote: (value: string) => string;
7
+ export declare const deviceTmpDir: (pkg: string) => string;
8
+ /**
9
+ * The device-side script of a load. Paths are relative to the data dir: `run-as` starts there, and
10
+ * the root variant `cd`s there. Copying as root leaves root-owned files the app cannot open and
11
+ * files labelled for /data/local/tmp, so the root variant puts the owner and the SELinux labels back.
12
+ */
13
+ export declare function androidLoadScript(o: {
14
+ ops: readonly LoadOp[];
15
+ tmp: string;
16
+ data: string;
17
+ root: boolean;
18
+ }): string;
19
+ /** The device-side script of a dump: tar whichever of `paths` exist to stdout. */
20
+ export declare function androidDumpScript(paths: readonly string[]): string;
21
+ export interface Backend {
22
+ via: 'run-as' | 'root';
23
+ /** An emulator can come back under another serial after `adb root`. */
24
+ serial: string;
25
+ }
26
+ export declare const canRunAs: (env: DeviceEnv, serial: string, pkg: string) => Promise<boolean>;
27
+ /**
28
+ * `run-as` when the build is debuggable (the usual path: Play images refuse `adb root`), else a
29
+ * rooted adbd, else nothing. Rooting restarts adbd, so the device is found again before it is used.
30
+ */
31
+ export declare function pickBackend(env: DeviceEnv, serial: string, pkg: string): Promise<Backend | undefined>;
32
+ export declare function loadAndroid(env: DeviceEnv, device: string, name: string, cfg: FixtureConfig, source: string): Promise<FixtureResult>;
33
+ export declare function dumpAndroid(env: DeviceEnv, device: string, name: string, cfg: FixtureConfig): Promise<FixtureResult>;
@@ -0,0 +1,73 @@
1
+ import type { KitConfig } from '../../config/schema';
2
+ import type { Platform } from '../devices';
3
+ /**
4
+ * The `fixtures` block, validated and normalised, and the pure plan of what a load removes and copies.
5
+ * Every path the repo declares ends up inside a simulator container or an app's data dir, so a
6
+ * path that is absolute or climbs out with `..` is a config error before anything is touched.
7
+ */
8
+ export interface FixtureEntry {
9
+ /** Path inside the fixture, no trailing slash. */
10
+ from: string;
11
+ /** `from` is a directory (it ended in `/`). */
12
+ isDir: boolean;
13
+ /** Destination dir per platform, relative to the container / data dir (`.` is the root). */
14
+ ios?: string;
15
+ android?: string;
16
+ sqlite: boolean;
17
+ }
18
+ export interface FixtureConfig {
19
+ /** Absolute dir holding one sub-dir per fixture. */
20
+ dir: string;
21
+ /** The dir as written, for messages. */
22
+ dirLabel: string;
23
+ files: FixtureEntry[];
24
+ clear: {
25
+ ios: string[];
26
+ android: string[];
27
+ };
28
+ /** Absolute path of the prepare script. */
29
+ prepare?: string;
30
+ prepareLabel?: string;
31
+ }
32
+ /** A relative path with no `..`, normalised without a trailing slash (`.` for the root). */
33
+ export declare function cleanRelPath(value: string, what: string): string;
34
+ /** The `fixtures` block, or a config error with the smallest block that works. */
35
+ export declare function fixtureConfig(root: string, config: KitConfig): FixtureConfig;
36
+ /** The entries that have a destination on `platform`; the others are skipped. */
37
+ export declare const entriesFor: (cfg: FixtureConfig, platform: Platform) => FixtureEntry[];
38
+ /** Where an entry lives inside the container / data dir: the file itself, or the dir. */
39
+ export declare function destOf(entry: FixtureEntry, platform: Platform): string;
40
+ /** Fixture names on disk: every non-hidden sub-dir of `fixtures.dir`. */
41
+ export declare function listFixtures(cfg: FixtureConfig): string[];
42
+ export declare function checkName(name: string): string;
43
+ /** `name`, or the only fixture when there is exactly one; else a usage error listing them. */
44
+ export declare function resolveFixtureName(cfg: FixtureConfig, name: string | undefined): string;
45
+ /** The fixture dir to load; a usage error listing what exists when it is missing. */
46
+ export declare function requireFixtureDir(cfg: FixtureConfig, name: string): string;
47
+ export type LoadOp =
48
+ /** Delete a file or a dir (recursively); fine when it is absent. */
49
+ {
50
+ op: 'remove';
51
+ path: string;
52
+ }
53
+ /** Copy a staged file (to the file path) or a staged dir's contents (into the dir). */
54
+ | {
55
+ op: 'copy';
56
+ from: string;
57
+ to: string;
58
+ dir: boolean;
59
+ };
60
+ /**
61
+ * What a load does inside the container / data dir, in order. Each destination is removed first,
62
+ * so a file the fixture lacks never survives from an earlier load; `has` says what the fixture holds.
63
+ */
64
+ export declare function loadOps(cfg: FixtureConfig, platform: Platform, has: (entry: FixtureEntry) => boolean): LoadOp[];
65
+ /** Human lines for a dry run. */
66
+ export declare function describeOps(ops: readonly LoadOp[]): string[];
67
+ /** In-app paths a load writes. */
68
+ export declare const writtenPaths: (ops: readonly LoadOp[]) => string[];
69
+ /** A dry-run dump: what is pulled from the app, and the repo-relative files it would write. */
70
+ export declare function dumpPlan(cfg: FixtureConfig, platform: Platform, name: string): {
71
+ plan: string[];
72
+ files: string[];
73
+ };
@@ -0,0 +1,20 @@
1
+ import { type DeviceEnv, type DeviceTarget } from '../devices';
2
+ /**
3
+ * Fixtures: app state (databases, files) replayed onto a simulator or device, or captured from it.
4
+ * kit owns the transport; what travels is `fixtures.files` in kit.config.ts.
5
+ */
6
+ export interface FixtureResult {
7
+ fixture: string;
8
+ device: string;
9
+ /** How the files reached the app: the simulator container, `run-as`, or a rooted adb. */
10
+ via: 'simctl' | 'run-as' | 'root';
11
+ /** Repo-relative (dump) or in-app (load) paths written. */
12
+ files: string[];
13
+ /** What a `--dry-run` would do; absent after a real run. */
14
+ plan?: string[];
15
+ }
16
+ export { fixtureConfig, listFixtures, resolveFixtureName } from './config';
17
+ /** Replay `<fixtures.dir>/<name>` onto `device`. The app must be installed; it is stopped first. */
18
+ export declare function loadFixture(env: DeviceEnv, target: DeviceTarget, device: string, name: string): Promise<FixtureResult>;
19
+ /** Capture the app's state from `device` into `<fixtures.dir>/<name>`, replacing it only when complete. */
20
+ export declare function dumpFixture(env: DeviceEnv, target: DeviceTarget, device: string, name: string): Promise<FixtureResult>;
@@ -0,0 +1,13 @@
1
+ import { type DeviceEnv } from '../devices';
2
+ import { type FixtureConfig } from './config';
3
+ import type { FixtureResult } from './index';
4
+ /** iOS transport: the simulator's data container is a directory on this Mac, so it is plain file ops. */
5
+ /**
6
+ * The real path of an app data container of simulator `udid`. Whatever simctl printed, nothing outside
7
+ * `…/CoreSimulator/Devices/<udid>/data/Containers/Data/Application/<id>/` is ever written or deleted.
8
+ */
9
+ export declare function containerRoot(dir: string, udid: string): string;
10
+ /** `rel` inside `container`, after resolving symlinks in what exists: a link must not lead out. */
11
+ export declare function containerPath(container: string, rel: string): string;
12
+ export declare function loadIos(env: DeviceEnv, device: string, name: string, cfg: FixtureConfig, source: string): Promise<FixtureResult>;
13
+ export declare function dumpIos(env: DeviceEnv, device: string, name: string, cfg: FixtureConfig): Promise<FixtureResult>;
@@ -0,0 +1,37 @@
1
+ import type { Platform } from '../devices';
2
+ import { type FixtureConfig, type FixtureEntry } from './config';
3
+ /** The local half of both directions: staging a fixture for a load, assembling one from a dump. */
4
+ export interface Staged {
5
+ dir: string;
6
+ dispose: () => void;
7
+ }
8
+ /** Whether the staged / captured tree holds `entry` as the right kind of thing. */
9
+ export declare function hasEntry(dir: string, entry: FixtureEntry): boolean;
10
+ /** A temp copy of the fixture that is removed after, and on Ctrl-C. */
11
+ export declare function stageFixture(source: string): Staged;
12
+ /** Run `fixtures.prepare` on the staged copy: the app rebases dates (or anything else) with its own code. */
13
+ export declare function runPrepare(cfg: FixtureConfig, staged: string, ctx: {
14
+ name: string;
15
+ platform: Platform;
16
+ root: string;
17
+ }): Promise<void>;
18
+ /** Fold a database's WAL into the file and drop the sidecars, with no sqlite3 binary. */
19
+ export declare function checkpointDatabase(path: string): void;
20
+ /** Files 0644, dirs 0755: a phone's own modes would show up in git as changes. */
21
+ export declare function normalizeModes(dir: string): void;
22
+ /**
23
+ * Copy what the config names from `srcRoot` (the data container, or a tar extracted from the app's
24
+ * data dir: both have the app's own layout) into `out` in fixture layout. Returns the `from` paths found.
25
+ */
26
+ export declare function assembleCapture(srcRoot: string, cfg: FixtureConfig, platform: Platform, out: string): string[];
27
+ /**
28
+ * Put a complete capture in place of `<fixtures.dir>/<name>`. `fresh` was built next to it, so the
29
+ * swap is a rename; the old fixture is only deleted once the new one is in place.
30
+ */
31
+ export declare function swapIn(fresh: string, target: string): void;
32
+ /**
33
+ * Capture `srcRoot` (see `assembleCapture`) as `<fixtures.dir>/<name>`. The first entry that has
34
+ * a destination on `platform` must come back, or nothing is replaced. Entries with no destination
35
+ * here are carried over from the fixture being replaced, so a dump from one platform keeps the other's files.
36
+ */
37
+ export declare function commitCapture(cfg: FixtureConfig, platform: Platform, name: string, srcRoot: string): string[];
package/dist/lib/git.d.ts CHANGED
@@ -1,4 +1,8 @@
1
- /** Files staged for commit (added, copied, modified, renamed), repo-relative. */
1
+ /**
2
+ * Files staged for commit (added, copied, modified, renamed), relative to `cwd` (the kit root),
3
+ * which is where the tools that get them run. Staged files outside `cwd`, when it sits below the
4
+ * git toplevel, are left out: no target owns them and no tool here could be handed them.
5
+ */
2
6
  export declare function stagedFiles(cwd?: string): Promise<string[]>;
3
7
  /** Uncommitted changes (tracked or untracked), as `git status --porcelain` lines. */
4
8
  export declare function dirtyFiles(cwd?: string): Promise<string[]>;
@@ -34,3 +38,41 @@ export declare function push(refs: string[], opts?: {
34
38
  cwd?: string;
35
39
  remote?: string;
36
40
  }): Promise<void>;
41
+ /**
42
+ * The ref `--affected` compares against when no `--base` is given: `origin/<default branch>` (from
43
+ * `refs/remotes/origin/HEAD`), else `origin/main`, else `main`. Undefined when none of them exists.
44
+ */
45
+ export declare function defaultBase(cwd?: string): Promise<string | undefined>;
46
+ /** Where HEAD forked from `base`, or undefined when `base` is unknown or shares no history. */
47
+ export declare function mergeBase(base: string, cwd?: string): Promise<string | undefined>;
48
+ export interface Changed {
49
+ /** The ref compared against (`origin/main`). */
50
+ base: string;
51
+ /**
52
+ * Paths relative to `cwd`, sorted, without duplicates. Deleted files count, and a moved file
53
+ * lists both its old and new path. A change outside `cwd` (kit root below the git toplevel)
54
+ * starts with `../`.
55
+ */
56
+ files: string[];
57
+ /** HEAD is the fork point itself: nothing was committed since the base (the default branch, a new branch). */
58
+ headIsBase: boolean;
59
+ }
60
+ /**
61
+ * Files that differ from where HEAD forked from `base` (default `defaultBase`): commits on the
62
+ * branch, plus staged, unstaged and untracked files, anywhere in the git repo. Undefined when the
63
+ * base cannot be resolved, which callers must treat as "everything changed".
64
+ */
65
+ export declare function changedFiles(cwd?: string, base?: string): Promise<Changed | undefined>;
66
+ export interface CommitDetail extends Commit {
67
+ body: string;
68
+ /** More than one parent. */
69
+ merge: boolean;
70
+ }
71
+ /** Like `logSince`, up to `to` instead of HEAD, with each commit's body and whether it is a merge. */
72
+ export declare function logRange(from: string | undefined, to?: string, opts?: {
73
+ cwd?: string;
74
+ }): Promise<CommitDetail[]>;
75
+ /** Whether `ref` names a commit (`HEAD~1` of a root or shallow-boundary commit does not). */
76
+ export declare function hasCommit(ref: string, cwd?: string): Promise<boolean>;
77
+ /** A shallow clone (`fetch-depth: 1`): history, and usually the tags, are cut off. */
78
+ export declare function isShallow(cwd?: string): Promise<boolean>;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Just enough image code for store screenshots, with no native dependency: read a PNG's or a JPEG's
3
+ * size and whether it carries alpha (the stores reject alpha), flatten a PNG onto a background
4
+ * colour, and encode raw pixels as a PNG.
5
+ */
6
+ export interface ImageInfo {
7
+ format: 'png' | 'jpeg';
8
+ width: number;
9
+ height: number;
10
+ /** PNG colour type 4 or 6, or a `tRNS` chunk. Always false for JPEG. */
11
+ alpha: boolean;
12
+ }
13
+ /** 8-bit red, green, blue. */
14
+ export type Rgb = readonly [number, number, number];
15
+ /**
16
+ * Format, pixel size and alpha of a PNG or JPEG, read from the header bytes (PNG `IHDR` and `tRNS`,
17
+ * JPEG start-of-frame). The format comes from the magic bytes, never a file name.
18
+ *
19
+ * Throws a KitError (exit 4) for data that is neither format, a PNG that ends before `IEND`, or a
20
+ * JPEG that ends before its frame header. The message names no file: the caller adds it.
21
+ */
22
+ export declare function imageInfo(bytes: Uint8Array): ImageInfo;
23
+ /** `#rgb` or `#rrggbb` as 8-bit channels; anything else is a usage error. */
24
+ export declare function parseHexColor(value: string): Rgb;
25
+ /**
26
+ * Encode 8-bit pixels as a non-interlaced PNG. `pixels` is row-major, top row first:
27
+ * `width * height * 3` bytes of RGB give an RGB PNG (colour type 2, no alpha), and
28
+ * `width * height * 4` bytes of RGBA give an RGBA PNG (colour type 6; for tests and fakes: kit
29
+ * never writes alpha to a store dir). Any other length throws.
30
+ */
31
+ export declare function encodePng(width: number, height: number, pixels: Uint8Array): Uint8Array;
32
+ /**
33
+ * Composite a PNG onto an opaque `background` (`#rgb`, `#rrggbb`, or channels) and return an RGB
34
+ * PNG (colour type 2, no `tRNS`) of the same size. An RGB PNG without alpha comes back unchanged.
35
+ *
36
+ * Reads 8-bit, non-interlaced PNGs of every colour type (what Chrome's `canvas.toBlob` encodes is
37
+ * 8-bit RGB or RGBA); 16-bit, sub-byte and interlaced PNGs throw a KitError (exit 4), as does truncated data.
38
+ */
39
+ export declare function flattenPng(bytes: Uint8Array, background: string | Rgb): Uint8Array;
@@ -0,0 +1,23 @@
1
+ /** The flags `kit qa` and `kit shots` share. */
2
+ export declare const suiteArgs: {
3
+ readonly suite: {
4
+ readonly type: 'string';
5
+ readonly description: 'Run this maestro.suites entry';
6
+ };
7
+ readonly device: {
8
+ readonly type: 'string';
9
+ readonly description: 'Simulator UDID or adb serial (default: the running one)';
10
+ };
11
+ readonly 'no-build': {
12
+ readonly type: 'boolean';
13
+ readonly description: 'Install the newest existing build';
14
+ };
15
+ readonly fixture: {
16
+ readonly type: 'string';
17
+ readonly description: "Load this fixture instead of the suite's";
18
+ };
19
+ readonly 'no-fixture': {
20
+ readonly type: 'boolean';
21
+ readonly description: 'Load no fixture';
22
+ };
23
+ };
@@ -0,0 +1,10 @@
1
+ import type { Flags } from '../../cli/command';
2
+ import type { KitConfig } from '../../config/schema';
3
+ /** The install one-liner; `MAESTRO_VERSION` pins what it installs. */
4
+ export declare function maestroInstallHint(version?: string): string;
5
+ /** The resolved binary, or undefined when Maestro is not installed. */
6
+ export declare function findMaestro(): string | undefined;
7
+ /** `maestro` from PATH, then `~/.maestro/bin`; a precondition failure with the install hint otherwise. */
8
+ export declare function maestroBin(config?: Pick<KitConfig, 'maestro'>): string;
9
+ /** Env for every Maestro child: no analytics or update check, and a longer driver start in CI. */
10
+ export declare function maestroEnv(flags: Pick<Flags, 'ci'>): Record<string, string>;
@@ -0,0 +1,16 @@
1
+ import { type KitContext } from '../../cli/command';
2
+ interface SuiteCommand {
3
+ command: 'qa' | 'shots';
4
+ /** The suite when `--suite` is not given. */
5
+ defaultSuite: string;
6
+ /** `--tags`: replaces the suite's stages with one stage. */
7
+ tags?: string;
8
+ /** Repo-relative screenshots dir, used as is. */
9
+ out?: string;
10
+ junit?: string;
11
+ }
12
+ /** `--full` names `shots-full`, which has no default: a repo defines what "full" means. */
13
+ export declare function requireFullSuite(ctx: KitContext): void;
14
+ /** Shared body of `kit qa` and `kit shots`: resolve the suite, run or plan it, report. */
15
+ export declare function runSuiteCommand(ctx: KitContext, c: SuiteCommand): Promise<void>;
16
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { KitConfig } from '../../config/schema';
2
+ import type { PlannedGroup } from '../targets';
3
+ /** Name that selects the flow check on its own: `kit lint maestro`. */
4
+ export declare const MAESTRO_GROUP = "maestro";
5
+ /** Every flow file under `maestro.dir` (repo-relative, sorted): `*.yaml` and `*.yml`, minus `config.yaml` and the output dir. */
6
+ export declare function flowFiles(root: string, config: KitConfig): string[];
7
+ /**
8
+ * The `maestro check-syntax` group of `kit lint`: one command per flow file (the CLI takes one file).
9
+ * `staged` narrows it to staged flow files. Maestro is an optional tool here: not installed is one
10
+ * warning and no group, never a failed lint.
11
+ */
12
+ export declare function maestroLintGroup(root: string, config: KitConfig, opts?: {
13
+ staged?: string[];
14
+ }): PlannedGroup | undefined;
@@ -0,0 +1,79 @@
1
+ import { type DeviceEnv, type DeviceTarget } from '../devices';
2
+ import { type FixtureResult } from '../fixtures';
3
+ import { type Suite } from './suites';
4
+ export interface FlowCommandOptions {
5
+ /** The dir holding `config.yaml` and the flows. */
6
+ dir: string;
7
+ device: string;
8
+ tags: readonly string[];
9
+ outputDir: string;
10
+ env?: Readonly<Record<string, string>>;
11
+ /** Write a JUnit report here. */
12
+ junit?: string;
13
+ }
14
+ /**
15
+ * One `maestro test` argv. `--device` is always passed: without it Maestro blocks on a stdin picker.
16
+ * `--flatten-debug-output` is never passed: it conflicts with `--test-output-dir`.
17
+ */
18
+ export declare function flowCommand(bin: string, o: FlowCommandOptions): string[];
19
+ /** Report paths for `count` stages: `qa.xml`, then `qa-2.xml`, `qa-3.xml`, … */
20
+ export declare function junitPaths(path: string, count: number): string[];
21
+ /** The run dirs (`yyyy-MM-dd_HHmmss`) Maestro has written under `dir`; none when it does not exist yet. */
22
+ export declare function listRunDirs(dir: string): string[];
23
+ /** What a stage wrote: the dirs in `after` that `before` lacked. Not "the newest": a parallel run may be newer. */
24
+ export declare const newRunDirs: (before: readonly string[], after: readonly string[]) => string[];
25
+ export interface Shot {
26
+ name: string;
27
+ path: string;
28
+ }
29
+ /** The `takeScreenshot` PNGs of each flow under the given run dirs, oldest run first. */
30
+ export declare function collectScreenshots(dir: string, runs: readonly string[]): Shot[];
31
+ /** Copy shots into `dest`: a shot replaces the file of the same name and leaves the rest. Returns the names. */
32
+ export declare function copyScreenshots(shots: readonly Shot[], dest: string): string[];
33
+ export interface StageResult {
34
+ tags: string[];
35
+ ok: boolean;
36
+ code: number;
37
+ ms: number;
38
+ /** Repo-relative dir Maestro wrote the run dirs under. */
39
+ outputDir: string;
40
+ /** Repo-relative paths of the screenshots this stage copied. */
41
+ screenshots: string[];
42
+ /** Why a stage whose flows passed still failed. */
43
+ error?: string;
44
+ }
45
+ export interface SuiteResult {
46
+ suite: string;
47
+ target: DeviceTarget;
48
+ device: string;
49
+ ok: boolean;
50
+ stages: StageResult[];
51
+ /** Repo-relative dir the screenshots went to. */
52
+ screenshotsDir?: string;
53
+ fixture?: string;
54
+ junit?: string[];
55
+ }
56
+ export interface RunSuiteOptions {
57
+ suite: Suite;
58
+ /** Simulator UDID or adb serial; default the running device, or boot one. */
59
+ device?: string;
60
+ /** Install the newest existing build. */
61
+ noBuild?: boolean;
62
+ /** A fixture name replaces the suite's; `false` loads none. */
63
+ fixture?: string | false;
64
+ /** Repo-relative screenshots dir, used as is. Default `<suite.screenshots>/<target>`. */
65
+ screenshotsDir?: string;
66
+ /** Base path for JUnit reports; one per stage. */
67
+ junit?: string;
68
+ /** Injected in tests. */
69
+ loadFixture?: (env: DeviceEnv, target: DeviceTarget, device: string, name: string) => Promise<FixtureResult>;
70
+ }
71
+ export interface SuiteRun {
72
+ result: SuiteResult;
73
+ /** Every command of the run, in order; all of it a dry run does. */
74
+ plan: string[][];
75
+ }
76
+ /** Build, install, pin the status bar, load the fixture, then run each stage; stops at the first failure. */
77
+ export declare function runSuite(env: DeviceEnv, target: DeviceTarget, o: RunSuiteOptions): Promise<SuiteRun>;
78
+ /** Why a run failed, one line: the failed stage's tags and exit code, or the missing screenshots. */
79
+ export declare function failureSummary(result: SuiteResult): string;