@jordond/kit 0.0.0-stage → 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 (288) hide show
  1. package/README.md +139 -2
  2. package/bin/kit +39 -0
  3. package/dist/_verb-28xmg3d3.js +116 -0
  4. package/dist/android-fs3sesnn.js +60 -0
  5. package/dist/build-ak20h5cd.js +42 -0
  6. package/dist/builtins-bj2yypm6.js +10 -0
  7. package/dist/bump-hsfmz2rn.js +124 -0
  8. package/dist/certs-w5v0877b.js +76 -0
  9. package/dist/check-771pracn.js +33 -0
  10. package/dist/check-jf1apke7.js +54 -0
  11. package/dist/cleanup-hrcvxmh2.js +18 -0
  12. package/dist/cli/builtins.d.ts +13 -0
  13. package/dist/cli/command.d.ts +106 -0
  14. package/dist/cli/discover.d.ts +10 -0
  15. package/dist/cli/main.d.ts +1 -0
  16. package/dist/cli/plugin.d.ts +7 -0
  17. package/dist/cli/usage.d.ts +3 -0
  18. package/dist/cli-19me2qqg.js +1056 -0
  19. package/dist/cli-1htjx51v.js +80 -0
  20. package/dist/cli-51ha0t4k.js +70 -0
  21. package/dist/cli-540nme4e.js +46 -0
  22. package/dist/cli-5d61x8vg.js +675 -0
  23. package/dist/cli-5wasc5mr.js +76 -0
  24. package/dist/cli-699g070n.js +104 -0
  25. package/dist/cli-7wvrehng.js +23 -0
  26. package/dist/cli-cc13vv98.js +2023 -0
  27. package/dist/cli-dht27t4r.js +41 -0
  28. package/dist/cli-fqfan92n.js +135 -0
  29. package/dist/cli-fqxtcj42.js +75 -0
  30. package/dist/cli-g519ev8e.js +89 -0
  31. package/dist/cli-gqy1xp9t.js +97 -0
  32. package/dist/cli-qhs8ww91.js +51 -0
  33. package/dist/cli-qq1ktr8q.js +234 -0
  34. package/dist/cli-r6g14qrk.js +195 -0
  35. package/dist/cli-re3ntm60.js +48 -0
  36. package/dist/cli-sx073w8p.js +191 -0
  37. package/dist/cli-vt6582gp.js +122 -0
  38. package/dist/cli-xax5grx1.js +108 -0
  39. package/dist/cli-xjpjdc2c.js +70 -0
  40. package/dist/cli-y3mjprpv.js +31 -0
  41. package/dist/cli-zf47bkgh.js +227 -0
  42. package/dist/cli.d.ts +1 -0
  43. package/dist/cli.js +35 -0
  44. package/dist/cloudflare-xf7e2dn3.js +43 -0
  45. package/dist/command-j1etpmj6.js +21 -0
  46. package/dist/commands/_verb.d.ts +15 -0
  47. package/dist/commands/build.d.ts +11 -0
  48. package/dist/commands/check.d.ts +8 -0
  49. package/dist/commands/completion.d.ts +15 -0
  50. package/dist/commands/config.d.ts +2 -0
  51. package/dist/commands/db/create.d.ts +7 -0
  52. package/dist/commands/db/exec.d.ts +16 -0
  53. package/dist/commands/db/list.d.ts +11 -0
  54. package/dist/commands/db/migrate.d.ts +11 -0
  55. package/dist/commands/deploy.d.ts +18 -0
  56. package/dist/commands/deps.d.ts +72 -0
  57. package/dist/commands/dev.d.ts +8 -0
  58. package/dist/commands/doctor.d.ts +63 -0
  59. package/dist/commands/env/check.d.ts +7 -0
  60. package/dist/commands/env/init.d.ts +2 -0
  61. package/dist/commands/env/push.d.ts +16 -0
  62. package/dist/commands/env/sync.d.ts +2 -0
  63. package/dist/commands/fastlane.d.ts +2 -0
  64. package/dist/commands/format.d.ts +11 -0
  65. package/dist/commands/gradle.d.ts +2 -0
  66. package/dist/commands/init.d.ts +70 -0
  67. package/dist/commands/lint.d.ts +12 -0
  68. package/dist/commands/release/android.d.ts +30 -0
  69. package/dist/commands/release/certs.d.ts +7 -0
  70. package/dist/commands/release/ios.d.ts +22 -0
  71. package/dist/commands/release/service.d.ts +6 -0
  72. package/dist/commands/test.d.ts +2 -0
  73. package/dist/commands/typecheck.d.ts +2 -0
  74. package/dist/commands/version/bump.d.ts +17 -0
  75. package/dist/commands/version/show.d.ts +2 -0
  76. package/dist/commands/wrangler.d.ts +2 -0
  77. package/dist/commands/xcode.d.ts +10 -0
  78. package/dist/completion-m051yvzk.js +38 -0
  79. package/dist/concurrent-zdz69ye5.js +96 -0
  80. package/dist/config/load.d.ts +6 -0
  81. package/dist/config/schema.d.ts +139 -0
  82. package/dist/config-c8yh5m9j.js +22 -0
  83. package/dist/create-j7ve677k.js +38 -0
  84. package/dist/creds-rhxhmpe6.js +22 -0
  85. package/dist/deploy-af2v2jhj.js +152 -0
  86. package/dist/deps-1apnsrre.js +334 -0
  87. package/dist/dev-6dv5xbv2.js +114 -0
  88. package/dist/doctor-cr3hcfvt.js +377 -0
  89. package/dist/errors-1fjbr7ee.js +10 -0
  90. package/dist/exec-wa94sqwn.js +53 -0
  91. package/dist/fastlane-2kjyfqjg.js +26 -0
  92. package/dist/fastlane-qsjmbxtj.js +38 -0
  93. package/dist/format-rehf6c8g.js +39 -0
  94. package/dist/git-3gyyfk0x.js +24 -0
  95. package/dist/gradle-wv77a2f1.js +39 -0
  96. package/dist/index-cx34x4np.js +874 -0
  97. package/dist/index-erv82p4z.js +1528 -0
  98. package/dist/index-jqfz6hfy.js +2659 -0
  99. package/dist/index-mm4ht8yh.js +9 -0
  100. package/dist/index-s3ehw02w.js +1610 -0
  101. package/dist/index.d.ts +11 -0
  102. package/dist/index.js +55 -0
  103. package/dist/init-gtkmx54a.js +76 -0
  104. package/dist/init-kck1p6gj.js +250 -0
  105. package/dist/init-n38980zv.js +78 -0
  106. package/dist/ios-f6pwcqqt.js +50 -0
  107. package/dist/lib/cleanup.d.ts +21 -0
  108. package/dist/lib/cloudflare.d.ts +97 -0
  109. package/dist/lib/concurrent.d.ts +21 -0
  110. package/dist/lib/env/init.d.ts +22 -0
  111. package/dist/lib/env/load.d.ts +12 -0
  112. package/dist/lib/env/push.d.ts +54 -0
  113. package/dist/lib/env/render.d.ts +52 -0
  114. package/dist/lib/env/schema.d.ts +49 -0
  115. package/dist/lib/errors.d.ts +14 -0
  116. package/dist/lib/fastlane.d.ts +36 -0
  117. package/dist/lib/git.d.ts +36 -0
  118. package/dist/lib/log.d.ts +17 -0
  119. package/dist/lib/pm.d.ts +8 -0
  120. package/dist/lib/proc.d.ts +73 -0
  121. package/dist/lib/prompt.d.ts +32 -0
  122. package/dist/lib/release/creds.d.ts +26 -0
  123. package/dist/lib/release/mobile.d.ts +41 -0
  124. package/dist/lib/release/notes.d.ts +15 -0
  125. package/dist/lib/release/preflight.d.ts +30 -0
  126. package/dist/lib/release/version.d.ts +25 -0
  127. package/dist/lib/secrets.d.ts +32 -0
  128. package/dist/lib/steps.d.ts +38 -0
  129. package/dist/lib/targets.d.ts +46 -0
  130. package/dist/lib/toml.d.ts +15 -0
  131. package/dist/lint-e0j22mab.js +39 -0
  132. package/dist/list-fzwqsfsk.js +34 -0
  133. package/dist/load-dxhacsn4.js +137 -0
  134. package/dist/log-g1ebh60s.js +15 -0
  135. package/dist/main-jrcgdccz.js +1965 -0
  136. package/dist/migrate-4ncx9tqj.js +38 -0
  137. package/dist/mobile-9n86ytzx.js +384 -0
  138. package/dist/notes-1zsa7qac.js +21 -0
  139. package/dist/picocolors-0dxagz5d.js +6 -0
  140. package/dist/pm-5q5vz6w3.js +14 -0
  141. package/dist/proc-jv4bcyyx.js +33 -0
  142. package/dist/prompt-3wwegvqc.js +15 -0
  143. package/dist/push-acejr9gj.js +124 -0
  144. package/dist/push-fq5syn8c.js +117 -0
  145. package/dist/render-vn40fp54.js +22 -0
  146. package/dist/service-xekpd27p.js +102 -0
  147. package/dist/show-jw5bx55h.js +50 -0
  148. package/dist/steps-9knqpszw.js +16 -0
  149. package/dist/sync-9z8n875s.js +53 -0
  150. package/dist/targets-bywmzbtj.js +22 -0
  151. package/dist/test-8jws3x98.js +26 -0
  152. package/dist/toml-3fxsdkhr.js +14 -0
  153. package/dist/typecheck-1hn3hgz9.js +24 -0
  154. package/dist/version-4tz72w42.js +26 -0
  155. package/dist/wrangler-412fadcz.js +46 -0
  156. package/dist/xcode-qzyee632.js +75 -0
  157. package/fastlane/Fastfile +413 -0
  158. package/fastlane/Gemfile +21 -0
  159. package/fastlane/Gemfile.lock +275 -0
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +13 -0
  166. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -0
  167. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  168. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  169. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +13 -0
  176. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -0
  177. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  178. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  179. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +13 -0
  186. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -0
  187. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  188. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  189. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +13 -0
  196. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -0
  197. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  198. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  199. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  200. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar +0 -0
  201. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.md5 +1 -0
  202. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.sha1 +1 -0
  203. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.sha256 +1 -0
  204. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.jar.sha512 +1 -0
  205. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module +64 -0
  206. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.md5 +1 -0
  207. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha1 +1 -0
  208. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha256 +1 -0
  209. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha512 +1 -0
  210. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom +12 -0
  211. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.md5 +1 -0
  212. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha1 +1 -0
  213. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha256 +1 -0
  214. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha512 +1 -0
  215. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +13 -0
  216. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -0
  217. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -0
  218. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -0
  219. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -0
  220. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar +0 -0
  221. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.md5 +1 -0
  222. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.sha1 +1 -0
  223. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.sha256 +1 -0
  224. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.jar.sha512 +1 -0
  225. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module +64 -0
  226. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.md5 +1 -0
  227. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha1 +1 -0
  228. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha256 +1 -0
  229. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha512 +1 -0
  230. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom +12 -0
  231. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.md5 +1 -0
  232. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha1 +1 -0
  233. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha256 +1 -0
  234. package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha512 +1 -0
  235. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +13 -0
  236. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -0
  237. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -0
  238. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -0
  239. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -0
  240. 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
  241. 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
  242. 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
  243. 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
  244. 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
  245. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +13 -0
  246. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -0
  247. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  248. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  249. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  250. 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
  251. 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
  252. 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
  253. 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
  254. 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
  255. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +13 -0
  256. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -0
  257. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  258. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  259. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  260. 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 +15 -0
  261. 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
  262. 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
  263. 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
  264. 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
  265. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +13 -0
  266. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -0
  267. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  268. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  269. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  270. 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 +15 -0
  271. 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
  272. 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
  273. 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
  274. 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
  275. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +13 -0
  276. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -0
  277. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -0
  278. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -0
  279. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -0
  280. package/package.json +58 -4
  281. package/templates/lefthook.yml +6 -0
  282. package/templates/mise.toml +6 -0
  283. package/templates/new/.env.example +20 -0
  284. package/templates/new/.github/workflows/ci.yml +45 -0
  285. package/templates/new/apps/client/fastlane/Fastfile +1 -0
  286. package/templates/new/apps/client/gradle/libs.versions.toml +25 -0
  287. package/templates/new/apps/client/settings.gradle.kts +25 -0
  288. package/templates/new/kit.config.ts +15 -0
@@ -0,0 +1,46 @@
1
+ import type { KitConfig, TargetConfig, Verb } from '../config/schema';
2
+ /**
3
+ * Targets and kinds (PLAN §6.4). A kind maps verbs to default commands; any verb on any target can
4
+ * be overridden in config with a command string, a list, or `false`. Repo-wide steps live under
5
+ * `workspace`. This module only plans; running is `steps.ts`.
6
+ */
7
+ export declare const WORKSPACE = "workspace";
8
+ export interface PlannedCommand {
9
+ title: string;
10
+ cmd: string[];
11
+ cwd: string;
12
+ env?: Record<string, string>;
13
+ }
14
+ export interface PlannedGroup {
15
+ /** Target name, or `workspace`. */
16
+ title: string;
17
+ commands: PlannedCommand[];
18
+ }
19
+ export interface PlanOptions {
20
+ /** Target names from argv; empty means all. `workspace` may be named. */
21
+ targets?: string[];
22
+ /** Appended to every command (`kit test api -- --watch`). */
23
+ extra?: string[];
24
+ /** `--env` for dev and deploy. */
25
+ env?: string;
26
+ /** Staged files (repo-relative). Workspace commands get them appended; targets without one are skipped. */
27
+ staged?: string[];
28
+ /** Gradle targets build the signed release artifact instead. */
29
+ release?: 'aab' | 'apk';
30
+ }
31
+ export interface Selection {
32
+ targets: [string, TargetConfig][];
33
+ workspace: boolean;
34
+ }
35
+ /** Validate target names against config. Unknown names are a usage error with a suggestion. */
36
+ export declare function selectTargets(config: KitConfig, names?: string[]): Selection;
37
+ /** A Gradle task name (`spotlessCheck`, `:shared:test`) rather than a shell command. */
38
+ export declare const isGradleTask: (s: string) => boolean;
39
+ /** Commands for one target and verb. `undefined` = the target doesn't support the verb. */
40
+ export declare function targetCommands(root: string, config: KitConfig, name: string, verb: Verb, opts?: PlanOptions): PlannedCommand[] | undefined;
41
+ /**
42
+ * Plan a run of `verbs` (one, or `check` = lint + typecheck) over the selected targets.
43
+ * Groups: workspace first (prepare, then each verb), then each target in config order.
44
+ */
45
+ export declare function planVerbs(root: string, config: KitConfig, verbs: Verb[], opts?: PlanOptions): PlannedGroup[];
46
+ export declare function suggest(token: string, candidates: string[]): string | undefined;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * TOML read via smol-toml, and a surgical write that edits one line in place so comments, key
3
+ * order and quoting survive (brewd's version bump did this with a regex per key; this is the
4
+ * general form). Only single-line scalar values can be written.
5
+ */
6
+ export type TomlScalar = string | number | boolean;
7
+ export declare function parseToml(text: string): Record<string, unknown>;
8
+ export declare function readToml(path: string): Record<string, unknown>;
9
+ /** `table` is a dotted table name (`versions`, `a.b`); '' is the root table. */
10
+ export declare function getTomlValue(text: string, table: string, key: string): unknown;
11
+ /**
12
+ * Set `key` in `[table]` to `value`, changing only that value's characters. A string keeps the
13
+ * existing quote style. Throws when the key isn't there or its value spans lines.
14
+ */
15
+ export declare function setTomlValue(text: string, table: string, key: string, value: TomlScalar): string;
@@ -0,0 +1,39 @@
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/lint.ts
13
+ var lint_default = defineCommand({
14
+ description: "Lint every target",
15
+ group: "Quality",
16
+ args: {
17
+ fix: { type: "boolean", short: "f", description: "Apply fixes (runs each target's format command)" },
18
+ staged: {
19
+ type: "boolean",
20
+ description: "Only targets with staged files; workspace commands get the files"
21
+ }
22
+ },
23
+ examples: `kit lint
24
+ kit lint api web
25
+ kit lint --staged --fix`,
26
+ async run(ctx) {
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
+ await runVerb(ctx, {
30
+ name: ctx.args.fix ? "lint --fix" : "lint",
31
+ verbs: ctx.args.fix ? ["format"] : ["lint"],
32
+ plan: { staged },
33
+ hint: ctx.args.fix ? undefined : "Run `kit lint --fix` to fix what the tools can"
34
+ });
35
+ }
36
+ });
37
+ export {
38
+ lint_default as default
39
+ };
@@ -0,0 +1,34 @@
1
+ // @bun
2
+ import {
3
+ dbArgs,
4
+ remoteArg
5
+ } from "./cli-zf47bkgh.js";
6
+ import"./cli-51ha0t4k.js";
7
+ import {
8
+ defineCommand
9
+ } from "./cli-gqy1xp9t.js";
10
+ import"./cli-qhs8ww91.js";
11
+ import"./cli-7wvrehng.js";
12
+ import"./cli-fqfan92n.js";
13
+ import"./cli-fqxtcj42.js";
14
+ import"./cli-540nme4e.js";
15
+ import"./cli-5wasc5mr.js";
16
+ import {
17
+ __require
18
+ } from "./cli-re3ntm60.js";
19
+
20
+ // src/commands/db/list.ts
21
+ var list_default = defineCommand({
22
+ description: "List applied and pending D1 migrations",
23
+ group: "Infra",
24
+ args: { ...dbArgs, ...remoteArg },
25
+ examples: `kit db list
26
+ kit db list --remote --db analytics`,
27
+ async run(ctx) {
28
+ const { runD1 } = await import("./cloudflare-xf7e2dn3.js");
29
+ await runD1(ctx, { kind: "list", remote: !!ctx.args.remote }, { mutates: false });
30
+ }
31
+ });
32
+ export {
33
+ list_default as default
34
+ };
@@ -0,0 +1,137 @@
1
+ // @bun
2
+ import {
3
+ redact,
4
+ registerSecret
5
+ } from "./cli-51ha0t4k.js";
6
+ import {
7
+ ExitCode,
8
+ KitError
9
+ } from "./cli-7wvrehng.js";
10
+ import"./cli-fqfan92n.js";
11
+ import"./cli-fqxtcj42.js";
12
+ import"./cli-re3ntm60.js";
13
+
14
+ // src/lib/env/schema.ts
15
+ import { existsSync } from "fs";
16
+ import { resolve } from "path";
17
+ import { pathToFileURL } from "url";
18
+ var isZodObject = (v) => typeof v === "object" && v !== null && typeof v.safeParse === "function" && typeof v.shape === "object";
19
+ function fieldMeta(field) {
20
+ const out = {};
21
+ let cur = field;
22
+ for (let depth = 0;cur && depth < 8; depth++) {
23
+ const m = cur.meta?.() ?? {};
24
+ if (out.secret === undefined && m.secret !== undefined)
25
+ out.secret = m.secret;
26
+ if (out.description === undefined)
27
+ out.description = m.description ?? cur.description;
28
+ cur = cur._zod?.def?.innerType;
29
+ }
30
+ return out;
31
+ }
32
+ function describeSchema(schema) {
33
+ if (!isZodObject(schema))
34
+ throw new KitError("env schema must export a zod object", undefined, ExitCode.config);
35
+ const keys = Object.entries(schema.shape).map(([name, field]) => {
36
+ const meta = fieldMeta(field);
37
+ return {
38
+ name,
39
+ secret: meta.secret !== false,
40
+ required: !field.safeParse(undefined).success,
41
+ ...typeof meta.description === "string" ? { description: meta.description } : {}
42
+ };
43
+ });
44
+ return {
45
+ keys,
46
+ validate(values) {
47
+ const input = {};
48
+ for (const k of keys) {
49
+ const v = values[k.name];
50
+ if (v !== undefined && v !== "")
51
+ input[k.name] = v;
52
+ if (k.secret)
53
+ registerSecret(v);
54
+ }
55
+ const result = schema.safeParse(input);
56
+ const merged = {};
57
+ for (const [k, v] of Object.entries(values))
58
+ if (typeof v === "string")
59
+ merged[k] = v;
60
+ if (!result.success) {
61
+ const issues = (result.error?.issues ?? []).map((i) => ({
62
+ key: i.path.length ? String(i.path[0]) : "(root)",
63
+ message: redact(i.message)
64
+ }));
65
+ return { values: merged, issues };
66
+ }
67
+ for (const [k, v] of Object.entries(result.data ?? {})) {
68
+ if (v !== undefined && v !== null)
69
+ merged[k] = String(v);
70
+ }
71
+ return { values: merged, issues: [] };
72
+ }
73
+ };
74
+ }
75
+ function implicitSchema(config) {
76
+ const names = [...new Set(referencedKeys(config))];
77
+ const keys = names.map((name) => ({ name, secret: true, required: false }));
78
+ return {
79
+ keys,
80
+ validate(values) {
81
+ const merged = {};
82
+ for (const [k, v] of Object.entries(values))
83
+ if (typeof v === "string")
84
+ merged[k] = v;
85
+ for (const k of names)
86
+ registerSecret(values[k]);
87
+ return { values: merged, issues: [] };
88
+ }
89
+ };
90
+ }
91
+ function referencedKeys(config) {
92
+ const env = config.env ?? {};
93
+ return [
94
+ ...Object.values(env.outputs ?? {}).flatMap((o) => [...o.pick ?? [], ...Object.values(o.rename ?? {})]),
95
+ ...Object.values(env.workerSecrets ?? {}).flat(),
96
+ ...env.githubSecrets ?? []
97
+ ];
98
+ }
99
+ async function loadEnvSchema(root, config) {
100
+ const path = config.env?.schema;
101
+ if (!path)
102
+ return implicitSchema(config);
103
+ const file = resolve(root, path);
104
+ if (!existsSync(file)) {
105
+ throw new KitError(`env.schema not found: ${path}`, "Fix env.schema in kit.config.ts", ExitCode.config);
106
+ }
107
+ const mod = await import(pathToFileURL(file).href);
108
+ const schema = mod.default ?? mod.schema;
109
+ if (!isZodObject(schema)) {
110
+ throw new KitError(`${path} must export a zod object (default export or \`schema\`)`, "export default z.object({ \u2026 })", ExitCode.config);
111
+ }
112
+ return describeSchema(schema);
113
+ }
114
+ function formatIssues(issues) {
115
+ return `Invalid .env:
116
+ ${issues.map((i) => ` ${i.key}: ${i.message}`).join(`
117
+ `)}`;
118
+ }
119
+
120
+ // src/lib/env/load.ts
121
+ async function loadEnv(root, config, raw = process.env) {
122
+ if (!config.env) {
123
+ throw new KitError("No env section in kit.config.ts", "Add env: { schema, outputs, \u2026 }", ExitCode.config);
124
+ }
125
+ const schema = await loadEnvSchema(root, config);
126
+ const { values, issues } = schema.validate(raw);
127
+ return { schema, values, issues };
128
+ }
129
+ function assertValid(state) {
130
+ if (state.issues.length) {
131
+ throw new KitError(formatIssues(state.issues), "Fix .env, or run `kit env init`", ExitCode.config);
132
+ }
133
+ }
134
+ export {
135
+ loadEnv,
136
+ assertValid
137
+ };
@@ -0,0 +1,15 @@
1
+ // @bun
2
+ import {
3
+ emitJson,
4
+ jsonEmitted,
5
+ log,
6
+ withStdoutOnStderr
7
+ } from "./cli-540nme4e.js";
8
+ import"./cli-5wasc5mr.js";
9
+ import"./cli-re3ntm60.js";
10
+ export {
11
+ withStdoutOnStderr,
12
+ log,
13
+ jsonEmitted,
14
+ emitJson
15
+ };