@jordond/kit 0.3.0 → 0.5.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 (230) hide show
  1. package/README.md +32 -4
  2. package/bin/kit +5 -1
  3. package/dist/{_verb-bbwxwe09.js → _verb-d8z0az83.js} +8 -8
  4. package/dist/{android-ayaz2xav.js → android-m93y4yam.js} +4 -4
  5. package/dist/{build-8e97tje7.js → build-8vcgsjwr.js} +3 -3
  6. package/dist/{builtins-v5aj477v.js → builtins-v7aeynd1.js} +1 -1
  7. package/dist/{bump-6wgv75j2.js → bump-6sw1bwp2.js} +4 -4
  8. package/dist/{certs-bwkqtq9t.js → certs-3nstba8v.js} +4 -4
  9. package/dist/{check-1yw0j30w.js → check-6p4he09p.js} +5 -5
  10. package/dist/{check-3xvfw3hy.js → check-bbcvkd59.js} +3 -3
  11. package/dist/{cli-mv14geck.js → cli-08ff849s.js} +4 -4
  12. package/dist/{cli-9xyk4pvz.js → cli-5sp3tf1s.js} +24 -4
  13. package/dist/cli-kzmewy2g.js +189 -0
  14. package/dist/{cli-s3cj42se.js → cli-q4k5hjzg.js} +4 -4
  15. package/dist/{cli-mc460njy.js → cli-tt8q6taw.js} +31 -31
  16. package/dist/{cli-fjfnfzaw.js → cli-vdxz787w.js} +4 -4
  17. package/dist/cli.js +1 -1
  18. package/dist/{cloudflare-v2t4q430.js → cloudflare-d4rm8ndz.js} +2 -2
  19. package/dist/{command-27sm2jm7.js → command-ybq4jdy8.js} +2 -2
  20. package/dist/commands/doctor.d.ts +12 -1
  21. package/dist/{completion-xdv1rv1r.js → completion-hm4rhvpk.js} +2 -2
  22. package/dist/config/load.d.ts +14 -0
  23. package/dist/{config-d2j2pm6j.js → config-3craadxe.js} +2 -2
  24. package/dist/{create-318pccb4.js → create-p7gmz7yv.js} +4 -4
  25. package/dist/creds-2qk71mdx.js +1 -1
  26. package/dist/{deploy-p24n95vj.js → deploy-4ns94w14.js} +6 -6
  27. package/dist/{deps-0dkb2taz.js → deps-e65wk9g0.js} +3 -3
  28. package/dist/{dev-6pw0j61z.js → dev-gq83jvk8.js} +6 -6
  29. package/dist/{doctor-ntbh5jex.js → doctor-rngjjwn8.js} +73 -7
  30. package/dist/{exec-cbj9ytmh.js → exec-p5xfgqgs.js} +4 -4
  31. package/dist/{fastlane-gjmhdgpc.js → fastlane-pj9c09z3.js} +2 -2
  32. package/dist/{fastlane-wqcb482p.js → fastlane-yypgpmwr.js} +5 -5
  33. package/dist/{format-7kcyjz43.js → format-0ynd2amx.js} +3 -3
  34. package/dist/{github-r27eer65.js → github-4q7gxxx5.js} +3 -3
  35. package/dist/{gradle-ng65eefy.js → gradle-526a5wt2.js} +3 -3
  36. package/dist/index.js +6 -6
  37. package/dist/{init-h2rhkgmc.js → init-c2zyegvv.js} +4 -4
  38. package/dist/{init-vjt9bx44.js → init-ndgxaqcj.js} +16 -4
  39. package/dist/{ios-c17n0k5y.js → ios-hk9xkjak.js} +4 -4
  40. package/dist/{kotlin-k00bs77x.js → kotlin-y092s32p.js} +3 -3
  41. package/dist/lib/targets.d.ts +2 -0
  42. package/dist/{lint-ff6qay12.js → lint-ex675vcp.js} +3 -3
  43. package/dist/{list-ypxnbyda.js → list-vftxgz96.js} +4 -4
  44. package/dist/load-75xm9qcy.js +21 -0
  45. package/dist/{main-1b2g5xre.js → main-g6ndff3w.js} +32 -187
  46. package/dist/{migrate-m4ym2g4c.js → migrate-5bj93aqj.js} +4 -4
  47. package/dist/{mobile-vjv11q72.js → mobile-r27grzez.js} +16 -16
  48. package/dist/{push-8rea2z27.js → push-bhnr14ms.js} +3 -3
  49. package/dist/{push-k24vyrcj.js → push-nx5n43se.js} +6 -6
  50. package/dist/{service-kz3nxkb0.js → service-dfkyxsed.js} +5 -5
  51. package/dist/{show-a5vqv3nh.js → show-qdsehk9z.js} +3 -3
  52. package/dist/{steps-705j58z1.js → steps-8bz1tscj.js} +1 -1
  53. package/dist/{sync-myjdq9y9.js → sync-ngknzh6t.js} +4 -4
  54. package/dist/{targets-jkc2bddy.js → targets-5z0abrrk.js} +5 -3
  55. package/dist/{test-s727e723.js → test-gdynbr4p.js} +3 -3
  56. package/dist/{typecheck-wph9hmmz.js → typecheck-9mfcx412.js} +3 -3
  57. package/dist/{wrangler-cxfzqjts.js → wrangler-vecn5dwg.js} +4 -4
  58. package/dist/{xcode-1x57s30f.js → xcode-33s2hs2d.js} +3 -3
  59. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom} +2 -2
  60. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.md5 +1 -0
  61. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha1 +1 -0
  62. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha256 +1 -0
  63. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha512 +1 -0
  64. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
  65. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
  66. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  67. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  68. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  69. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom} +2 -2
  70. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.md5 +1 -0
  71. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha1 +1 -0
  72. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha256 +1 -0
  73. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha512 +1 -0
  74. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
  75. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
  76. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  77. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  78. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  79. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom} +2 -2
  80. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.md5 +1 -0
  81. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha1 +1 -0
  82. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha256 +1 -0
  83. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha512 +1 -0
  84. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
  85. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
  86. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  87. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  88. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  89. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom} +2 -2
  90. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.md5 +1 -0
  91. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha1 +1 -0
  92. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha256 +1 -0
  93. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha512 +1 -0
  94. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
  95. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
  96. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  97. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  98. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  99. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.module → 0.5.0/kit-plugins-0.5.0.module} +5 -5
  100. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.md5 +1 -0
  101. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha1 +1 -0
  102. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha256 +1 -0
  103. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha512 +1 -0
  104. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.pom → 0.5.0/kit-plugins-0.5.0.pom} +1 -1
  105. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.md5 +1 -0
  106. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha1 +1 -0
  107. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha256 +1 -0
  108. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha512 +1 -0
  109. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  110. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  111. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  112. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  113. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  114. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.module → 0.5.0/kit-settings-0.5.0.module} +5 -5
  115. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.md5 +1 -0
  116. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha1 +1 -0
  117. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha256 +1 -0
  118. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha512 +1 -0
  119. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.pom → 0.5.0/kit-settings-0.5.0.pom} +1 -1
  120. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.md5 +1 -0
  121. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha1 +1 -0
  122. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha256 +1 -0
  123. package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha512 +1 -0
  124. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  125. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  126. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  127. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  128. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  129. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom} +2 -2
  130. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.md5 +1 -0
  131. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha1 +1 -0
  132. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha256 +1 -0
  133. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha512 +1 -0
  134. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
  135. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
  136. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  137. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  138. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  139. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom} +2 -2
  140. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.md5 +1 -0
  141. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha1 +1 -0
  142. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha256 +1 -0
  143. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha512 +1 -0
  144. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
  145. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
  146. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  147. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  148. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  149. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom} +2 -2
  150. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.md5 +1 -0
  151. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha1 +1 -0
  152. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha256 +1 -0
  153. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha512 +1 -0
  154. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  155. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  156. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  157. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  158. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  159. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom → 0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom} +2 -2
  160. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.md5 +1 -0
  161. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha1 +1 -0
  162. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha256 +1 -0
  163. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha512 +1 -0
  164. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  165. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  166. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  167. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  168. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  169. package/package.json +1 -1
  170. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.md5 +0 -1
  171. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.sha1 +0 -1
  172. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.sha256 +0 -1
  173. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.sha512 +0 -1
  174. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.md5 +0 -1
  175. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.sha1 +0 -1
  176. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.sha256 +0 -1
  177. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.sha512 +0 -1
  178. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.md5 +0 -1
  179. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.sha1 +0 -1
  180. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.sha256 +0 -1
  181. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.sha512 +0 -1
  182. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.md5 +0 -1
  183. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.sha1 +0 -1
  184. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.sha256 +0 -1
  185. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.sha512 +0 -1
  186. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.md5 +0 -1
  187. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.sha1 +0 -1
  188. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.sha256 +0 -1
  189. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.sha512 +0 -1
  190. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.md5 +0 -1
  191. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.sha1 +0 -1
  192. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.sha256 +0 -1
  193. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.sha512 +0 -1
  194. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.md5 +0 -1
  195. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.sha1 +0 -1
  196. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.sha256 +0 -1
  197. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.sha512 +0 -1
  198. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.md5 +0 -1
  199. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.sha1 +0 -1
  200. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.sha256 +0 -1
  201. package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.sha512 +0 -1
  202. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.md5 +0 -1
  203. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.sha1 +0 -1
  204. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.sha256 +0 -1
  205. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.sha512 +0 -1
  206. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.md5 +0 -1
  207. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.sha1 +0 -1
  208. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.sha256 +0 -1
  209. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.sha512 +0 -1
  210. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.md5 +0 -1
  211. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.sha1 +0 -1
  212. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.sha256 +0 -1
  213. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.sha512 +0 -1
  214. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.md5 +0 -1
  215. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.sha1 +0 -1
  216. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.sha256 +0 -1
  217. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.sha512 +0 -1
  218. package/dist/{cli-tafnwn5a.js → cli-5qdvgv3a.js} +4 -4
  219. package/dist/{cli-ya6cd8y5.js → cli-pz86az34.js} +0 -0
  220. package/dist/{load-75n91nk4.js → load-4s6t9309.js} +2 -2
  221. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.jar → 0.5.0/kit-plugins-0.5.0.jar} +0 -0
  222. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.jar.md5 → 0.5.0/kit-plugins-0.5.0.jar.md5} +0 -0
  223. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.jar.sha1 → 0.5.0/kit-plugins-0.5.0.jar.sha1} +0 -0
  224. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.jar.sha256 → 0.5.0/kit-plugins-0.5.0.jar.sha256} +0 -0
  225. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.3.0/kit-plugins-0.3.0.jar.sha512 → 0.5.0/kit-plugins-0.5.0.jar.sha512} +0 -0
  226. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.jar → 0.5.0/kit-settings-0.5.0.jar} +0 -0
  227. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.jar.md5 → 0.5.0/kit-settings-0.5.0.jar.md5} +0 -0
  228. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.jar.sha1 → 0.5.0/kit-settings-0.5.0.jar.sha1} +0 -0
  229. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.jar.sha256 → 0.5.0/kit-settings-0.5.0.jar.sha256} +0 -0
  230. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.3.0/kit-settings-0.3.0.jar.sha512 → 0.5.0/kit-settings-0.5.0.jar.sha512} +0 -0
package/README.md CHANGED
@@ -8,6 +8,23 @@ bun add -d @jordond/kit
8
8
  kit --help
9
9
  ```
10
10
 
11
+ Install it globally too (`bun add -g @jordond/kit`) to get `kit` on your `PATH`: the global launcher finds
12
+ the nearest `kit.config.ts` and runs that repo's own pinned copy.
13
+
14
+ ### Install dir: the root or `.kit/`
15
+
16
+ kit is a dev dependency in the root `package.json`, or in `.kit/package.json` for repos that must not have
17
+ a root `package.json`:
18
+
19
+ ```sh
20
+ mkdir -p .kit && cd .kit && bun init -y && bun add -d @jordond/kit # then: .kit/node_modules/.bin/kit
21
+ ```
22
+
23
+ `kit.config.ts` stays at the root and keeps `import { defineConfig } from '@jordond/kit'`: kit resolves that
24
+ import to itself. The launcher, `kit init`, `kit doctor`, the setup action and `mobile-distribute.yml` all
25
+ look in both places. Kotlin toolchain repos need `.kit/`: the toolchain runs `pnpm add` for its Kotlin/Wasm
26
+ test browser in a build folder with no `package.json`, and pnpm installs into the nearest one above it.
27
+
11
28
  ## Shell completion
12
29
 
13
30
  ```sh
@@ -61,11 +78,18 @@ export default defineCommand({
61
78
 
62
79
  `kit test`, `kit test client` and `kit test --json` all keep working; only the noise is gone.
63
80
 
81
+ ## Doctor
82
+
83
+ `kit doctor` checks the tools the config needs. Two checks only warn, because they are per-machine setup:
84
+ a repo with `mise.toml` warns when mise isn't installed or a pinned version differs, and a repo with
85
+ `lefthook.yml` warns when lefthook isn't installed or `lefthook install` hasn't been run in the clone.
86
+
64
87
  ## Kotlin toolchain
65
88
 
66
89
  Apps built with the [JetBrains Kotlin Toolchain](https://kotlin-toolchain.org/latest/) (formerly Amper)
67
- have a `kotlin` wrapper, `project.yaml` and one `module.yaml` per module instead of Gradle. Set
68
- `toolchain.root` in place of `gradle` (they are exclusive) and use the `kotlin` target kind:
90
+ have a `kotlin` wrapper, `project.yaml` and one `module.yaml` per module instead of Gradle. Install kit
91
+ in [`.kit/`](#install-dir-the-root-or-kit), set `toolchain.root` in place of `gradle` (they are exclusive)
92
+ and use the `kotlin` target kind:
69
93
 
70
94
  ```ts
71
95
  export default defineConfig({
@@ -85,11 +109,15 @@ export default defineConfig({
85
109
  | | Gradle | Kotlin toolchain |
86
110
  | --- | --- | --- |
87
111
  | `kit test` / `kit build` | `./gradlew test` / `build` | `./kotlin test` / `build` |
88
- | `kit lint` / `kit format` | `spotlessCheck` / `spotlessApply` | none built in; set a command (`ktlint`) |
112
+ | `kit lint` / `kit format` | `spotlessCheck` / `spotlessApply` | `ktlint` / `ktlint -F` over `**/*.kt` and `**/*.kts`, skipping `build/` |
89
113
  | `kit build <t> --release` | `<module>:bundleRelease` | `./kotlin package -m <module>` (AAB only) |
90
114
  | passthrough | `kit gradle …` | `kit kotlin …` |
91
115
  | `kit init` | `gradle.init` tasks | `toolchain.init` (default `./kotlin --version`, which downloads the toolchain) |
92
- | `kit doctor` | java, Android SDK, catalog keys | the wrapper and its pinned `kotlin_cli_version`; no java or SDK needed |
116
+ | `kit doctor` | java, Android SDK, catalog keys | the wrapper and its pinned `kotlin_cli_version`, and ktlint; no java or SDK needed |
117
+
118
+ The toolchain has no linter, so `kotlin` targets use the standalone `ktlint` binary: pin it in `mise.toml`
119
+ (`ktlint = "1.8.0"`) and style it with `.editorconfig`. `kit lint --staged --fix` passes only the staged
120
+ Kotlin files. Override with `lint:` / `format:` on the target, or `false` to turn one off.
93
121
 
94
122
  `kit release android` runs `./kotlin package -m <release.android.module>`. The toolchain takes no build
95
123
  properties, so kit writes `versionName`, `versionCode` and `signing` (a `keystore.properties` in kit's
package/bin/kit CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/bin/sh
2
2
  # kit launcher. Hands off to the repo-pinned kit with exec, so only one Bun process starts.
3
3
  # 1. KIT_DEV=<kit checkout> -> run that checkout's sources
4
- # 2. <root>/node_modules/@jordond/kit present (root = nearest dir with kit.config.ts) -> exec it
4
+ # 2. <root>/node_modules/@jordond/kit or <root>/.kit/node_modules/@jordond/kit present
5
+ # (root = nearest dir with kit.config.ts) -> exec it
5
6
  # 3. otherwise run this copy (only init, doctor, help, completion are useful outside a repo)
6
7
  # Uses only shell builtins on the hot path (no dirname/readlink forks).
7
8
 
@@ -17,6 +18,9 @@ while :; do
17
18
  if [ -f "$dir/node_modules/@jordond/kit/dist/cli.js" ]; then
18
19
  exec bun --no-env-file "$dir/node_modules/@jordond/kit/dist/cli.js" "$@"
19
20
  fi
21
+ if [ -f "$dir/.kit/node_modules/@jordond/kit/dist/cli.js" ]; then
22
+ exec bun --no-env-file "$dir/.kit/node_modules/@jordond/kit/dist/cli.js" "$@"
23
+ fi
20
24
  break
21
25
  fi
22
26
  [ -z "$dir" ] || [ "$dir" = "/" ] && break
@@ -3,20 +3,16 @@ import {
3
3
  commandStep,
4
4
  runSteps,
5
5
  summarize
6
- } from "./cli-ya6cd8y5.js";
6
+ } from "./cli-pz86az34.js";
7
7
  import"./cli-wg35kt5d.js";
8
8
  import {
9
9
  requireProject
10
- } from "./cli-mv14geck.js";
10
+ } from "./cli-08ff849s.js";
11
11
  import {
12
12
  planVerbs
13
- } from "./cli-9xyk4pvz.js";
13
+ } from "./cli-5sp3tf1s.js";
14
14
  import"./cli-78x6rdyd.js";
15
15
  import"./cli-qhs8ww91.js";
16
- import {
17
- ExitCode,
18
- KitError
19
- } from "./cli-7wvrehng.js";
20
16
  import"./cli-fqfan92n.js";
21
17
  import"./cli-fqxtcj42.js";
22
18
  import {
@@ -26,6 +22,10 @@ import {
26
22
  import {
27
23
  require_picocolors
28
24
  } from "./cli-5wasc5mr.js";
25
+ import {
26
+ ExitCode,
27
+ KitError
28
+ } from "./cli-7wvrehng.js";
29
29
  import {
30
30
  __require,
31
31
  __toESM
@@ -38,7 +38,7 @@ async function runVerb(ctx, v) {
38
38
  const { root, config } = requireProject(ctx);
39
39
  if (config.cloudflare?.accountId) {
40
40
  try {
41
- (await import("./cloudflare-v2t4q430.js")).pinCloudflareAccount(root, config);
41
+ (await import("./cloudflare-d4rm8ndz.js")).pinCloudflareAccount(root, config);
42
42
  } catch (e) {
43
43
  if (!(e instanceof KitError))
44
44
  throw e;
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-mv14geck.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-08ff849s.js";
6
5
  import"./cli-540nme4e.js";
7
6
  import"./cli-5wasc5mr.js";
7
+ import"./cli-7wvrehng.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -41,8 +41,8 @@ kit release android --track prod --rollout 0.2
41
41
  kit release android --track alpha --draft
42
42
  kit release android --track internal --dry-run`,
43
43
  async run(ctx) {
44
- const { requireProject } = await import("./command-27sm2jm7.js");
45
- const { releaseMobile } = await import("./mobile-vjv11q72.js");
44
+ const { requireProject } = await import("./command-ybq4jdy8.js");
45
+ const { releaseMobile } = await import("./mobile-r27grzez.js");
46
46
  requireProject(ctx);
47
47
  await releaseMobile(ctx, {
48
48
  platform: "android",
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-mv14geck.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-08ff849s.js";
6
5
  import"./cli-540nme4e.js";
7
6
  import"./cli-5wasc5mr.js";
7
+ import"./cli-7wvrehng.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -21,7 +21,7 @@ var build_default = defineCommand({
21
21
  kit build api admin
22
22
  kit build client --release`,
23
23
  async run(ctx) {
24
- const { runVerb } = await import("./_verb-bbwxwe09.js");
24
+ const { runVerb } = await import("./_verb-d8z0az83.js");
25
25
  const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
26
26
  if (ctx.args.release && ctx.args.apk) {
27
27
  throw new KitError("--release and --apk build different artifacts; pick one", undefined, ExitCode.usage);
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  builtins,
4
4
  groupDescriptions
5
- } from "./cli-mc460njy.js";
5
+ } from "./cli-tt8q6taw.js";
6
6
  import"./cli-re3ntm60.js";
7
7
  export {
8
8
  groupDescriptions,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-mv14geck.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-08ff849s.js";
6
5
  import"./cli-540nme4e.js";
7
6
  import"./cli-5wasc5mr.js";
7
+ import"./cli-7wvrehng.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -30,7 +30,7 @@ kit version bump minor --pr`,
30
30
  async run(ctx) {
31
31
  const { readFileSync, writeFileSync } = await import("fs");
32
32
  const { join } = await import("path");
33
- const { requireProject } = await import("./command-27sm2jm7.js");
33
+ const { requireProject } = await import("./command-ybq4jdy8.js");
34
34
  const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
35
35
  const { moduleYamlPath } = await import("./toolchain-wd7hh812.js");
36
36
  const {
@@ -45,7 +45,7 @@ kit version bump minor --pr`,
45
45
  setVersion,
46
46
  setXcconfigVersion
47
47
  } = await import("./version-mnds3q7r.js");
48
- const { checkBranch, checkClean } = await import("./mobile-vjv11q72.js");
48
+ const { checkBranch, checkClean } = await import("./mobile-r27grzez.js");
49
49
  const { push } = await import("./git-3gyyfk0x.js");
50
50
  const { ProcError, runPiped } = await import("./proc-jv4bcyyx.js");
51
51
  const { confirm } = await import("./prompt-3wwegvqc.js");
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-mv14geck.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-08ff849s.js";
6
5
  import"./cli-540nme4e.js";
7
6
  import"./cli-5wasc5mr.js";
7
+ import"./cli-7wvrehng.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -22,10 +22,10 @@ var certs_default = defineCommand({
22
22
  examples: `kit release certs
23
23
  kit release certs --add`,
24
24
  async run(ctx) {
25
- const { requireProject } = await import("./command-27sm2jm7.js");
25
+ const { requireProject } = await import("./command-ybq4jdy8.js");
26
26
  const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
27
27
  const { appleCreds, onGitHubActions } = await import("./creds-2qk71mdx.js");
28
- const { appFastlaneDir, runLane } = await import("./fastlane-gjmhdgpc.js");
28
+ const { appFastlaneDir, runLane } = await import("./fastlane-pj9c09z3.js");
29
29
  const { confirm } = await import("./prompt-3wwegvqc.js");
30
30
  const { emitJson } = await import("./log-g1ebh60s.js");
31
31
  const { root, config } = requireProject(ctx);
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-mv14geck.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-08ff849s.js";
6
5
  import"./cli-540nme4e.js";
7
6
  import"./cli-5wasc5mr.js";
7
+ import"./cli-7wvrehng.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -23,15 +23,15 @@ var check_default = defineCommand({
23
23
  kit env check --schema-only
24
24
  kit env check --json`,
25
25
  async run(ctx) {
26
- const { requireProject } = await import("./command-27sm2jm7.js");
27
- const { loadEnv } = await import("./load-75n91nk4.js");
26
+ const { requireProject } = await import("./command-ybq4jdy8.js");
27
+ const { loadEnv } = await import("./load-4s6t9309.js");
28
28
  const { outputs, checkOutputs } = await import("./render-vn40fp54.js");
29
29
  const { emitJson } = await import("./log-g1ebh60s.js");
30
30
  const { ExitCode } = await import("./errors-1fjbr7ee.js");
31
31
  const { root, config } = requireProject(ctx);
32
32
  const state = await loadEnv(root, config);
33
33
  const drift = ctx.args["schema-only"] ? [] : checkOutputs(root, outputs(config, state.schema), state.values);
34
- const { checkGithubSecrets, skippedGithub } = await import("./github-r27eer65.js");
34
+ const { checkGithubSecrets, skippedGithub } = await import("./github-4q7gxxx5.js");
35
35
  const github = ctx.args["schema-only"] ? skippedGithub("--schema-only") : await checkGithubSecrets(root, config);
36
36
  const ok = !state.issues.length && !drift.length && github.status !== "missing";
37
37
  if (ctx.flags.json) {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-mv14geck.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-08ff849s.js";
6
5
  import"./cli-540nme4e.js";
7
6
  import"./cli-5wasc5mr.js";
7
+ import"./cli-7wvrehng.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-re3ntm60.js";
@@ -20,7 +20,7 @@ var check_default = defineCommand({
20
20
  kit check api admin web
21
21
  kit check --fix`,
22
22
  async run(ctx) {
23
- const { runVerb } = await import("./_verb-bbwxwe09.js");
23
+ const { runVerb } = await import("./_verb-d8z0az83.js");
24
24
  await runVerb(ctx, {
25
25
  name: ctx.args.fix ? "check --fix" : "check",
26
26
  verbs: ctx.args.fix ? ["format", "typecheck"] : ["lint", "typecheck"],
@@ -1,11 +1,11 @@
1
1
  // @bun
2
+ import {
3
+ log
4
+ } from "./cli-540nme4e.js";
2
5
  import {
3
6
  ExitCode,
4
7
  KitError
5
8
  } from "./cli-7wvrehng.js";
6
- import {
7
- log
8
- } from "./cli-540nme4e.js";
9
9
  import {
10
10
  __require
11
11
  } from "./cli-re3ntm60.js";
@@ -27,7 +27,7 @@ function withBuiltin(base) {
27
27
  ...base,
28
28
  async builtin(path, options = {}) {
29
29
  const want = (typeof path === "string" ? path.split(" ") : path).filter(Boolean);
30
- const { builtins } = await import("./builtins-v5aj477v.js");
30
+ const { builtins } = await import("./builtins-v7aeynd1.js");
31
31
  const entry = builtins.find((b) => b.path.join(" ") === want.join(" "));
32
32
  if (!entry)
33
33
  throw new KitError(`No built-in \`kit ${want.join(" ")}\``, "Run `kit --help` to list them");
@@ -8,13 +8,13 @@ import {
8
8
  pmExec,
9
9
  runScript
10
10
  } from "./cli-qhs8ww91.js";
11
+ import {
12
+ shell
13
+ } from "./cli-fqfan92n.js";
11
14
  import {
12
15
  ExitCode,
13
16
  KitError
14
17
  } from "./cli-7wvrehng.js";
15
- import {
16
- shell
17
- } from "./cli-fqfan92n.js";
18
18
 
19
19
  // src/lib/targets.ts
20
20
  import { existsSync } from "fs";
@@ -44,6 +44,24 @@ function kotlinCommand(c, target, args) {
44
44
  const extra = c.opts.extra ?? [];
45
45
  return { title: `kotlin ${args.join(" ")}`, cmd: ["./kotlin", ...args, ...extra], cwd };
46
46
  }
47
+ var KTLINT_PATTERNS = ["**/*.kt", "**/*.kts", "!**/build/**", "!**/node_modules/**"];
48
+ function ktlintCommand(c, target, fix) {
49
+ const cwd = resolve(c.root, c.config.toolchain?.root ?? target.dir);
50
+ let files = KTLINT_PATTERNS;
51
+ if (c.opts.staged) {
52
+ files = c.opts.staged.filter((f) => /\.kts?$/.test(f)).map((f) => relative(cwd, resolve(c.root, f))).filter((f) => !f.startsWith(".."));
53
+ if (!files.length)
54
+ return [];
55
+ }
56
+ const flags = ["--relative", ...fix ? ["-F"] : []];
57
+ return [
58
+ {
59
+ title: fix ? "ktlint -F" : "ktlint",
60
+ cmd: ["ktlint", ...flags, ...files, ...c.opts.extra ?? []],
61
+ cwd
62
+ }
63
+ ];
64
+ }
47
65
  function gradleCommand(c, target, tasks) {
48
66
  const cwd = resolve(c.root, c.config.gradle?.root ?? target.dir);
49
67
  const gradlew = existsSync(join(cwd, "gradlew")) ? "./gradlew" : "gradle";
@@ -99,6 +117,8 @@ function kindDefault(c, name, t, verb) {
99
117
  }
100
118
  return [kotlinCommand(c, t, ["package", "-m", moduleName(module)])];
101
119
  }
120
+ if (verb === "lint" || verb === "format")
121
+ return ktlintCommand(c, t, verb === "format");
102
122
  const args = { test: ["test"], build: ["build"] }[verb];
103
123
  return args ? [kotlinCommand(c, t, args)] : undefined;
104
124
  }
@@ -214,4 +234,4 @@ function suggest(token, candidates) {
214
234
  return best && best[1] <= 2 ? best[0] : undefined;
215
235
  }
216
236
 
217
- export { WORKSPACE, selectTargets, isGradleTask, targetCommands, planVerbs, suggest };
237
+ export { WORKSPACE, selectTargets, isGradleTask, KTLINT_PATTERNS, targetCommands, planVerbs, suggest };
@@ -0,0 +1,189 @@
1
+ // @bun
2
+ import {
3
+ ExitCode,
4
+ KitError
5
+ } from "./cli-7wvrehng.js";
6
+ import {
7
+ __require
8
+ } from "./cli-re3ntm60.js";
9
+
10
+ // src/config/load.ts
11
+ import { existsSync } from "fs";
12
+ import { dirname, join } from "path";
13
+ import { pathToFileURL } from "url";
14
+
15
+ // src/config/schema.ts
16
+ import { z } from "zod";
17
+ var verbs = ["lint", "format", "typecheck", "test", "build", "dev", "deploy"];
18
+ var kinds = ["gradle", "kotlin", "worker", "vite", "astro", "docker", "custom"];
19
+ var tracks = ["internal", "alpha", "beta", "prod"];
20
+ var command = z.union([z.string(), z.array(z.string()), z.literal(false)]);
21
+ var verbOverrides = Object.fromEntries(verbs.map((v) => [v, command.optional()]));
22
+ var deploy = z.union([
23
+ command,
24
+ z.object({
25
+ run: command.optional(),
26
+ before: z.array(z.string()).optional()
27
+ }).strict()
28
+ ]);
29
+ var target = z.object({
30
+ kind: z.enum(kinds),
31
+ dir: z.string(),
32
+ envs: z.array(z.string()).optional(),
33
+ ...verbOverrides,
34
+ deploy: deploy.optional()
35
+ }).strict();
36
+ var workspace = z.object({
37
+ ...verbOverrides,
38
+ prepare: command.optional()
39
+ }).strict();
40
+ var configSchema = z.object({
41
+ name: z.string().min(1),
42
+ gradle: z.object({
43
+ root: z.string(),
44
+ init: z.union([z.string(), z.array(z.string())]).optional()
45
+ }).strict().optional(),
46
+ toolchain: z.object({
47
+ root: z.string(),
48
+ init: z.union([z.string(), z.array(z.string())]).optional()
49
+ }).strict().optional(),
50
+ versions: z.object({
51
+ file: z.string(),
52
+ keys: z.record(z.string(), z.string())
53
+ }).strict().optional(),
54
+ env: z.object({
55
+ schema: z.string().optional(),
56
+ outputs: z.record(z.string(), z.object({
57
+ pick: z.array(z.string()).optional(),
58
+ rename: z.record(z.string(), z.string()).optional(),
59
+ vars: z.record(z.string(), z.string()).optional()
60
+ }).strict()).optional(),
61
+ workerSecrets: z.record(z.string(), z.array(z.string())).optional(),
62
+ githubSecrets: z.array(z.string()).optional()
63
+ }).strict().optional(),
64
+ workspace: workspace.optional(),
65
+ targets: z.record(z.string(), target).default({}),
66
+ cloudflare: z.object({
67
+ accountId: z.string().optional(),
68
+ d1: z.record(z.string(), z.object({
69
+ name: z.string(),
70
+ target: z.string(),
71
+ default: z.boolean().optional()
72
+ }).strict()).optional()
73
+ }).strict().optional(),
74
+ release: z.object({
75
+ branches: z.array(z.string()).optional(),
76
+ fastlaneDir: z.string().optional(),
77
+ notes: z.object({ maxLength: z.number().int().positive().optional() }).strict().optional(),
78
+ preflight: z.array(z.string()).optional(),
79
+ ios: z.object({
80
+ bundleIds: z.array(z.string()).min(1),
81
+ project: z.string(),
82
+ scheme: z.string(),
83
+ output: z.string(),
84
+ teamId: z.string().optional(),
85
+ xcconfig: z.string().optional(),
86
+ testflightGroups: z.object({ alpha: z.string(), beta: z.string() }).partial().optional(),
87
+ sentry: z.object({ org: z.string(), project: z.string() }).strict().optional()
88
+ }).strict().optional(),
89
+ android: z.object({
90
+ packageName: z.string(),
91
+ module: z.string(),
92
+ prodRollout: z.number().gt(0).lte(1).optional(),
93
+ gates: z.array(z.object({
94
+ task: z.string(),
95
+ tracks: z.array(z.enum(tracks))
96
+ })).optional()
97
+ }).strict().optional(),
98
+ services: z.record(z.string(), z.object({ versionKey: z.string(), build: z.string().optional(), deploy: z.string() }).strict()).optional()
99
+ }).strict().optional()
100
+ }).strict().superRefine((c, ctx) => {
101
+ if (c.gradle && c.toolchain) {
102
+ ctx.addIssue({
103
+ code: "custom",
104
+ path: ["toolchain"],
105
+ message: "Set gradle or toolchain, not both: kit builds Android with one of them"
106
+ });
107
+ }
108
+ for (const [name, d] of Object.entries(c.cloudflare?.d1 ?? {})) {
109
+ if (!c.targets[d.target]) {
110
+ ctx.addIssue({
111
+ code: "custom",
112
+ path: ["cloudflare", "d1", name, "target"],
113
+ message: `Unknown target "${d.target}"`
114
+ });
115
+ }
116
+ }
117
+ const defaults = Object.entries(c.cloudflare?.d1 ?? {}).filter(([, d]) => d.default);
118
+ if (defaults.length > 1) {
119
+ ctx.addIssue({
120
+ code: "custom",
121
+ path: ["cloudflare", "d1"],
122
+ message: `Only one database can be the default (${defaults.map(([k]) => k).join(", ")})`
123
+ });
124
+ }
125
+ if (c.targets.workspace) {
126
+ ctx.addIssue({ code: "custom", path: ["targets", "workspace"], message: '"workspace" is reserved' });
127
+ }
128
+ });
129
+
130
+ // src/config/load.ts
131
+ var CONFIG_FILE = "kit.config.ts";
132
+ var KIT_DIR = ".kit";
133
+ function installDir(root, exists = existsSync) {
134
+ return exists(join(root, KIT_DIR, "package.json")) ? KIT_DIR : ".";
135
+ }
136
+ var selfRegistered = false;
137
+ function registerSelf() {
138
+ if (selfRegistered)
139
+ return;
140
+ selfRegistered = true;
141
+ Bun.plugin({
142
+ name: "kit-self",
143
+ setup(build) {
144
+ build.module("@jordond/kit", async () => ({ exports: await import("./index.js"), loader: "object" }));
145
+ }
146
+ });
147
+ }
148
+ function findRoot(from = process.cwd()) {
149
+ if (process.env.KIT_ROOT && existsSync(join(process.env.KIT_ROOT, CONFIG_FILE)))
150
+ return process.env.KIT_ROOT;
151
+ let dir = from;
152
+ while (true) {
153
+ if (existsSync(join(dir, CONFIG_FILE)))
154
+ return dir;
155
+ const parent = dirname(dir);
156
+ if (parent === dir)
157
+ return;
158
+ dir = parent;
159
+ }
160
+ }
161
+ async function loadDotEnv(root) {
162
+ const file = Bun.file(join(root, ".env"));
163
+ if (!await file.exists())
164
+ return;
165
+ for (const line of (await file.text()).split(`
166
+ `)) {
167
+ const m = line.match(/^\s*(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)\s*=\s*(.*?)\s*$/);
168
+ if (!m)
169
+ continue;
170
+ const [, key, raw] = m;
171
+ if (process.env[key] !== undefined)
172
+ continue;
173
+ process.env[key] = raw.replace(/^(['"])(.*)\1$/, "$2");
174
+ }
175
+ }
176
+ async function loadConfig(root) {
177
+ registerSelf();
178
+ const mod = await import(pathToFileURL(join(root, CONFIG_FILE)).href);
179
+ const result = configSchema.safeParse(mod.default);
180
+ if (!result.success) {
181
+ const issues = result.error.issues.map((i) => ` ${i.path.join(".") || "(root)"}: ${i.message}`).join(`
182
+ `);
183
+ throw new KitError(`Invalid ${CONFIG_FILE}:
184
+ ${issues}`, "Fix the fields above", ExitCode.config);
185
+ }
186
+ return result.data;
187
+ }
188
+
189
+ export { CONFIG_FILE, KIT_DIR, installDir, registerSelf, findRoot, loadDotEnv, loadConfig };
@@ -6,13 +6,13 @@ import {
6
6
  detectPackageManager,
7
7
  pmExec
8
8
  } from "./cli-qhs8ww91.js";
9
+ import {
10
+ addChildEnv
11
+ } from "./cli-fqfan92n.js";
9
12
  import {
10
13
  ExitCode,
11
14
  KitError
12
15
  } from "./cli-7wvrehng.js";
13
- import {
14
- addChildEnv
15
- } from "./cli-fqfan92n.js";
16
16
  import {
17
17
  __require
18
18
  } from "./cli-re3ntm60.js";
@@ -186,7 +186,7 @@ var remoteArg = {
186
186
  remote: { type: "boolean", description: "Deployed D1 (default: local)" }
187
187
  };
188
188
  async function runD1(ctx, action, opts) {
189
- const { requireProject } = await import("./command-27sm2jm7.js");
189
+ const { requireProject } = await import("./command-ybq4jdy8.js");
190
190
  const { confirm } = await import("./prompt-3wwegvqc.js");
191
191
  const { emitJson } = await import("./log-g1ebh60s.js");
192
192
  const { run, runQuiet } = await import("./proc-jv4bcyyx.js");