@jordond/kit 0.4.0 → 0.6.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 (252) hide show
  1. package/README.md +64 -3
  2. package/bin/kit +6 -2
  3. package/dist/{_verb-rhswhzxn.js → _verb-cfgwexs5.js} +8 -8
  4. package/dist/{android-d6zs9dyp.js → android-f2jqh5f4.js} +4 -4
  5. package/dist/{build-fmx52dv7.js → build-15wfykv9.js} +3 -3
  6. package/dist/{builtins-1dzch5rr.js → builtins-tgrq0nnd.js} +1 -1
  7. package/dist/{bump-w1feqf2k.js → bump-xmjn8q5s.js} +4 -4
  8. package/dist/{certs-yp73br5h.js → certs-5kcftfaz.js} +4 -4
  9. package/dist/{check-7hgf728j.js → check-h2qjvrge.js} +3 -3
  10. package/dist/{check-2kvdmdcy.js → check-s3xje6km.js} +5 -5
  11. package/dist/cli-0j3ywy6y.js +64 -0
  12. package/dist/{cli-v1tt2mzx.js → cli-1m6cy8wp.js} +4 -4
  13. package/dist/{cli-wxv8j9e1.js → cli-650g3nf7.js} +38 -32
  14. package/dist/{cli-6z4axmde.js → cli-6q43d787.js} +4 -4
  15. package/dist/cli-8mb4ayv9.js +196 -0
  16. package/dist/{cli-mdy0ze8j.js → cli-dcq8ydz0.js} +4 -4
  17. package/dist/cli.js +1 -1
  18. package/dist/{cloudflare-2t4cqqb8.js → cloudflare-3p8gj4ae.js} +2 -2
  19. package/dist/{command-1ydsfy5t.js → command-gtyznw30.js} +2 -2
  20. package/dist/commands/init.d.ts +29 -1
  21. package/dist/commands/upgrade.d.ts +9 -0
  22. package/dist/{completion-gp0a1820.js → completion-6yett99s.js} +2 -2
  23. package/dist/completion-g8bjf46s.js +36 -0
  24. package/dist/config/load.d.ts +22 -0
  25. package/dist/{config-tbdx7xmd.js → config-2db8d4tg.js} +2 -2
  26. package/dist/{create-a0wwtv51.js → create-te58argb.js} +4 -4
  27. package/dist/creds-2qk71mdx.js +1 -1
  28. package/dist/{deploy-zw91q9dz.js → deploy-k21ee2wr.js} +6 -6
  29. package/dist/{deps-mt460msd.js → deps-tq3jpjd3.js} +3 -3
  30. package/dist/{dev-hh6m90wf.js → dev-915svrxw.js} +6 -6
  31. package/dist/{doctor-dbpnyxca.js → doctor-63ntz70n.js} +7 -5
  32. package/dist/{exec-y71nap3e.js → exec-gwnn34v2.js} +4 -4
  33. package/dist/{fastlane-r8ewmtsp.js → fastlane-86zcf5ys.js} +5 -5
  34. package/dist/{fastlane-gjmhdgpc.js → fastlane-pj9c09z3.js} +2 -2
  35. package/dist/{format-7nafzp1w.js → format-z1jqgbad.js} +3 -3
  36. package/dist/{github-wd1fyk08.js → github-xakbbb7p.js} +3 -3
  37. package/dist/{gradle-rgyhk380.js → gradle-df21cm28.js} +3 -3
  38. package/dist/index.js +6 -6
  39. package/dist/init-cbba8t64.js +455 -0
  40. package/dist/{init-dnknbjrv.js → init-hdebe1s9.js} +4 -4
  41. package/dist/{ios-x4rdpb0s.js → ios-txv190np.js} +4 -4
  42. package/dist/kitref-9j43993r.js +84 -0
  43. package/dist/{kotlin-pc1dk6d8.js → kotlin-drt7z6bg.js} +3 -3
  44. package/dist/lib/completion.d.ts +33 -0
  45. package/dist/lib/kitref.d.ts +35 -0
  46. package/dist/lib/scaffold.d.ts +101 -0
  47. package/dist/{lint-2erx5vre.js → lint-90ernbhx.js} +3 -3
  48. package/dist/{list-7z9vyxrc.js → list-vaarpryk.js} +4 -4
  49. package/dist/load-x6mekf6y.js +25 -0
  50. package/dist/{main-2q4ys8qw.js → main-5c6x1pd4.js} +34 -247
  51. package/dist/{migrate-97yp0r9r.js → migrate-9zvfp57b.js} +4 -4
  52. package/dist/{mobile-vjv11q72.js → mobile-r27grzez.js} +16 -16
  53. package/dist/{push-g5ade61n.js → push-tn468c4w.js} +3 -3
  54. package/dist/{push-36vdpwex.js → push-wgbf86c0.js} +6 -6
  55. package/dist/scaffold-eqbtfksr.js +279 -0
  56. package/dist/{service-4cjx0epd.js → service-s5mnjq74.js} +5 -5
  57. package/dist/{show-y420r49k.js → show-qhn6x1vn.js} +3 -3
  58. package/dist/{steps-705j58z1.js → steps-8bz1tscj.js} +1 -1
  59. package/dist/{sync-mfzsmag6.js → sync-34029rh7.js} +4 -4
  60. package/dist/{targets-d9e5naq8.js → targets-5z0abrrk.js} +2 -2
  61. package/dist/{test-vwreks0d.js → test-rpj97zr6.js} +3 -3
  62. package/dist/{typecheck-8p2ng33a.js → typecheck-tbtp9z07.js} +3 -3
  63. package/dist/upgrade-z5s5wzzj.js +127 -0
  64. package/dist/{wrangler-rbrw8ygc.js → wrangler-zz21zhb0.js} +4 -4
  65. package/dist/{xcode-njfvzhk3.js → xcode-w8yhedhm.js} +3 -3
  66. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom} +2 -2
  67. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.md5 +1 -0
  68. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha1 +1 -0
  69. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha256 +1 -0
  70. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha512 +1 -0
  71. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
  72. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
  73. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  74. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  75. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  76. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom} +2 -2
  77. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.md5 +1 -0
  78. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha1 +1 -0
  79. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha256 +1 -0
  80. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha512 +1 -0
  81. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
  82. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
  83. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  84. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  85. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  86. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom} +2 -2
  87. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.md5 +1 -0
  88. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha1 +1 -0
  89. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha256 +1 -0
  90. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha512 +1 -0
  91. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
  92. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
  93. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  94. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  95. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  96. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom} +2 -2
  97. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.md5 +1 -0
  98. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha1 +1 -0
  99. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha256 +1 -0
  100. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha512 +1 -0
  101. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
  102. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
  103. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  104. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  105. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  106. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.module → 0.6.0/kit-plugins-0.6.0.module} +5 -5
  107. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.md5 +1 -0
  108. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha1 +1 -0
  109. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha256 +1 -0
  110. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha512 +1 -0
  111. package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.pom → 0.6.0/kit-plugins-0.6.0.pom} +1 -1
  112. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.md5 +1 -0
  113. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha1 +1 -0
  114. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha256 +1 -0
  115. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha512 +1 -0
  116. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
  117. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
  118. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
  119. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
  120. package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
  121. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.module → 0.6.0/kit-settings-0.6.0.module} +5 -5
  122. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.md5 +1 -0
  123. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha1 +1 -0
  124. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha256 +1 -0
  125. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha512 +1 -0
  126. package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.pom → 0.6.0/kit-settings-0.6.0.pom} +1 -1
  127. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.md5 +1 -0
  128. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha1 +1 -0
  129. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha256 +1 -0
  130. package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha512 +1 -0
  131. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
  132. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
  133. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
  134. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
  135. package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
  136. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom} +2 -2
  137. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.md5 +1 -0
  138. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha1 +1 -0
  139. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha256 +1 -0
  140. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha512 +1 -0
  141. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
  142. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
  143. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  144. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  145. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  146. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom} +2 -2
  147. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.md5 +1 -0
  148. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha1 +1 -0
  149. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha256 +1 -0
  150. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha512 +1 -0
  151. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
  152. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
  153. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  154. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  155. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  156. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom} +2 -2
  157. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.md5 +1 -0
  158. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha1 +1 -0
  159. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha256 +1 -0
  160. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha512 +1 -0
  161. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
  162. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
  163. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  164. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  165. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  166. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom → 0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom} +2 -2
  167. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.md5 +1 -0
  168. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha1 +1 -0
  169. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha256 +1 -0
  170. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha512 +1 -0
  171. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
  172. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
  173. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
  174. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
  175. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
  176. package/package.json +1 -1
  177. package/templates/{new → gradle}/.github/workflows/ci.yml +3 -3
  178. package/templates/lefthook.yml +1 -1
  179. package/templates/toolchain/.editorconfig +32 -0
  180. package/templates/toolchain/.env.example +20 -0
  181. package/templates/toolchain/.github/workflows/ci.yml +44 -0
  182. package/templates/toolchain/.github/workflows/distribute.yml +41 -0
  183. package/templates/toolchain/fastlane/Fastfile +1 -0
  184. package/templates/toolchain/mise.toml +6 -0
  185. package/dist/init-cb5hz9aa.js +0 -269
  186. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.md5 +0 -1
  187. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.sha1 +0 -1
  188. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.sha256 +0 -1
  189. package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.sha512 +0 -1
  190. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.md5 +0 -1
  191. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.sha1 +0 -1
  192. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.sha256 +0 -1
  193. package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.sha512 +0 -1
  194. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.md5 +0 -1
  195. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.sha1 +0 -1
  196. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.sha256 +0 -1
  197. package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.sha512 +0 -1
  198. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.md5 +0 -1
  199. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.sha1 +0 -1
  200. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.sha256 +0 -1
  201. package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.sha512 +0 -1
  202. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.md5 +0 -1
  203. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.sha1 +0 -1
  204. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.sha256 +0 -1
  205. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.sha512 +0 -1
  206. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.md5 +0 -1
  207. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.sha1 +0 -1
  208. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.sha256 +0 -1
  209. package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.sha512 +0 -1
  210. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.md5 +0 -1
  211. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.sha1 +0 -1
  212. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.sha256 +0 -1
  213. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.sha512 +0 -1
  214. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.md5 +0 -1
  215. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.sha1 +0 -1
  216. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.sha256 +0 -1
  217. package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.sha512 +0 -1
  218. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.md5 +0 -1
  219. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.sha1 +0 -1
  220. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.sha256 +0 -1
  221. package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.sha512 +0 -1
  222. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.md5 +0 -1
  223. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.sha1 +0 -1
  224. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.sha256 +0 -1
  225. package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.sha512 +0 -1
  226. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.md5 +0 -1
  227. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.sha1 +0 -1
  228. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.sha256 +0 -1
  229. package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.sha512 +0 -1
  230. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.md5 +0 -1
  231. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.sha1 +0 -1
  232. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.sha256 +0 -1
  233. package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.sha512 +0 -1
  234. package/dist/{cli-tafnwn5a.js → cli-5qdvgv3a.js} +4 -4
  235. package/dist/{cli-vkam43jd.js → cli-5sp3tf1s.js} +3 -3
  236. package/dist/{cli-ya6cd8y5.js → cli-pz86az34.js} +0 -0
  237. package/dist/{load-75n91nk4.js → load-4s6t9309.js} +2 -2
  238. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.jar → 0.6.0/kit-plugins-0.6.0.jar} +0 -0
  239. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.jar.md5 → 0.6.0/kit-plugins-0.6.0.jar.md5} +0 -0
  240. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.jar.sha1 → 0.6.0/kit-plugins-0.6.0.jar.sha1} +0 -0
  241. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.jar.sha256 → 0.6.0/kit-plugins-0.6.0.jar.sha256} +0 -0
  242. /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.4.0/kit-plugins-0.4.0.jar.sha512 → 0.6.0/kit-plugins-0.6.0.jar.sha512} +0 -0
  243. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.jar → 0.6.0/kit-settings-0.6.0.jar} +0 -0
  244. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.jar.md5 → 0.6.0/kit-settings-0.6.0.jar.md5} +0 -0
  245. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.jar.sha1 → 0.6.0/kit-settings-0.6.0.jar.sha1} +0 -0
  246. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.jar.sha256 → 0.6.0/kit-settings-0.6.0.jar.sha256} +0 -0
  247. /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.4.0/kit-settings-0.4.0.jar.sha512 → 0.6.0/kit-settings-0.6.0.jar.sha512} +0 -0
  248. /package/templates/{new → gradle}/.env.example +0 -0
  249. /package/templates/{new → gradle}/apps/client/fastlane/Fastfile +0 -0
  250. /package/templates/{new → gradle}/apps/client/gradle/libs.versions.toml +0 -0
  251. /package/templates/{new → gradle}/apps/client/settings.gradle.kts +0 -0
  252. /package/templates/{new → gradle}/kit.config.ts +0 -0
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6z4axmde.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-6q43d787.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,10 +20,10 @@ var fastlane_default = defineCommand({
20
20
  passthrough: true,
21
21
  examples: EXAMPLES,
22
22
  async run(ctx) {
23
- const { requireProject } = await import("./command-1ydsfy5t.js");
24
- const { appFastlaneDir, ensureBundle, fastlaneEnv } = await import("./fastlane-gjmhdgpc.js");
23
+ const { requireProject } = await import("./command-gtyznw30.js");
24
+ const { appFastlaneDir, ensureBundle, fastlaneEnv } = await import("./fastlane-pj9c09z3.js");
25
25
  const { optionalLaneCreds } = await import("./creds-2qk71mdx.js");
26
- const { laneConfigEnv } = await import("./mobile-vjv11q72.js");
26
+ const { laneConfigEnv } = await import("./mobile-r27grzez.js");
27
27
  const { run } = await import("./proc-jv4bcyyx.js");
28
28
  const { root, config } = requireProject(ctx);
29
29
  const appRoot = appFastlaneDir(root, config);
@@ -8,11 +8,11 @@ import {
8
8
  parseOutputs,
9
9
  resetBundle,
10
10
  runLane
11
- } from "./cli-tafnwn5a.js";
11
+ } from "./cli-5qdvgv3a.js";
12
12
  import"./cli-wg35kt5d.js";
13
- import"./cli-7wvrehng.js";
14
13
  import"./cli-fqfan92n.js";
15
14
  import"./cli-fqxtcj42.js";
15
+ import"./cli-7wvrehng.js";
16
16
  import"./cli-re3ntm60.js";
17
17
  export {
18
18
  runLane,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6z4axmde.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-6q43d787.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";
@@ -24,7 +24,7 @@ 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-rhswhzxn.js");
27
+ const { runVerb } = await import("./_verb-cfgwexs5.js");
28
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",
@@ -1,21 +1,21 @@
1
1
  // @bun
2
2
  import {
3
3
  githubDestination
4
- } from "./cli-v1tt2mzx.js";
4
+ } from "./cli-1m6cy8wp.js";
5
5
  import {
6
6
  LEGACY,
7
7
  RETIRED,
8
8
  onGitHubActions,
9
9
  releaseSecrets
10
10
  } from "./cli-vpzh9t0w.js";
11
- import"./cli-mdy0ze8j.js";
11
+ import"./cli-dcq8ydz0.js";
12
12
  import"./cli-wg35kt5d.js";
13
13
  import"./cli-qhs8ww91.js";
14
- import"./cli-7wvrehng.js";
15
14
  import {
16
15
  runPiped
17
16
  } from "./cli-fqfan92n.js";
18
17
  import"./cli-fqxtcj42.js";
18
+ import"./cli-7wvrehng.js";
19
19
  import"./cli-re3ntm60.js";
20
20
 
21
21
  // src/lib/env/github.ts
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6z4axmde.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-6q43d787.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 @@ 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-1ydsfy5t.js");
23
+ const { requireProject } = await import("./command-gtyznw30.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.js CHANGED
@@ -5,15 +5,11 @@ import {
5
5
  import {
6
6
  commandStep,
7
7
  runSteps
8
- } from "./cli-ya6cd8y5.js";
8
+ } from "./cli-pz86az34.js";
9
9
  import"./cli-wg35kt5d.js";
10
10
  import {
11
11
  defineCommand
12
- } from "./cli-6z4axmde.js";
13
- import {
14
- ExitCode,
15
- KitError
16
- } from "./cli-7wvrehng.js";
12
+ } from "./cli-6q43d787.js";
17
13
  import {
18
14
  ProcError,
19
15
  addChildEnv,
@@ -29,6 +25,10 @@ import {
29
25
  } from "./cli-fqxtcj42.js";
30
26
  import"./cli-540nme4e.js";
31
27
  import"./cli-5wasc5mr.js";
28
+ import {
29
+ ExitCode,
30
+ KitError
31
+ } from "./cli-7wvrehng.js";
32
32
  import"./cli-re3ntm60.js";
33
33
 
34
34
  // src/index.ts
@@ -0,0 +1,455 @@
1
+ // @bun
2
+ import {
3
+ package_default
4
+ } from "./cli-0j3ywy6y.js";
5
+ import {
6
+ KIT_DIR
7
+ } from "./cli-8mb4ayv9.js";
8
+ import {
9
+ defineCommand
10
+ } from "./cli-6q43d787.js";
11
+ import"./cli-540nme4e.js";
12
+ import"./cli-5wasc5mr.js";
13
+ import"./cli-7wvrehng.js";
14
+ import {
15
+ __require,
16
+ __toESM
17
+ } from "./cli-re3ntm60.js";
18
+
19
+ // src/commands/init.ts
20
+ import { existsSync, readFileSync } from "fs";
21
+ import { dirname, join } from "path";
22
+ var SCAFFOLDS = {
23
+ mise: { file: "mise.toml", alt: [".mise.toml"], template: "mise.toml" },
24
+ lefthook: { file: "lefthook.yml", alt: ["lefthook.yaml", ".lefthook.yml"], template: "lefthook.yml" }
25
+ };
26
+ function scaffoldTemplate(scaffold, toolchain) {
27
+ const { template } = SCAFFOLDS[scaffold];
28
+ return scaffold === "mise" && toolchain ? join("toolchain", template) : template;
29
+ }
30
+ function hookKit(kitDir) {
31
+ return kitDir === "." ? "kit" : `./${kitDir}/node_modules/.bin/kit`;
32
+ }
33
+ var WRANGLER_CONFIGS = ["wrangler.jsonc", "wrangler.json", "wrangler.toml"];
34
+ function planInit(s) {
35
+ const plan = [];
36
+ if (!s.exists(".env.example"))
37
+ plan.push({ kind: "skip", title: ".env", reason: "no .env.example" });
38
+ else if (s.exists(".env"))
39
+ plan.push({ kind: "skip", title: ".env", reason: "already exists" });
40
+ else
41
+ plan.push({ kind: "env-file", title: ".env from .env.example" });
42
+ if (s.exists("package.json")) {
43
+ plan.push({ kind: "cmd", title: `${s.pm} install`, cmd: [s.pm, "install"], cwd: s.root });
44
+ } else if (!s.exists(join(KIT_DIR, "package.json"))) {
45
+ plan.push({ kind: "skip", title: "install", reason: "no package.json" });
46
+ }
47
+ if (s.exists(join(KIT_DIR, "package.json"))) {
48
+ plan.push({
49
+ kind: "cmd",
50
+ title: `bun install (${KIT_DIR})`,
51
+ cmd: ["bun", "install"],
52
+ cwd: join(s.root, KIT_DIR)
53
+ });
54
+ }
55
+ for (const name of Object.keys(SCAFFOLDS)) {
56
+ const { file, alt } = SCAFFOLDS[name];
57
+ const title = file;
58
+ const present = [file, ...alt].find((f) => s.exists(f));
59
+ if (present)
60
+ plan.push({ kind: "skip", title, reason: `${present} exists` });
61
+ else if (s.accepted.includes(name))
62
+ plan.push({ kind: "scaffold", title, scaffold: name });
63
+ else
64
+ plan.push({ kind: "skip", title, reason: s.declinedReason ?? "declined" });
65
+ }
66
+ if (s.config?.env) {
67
+ plan.push({
68
+ kind: "cmd",
69
+ title: "kit env sync",
70
+ cmd: [...s.self, "env", "sync"],
71
+ cwd: s.root,
72
+ env: { KIT_ROOT: s.root }
73
+ });
74
+ }
75
+ for (const [name, t] of Object.entries(s.config?.targets ?? {})) {
76
+ if (t.kind !== "worker")
77
+ continue;
78
+ if (!WRANGLER_CONFIGS.some((f) => s.exists(join(t.dir, f))))
79
+ continue;
80
+ const cwd = join(s.root, t.dir);
81
+ plan.push({ kind: "cmd", title: `wrangler types (${name})`, cmd: s.exec(cwd, "wrangler", "types"), cwd });
82
+ }
83
+ plan.push(...planNative(s));
84
+ if (s.completion) {
85
+ const { shell, file, rc, skip } = s.completion;
86
+ const title = `${shell} completion`;
87
+ plan.push(skip ? { kind: "skip", title, reason: skip } : { kind: "completion", title, shell, file, ...rc ? { rc } : {} });
88
+ }
89
+ return plan;
90
+ }
91
+ function planNative(s) {
92
+ const plan = [];
93
+ const which = s.which ?? (() => false);
94
+ const gradle = s.config?.gradle;
95
+ const init = gradle?.init === undefined ? [] : [gradle.init].flat();
96
+ if (gradle && init.length) {
97
+ const title = `gradle ${init.join(" ")}`;
98
+ if (s.jsOnly)
99
+ plan.push({ kind: "skip", title, reason: "--js-only" });
100
+ else if (!which("java"))
101
+ plan.push({ kind: "skip", title, reason: "no java on PATH; install a JDK" });
102
+ else if (s.config?.release?.android && !s.androidSdk) {
103
+ plan.push({
104
+ kind: "skip",
105
+ title,
106
+ reason: `no Android SDK; set ANDROID_HOME, or sdk.dir in ${join(gradle.root, "local.properties")}`
107
+ });
108
+ } else {
109
+ const gradlew = s.exists(join(gradle.root, "gradlew")) ? "./gradlew" : "gradle";
110
+ const cmd = [gradlew, "--console=plain", "-q", ...init];
111
+ plan.push({ kind: "cmd", title, cmd, cwd: join(s.root, gradle.root) });
112
+ }
113
+ }
114
+ const toolchain = s.config?.toolchain;
115
+ if (toolchain) {
116
+ const runs = toolchain.init === undefined ? ["--version"] : [toolchain.init].flat();
117
+ for (const args of runs) {
118
+ const title = `kotlin ${args}`;
119
+ if (s.jsOnly)
120
+ plan.push({ kind: "skip", title, reason: "--js-only" });
121
+ else if (!s.exists(join(toolchain.root, "kotlin"))) {
122
+ plan.push({
123
+ kind: "skip",
124
+ title,
125
+ reason: `no ${join(toolchain.root, "kotlin")}; check toolchain.root`
126
+ });
127
+ } else {
128
+ const cmd = ["./kotlin", ...args.split(/\s+/).filter(Boolean)];
129
+ plan.push({ kind: "cmd", title, cmd, cwd: join(s.root, toolchain.root) });
130
+ }
131
+ }
132
+ }
133
+ const kitBundle = !!(s.config?.release?.ios || s.config?.release?.android);
134
+ const gemDir = kitBundle ? "." : [gradle?.root ?? toolchain?.root, "."].find((d) => d !== undefined && s.exists(join(d, "Gemfile")));
135
+ if (gemDir !== undefined) {
136
+ const title = kitBundle ? "bundle install (kit fastlane)" : `bundle install${gemDir === "." ? "" : ` (${gemDir})`}`;
137
+ if (s.jsOnly)
138
+ plan.push({ kind: "skip", title, reason: "--js-only" });
139
+ else if (!which("bundle"))
140
+ plan.push({ kind: "skip", title, reason: "no bundler on PATH; gem install bundler" });
141
+ else
142
+ plan.push({
143
+ kind: "cmd",
144
+ title,
145
+ cmd: ["bundle", "install"],
146
+ cwd: join(s.root, gemDir),
147
+ ...kitBundle ? { env: s.bundleEnv?.() ?? {} } : {}
148
+ });
149
+ }
150
+ if (s.platform === "darwin" && s.config?.release?.ios && !s.jsOnly && !which("xcodebuild")) {
151
+ plan.push({ kind: "skip", title: "Xcode", reason: "no xcodebuild on PATH; install Xcode for iOS builds" });
152
+ }
153
+ return plan;
154
+ }
155
+ function kitPackageRoot(from = import.meta.dir) {
156
+ let dir = from;
157
+ while (true) {
158
+ const pkg = join(dir, "package.json");
159
+ if (existsSync(pkg) && JSON.parse(readFileSync(pkg, "utf8")).name === "@jordond/kit")
160
+ return dir;
161
+ const parent = dirname(dir);
162
+ if (parent === dir)
163
+ throw new Error("kit package root not found");
164
+ dir = parent;
165
+ }
166
+ }
167
+ function hasAndroidSdk(root, config) {
168
+ if (process.env.ANDROID_HOME || process.env.ANDROID_SDK_ROOT)
169
+ return true;
170
+ const props = join(root, config?.gradle?.root ?? ".", "local.properties");
171
+ return existsSync(props) && /^\s*sdk\.dir\s*=/m.test(readFileSync(props, "utf8"));
172
+ }
173
+ function renderTemplate(text, vars) {
174
+ return text.replace(/\{\{(\w+)\}\}/g, (m, k) => vars[k] ?? m);
175
+ }
176
+ var init_default = defineCommand({
177
+ description: "Set up a fresh clone, or a new repo: .env, install, env sync, wrangler types, native deps",
178
+ group: "Setup",
179
+ args: {
180
+ "js-only": { type: "boolean", description: "Skip the Gradle, Kotlin toolchain and bundler steps" },
181
+ template: {
182
+ type: "string",
183
+ description: "New repo: write the kit files first (toolchain: an existing Kotlin toolchain project; gradle)"
184
+ },
185
+ name: { type: "string", description: "App name for --template (default: the directory name)" }
186
+ },
187
+ examples: [
188
+ "kit init",
189
+ "kit init --dry-run",
190
+ "kit init --yes # also scaffold mise.toml and lefthook.yml",
191
+ "kit init --js-only # JS workspace only: no Gradle, no bundle install",
192
+ "kit init --template toolchain # add kit to a Kotlin toolchain project (kit goes in .kit/)",
193
+ "kit init --template gradle --name MyApp"
194
+ ].join(`
195
+ `),
196
+ async run(ctx) {
197
+ const { appendFileSync, chmodSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } = await import("fs");
198
+ const { homedir, tmpdir } = await import("os");
199
+ const { basename, normalize, relative } = await import("path");
200
+ const pc = (await import("./picocolors-0dxagz5d.js").then((m)=>__toESM(m.default,1))).default;
201
+ const { CONFIG_FILE, installDir, loadConfig, loadConfigFile } = await import("./load-x6mekf6y.js");
202
+ const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
203
+ const { emitJson } = await import("./log-g1ebh60s.js");
204
+ const { detectPackageManager, pmExec } = await import("./pm-5q5vz6w3.js");
205
+ const { run, runCapture, runQuiet } = await import("./proc-jv4bcyyx.js");
206
+ const { confirm, text } = await import("./prompt-3wwegvqc.js");
207
+ const { isToolchainRepo, planScaffold, TEMPLATES } = await import("./scaffold-eqbtfksr.js");
208
+ const root = ctx.root ?? process.cwd();
209
+ const onDisk = (p) => existsSync(join(root, p));
210
+ const say = !ctx.flags.json;
211
+ const wanted = ctx.args.template;
212
+ if (wanted !== undefined && !TEMPLATES.includes(wanted)) {
213
+ throw new KitError(`Unknown template "${wanted}"`, `Use one of: ${TEMPLATES.join(", ")}`, ExitCode.usage);
214
+ }
215
+ if (wanted !== undefined && ctx.root) {
216
+ throw new KitError(`${relative(process.cwd(), ctx.root) || "."} already has a ${CONFIG_FILE}`, "Run `kit init` without --template to set this clone up", ExitCode.usage);
217
+ }
218
+ let template = wanted;
219
+ const toolchainRepo = isToolchainRepo(onDisk);
220
+ if (template === "toolchain" && !toolchainRepo) {
221
+ throw new KitError("No Kotlin toolchain project here (a `kotlin` wrapper and project.yaml)", "Create one first (https://kotlin-toolchain.org), then re-run in its root", ExitCode.config);
222
+ }
223
+ if (!ctx.root && !template) {
224
+ if (toolchainRepo) {
225
+ const ask = "Kotlin toolchain project without kit. Add kit (.kit/, CI workflows, hooks)?";
226
+ if (ctx.flags.yes || ctx.flags.dryRun)
227
+ template = "toolchain";
228
+ else if (ctx.flags.interactive) {
229
+ if (await confirm(ctx.flags, ask, { initial: true }))
230
+ template = "toolchain";
231
+ } else if (say) {
232
+ ctx.log.warn("Kotlin toolchain project without kit: re-run with `--template toolchain`");
233
+ }
234
+ } else if (say) {
235
+ ctx.log.dim(`no ${CONFIG_FILE} here: \`kit init --template gradle\` scaffolds a new repo`);
236
+ }
237
+ }
238
+ let config = ctx.config;
239
+ let scaffold = [];
240
+ if (template) {
241
+ const { tagSha, usesRef } = await import("./kitref-9j43993r.js");
242
+ let name = typeof ctx.args.name === "string" && ctx.args.name ? ctx.args.name : basename(root);
243
+ if (ctx.args.name === undefined && ctx.flags.interactive && !ctx.flags.yes && !ctx.flags.dryRun) {
244
+ name = (await text(ctx.flags, "App name", { initial: name })).trim() || name;
245
+ }
246
+ if (!/^[\w][\w .-]*$/.test(name)) {
247
+ throw new KitError(`"${name}" cannot be the app name`, "Pass --name with letters, digits, spaces, dots, dashes or underscores", ExitCode.usage);
248
+ }
249
+ const sha = await tagSha(package_default.version);
250
+ if (!sha && say) {
251
+ ctx.log.warn(`v${package_default.version} not found on GitHub: workflows pin the tag, not a commit`);
252
+ ctx.log.dim(" \u203A run `kit upgrade` once it is released to pin the SHA");
253
+ }
254
+ const dir = join(kitPackageRoot(), "templates", template);
255
+ const files = {};
256
+ for (const rel of new Bun.Glob("**/*").scanSync({ cwd: dir, onlyFiles: true, dot: true })) {
257
+ if (rel !== SCAFFOLDS.mise.template)
258
+ files[rel] = readFileSync(join(dir, rel), "utf8");
259
+ }
260
+ scaffold = planScaffold({
261
+ template,
262
+ name,
263
+ kitVersion: package_default.version,
264
+ kitRef: usesRef(package_default.version, sha),
265
+ zod: package_default.peerDependencies.zod,
266
+ files,
267
+ read: (p) => onDisk(p) ? readFileSync(join(root, p), "utf8") : undefined,
268
+ list: (d) => onDisk(d) ? [...new Bun.Glob("**/*").scanSync({ cwd: join(root, d), onlyFiles: true })].filter((f) => !/(^|\/)(build|node_modules)\//.test(f)).map((f) => join(d, f)) : []
269
+ });
270
+ const configAction = scaffold.find((a) => basename(a.path) === CONFIG_FILE);
271
+ if (ctx.flags.dryRun && configAction?.kind === "write") {
272
+ const tmp = mkdtempSync(join(tmpdir(), "kit-init-"));
273
+ try {
274
+ writeFileSync(join(tmp, CONFIG_FILE), configAction.content);
275
+ config = await loadConfigFile(join(tmp, CONFIG_FILE), configAction.path);
276
+ } finally {
277
+ rmSync(tmp, { recursive: true, force: true });
278
+ }
279
+ }
280
+ }
281
+ const planned = new Set(scaffold.filter((a) => a.kind !== "skip").map((a) => normalize(a.path)));
282
+ const exists = (p) => planned.has(normalize(p)) || onDisk(p);
283
+ const describe = (a) => a.kind === "write" ? `write ${a.path}` : a.kind === "edit" ? `edit ${a.path} ${pc.dim(a.note)}` : "";
284
+ const results = [];
285
+ if (!ctx.flags.dryRun) {
286
+ for (const a of scaffold) {
287
+ if (a.kind === "skip") {
288
+ if (say)
289
+ ctx.log.dim(`- ${a.path} ${a.reason}`);
290
+ results.push({ title: a.path, ok: true, skipped: a.reason });
291
+ continue;
292
+ }
293
+ if (say)
294
+ ctx.log.step(describe(a));
295
+ mkdirSync(join(root, a.path, ".."), { recursive: true });
296
+ writeFileSync(join(root, a.path), a.content);
297
+ results.push({ title: a.path, ok: true });
298
+ }
299
+ if (template)
300
+ config = await loadConfig(root);
301
+ }
302
+ const pm = detectPackageManager(root, root);
303
+ const missing = Object.keys(SCAFFOLDS).filter((n) => [SCAFFOLDS[n].file, ...SCAFFOLDS[n].alt].every((f) => !exists(f)));
304
+ const accepted = [];
305
+ let declinedReason;
306
+ if (ctx.flags.yes || template)
307
+ accepted.push(...missing);
308
+ else if (!ctx.flags.interactive)
309
+ declinedReason = "no terminal; re-run with --yes to add it";
310
+ else if (ctx.flags.dryRun)
311
+ declinedReason = "would ask";
312
+ else {
313
+ for (const n of missing) {
314
+ if (await confirm(ctx.flags, `Add ${SCAFFOLDS[n].file}?`, { initial: true }))
315
+ accepted.push(n);
316
+ }
317
+ }
318
+ const { completionInstalled, completionTargets, rcSnippet, shellOf } = await import("./completion-g8bjf46s.js");
319
+ let completion;
320
+ const shell = shellOf(process.env.SHELL);
321
+ if (shell && !ctx.flags.ci) {
322
+ const home = homedir();
323
+ const targets = completionTargets(shell, process.env, home, process.platform);
324
+ const tilde = (f) => f.startsWith(`${home}/`) ? `~/${relative(home, f)}` : f;
325
+ const shown = tilde(targets.rc ?? targets.script);
326
+ const current = targets.rc ? existsSync(targets.rc) ? readFileSync(targets.rc, "utf8") : undefined : existsSync(targets.script) ? "" : undefined;
327
+ let skip;
328
+ if (completionInstalled(current, !!targets.rc))
329
+ skip = `already in ${shown}`;
330
+ else if (!Bun.which("kit"))
331
+ skip = "kit is not on PATH; bun add -g @jordond/kit, then re-run";
332
+ else if (ctx.flags.dryRun && !ctx.flags.yes)
333
+ skip = "would ask";
334
+ else if (!ctx.flags.yes && !ctx.flags.interactive)
335
+ skip = "no terminal; re-run with --yes to install it";
336
+ else if (!await confirm(ctx.flags, `Install kit completion for ${shell} (${shown})?`, { initial: true }))
337
+ skip = "declined";
338
+ completion = { shell, file: targets.script, rc: targets.rc, skip };
339
+ }
340
+ const { bundleEnv } = await import("./fastlane-pj9c09z3.js");
341
+ const self = [process.execPath, "--no-env-file", process.argv[1]];
342
+ const plan = planInit({
343
+ root,
344
+ config,
345
+ exists,
346
+ pm,
347
+ accepted,
348
+ declinedReason,
349
+ self,
350
+ exec: (cwd, bin, ...args) => pmExec(detectPackageManager(cwd, root), bin, ...args),
351
+ which: (bin) => Bun.which(bin) !== null,
352
+ androidSdk: hasAndroidSdk(root, config),
353
+ platform: process.platform,
354
+ bundleEnv,
355
+ jsOnly: ctx.args["js-only"] === true,
356
+ completion
357
+ });
358
+ const where = (cwd) => relative(root, cwd) || ".";
359
+ if (ctx.flags.dryRun) {
360
+ if (ctx.flags.json) {
361
+ emitJson({
362
+ ...template ? {
363
+ template,
364
+ files: scaffold.map((a) => a.kind === "skip" ? a : { kind: a.kind, path: a.path, ...a.kind === "edit" ? { note: a.note } : {} })
365
+ } : {},
366
+ plan: plan.map((a) => a.kind === "cmd" ? { kind: a.kind, title: a.title, cmd: a.cmd, cwd: where(a.cwd) } : a)
367
+ });
368
+ return;
369
+ }
370
+ for (const a of scaffold) {
371
+ if (a.kind === "skip")
372
+ ctx.log.dim(`- ${a.path} ${a.reason}`);
373
+ else
374
+ ctx.log.step(describe(a));
375
+ }
376
+ for (const a of plan) {
377
+ if (a.kind === "skip")
378
+ ctx.log.dim(`- ${a.title} ${a.reason}`);
379
+ else if (a.kind === "cmd")
380
+ ctx.log.step(`${a.title} ${pc.dim(`${where(a.cwd)} $ ${a.cmd.join(" ")}`)}`);
381
+ else if (a.kind === "completion")
382
+ ctx.log.step(`${a.title} ${pc.dim(a.rc ?? a.file)}`);
383
+ else
384
+ ctx.log.step(a.kind === "scaffold" ? `write ${a.title}` : `create ${a.title}`);
385
+ }
386
+ return;
387
+ }
388
+ const toolchain = !!config?.toolchain || toolchainRepo;
389
+ for (const a of plan) {
390
+ if (a.kind === "skip") {
391
+ if (say)
392
+ ctx.log.dim(`- ${a.title} ${a.reason}`);
393
+ results.push({ title: a.title, ok: true, skipped: a.reason });
394
+ continue;
395
+ }
396
+ if (say)
397
+ ctx.log.step(a.title);
398
+ let ok = true;
399
+ if (a.kind === "env-file") {
400
+ const dotenv = join(root, ".env");
401
+ writeFileSync(dotenv, readFileSync(join(root, ".env.example")), { mode: 384 });
402
+ chmodSync(dotenv, 384);
403
+ if (say)
404
+ ctx.log.dim(" fill in the values, then run `kit doctor`");
405
+ } else if (a.kind === "scaffold") {
406
+ const file = join(kitPackageRoot(), "templates", scaffoldTemplate(a.scaffold, toolchain));
407
+ const vars = { bun: Bun.version, kit: hookKit(installDir(root)) };
408
+ writeFileSync(join(root, SCAFFOLDS[a.scaffold].file), renderTemplate(readFileSync(file, "utf8"), vars));
409
+ } else if (a.kind === "completion") {
410
+ const script = await runCapture([...self, "completion", a.shell], { cwd: homedir() });
411
+ ok = script.code === 0 && script.stdout.trim() !== "";
412
+ if (ok) {
413
+ mkdirSync(join(a.file, ".."), { recursive: true });
414
+ writeFileSync(a.file, script.stdout);
415
+ if (a.rc) {
416
+ const rc = existsSync(a.rc) ? readFileSync(a.rc, "utf8") : "";
417
+ const lead = rc === "" || rc.endsWith(`
418
+ `) ? "" : `
419
+ `;
420
+ appendFileSync(a.rc, `${lead}${rc === "" ? "" : `
421
+ `}${rcSnippet(a.shell, a.file)}`);
422
+ }
423
+ }
424
+ if (ok && say)
425
+ ctx.log.dim(" open a new shell to use it");
426
+ if (!ok && say)
427
+ ctx.log.error(`${a.title} failed`);
428
+ } else {
429
+ const code = ctx.flags.json ? (await runQuiet(a.cmd, { cwd: a.cwd, env: a.env })).code : await run(a.cmd, { cwd: a.cwd, env: a.env });
430
+ ok = code === 0;
431
+ if (!ok && say)
432
+ ctx.log.error(`${a.title} failed (exit ${code})`);
433
+ }
434
+ results.push({ title: a.title, ok });
435
+ }
436
+ const failed = results.filter((r) => !r.ok).map((r) => r.title);
437
+ if (ctx.flags.json)
438
+ emitJson({ ok: !failed.length, ...template ? { template } : {}, steps: results });
439
+ else if (failed.length)
440
+ ctx.log.error(`init failed: ${failed.join(", ")}`);
441
+ else
442
+ ctx.log.success("init complete");
443
+ if (failed.length)
444
+ process.exitCode = 1;
445
+ }
446
+ });
447
+ export {
448
+ scaffoldTemplate,
449
+ renderTemplate,
450
+ planInit,
451
+ kitPackageRoot,
452
+ hookKit,
453
+ init_default as default,
454
+ SCAFFOLDS
455
+ };
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6z4axmde.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-6q43d787.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";
@@ -16,8 +16,8 @@ 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-1ydsfy5t.js");
20
- const { loadEnv, assertValid } = await import("./load-75n91nk4.js");
19
+ const { requireProject } = await import("./command-gtyznw30.js");
20
+ const { loadEnv, assertValid } = await import("./load-4s6t9309.js");
21
21
  const { planInit, applyInit } = await import("./init-gtkmx54a.js");
22
22
  const { outputs, writeOutputs } = await import("./render-vn40fp54.js");
23
23
  const { password, text } = await import("./prompt-3wwegvqc.js");
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  defineCommand
4
- } from "./cli-6z4axmde.js";
5
- import"./cli-7wvrehng.js";
4
+ } from "./cli-6q43d787.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";
@@ -33,8 +33,8 @@ kit release ios --track beta --yes
33
33
  kit release ios --track prod --notes "Bug fixes"
34
34
  kit release ios --track internal --dry-run`,
35
35
  async run(ctx) {
36
- const { requireProject } = await import("./command-1ydsfy5t.js");
37
- const { releaseMobile } = await import("./mobile-vjv11q72.js");
36
+ const { requireProject } = await import("./command-gtyznw30.js");
37
+ const { releaseMobile } = await import("./mobile-r27grzez.js");
38
38
  requireProject(ctx);
39
39
  await releaseMobile(ctx, {
40
40
  platform: "ios",