@jordond/kit 0.1.0 → 0.2.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 (269) hide show
  1. package/README.md +140 -0
  2. package/dist/{_verb-espppzez.js → _verb-28xmg3d3.js} +16 -15
  3. package/dist/android-fs3sesnn.js +60 -0
  4. package/dist/{build-88hxf0kc.js → build-ak20h5cd.js} +4 -4
  5. package/dist/builtins-bj2yypm6.js +10 -0
  6. package/dist/bump-hsfmz2rn.js +124 -0
  7. package/dist/certs-w5v0877b.js +76 -0
  8. package/dist/{check-ngc4kzmj.js → check-771pracn.js} +4 -4
  9. package/dist/{check-7mndz8g8.js → check-jf1apke7.js} +7 -7
  10. package/dist/cli/command.d.ts +22 -2
  11. package/dist/{toml-zbhtxjh1.js → cli-19me2qqg.js} +2 -8
  12. package/dist/cli-1htjx51v.js +80 -0
  13. package/dist/cli-51ha0t4k.js +70 -0
  14. package/dist/{cli-07t28k94.js → cli-540nme4e.js} +17 -1
  15. package/dist/{cli-rds33bnp.js → cli-699g070n.js} +6 -3
  16. package/dist/{cli-h974q2wr.js → cli-cc13vv98.js} +7 -3
  17. package/dist/cli-dht27t4r.js +41 -0
  18. package/dist/{prompt-v510j04z.js → cli-g519ev8e.js} +2 -6
  19. package/dist/{cli-6dxp4v3m.js → cli-gqy1xp9t.js} +31 -7
  20. package/dist/cli-sx073w8p.js +191 -0
  21. package/dist/cli-vt6582gp.js +122 -0
  22. package/dist/cli-xax5grx1.js +108 -0
  23. package/dist/{git-52v5rk51.js → cli-xjpjdc2c.js} +2 -12
  24. package/dist/cli-y3mjprpv.js +31 -0
  25. package/dist/{cli-m53122z6.js → cli-zf47bkgh.js} +14 -8
  26. package/dist/cli.js +1 -1
  27. package/dist/{cloudflare-n5c46k6x.js → cloudflare-xf7e2dn3.js} +3 -3
  28. package/dist/{command-gazq4bmt.js → command-j1etpmj6.js} +6 -4
  29. package/dist/commands/completion.d.ts +15 -0
  30. package/dist/commands/db/create.d.ts +1 -1
  31. package/dist/commands/db/exec.d.ts +1 -1
  32. package/dist/commands/db/list.d.ts +1 -1
  33. package/dist/commands/db/migrate.d.ts +1 -1
  34. package/dist/commands/deploy.d.ts +6 -1
  35. package/dist/commands/dev.d.ts +1 -1
  36. package/dist/commands/doctor.d.ts +7 -0
  37. package/dist/commands/env/push.d.ts +4 -0
  38. package/dist/commands/fastlane.d.ts +2 -0
  39. package/dist/commands/init.d.ts +19 -2
  40. package/dist/commands/release/android.d.ts +20 -3
  41. package/dist/commands/release/certs.d.ts +7 -0
  42. package/dist/commands/release/ios.d.ts +11 -2
  43. package/dist/commands/release/service.d.ts +6 -0
  44. package/dist/commands/version/bump.d.ts +17 -0
  45. package/dist/commands/version/show.d.ts +2 -0
  46. package/dist/commands/wrangler.d.ts +0 -2
  47. package/dist/commands/xcode.d.ts +2 -0
  48. package/dist/completion-m051yvzk.js +38 -0
  49. package/dist/concurrent-zdz69ye5.js +96 -0
  50. package/dist/config/schema.d.ts +4 -0
  51. package/dist/{config-ey5yrrfn.js → config-c8yh5m9j.js} +3 -3
  52. package/dist/{create-7s8h3dja.js → create-j7ve677k.js} +8 -8
  53. package/dist/creds-rhxhmpe6.js +22 -0
  54. package/dist/deploy-af2v2jhj.js +152 -0
  55. package/dist/{deps-97dq4mg8.js → deps-1apnsrre.js} +7 -7
  56. package/dist/dev-6dv5xbv2.js +114 -0
  57. package/dist/{doctor-0wzmfyyh.js → doctor-cr3hcfvt.js} +59 -6
  58. package/dist/{exec-1k3sqwxz.js → exec-wa94sqwn.js} +8 -8
  59. package/dist/fastlane-2kjyfqjg.js +26 -0
  60. package/dist/fastlane-qsjmbxtj.js +38 -0
  61. package/dist/{format-mnqfak22.js → format-rehf6c8g.js} +5 -5
  62. package/dist/git-3gyyfk0x.js +24 -0
  63. package/dist/{gradle-gtkf3geq.js → gradle-wv77a2f1.js} +5 -5
  64. package/dist/index.d.ts +2 -1
  65. package/dist/index.js +14 -9
  66. package/dist/{init-dk5sym9w.js → init-gtkmx54a.js} +1 -1
  67. package/dist/{init-qr7y55ea.js → init-kck1p6gj.js} +75 -10
  68. package/dist/{init-0402av4m.js → init-n38980zv.js} +9 -9
  69. package/dist/ios-f6pwcqqt.js +50 -0
  70. package/dist/lib/cloudflare.d.ts +4 -3
  71. package/dist/lib/concurrent.d.ts +21 -0
  72. package/dist/lib/env/render.d.ts +5 -2
  73. package/dist/lib/fastlane.d.ts +36 -0
  74. package/dist/lib/log.d.ts +7 -1
  75. package/dist/lib/release/creds.d.ts +26 -0
  76. package/dist/lib/release/mobile.d.ts +41 -0
  77. package/dist/lib/release/notes.d.ts +15 -0
  78. package/dist/lib/release/preflight.d.ts +30 -0
  79. package/dist/lib/release/version.d.ts +25 -0
  80. package/dist/{lint-280dpn4y.js → lint-e0j22mab.js} +5 -5
  81. package/dist/{list-jdc3dqk0.js → list-fzwqsfsk.js} +8 -8
  82. package/dist/{load-5qzs1c6b.js → load-dxhacsn4.js} +3 -3
  83. package/dist/{log-hhspqwjw.js → log-g1ebh60s.js} +6 -2
  84. package/dist/{main-ywtsjxev.js → main-jrcgdccz.js} +93 -180
  85. package/dist/{migrate-emk758k1.js → migrate-4ncx9tqj.js} +14 -11
  86. package/dist/mobile-9n86ytzx.js +384 -0
  87. package/dist/notes-1zsa7qac.js +21 -0
  88. package/dist/prompt-3wwegvqc.js +15 -0
  89. package/dist/{push-xzqw218t.js → push-acejr9gj.js} +20 -13
  90. package/dist/{push-4z70h3d8.js → push-fq5syn8c.js} +6 -6
  91. package/dist/{render-488tjnsq.js → render-vn40fp54.js} +1 -1
  92. package/dist/service-xekpd27p.js +102 -0
  93. package/dist/show-jw5bx55h.js +50 -0
  94. package/dist/steps-9knqpszw.js +16 -0
  95. package/dist/{sync-wc4jpmkj.js → sync-9z8n875s.js} +7 -7
  96. package/dist/{targets-hbwxv97d.js → targets-bywmzbtj.js} +2 -2
  97. package/dist/{test-198w46m4.js → test-8jws3x98.js} +4 -4
  98. package/dist/toml-3fxsdkhr.js +14 -0
  99. package/dist/{typecheck-e86e6yg1.js → typecheck-1hn3hgz9.js} +4 -4
  100. package/dist/version-4tz72w42.js +26 -0
  101. package/dist/{wrangler-0ctx1p3w.js → wrangler-412fadcz.js} +9 -29
  102. package/dist/{xcode-g44qh2rc.js → xcode-qzyee632.js} +24 -9
  103. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom +15 -0
  104. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.md5 +1 -0
  105. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.sha1 +1 -0
  106. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.sha256 +1 -0
  107. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.sha512 +1 -0
  108. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +13 -0
  109. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -0
  110. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  111. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  112. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  113. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom +15 -0
  114. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.md5 +1 -0
  115. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.sha1 +1 -0
  116. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.sha256 +1 -0
  117. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.sha512 +1 -0
  118. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +13 -0
  119. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -0
  120. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  121. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  122. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  123. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom +15 -0
  124. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.md5 +1 -0
  125. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.sha1 +1 -0
  126. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.sha256 +1 -0
  127. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.sha512 +1 -0
  128. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +13 -0
  129. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -0
  130. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  131. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  132. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  133. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom +15 -0
  134. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.md5 +1 -0
  135. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.sha1 +1 -0
  136. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.sha256 +1 -0
  137. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.sha512 +1 -0
  138. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +13 -0
  139. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -0
  140. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  141. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  142. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  143. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar +0 -0
  144. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.md5 +1 -0
  145. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.sha1 +1 -0
  146. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.sha256 +1 -0
  147. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.sha512 +1 -0
  148. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.1.0/kit-plugins-0.1.0.module → 0.2.0/kit-plugins-0.2.0.module} +15 -15
  149. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.md5 +1 -0
  150. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha1 +1 -0
  151. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha256 +1 -0
  152. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha512 +1 -0
  153. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.1.0/kit-plugins-0.1.0.pom → 0.2.0/kit-plugins-0.2.0.pom} +1 -1
  154. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.md5 +1 -0
  155. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha1 +1 -0
  156. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha256 +1 -0
  157. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha512 +1 -0
  158. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  159. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  160. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  161. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  162. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  163. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar +0 -0
  164. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.md5 +1 -0
  165. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.sha1 +1 -0
  166. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.sha256 +1 -0
  167. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.sha512 +1 -0
  168. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.1.0/kit-settings-0.1.0.module → 0.2.0/kit-settings-0.2.0.module} +15 -15
  169. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.md5 +1 -0
  170. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha1 +1 -0
  171. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha256 +1 -0
  172. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha512 +1 -0
  173. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.1.0/kit-settings-0.1.0.pom → 0.2.0/kit-settings-0.2.0.pom} +1 -1
  174. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.md5 +1 -0
  175. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha1 +1 -0
  176. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha256 +1 -0
  177. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha512 +1 -0
  178. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  179. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  180. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  181. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  182. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  183. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom +15 -0
  184. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.md5 +1 -0
  185. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.sha1 +1 -0
  186. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.sha256 +1 -0
  187. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.sha512 +1 -0
  188. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +13 -0
  189. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -0
  190. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  191. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  192. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  193. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom +15 -0
  194. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.md5 +1 -0
  195. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.sha1 +1 -0
  196. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.sha256 +1 -0
  197. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.sha512 +1 -0
  198. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +13 -0
  199. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -0
  200. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  201. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  202. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  203. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.1.0/io.github.jordond.kit.release.gradle.plugin-0.1.0.pom → 0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom} +2 -2
  204. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.md5 +1 -0
  205. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.sha1 +1 -0
  206. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.sha256 +1 -0
  207. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.sha512 +1 -0
  208. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  209. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  210. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  211. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  212. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  213. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.1.0/io.github.jordond.kit.settings.gradle.plugin-0.1.0.pom → 0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom} +2 -2
  214. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.md5 +1 -0
  215. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.sha1 +1 -0
  216. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.sha256 +1 -0
  217. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.sha512 +1 -0
  218. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  219. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  220. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  221. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  222. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  223. package/package.json +1 -1
  224. package/templates/new/.env.example +20 -0
  225. package/templates/new/.github/workflows/ci.yml +45 -0
  226. package/templates/new/apps/client/fastlane/Fastfile +1 -0
  227. package/templates/new/apps/client/gradle/libs.versions.toml +25 -0
  228. package/templates/new/apps/client/settings.gradle.kts +25 -0
  229. package/templates/new/kit.config.ts +15 -0
  230. package/dist/android-g73naxgg.js +0 -31
  231. package/dist/cli-bam7dqfd.js +0 -33
  232. package/dist/deploy-8mg1zhpb.js +0 -102
  233. package/dist/dev-yc9xmntj.js +0 -62
  234. package/dist/ios-msg4bk15.js +0 -31
  235. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.jar +0 -0
  236. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.jar.md5 +0 -1
  237. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.jar.sha1 +0 -1
  238. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.jar.sha256 +0 -1
  239. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.jar.sha512 +0 -1
  240. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.module.md5 +0 -1
  241. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.module.sha1 +0 -1
  242. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.module.sha256 +0 -1
  243. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.module.sha512 +0 -1
  244. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.pom.md5 +0 -1
  245. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.pom.sha1 +0 -1
  246. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.pom.sha256 +0 -1
  247. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.1.0/kit-plugins-0.1.0.pom.sha512 +0 -1
  248. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.jar +0 -0
  249. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.jar.md5 +0 -1
  250. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.jar.sha1 +0 -1
  251. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.jar.sha256 +0 -1
  252. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.jar.sha512 +0 -1
  253. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.module.md5 +0 -1
  254. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.module.sha1 +0 -1
  255. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.module.sha256 +0 -1
  256. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.module.sha512 +0 -1
  257. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.pom.md5 +0 -1
  258. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.pom.sha1 +0 -1
  259. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.pom.sha256 +0 -1
  260. package/gradle/maven/io/github/jordond/kit/kit-settings/0.1.0/kit-settings-0.1.0.pom.sha512 +0 -1
  261. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.1.0/io.github.jordond.kit.release.gradle.plugin-0.1.0.pom.md5 +0 -1
  262. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.1.0/io.github.jordond.kit.release.gradle.plugin-0.1.0.pom.sha1 +0 -1
  263. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.1.0/io.github.jordond.kit.release.gradle.plugin-0.1.0.pom.sha256 +0 -1
  264. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.1.0/io.github.jordond.kit.release.gradle.plugin-0.1.0.pom.sha512 +0 -1
  265. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.1.0/io.github.jordond.kit.settings.gradle.plugin-0.1.0.pom.md5 +0 -1
  266. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.1.0/io.github.jordond.kit.settings.gradle.plugin-0.1.0.pom.sha1 +0 -1
  267. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.1.0/io.github.jordond.kit.settings.gradle.plugin-0.1.0.pom.sha256 +0 -1
  268. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.1.0/io.github.jordond.kit.settings.gradle.plugin-0.1.0.pom.sha512 +0 -1
  269. package/dist/{cli-12dww95e.js → cli-r6g14qrk.js} +3 -3
@@ -0,0 +1,38 @@
1
+ // @bun
2
+ import {
3
+ defineCommand
4
+ } from "./cli-gqy1xp9t.js";
5
+ import"./cli-7wvrehng.js";
6
+ import"./cli-540nme4e.js";
7
+ import"./cli-5wasc5mr.js";
8
+ import {
9
+ __require
10
+ } from "./cli-re3ntm60.js";
11
+
12
+ // src/commands/fastlane.ts
13
+ var DESCRIPTION = "Run fastlane with kit's shared Fastfile and Gemfile (arguments pass through)";
14
+ var EXAMPLES = `kit fastlane lanes
15
+ kit fastlane ios next_build
16
+ kit fastlane run sentry_check_cli_installed`;
17
+ var fastlane_default = defineCommand({
18
+ description: DESCRIPTION,
19
+ group: "Release",
20
+ passthrough: true,
21
+ examples: EXAMPLES,
22
+ async run(ctx) {
23
+ const { requireProject } = await import("./command-j1etpmj6.js");
24
+ const { appFastlaneDir, ensureBundle, fastlaneEnv } = await import("./fastlane-2kjyfqjg.js");
25
+ const { optionalLaneCreds } = await import("./creds-rhxhmpe6.js");
26
+ const { laneConfigEnv } = await import("./mobile-9n86ytzx.js");
27
+ const { run } = await import("./proc-jv4bcyyx.js");
28
+ const { root, config } = requireProject(ctx);
29
+ const appRoot = appFastlaneDir(root, config);
30
+ await ensureBundle(appRoot, (l) => process.stderr.write(`${l}
31
+ `));
32
+ const env = { ...fastlaneEnv(appRoot), ...laneConfigEnv(root, config), ...optionalLaneCreds() };
33
+ process.exitCode = await run(["bundle", "exec", "fastlane", ...ctx.rest], { cwd: appRoot, env });
34
+ }
35
+ });
36
+ export {
37
+ fastlane_default as default
38
+ };
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6dxp4v3m.js";
5
- import"./cli-07t28k94.js";
6
- import"./cli-5wasc5mr.js";
4
+ } from "./cli-gqy1xp9t.js";
7
5
  import"./cli-7wvrehng.js";
6
+ import"./cli-540nme4e.js";
7
+ import"./cli-5wasc5mr.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -24,8 +24,8 @@ var format_default = defineCommand({
24
24
  kit format client
25
25
  kit format --check`,
26
26
  async run(ctx) {
27
- const { runVerb } = await import("./_verb-espppzez.js");
28
- const staged = ctx.args.staged ? await (await import("./git-52v5rk51.js")).stagedFiles(ctx.root) : undefined;
27
+ const { runVerb } = await import("./_verb-28xmg3d3.js");
28
+ const staged = ctx.args.staged ? await (await import("./git-3gyyfk0x.js")).stagedFiles(ctx.root) : undefined;
29
29
  await runVerb(ctx, {
30
30
  name: ctx.args.check ? "format --check" : "format",
31
31
  verbs: ctx.args.check ? ["lint"] : ["format"],
@@ -0,0 +1,24 @@
1
+ // @bun
2
+ import {
3
+ currentBranch,
4
+ describe,
5
+ dirtyFiles,
6
+ isClean,
7
+ logSince,
8
+ push,
9
+ stagedFiles,
10
+ tag
11
+ } from "./cli-xjpjdc2c.js";
12
+ import"./cli-fqfan92n.js";
13
+ import"./cli-fqxtcj42.js";
14
+ import"./cli-re3ntm60.js";
15
+ export {
16
+ tag,
17
+ stagedFiles,
18
+ push,
19
+ logSince,
20
+ isClean,
21
+ dirtyFiles,
22
+ describe,
23
+ currentBranch
24
+ };
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6dxp4v3m.js";
5
- import"./cli-07t28k94.js";
6
- import"./cli-5wasc5mr.js";
4
+ } from "./cli-gqy1xp9t.js";
7
5
  import"./cli-7wvrehng.js";
6
+ import"./cli-540nme4e.js";
7
+ import"./cli-5wasc5mr.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -16,11 +16,11 @@ var gradle_default = defineCommand({
16
16
  passthrough: true,
17
17
  examples: `kit gradle assembleDebug
18
18
  kit gradle :shared:test --info
19
- kit gradle --help`,
19
+ kit gradle help --task assembleDebug`,
20
20
  async run(ctx) {
21
21
  const { existsSync } = await import("fs");
22
22
  const { join } = await import("path");
23
- const { requireProject } = await import("./command-gazq4bmt.js");
23
+ const { requireProject } = await import("./command-j1etpmj6.js");
24
24
  const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
25
25
  const { run } = await import("./proc-jv4bcyyx.js");
26
26
  const { root, config } = requireProject(ctx);
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import type { KitConfigInput } from './config/schema';
2
- export type { Group, KitCommand, KitContext } from './cli/command';
2
+ export type { BuiltinOptions, Flags, Group, KitCommand, KitContext } from './cli/command';
3
3
  export { defineCommand } from './cli/command';
4
4
  export type { KitConfig, KitConfigInput } from './config/schema';
5
5
  export { onCleanup } from './lib/cleanup';
6
6
  export { ExitCode, KitError } from './lib/errors';
7
7
  export { addChildEnv, ProcError, run, runCapture, runInteractive, runLines, runOrThrow, runQuiet, } from './lib/proc';
8
+ export { definePreflight, type Preflight, type PreflightContext, type PreflightInfo, } from './lib/release/preflight';
8
9
  export { commandStep, runSteps, type Step, type StepGroup, type StepResult } from './lib/steps';
9
10
  /** Typed identity helper for `kit.config.ts`. Validation happens when kit loads the file. */
10
11
  export declare function defineConfig(config: KitConfigInput): KitConfigInput;
package/dist/index.js CHANGED
@@ -1,8 +1,19 @@
1
1
  // @bun
2
+ import {
3
+ definePreflight
4
+ } from "./cli-y3mjprpv.js";
2
5
  import {
3
6
  commandStep,
4
7
  runSteps
5
- } from "./cli-h974q2wr.js";
8
+ } from "./cli-cc13vv98.js";
9
+ import"./cli-51ha0t4k.js";
10
+ import {
11
+ defineCommand
12
+ } from "./cli-gqy1xp9t.js";
13
+ import {
14
+ ExitCode,
15
+ KitError
16
+ } from "./cli-7wvrehng.js";
6
17
  import {
7
18
  ProcError,
8
19
  addChildEnv,
@@ -16,15 +27,8 @@ import {
16
27
  import {
17
28
  onCleanup
18
29
  } from "./cli-fqxtcj42.js";
19
- import {
20
- defineCommand
21
- } from "./cli-6dxp4v3m.js";
22
- import"./cli-07t28k94.js";
30
+ import"./cli-540nme4e.js";
23
31
  import"./cli-5wasc5mr.js";
24
- import {
25
- ExitCode,
26
- KitError
27
- } from "./cli-7wvrehng.js";
28
32
  import"./cli-re3ntm60.js";
29
33
 
30
34
  // src/index.ts
@@ -40,6 +44,7 @@ export {
40
44
  runCapture,
41
45
  run,
42
46
  onCleanup,
47
+ definePreflight,
43
48
  defineConfig,
44
49
  defineCommand,
45
50
  commandStep,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  parseDotenv,
4
4
  writeAtomic
5
- } from "./cli-rds33bnp.js";
5
+ } from "./cli-699g070n.js";
6
6
  import"./cli-re3ntm60.js";
7
7
 
8
8
  // src/lib/env/init.ts
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6dxp4v3m.js";
5
- import"./cli-07t28k94.js";
6
- import"./cli-5wasc5mr.js";
4
+ } from "./cli-gqy1xp9t.js";
7
5
  import"./cli-7wvrehng.js";
6
+ import"./cli-540nme4e.js";
7
+ import"./cli-5wasc5mr.js";
8
8
  import {
9
9
  __require,
10
10
  __toESM
@@ -58,6 +58,52 @@ function planInit(s) {
58
58
  const cwd = join(s.root, t.dir);
59
59
  plan.push({ kind: "cmd", title: `wrangler types (${name})`, cmd: s.exec(cwd, "wrangler", "types"), cwd });
60
60
  }
61
+ plan.push(...planNative(s));
62
+ return plan;
63
+ }
64
+ function planNative(s) {
65
+ const plan = [];
66
+ const which = s.which ?? (() => false);
67
+ const gradle = s.config?.gradle;
68
+ const init = gradle?.init === undefined ? [] : [gradle.init].flat();
69
+ if (gradle && init.length) {
70
+ const title = `gradle ${init.join(" ")}`;
71
+ if (s.jsOnly)
72
+ plan.push({ kind: "skip", title, reason: "--js-only" });
73
+ else if (!which("java"))
74
+ plan.push({ kind: "skip", title, reason: "no java on PATH; install a JDK" });
75
+ else if (s.config?.release?.android && !s.androidSdk) {
76
+ plan.push({
77
+ kind: "skip",
78
+ title,
79
+ reason: `no Android SDK; set ANDROID_HOME, or sdk.dir in ${join(gradle.root, "local.properties")}`
80
+ });
81
+ } else {
82
+ const gradlew = s.exists(join(gradle.root, "gradlew")) ? "./gradlew" : "gradle";
83
+ const cmd = [gradlew, "--console=plain", "-q", ...init];
84
+ plan.push({ kind: "cmd", title, cmd, cwd: join(s.root, gradle.root) });
85
+ }
86
+ }
87
+ const kitBundle = !!(s.config?.release?.ios || s.config?.release?.android);
88
+ const gemDir = kitBundle ? "." : [gradle?.root, "."].find((d) => d !== undefined && s.exists(join(d, "Gemfile")));
89
+ if (gemDir !== undefined) {
90
+ const title = kitBundle ? "bundle install (kit fastlane)" : `bundle install${gemDir === "." ? "" : ` (${gemDir})`}`;
91
+ if (s.jsOnly)
92
+ plan.push({ kind: "skip", title, reason: "--js-only" });
93
+ else if (!which("bundle"))
94
+ plan.push({ kind: "skip", title, reason: "no bundler on PATH; gem install bundler" });
95
+ else
96
+ plan.push({
97
+ kind: "cmd",
98
+ title,
99
+ cmd: ["bundle", "install"],
100
+ cwd: join(s.root, gemDir),
101
+ ...kitBundle ? { env: s.bundleEnv?.() ?? {} } : {}
102
+ });
103
+ }
104
+ if (s.platform === "darwin" && s.config?.release?.ios && !s.jsOnly && !which("xcodebuild")) {
105
+ plan.push({ kind: "skip", title: "Xcode", reason: "no xcodebuild on PATH; install Xcode for iOS builds" });
106
+ }
61
107
  return plan;
62
108
  }
63
109
  function kitPackageRoot(from = import.meta.dir) {
@@ -72,23 +118,36 @@ function kitPackageRoot(from = import.meta.dir) {
72
118
  dir = parent;
73
119
  }
74
120
  }
121
+ function hasAndroidSdk(root, config) {
122
+ if (process.env.ANDROID_HOME || process.env.ANDROID_SDK_ROOT)
123
+ return true;
124
+ const props = join(root, config?.gradle?.root ?? ".", "local.properties");
125
+ return existsSync(props) && /^\s*sdk\.dir\s*=/m.test(readFileSync(props, "utf8"));
126
+ }
75
127
  function renderTemplate(text, vars) {
76
128
  return text.replace(/\{\{(\w+)\}\}/g, (m, k) => vars[k] ?? m);
77
129
  }
78
130
  var init_default = defineCommand({
79
- description: "Set up a fresh clone: .env, install, optional mise/lefthook, env sync, wrangler types",
131
+ description: "Set up a fresh clone: .env, install, env sync, wrangler types, Gradle and bundler deps",
80
132
  group: "Setup",
81
- examples: `kit init
82
- kit init --dry-run
83
- kit init --yes # also scaffold mise.toml and lefthook.yml`,
133
+ args: {
134
+ "js-only": { type: "boolean", description: "Skip the Gradle and bundler steps" }
135
+ },
136
+ examples: [
137
+ "kit init",
138
+ "kit init --dry-run",
139
+ "kit init --yes # also scaffold mise.toml and lefthook.yml",
140
+ "kit init --js-only # JS workspace only: no Gradle, no bundle install"
141
+ ].join(`
142
+ `),
84
143
  async run(ctx) {
85
144
  const { chmodSync, writeFileSync } = await import("fs");
86
145
  const { relative } = await import("path");
87
146
  const pc = (await import("./picocolors-0dxagz5d.js").then((m)=>__toESM(m.default,1))).default;
88
- const { emitJson } = await import("./log-hhspqwjw.js");
147
+ const { emitJson } = await import("./log-g1ebh60s.js");
89
148
  const { detectPackageManager, pmExec } = await import("./pm-5q5vz6w3.js");
90
149
  const { run, runQuiet } = await import("./proc-jv4bcyyx.js");
91
- const { confirm } = await import("./prompt-v510j04z.js");
150
+ const { confirm } = await import("./prompt-3wwegvqc.js");
92
151
  const root = ctx.root ?? process.cwd();
93
152
  const exists = (p) => existsSync(join(root, p));
94
153
  const pm = detectPackageManager(root, root);
@@ -107,6 +166,7 @@ kit init --yes # also scaffold mise.toml and lefthook.yml`,
107
166
  accepted.push(n);
108
167
  }
109
168
  }
169
+ const { bundleEnv } = await import("./fastlane-2kjyfqjg.js");
110
170
  const plan = planInit({
111
171
  root,
112
172
  config: ctx.config,
@@ -115,7 +175,12 @@ kit init --yes # also scaffold mise.toml and lefthook.yml`,
115
175
  accepted,
116
176
  declinedReason,
117
177
  self: [process.execPath, "--no-env-file", process.argv[1]],
118
- exec: (cwd, bin, ...args) => pmExec(detectPackageManager(cwd, root), bin, ...args)
178
+ exec: (cwd, bin, ...args) => pmExec(detectPackageManager(cwd, root), bin, ...args),
179
+ which: (bin) => Bun.which(bin) !== null,
180
+ androidSdk: hasAndroidSdk(root, ctx.config),
181
+ platform: process.platform,
182
+ bundleEnv,
183
+ jsOnly: ctx.args["js-only"] === true
119
184
  });
120
185
  const where = (cwd) => relative(root, cwd) || ".";
121
186
  if (ctx.flags.dryRun) {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6dxp4v3m.js";
5
- import"./cli-07t28k94.js";
6
- import"./cli-5wasc5mr.js";
4
+ } from "./cli-gqy1xp9t.js";
7
5
  import"./cli-7wvrehng.js";
6
+ import"./cli-540nme4e.js";
7
+ import"./cli-5wasc5mr.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -16,12 +16,12 @@ var init_default = defineCommand({
16
16
  examples: `kit env init
17
17
  kit env init --dry-run`,
18
18
  async run(ctx) {
19
- const { requireProject } = await import("./command-gazq4bmt.js");
20
- const { loadEnv, assertValid } = await import("./load-5qzs1c6b.js");
21
- const { planInit, applyInit } = await import("./init-dk5sym9w.js");
22
- const { outputs, writeOutputs } = await import("./render-488tjnsq.js");
23
- const { password, text } = await import("./prompt-v510j04z.js");
24
- const { emitJson } = await import("./log-hhspqwjw.js");
19
+ const { requireProject } = await import("./command-j1etpmj6.js");
20
+ const { loadEnv, assertValid } = await import("./load-dxhacsn4.js");
21
+ const { planInit, applyInit } = await import("./init-gtkmx54a.js");
22
+ const { outputs, writeOutputs } = await import("./render-vn40fp54.js");
23
+ const { password, text } = await import("./prompt-3wwegvqc.js");
24
+ const { emitJson } = await import("./log-g1ebh60s.js");
25
25
  const { root, config } = requireProject(ctx);
26
26
  const { schema } = await loadEnv(root, config);
27
27
  const plan = planInit(root, schema);
@@ -0,0 +1,50 @@
1
+ // @bun
2
+ import {
3
+ defineCommand
4
+ } from "./cli-gqy1xp9t.js";
5
+ import"./cli-7wvrehng.js";
6
+ import"./cli-540nme4e.js";
7
+ import"./cli-5wasc5mr.js";
8
+ import {
9
+ __require
10
+ } from "./cli-re3ntm60.js";
11
+
12
+ // src/commands/release/ios.ts
13
+ var ios_default = defineCommand({
14
+ description: "Build and upload iOS to a track",
15
+ group: "Release",
16
+ args: {
17
+ track: {
18
+ type: "enum",
19
+ short: "t",
20
+ choices: ["internal", "alpha", "beta", "prod"],
21
+ required: true,
22
+ description: "internal: TestFlight internal \xB7 alpha/beta: TestFlight group \xB7 prod: App Store"
23
+ },
24
+ build: { type: "number", description: "Build number (default: max in App Store Connect + 1)" },
25
+ notes: {
26
+ type: "string",
27
+ description: "Release notes (default: commits since the last ios/v* tag); prod: What's New, required"
28
+ },
29
+ skip: { type: "string", description: "Skip release.preflight checks by skipFlag (comma-separated)" }
30
+ },
31
+ examples: `kit release ios --track internal
32
+ kit release ios --track beta --yes
33
+ kit release ios --track prod --notes "Bug fixes"
34
+ kit release ios --track internal --dry-run`,
35
+ async run(ctx) {
36
+ const { requireProject } = await import("./command-j1etpmj6.js");
37
+ const { releaseMobile } = await import("./mobile-9n86ytzx.js");
38
+ requireProject(ctx);
39
+ await releaseMobile(ctx, {
40
+ platform: "ios",
41
+ track: ctx.args.track,
42
+ build: ctx.args.build,
43
+ notes: ctx.args.notes,
44
+ skip: (ctx.args.skip ?? "").split(",").map((s) => s.trim()).filter(Boolean)
45
+ });
46
+ }
47
+ });
48
+ export {
49
+ ios_default as default
50
+ };
@@ -41,10 +41,11 @@ export interface D1Database {
41
41
  /** Database name wrangler knows. */
42
42
  name: string;
43
43
  target: string;
44
+ default?: boolean;
44
45
  }
45
46
  /**
46
- * The database for `--db`: a `cloudflare.d1` key or database name. Without `--db` the only one;
47
- * with several, a usage error listing them.
47
+ * The database for `--db`: a `cloudflare.d1` key or database name. Without `--db` the only one, or
48
+ * the one marked `default: true`; with several and no default, a usage error listing them.
48
49
  */
49
50
  export declare function resolveD1(config: KitConfig, db: string | undefined): D1Database;
50
51
  export declare const locality: (remote: boolean) => string;
@@ -70,7 +71,7 @@ export declare function d1Args(db: D1Database, action: D1Action): string[];
70
71
  export declare const dbArgs: {
71
72
  readonly db: {
72
73
  readonly type: 'string';
73
- readonly description: 'cloudflare.d1 key or database name (default: the only one)';
74
+ readonly description: 'cloudflare.d1 key or database name (default: the only one, or the default: true one)';
74
75
  };
75
76
  };
76
77
  export declare const remoteArg: {
@@ -0,0 +1,21 @@
1
+ import type { PlannedCommand } from './targets';
2
+ /**
3
+ * Run several long-lived commands at once (`kit dev` with no target): one lane per target, each
4
+ * lane's commands in order, every line prefixed with the lane name.
5
+ *
6
+ * - Children get their own process group, so Ctrl-C (forwarded by `cleanup.ts`) stops every tree;
7
+ * kit waits for all of them and exits 130.
8
+ * - A lane that exits non-zero on its own stops the others (SIGTERM) and the run fails.
9
+ * - A lane that exits 0 just ends; the rest keep running.
10
+ */
11
+ export interface Lane {
12
+ name: string;
13
+ commands: PlannedCommand[];
14
+ }
15
+ export interface LaneResult {
16
+ name: string;
17
+ code: number;
18
+ }
19
+ export declare function runConcurrent(lanes: Lane[], opts?: {
20
+ write?: (s: string) => void;
21
+ }): Promise<LaneResult[]>;
@@ -6,8 +6,9 @@ import type { EnvSchema, EnvValues } from './schema';
6
6
  * `env.outputs[path] = { pick?, rename? }`:
7
7
  * - `pick`: source keys written under their own name.
8
8
  * - `rename`: `{ OUTPUT_NAME: 'SOURCE_KEY' }`, e.g. admin binds INTERNAL_ADMIN_SECRET as X_INTERNAL_SECRET.
9
- * - neither: every schema key.
10
- * Lines follow pick order, then rename order. Files are `.dev.vars` format, written atomically at 0600.
9
+ * - `vars`: static `{ NAME: 'value' }` lines for local dev only (never pushed), e.g. `ENVIRONMENT=dev`.
10
+ * - neither pick nor rename: every schema key.
11
+ * Lines follow vars order, then pick order, then rename order. Files are `.dev.vars` format, written atomically at 0600.
11
12
  * A blank value renders as a commented `# KEY=` so the file documents the key and dev servers still boot.
12
13
  */
13
14
  export declare const GENERATED_BANNER = "# Generated by `kit env sync` from .env. Edit .env and re-run; do not edit by hand.\n";
@@ -16,6 +17,8 @@ export interface OutputLine {
16
17
  name: string;
17
18
  /** Key in `.env`. */
18
19
  source: string;
20
+ /** Static value from `vars`; written as-is, even when empty. */
21
+ value?: string;
19
22
  }
20
23
  export interface Output {
21
24
  /** Repo-relative path from config. */
@@ -0,0 +1,36 @@
1
+ import type { KitConfig } from '../config/schema';
2
+ import { type Env } from './proc';
3
+ /**
4
+ * Runs fastlane against kit's shared Fastfile and Gemfile (PLAN D7, S4).
5
+ *
6
+ * The app keeps a one-line `fastlane/Fastfile` that imports `KIT_FASTFILE`; kit runs
7
+ * `bundle exec fastlane` from the app dir with BUNDLE_GEMFILE pointing at kit's Gemfile, the bundle
8
+ * installed outside node_modules, and fastlane's report/docs writes sent to a temp dir.
9
+ */
10
+ /** kit's package dir (holds `fastlane/` and `package.json`), from src/ or dist/. */
11
+ export declare function kitDir(): string;
12
+ /** The dir holding the app's `fastlane/Fastfile`: `release.fastlaneDir`, else gradle.root, else the root. */
13
+ export declare function appFastlaneDir(root: string, config: KitConfig): string;
14
+ /** Bundler env for kit's Gemfile: frozen, installed outside node_modules (D7). */
15
+ export declare function bundleEnv(): Record<string, string>;
16
+ /** The environment every fastlane run gets (D7 + S4). `appRoot` is the dir holding `fastlane/`. */
17
+ export declare function fastlaneEnv(appRoot: string): Record<string, string>;
18
+ /** `bundle check`, and `bundle install` only when it fails (first run, or the lock changed). */
19
+ export declare function ensureBundle(appRoot: string, onLine?: (line: string) => void): Promise<void>;
20
+ /** Test seam. */
21
+ export declare function resetBundle(): void;
22
+ /** `KIT_<KEY>=<value>` lines from lane output (an optional `[hh:mm:ss]: ` prefix allowed). Last wins. */
23
+ export declare function parseOutputs(output: string): Record<string, string>;
24
+ export interface LaneResult {
25
+ code: number;
26
+ output: string;
27
+ outputs: Record<string, string>;
28
+ }
29
+ /**
30
+ * Run `fastlane <platform> <lane>` from `appRoot`, lines redacted, `KIT_*` outputs parsed.
31
+ * stdin is closed so a lane can never stop on a prompt.
32
+ */
33
+ export declare function runLane(appRoot: string, platform: 'ios' | 'android', lane: string, opts?: {
34
+ env?: Env;
35
+ onLine?: (line: string) => void;
36
+ }): Promise<LaneResult>;
package/dist/lib/log.d.ts CHANGED
@@ -7,5 +7,11 @@ export declare const log: {
7
7
  dim: (msg: string) => boolean;
8
8
  };
9
9
  export type Logger = typeof log;
10
- /** Write exactly one JSON document to stdout. */
10
+ /** Whether a JSON document was already written this run. */
11
+ export declare const jsonEmitted: () => boolean;
11
12
  export declare function emitJson(value: unknown): void;
13
+ /**
14
+ * Run `fn` with stdout pointed at stderr: repo code (preflight modules) may `console.log`, and under
15
+ * --json stdout must hold only the one document.
16
+ */
17
+ export declare function withStdoutOnStderr<T>(fn: () => Promise<T>): Promise<T>;
@@ -0,0 +1,26 @@
1
+ export interface AppleCreds {
2
+ /** Env for lanes: ASC_*, MATCH_*, KIT_ASC_KEY_PATH. */
3
+ env: Record<string, string>;
4
+ ascKeyPath: string;
5
+ }
6
+ /** ASC API key (+ match when `match` is set). `MATCH_GIT_BASIC_AUTHORIZATION` is required in CI only. */
7
+ /** True only on GitHub Actions: `CI=true` alone (a shell or .env) proves nothing about the runner. */
8
+ export declare const onGitHubActions: () => boolean;
9
+ /** Values that reach lanes through the inherited env; registered so output never shows them. */
10
+ export declare function registerAmbientSecrets(): void;
11
+ export declare function appleCreds(opts: {
12
+ match: boolean;
13
+ ci: boolean;
14
+ }): AppleCreds;
15
+ /** Play service account JSON → KIT_PLAY_JSON_KEY. */
16
+ export declare function playCreds(): Record<string, string>;
17
+ /**
18
+ * Upload keystore → KIT_ANDROID_KEYSTORE_FILE. Alias and password stay in the inherited env as
19
+ * ANDROID_KEYSTORE_ALIAS / _PASSWORD, where kit.release reads them (PLAN §13.4); never on argv.
20
+ */
21
+ export declare function keystoreCreds(): Record<string, string>;
22
+ /**
23
+ * For `kit fastlane …` by hand: materialise whatever secret files the env allows, silently skipping
24
+ * what isn't set. Lanes that need a missing one fail with fastlane's own message.
25
+ */
26
+ export declare function optionalLaneCreds(): Record<string, string>;
@@ -0,0 +1,41 @@
1
+ import type { KitContext } from '../../cli/command';
2
+ import type { KitConfig, Track } from '../../config/schema';
3
+ /**
4
+ * `kit release ios|android --track …` (PLAN §9.3):
5
+ * preconditions → preflight + resolve (tree) → confirm → build + upload + post (tree) → tag → summary.
6
+ * The working tree is never modified: version and build reach the build as lane inputs.
7
+ */
8
+ export type Platform = 'ios' | 'android';
9
+ export interface MobileOptions {
10
+ platform: Platform;
11
+ track: Track;
12
+ build?: number;
13
+ notes?: string;
14
+ /** Android prod staged-rollout fraction. */
15
+ rollout?: number;
16
+ /** Android: upload as a draft release. */
17
+ draft?: boolean;
18
+ /** `--skip` values: preflight skipFlags. */
19
+ skip: string[];
20
+ }
21
+ export interface MobileResult {
22
+ platform: Platform;
23
+ track: Track;
24
+ version: string;
25
+ build: number;
26
+ notes: string;
27
+ dryRun: boolean;
28
+ artifacts: Record<string, string>;
29
+ uploaded: boolean;
30
+ tag?: string;
31
+ tagPushed?: boolean;
32
+ }
33
+ export declare const DEFAULT_BRANCHES: string[];
34
+ /** Branch allowed by `release.branches` (globs). In CI a detached HEAD falls back to GITHUB_REF_NAME. */
35
+ export declare function checkBranch(root: string, config: KitConfig): Promise<string>;
36
+ export declare function checkClean(root: string): Promise<void>;
37
+ /** §9.3 step 1 (doctor --release): fail before secrets are decoded or the store is queried. */
38
+ export declare function checkTools(platform: Platform, which?: (bin: string) => string | null): void;
39
+ /** Config-derived lane inputs (bundle ids, team, package, Gradle root): shared with `kit fastlane`. */
40
+ export declare function laneConfigEnv(root: string, config: KitConfig): Record<string, string>;
41
+ export declare function releaseMobile(ctx: Pick<KitContext, 'root' | 'config' | 'flags' | 'log'>, opts: MobileOptions): Promise<void>;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Release notes and tags (PLAN §9.2).
3
+ * - mobile tags: `ios/v{version}+{build}`, `android/v{version}+{code}`; services: `{name}/v{version}`.
4
+ * - notes: commit subjects since the newest `<prefix>/v*` tag; without one, the last 20 commits.
5
+ */
6
+ export declare const FALLBACK_COMMITS = 20;
7
+ export declare const PLAY_NOTES_MAX = 500;
8
+ export declare function mobileTag(platform: 'ios' | 'android', version: string, build: string | number): string;
9
+ export declare function serviceTag(name: string, version: string): string;
10
+ export declare function releaseNotes(prefix: string, cwd: string): Promise<{
11
+ since: string | undefined;
12
+ notes: string;
13
+ }>;
14
+ /** Keep whole lines that fit in `max` chars; hard-truncate with an ellipsis if even the first doesn't. */
15
+ export declare function clampNotes(notes: string, max: number): string;
@@ -0,0 +1,30 @@
1
+ import type { Flags } from '../../cli/command';
2
+ import type { KitConfig, Track } from '../../config/schema';
3
+ import type { Logger } from '../log';
4
+ /**
5
+ * `release.preflight` modules (PLAN §10.2): repo checks run before every mobile release, e.g. brewd's
6
+ * punchcard seed and what's-new checks. A check throws (ideally a KitError with a hint) to stop the
7
+ * release. `skipFlag` names the `--skip <name>` value that bypasses it.
8
+ */
9
+ export interface PreflightInfo {
10
+ platform: 'ios' | 'android';
11
+ track: Track;
12
+ /** The version name being released. */
13
+ version: string;
14
+ }
15
+ export interface PreflightContext {
16
+ root: string;
17
+ config: KitConfig;
18
+ flags: Flags;
19
+ log: Logger;
20
+ }
21
+ export interface Preflight {
22
+ title: string;
23
+ /** `kit release ios --skip <skipFlag>` bypasses this check. */
24
+ skipFlag?: string;
25
+ /** Platforms this applies to; default both. */
26
+ platforms?: ('ios' | 'android')[];
27
+ check(ctx: PreflightContext, info: PreflightInfo): void | Promise<void>;
28
+ }
29
+ export declare function definePreflight(p: Preflight): Preflight;
30
+ export declare function loadPreflights(root: string, config: KitConfig): Promise<Preflight[]>;