@jordond/kit 0.11.2 → 0.11.3
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.
- package/README.md +1 -1
- package/dist/{_preview-5QK0NR0W.js → _preview-CgcNmV7e.js} +4 -4
- package/dist/{_scope-CdmCCeYR.js → _scope-DxnthKS5.js} +1 -1
- package/dist/_scope-dyGmy-jX.js +1 -0
- package/dist/{_verb-BBM1F9_-.js → _verb-C5j2N2hN.js} +2 -2
- package/dist/agents-migrate-CC1bIzOO.js +320 -0
- package/dist/{android-B6zmAilD.js → android-B7Rovaqc.js} +2 -2
- package/dist/{android-Dk80zMKr.js → android-DF66wN0H.js} +4 -4
- package/dist/{backup-CEzzUMPM.js → backup-BRhk4_Ed.js} +4 -4
- package/dist/{boot-DgqRbO2P.js → boot-DaK-Ajtm.js} +2 -2
- package/dist/{build-CuKwnI8u.js → build-C2rInfhe.js} +5 -5
- package/dist/{build-CzQCWFFs.js → build-CqG6V_6k.js} +2 -2
- package/dist/builtins-DZu6oe3L.js +1 -0
- package/dist/{builtins-tEavSHBn.js → builtins-SEg-1LzF.js} +79 -73
- package/dist/{bump-Rt4dISyF.js → bump-CELAlBKm.js} +2 -2
- package/dist/{certs-C2Lv0P2-.js → certs-c9VBjWFi.js} +2 -2
- package/dist/{changelog-Dy2PfRXj.js → changelog-Dadog2eM.js} +1 -1
- package/dist/{check-BoA_swgO.js → check-Cr1dqk-t.js} +2 -2
- package/dist/{check-RLnyKzVM.js → check-DamqUcct.js} +3 -3
- package/dist/{clean-5lUOKWfd.js → clean-CEvjSQRT.js} +2 -2
- package/dist/{clear-_3lMZPNx.js → clear-fn4XkW4x.js} +2 -2
- package/dist/cli.js +1 -1
- package/dist/{cloudflare-CN8ZFZDK.js → cloudflare-CfnTA8rp.js} +1 -1
- package/dist/{cloudflare-CuuK1BkB.js → cloudflare-DKY3GTuH.js} +1 -1
- package/dist/{command-CVAgTP5J.js → command-C0Ym6J-z.js} +1 -1
- package/dist/{command-zfZkljfv.js → command-Cg265F1a.js} +1 -1
- package/dist/command-DDIZ6JBG.js +1 -0
- package/dist/{command-BRCB05QZ.js → command-DZBXU16o.js} +1 -1
- package/dist/command-Y1cyLC6x.js +1 -0
- package/dist/{completion-qiapp6Op.js → completion-B4Cc9kUo.js} +1 -1
- package/dist/{config-DN1w6gy6.js → config-DmiV39_l.js} +1 -1
- package/dist/{create-DAUJ6ib4.js → create-BghpCWjb.js} +3 -3
- package/dist/{d1-local-Cl_CzRWc.js → d1-local-CCNw0wt-.js} +1 -1
- package/dist/{deploy-DBtF1Pp_.js → deploy-D_qzoHy5.js} +1 -1
- package/dist/{deploy-Bh2hoyXt.js → deploy-KwuthYiy.js} +4 -4
- package/dist/{deps-B_ooS-43.js → deps-DIQjm-h5.js} +2 -2
- package/dist/{dev-B-kG72KK.js → dev-CN7nTegD.js} +4 -4
- package/dist/{doctor-BHyHlfcP.js → doctor-DbIncJab.js} +1 -1
- package/dist/{dump-CwMhPIi1.js → dump-BxWkE786.js} +2 -2
- package/dist/{exec-DCFBghjh.js → exec-R-3t6JHb.js} +3 -3
- package/dist/{export-C7uHQfm5.js → export-BQ7vytaG.js} +3 -3
- package/dist/{fastlane-1e282Ps1.js → fastlane-CmR4h2QN.js} +2 -2
- package/dist/{format-t9m1cAu2.js → format-BsquOWn0.js} +2 -2
- package/dist/{github-WJAhKV2C.js → github-BUJVjc19.js} +1 -1
- package/dist/{gradle-CRUGeF8t.js → gradle-C_AgsOZ_.js} +2 -2
- package/dist/{guide-DMnxakvA.js → guide-CeW-ckl3.js} +2 -2
- package/dist/{hook-I81AdfXi.js → hook-BexLsV9X.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-5RrmQYCb.js → init-9T5vd0j2.js} +2 -2
- package/dist/{init-DBcRvmmX.js → init-DMaxriqw.js} +2 -2
- package/dist/{install-DN0wJ3rS.js → install-sl8UASxB.js} +2 -2
- package/dist/{ios-0EtvdzxJ.js → ios-3jZffAu1.js} +4 -4
- package/dist/{ios-CYkvavX2.js → ios-BaEvKwpr.js} +2 -2
- package/dist/{keystore-DsMqJfpn.js → keystore-CfpHkK92.js} +1 -1
- package/dist/{kotlin-Fz_oO4dJ.js → kotlin-DR3XmXYH.js} +2 -2
- package/dist/{lint-BoBKVIBM.js → lint-BPTQlAIE.js} +2 -2
- package/dist/{list-ClJC6Yx9.js → list-BNEzJ5qY.js} +3 -3
- package/dist/{list-Bv4P1Uve.js → list-f1bdsuGp.js} +2 -2
- package/dist/{load-2kQRcWbV.js → load-Bi3-ba3C.js} +2 -2
- package/dist/{logs-CDY9O2bD.js → logs-DuYnoDWo.js} +5 -5
- package/dist/{maestro-CQf-HhlJ.js → maestro-BjrkE1HW.js} +3 -3
- package/dist/{maestro-B44RTdDx.js → maestro-DN9O7GP-.js} +2 -2
- package/dist/{main-BCdZtiRP.js → main-QeSuORWC.js} +4 -4
- package/dist/migrate-BJDi6t_C.js +26 -0
- package/dist/{migrate-nWmvZP5L.js → migrate-CdijxC1q.js} +3 -3
- package/dist/{migrate-D3mv_tcD.js → migrate-CidjuD_t.js} +2 -2
- package/dist/{migrate-command-ChrUOXGN.js → migrate-command-Bs1Ll8kj.js} +1 -1
- package/dist/{module-BO7MmUwQ.js → module-CAh3OBZI.js} +3 -3
- package/dist/{open-B00rt2at.js → open-B7Xo1u5U.js} +5 -5
- package/dist/{package-BkaJGRV2.js → package-D51Zu0VS.js} +1 -1
- package/dist/{pages-Py_hrH46.js → pages-DEoh9zzz.js} +3 -3
- package/dist/{pages-command-CboGlJa8.js → pages-command-CY4chy4B.js} +1 -1
- package/dist/{promote-BO3_1VT5.js → promote-27wSsR9B.js} +2 -2
- package/dist/{pull-AlRJ02vN.js → pull-D4NGE3yR.js} +2 -2
- package/dist/{push-lapJthBH.js → push-BPAfniqy.js} +2 -2
- package/dist/{push-C1xce7Zy.js → push-NI0Jpukc.js} +1 -1
- package/dist/{push-CemAiWWk.js → push-qa_LzPQF.js} +3 -3
- package/dist/{push-run-BYSI2qsS.js → push-run-C9Xrl0s3.js} +2 -2
- package/dist/{qa-CpicsK01.js → qa-BMw0m5r4.js} +2 -2
- package/dist/{reset-CEQjriYz.js → reset-BEO3yQi0.js} +5 -5
- package/dist/{restore-ness5saH.js → restore-ChXiFUfe.js} +5 -5
- package/dist/{rollback-BKBjmuNZ.js → rollback-DGDliVKU.js} +4 -4
- package/dist/{rollout-OW5hJNXg.js → rollout-BB5vHv-G.js} +2 -2
- package/dist/{rotate-f7jll6k0.js → rotate-B2JUypkD.js} +4 -4
- package/dist/{rotate-DOTdVxuX.js → rotate-DirHS6cD.js} +1 -1
- package/dist/{run-DGOMKFzU.js → run-BnsfYV63.js} +2 -2
- package/dist/{seed-CKxdq1Dc.js → seed-CTVvkAze.js} +4 -4
- package/dist/{service-DQlUDGjp.js → service-CckgmC6_.js} +2 -2
- package/dist/{setup-CVz3tVx6.js → setup-DDfduSWe.js} +1 -1
- package/dist/{setup-B98l5Jlw.js → setup-DHlUCprE.js} +1 -1
- package/dist/{shots-COfXwFD5.js → shots-Bh-OU683.js} +2 -2
- package/dist/{show-BW6bKE9t.js → show-GtS4DLoO.js} +2 -2
- package/dist/{status-BUVBAVTg.js → status-CxO0TWmV.js} +2 -2
- package/dist/{statusbar-ClWe7nbP.js → statusbar-A_Ouru3j.js} +2 -2
- package/dist/{studio-D8TIBAD3.js → studio-BwRI0SRI.js} +2 -2
- package/dist/{studio-B-J0yWUy.js → studio-SbNinjr1.js} +2 -2
- package/dist/{sync-CBGLw9aI.js → sync-DTXnxBZ_.js} +2 -2
- package/dist/{sync-C1PzIjHY.js → sync-ffZrD0Bf.js} +2 -2
- package/dist/{target-CZP9GXyl.js → target-Bo7BaJUx.js} +4 -4
- package/dist/{test-D37DEfl2.js → test-BP4VeY_e.js} +4 -4
- package/dist/{typecheck-Bw7J-x0h.js → typecheck-o7l4qUHt.js} +2 -2
- package/dist/{uninstall-DCVU7Ele.js → uninstall-m0e0S3S4.js} +2 -2
- package/dist/{upgrade-DUQwF8kl.js → upgrade-DZBgWfU1.js} +1 -1
- package/dist/{worker-DygpU5uf.js → worker-PrvDoo4V.js} +1 -1
- package/dist/{worker-CLJHmSRb.js → worker-uwFQU1F9.js} +1 -1
- package/dist/{wrangler-_Jic0lGt.js → wrangler-0PQ5OL7t.js} +3 -3
- package/dist/{xcode-DV5gMbyc.js → xcode-BLUOaS35.js} +2 -2
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/{0.11.2/dev.jordond.kit.android.application.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.android.application.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.3/dev.jordond.kit.android.application.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.3/dev.jordond.kit.android.application.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.3/dev.jordond.kit.android.application.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.3/dev.jordond.kit.android.application.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/{0.11.2/dev.jordond.kit.android.baseline.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.android.baseline.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.3/dev.jordond.kit.android.baseline.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.3/dev.jordond.kit.android.baseline.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.3/dev.jordond.kit.android.baseline.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.3/dev.jordond.kit.android.baseline.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/{0.11.2/dev.jordond.kit.compose.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.compose.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.3/dev.jordond.kit.compose.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.3/dev.jordond.kit.compose.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.3/dev.jordond.kit.compose.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.3/dev.jordond.kit.compose.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/{0.11.2/dev.jordond.kit.jvm.app.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.jvm.app.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.3/dev.jordond.kit.jvm.app.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.3/dev.jordond.kit.jvm.app.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.3/dev.jordond.kit.jvm.app.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.3/dev.jordond.kit.jvm.app.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.module → 0.11.3/kit-plugins-0.11.3.module} +5 -5
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.module.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.module.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.module.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.module.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.pom → 0.11.3/kit-plugins-0.11.3.pom} +1 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.3/kit-plugins-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.module → 0.11.3/kit-settings-0.11.3.module} +5 -5
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.module.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.module.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.module.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.module.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.pom → 0.11.3/kit-settings-0.11.3.pom} +1 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.3/kit-settings-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/kit-settings/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/{0.11.2/dev.jordond.kit.kmp.library.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.kmp.library.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.3/dev.jordond.kit.kmp.library.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.3/dev.jordond.kit.kmp.library.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.3/dev.jordond.kit.kmp.library.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.3/dev.jordond.kit.kmp.library.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/{0.11.2/dev.jordond.kit.lint.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.lint.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.3/dev.jordond.kit.lint.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.3/dev.jordond.kit.lint.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.3/dev.jordond.kit.lint.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.3/dev.jordond.kit.lint.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/{0.11.2/dev.jordond.kit.release.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.release.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.3/dev.jordond.kit.release.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.3/dev.jordond.kit.release.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.3/dev.jordond.kit.release.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.3/dev.jordond.kit.release.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/{0.11.2/dev.jordond.kit.settings.gradle.plugin-0.11.2.pom → 0.11.3/dev.jordond.kit.settings.gradle.plugin-0.11.3.pom} +2 -2
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.3/dev.jordond.kit.settings.gradle.plugin-0.11.3.pom.md5 +1 -0
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.3/dev.jordond.kit.settings.gradle.plugin-0.11.3.pom.sha1 +1 -0
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.3/dev.jordond.kit.settings.gradle.plugin-0.11.3.pom.sha256 +1 -0
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.3/dev.jordond.kit.settings.gradle.plugin-0.11.3.pom.sha512 +1 -0
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/package.json +1 -1
- package/dist/_scope-UVUHI4iD.js +0 -1
- package/dist/builtins-BoQFbe_o.js +0 -1
- package/dist/command-BeXpLTVZ.js +0 -1
- package/dist/command-t7P1UhsG.js +0 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.2/dev.jordond.kit.android.application.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.2/dev.jordond.kit.android.application.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.2/dev.jordond.kit.android.application.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/android/application/dev.jordond.kit.android.application.gradle.plugin/0.11.2/dev.jordond.kit.android.application.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.2/dev.jordond.kit.android.baseline.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.2/dev.jordond.kit.android.baseline.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.2/dev.jordond.kit.android.baseline.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/android/baseline/dev.jordond.kit.android.baseline.gradle.plugin/0.11.2/dev.jordond.kit.android.baseline.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.2/dev.jordond.kit.compose.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.2/dev.jordond.kit.compose.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.2/dev.jordond.kit.compose.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/compose/dev.jordond.kit.compose.gradle.plugin/0.11.2/dev.jordond.kit.compose.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.2/dev.jordond.kit.jvm.app.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.2/dev.jordond.kit.jvm.app.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.2/dev.jordond.kit.jvm.app.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/jvm/app/dev.jordond.kit.jvm.app.gradle.plugin/0.11.2/dev.jordond.kit.jvm.app.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.module.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.module.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.module.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.module.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-plugins/0.11.2/kit-plugins-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.module.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.module.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.module.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.module.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/kit-settings/0.11.2/kit-settings-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.2/dev.jordond.kit.kmp.library.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.2/dev.jordond.kit.kmp.library.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.2/dev.jordond.kit.kmp.library.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/kmp/library/dev.jordond.kit.kmp.library.gradle.plugin/0.11.2/dev.jordond.kit.kmp.library.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.2/dev.jordond.kit.lint.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.2/dev.jordond.kit.lint.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.2/dev.jordond.kit.lint.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/lint/dev.jordond.kit.lint.gradle.plugin/0.11.2/dev.jordond.kit.lint.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.2/dev.jordond.kit.release.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.2/dev.jordond.kit.release.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.2/dev.jordond.kit.release.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/release/dev.jordond.kit.release.gradle.plugin/0.11.2/dev.jordond.kit.release.gradle.plugin-0.11.2.pom.sha512 +0 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.2/dev.jordond.kit.settings.gradle.plugin-0.11.2.pom.md5 +0 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.2/dev.jordond.kit.settings.gradle.plugin-0.11.2.pom.sha1 +0 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.2/dev.jordond.kit.settings.gradle.plugin-0.11.2.pom.sha256 +0 -1
- package/gradle/maven/dev/jordond/kit/settings/dev.jordond.kit.settings.gradle.plugin/0.11.2/dev.jordond.kit.settings.gradle.plugin-0.11.2.pom.sha512 +0 -1
- /package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.jar → 0.11.3/kit-plugins-0.11.3.jar} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.jar.md5 → 0.11.3/kit-plugins-0.11.3.jar.md5} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.jar.sha1 → 0.11.3/kit-plugins-0.11.3.jar.sha1} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.jar.sha256 → 0.11.3/kit-plugins-0.11.3.jar.sha256} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-plugins/{0.11.2/kit-plugins-0.11.2.jar.sha512 → 0.11.3/kit-plugins-0.11.3.jar.sha512} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.jar → 0.11.3/kit-settings-0.11.3.jar} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.jar.md5 → 0.11.3/kit-settings-0.11.3.jar.md5} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.jar.sha1 → 0.11.3/kit-settings-0.11.3.jar.sha1} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.jar.sha256 → 0.11.3/kit-settings-0.11.3.jar.sha256} +0 -0
- /package/gradle/maven/dev/jordond/kit/kit-settings/{0.11.2/kit-settings-0.11.2.jar.sha512 → 0.11.3/kit-settings-0.11.3.jar.sha512} +0 -0
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ A repo adds its own commands, or wraps a built-in, with a file in `.kit/commands
|
|
|
113
113
|
| [Env](docs/env.md) | The `.env` schema, `kit env push` and `kit env rotate` |
|
|
114
114
|
| [Cloudflare Workers](docs/cloudflare.md) | Preview deploys, rollback, logs, D1 |
|
|
115
115
|
| [Kotlin toolchain](docs/kotlin-toolchain.md) | Apps built with the JetBrains Kotlin Toolchain instead of Gradle |
|
|
116
|
-
| [Coding agents](docs/agents.md) | The `AGENTS.md` guide, `kit agents sync`, the Claude Code hook
|
|
116
|
+
| [Coding agents](docs/agents.md) | The `AGENTS.md` guide, `kit agents sync`, the Claude Code hook, `kit agents migrate` |
|
|
117
117
|
| [Repo commands](docs/commands.md) | Adding commands and wrapping built-ins |
|
|
118
118
|
| [Doctor](docs/doctor.md) | What `kit doctor` checks and what `--fix` repairs |
|
|
119
119
|
| [Changelog](docs/changelog.md) | `kit changelog` from Conventional Commits |
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as requireProject } from "./command-
|
|
2
|
-
import { v as wrangler } from "./cloudflare-
|
|
1
|
+
import { i as requireProject } from "./command-C0Ym6J-z.js";
|
|
2
|
+
import { v as wrangler } from "./cloudflare-DKY3GTuH.js";
|
|
3
3
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
4
4
|
import { n as currentBranch } from "./git-DS1oA148.js";
|
|
5
5
|
import { t as emitJson } from "./log-jfLnWjfH.js";
|
|
6
6
|
import { d as runPiped, l as runLines, p as runToStderr } from "./proc-WkAakwUC.js";
|
|
7
7
|
import { d as targetCommands } from "./targets-d48E7xKt.js";
|
|
8
|
-
import { S as workerName, _ as requireWorker, d as parseVersionUpload, g as readWranglerConfig, m as previewComment, p as previewAlias, u as parsePr, x as versionsUploadArgs } from "./worker-
|
|
9
|
-
import { n as checkEnv, t as beforeCommands } from "./deploy-
|
|
8
|
+
import { S as workerName, _ as requireWorker, d as parseVersionUpload, g as readWranglerConfig, m as previewComment, p as previewAlias, u as parsePr, x as versionsUploadArgs } from "./worker-PrvDoo4V.js";
|
|
9
|
+
import { n as checkEnv, t as beforeCommands } from "./deploy-KwuthYiy.js";
|
|
10
10
|
import { relative, resolve } from "node:path";
|
|
11
11
|
// src/commands/_preview.ts
|
|
12
12
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as resolveScope } from "./_scope-DxnthKS5.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as requireProject } from "./command-
|
|
1
|
+
import { i as requireProject } from "./command-C0Ym6J-z.js";
|
|
2
2
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
3
3
|
import { r as log, t as emitJson } from "./log-jfLnWjfH.js";
|
|
4
4
|
import { a as summarize, n as printTimings, r as runSteps, t as commandStep } from "./steps-D7yIe5Ik.js";
|
|
@@ -45,7 +45,7 @@ async function resolveAffected(ctx, root, config, verbs, names) {
|
|
|
45
45
|
async function runVerb(ctx, v) {
|
|
46
46
|
const { root, config } = requireProject(ctx);
|
|
47
47
|
if (config.cloudflare?.accountId) try {
|
|
48
|
-
(await import("./cloudflare-
|
|
48
|
+
(await import("./cloudflare-CfnTA8rp.js")).pinCloudflareAccount(root, config);
|
|
49
49
|
} catch (e) {
|
|
50
50
|
if (!(e instanceof KitError)) throw e;
|
|
51
51
|
log.warn(`${e.message}; CLOUDFLARE_ACCOUNT_ID not pinned`);
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { a as installDir, r as configFile } from "./load-D7iQjL2l.js";
|
|
2
|
+
import { basename, dirname, join } from "node:path";
|
|
3
|
+
import { closeSync, existsSync, lstatSync, openSync, readFileSync, readSync, readdirSync } from "node:fs";
|
|
4
|
+
// src/lib/agents-migrate.ts
|
|
5
|
+
/** The repo to scan when there is no kit config: the git root above `from`, else `from`. */
|
|
6
|
+
function migrateRoot(from) {
|
|
7
|
+
let dir = from;
|
|
8
|
+
while (true) {
|
|
9
|
+
if (existsSync(join(dir, ".git"))) return dir;
|
|
10
|
+
const parent = dirname(dir);
|
|
11
|
+
if (parent === dir) return from;
|
|
12
|
+
dir = parent;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
const SKIP_DIRS = /* @__PURE__ */ new Set([
|
|
16
|
+
"node_modules",
|
|
17
|
+
"build",
|
|
18
|
+
"dist",
|
|
19
|
+
".git",
|
|
20
|
+
".gradle",
|
|
21
|
+
".kotlin",
|
|
22
|
+
".idea",
|
|
23
|
+
"Pods",
|
|
24
|
+
".kit"
|
|
25
|
+
]);
|
|
26
|
+
/** Files under `root` up to `depth` levels down, repo-relative. Skips build output, deps and symlinks. */
|
|
27
|
+
function walk(root, depth, dir = "") {
|
|
28
|
+
let entries;
|
|
29
|
+
try {
|
|
30
|
+
entries = readdirSync(join(root, dir));
|
|
31
|
+
} catch {
|
|
32
|
+
return [];
|
|
33
|
+
}
|
|
34
|
+
const out = [];
|
|
35
|
+
for (const name of entries.sort()) {
|
|
36
|
+
const rel = dir ? `${dir}/${name}` : name;
|
|
37
|
+
let stat;
|
|
38
|
+
try {
|
|
39
|
+
stat = lstatSync(join(root, rel));
|
|
40
|
+
} catch {
|
|
41
|
+
continue;
|
|
42
|
+
}
|
|
43
|
+
if (stat.isSymbolicLink()) continue;
|
|
44
|
+
if (stat.isFile()) out.push(rel);
|
|
45
|
+
else if (stat.isDirectory() && depth > 0 && !SKIP_DIRS.has(name)) out.push(...walk(root, depth - 1, rel));
|
|
46
|
+
}
|
|
47
|
+
return out;
|
|
48
|
+
}
|
|
49
|
+
const FILE_RULES = [
|
|
50
|
+
[/(^|\/)gradlew$/, "Gradle wrapper"],
|
|
51
|
+
[/(^|\/)kotlin$/, "Kotlin toolchain wrapper"],
|
|
52
|
+
[/(^|\/)project\.yaml$/, "Kotlin toolchain project"],
|
|
53
|
+
[/(^|\/)(Makefile|justfile|Justfile|Taskfile\.ya?ml)$/, "task runner"],
|
|
54
|
+
[/^(turbo|nx)\.json$/, "monorepo task runner"],
|
|
55
|
+
[/(^|\/)wrangler\.(toml|jsonc?)$/, "Cloudflare Worker"],
|
|
56
|
+
[/(^|\/)(vite|astro)\.config\.(ts|js|mjs|mts)$/, "web app"],
|
|
57
|
+
[/(^|\/)Dockerfile$/, "Docker image"],
|
|
58
|
+
[/(^|\/)(fastlane\/Fastfile|Fastfile)$/, "fastlane lanes"],
|
|
59
|
+
[/(^|\/)\.env\.(example|sample|template)$/, "env template"],
|
|
60
|
+
[/^\.github\/workflows\/[^/]+\.ya?ml$/, "CI workflow"],
|
|
61
|
+
[/^(Jenkinsfile|\.gitlab-ci\.yml|\.circleci\/config\.yml|bitrise\.yml|azure-pipelines\.yml)$/, "CI pipeline"],
|
|
62
|
+
[/^(lefthook\.ya?ml|\.lefthook\.ya?ml|\.pre-commit-config\.yaml|\.lintstagedrc(\.\w+)?)$/, "git hooks"],
|
|
63
|
+
[/^\.husky\/[^_/][^/]*$/, "git hook (husky)"],
|
|
64
|
+
[/^(mise\.toml|\.mise\.toml|\.tool-versions)$/, "tool versions"],
|
|
65
|
+
[/(^|\/)\.maestro\/[^/]+\.ya?ml$/, "Maestro flow"]
|
|
66
|
+
];
|
|
67
|
+
const SCRIPT_DIR = /(^|\/)(scripts?|bin|tools|ci)\//;
|
|
68
|
+
const SCRIPT_EXT = /\.(sh|bash|zsh|ts|mts|js|mjs|cjs|py|rb|kts|pl)$/;
|
|
69
|
+
/** Findings listed in full; the rest are counted. */
|
|
70
|
+
const CAP = 60;
|
|
71
|
+
/** Whether a file without an extension starts with a shebang. */
|
|
72
|
+
function hasShebang(path) {
|
|
73
|
+
let fd;
|
|
74
|
+
try {
|
|
75
|
+
fd = openSync(path, "r");
|
|
76
|
+
const buf = Buffer.alloc(2);
|
|
77
|
+
return readSync(fd, buf, 0, 2, 0) === 2 && buf.toString() === "#!";
|
|
78
|
+
} catch {
|
|
79
|
+
return false;
|
|
80
|
+
} finally {
|
|
81
|
+
if (fd !== void 0) closeSync(fd);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function packageJson(path) {
|
|
85
|
+
try {
|
|
86
|
+
const json = JSON.parse(readFileSync(path, "utf8"));
|
|
87
|
+
return json && typeof json === "object" && !Array.isArray(json) ? json : void 0;
|
|
88
|
+
} catch {
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/** What a migration has to look at in the repo at `root`. */
|
|
93
|
+
function migrateFacts(root, config) {
|
|
94
|
+
const files = walk(root, 3);
|
|
95
|
+
const found = [];
|
|
96
|
+
for (const f of files) {
|
|
97
|
+
const name = basename(f);
|
|
98
|
+
if (name === "package.json") {
|
|
99
|
+
const pkg = packageJson(join(root, f));
|
|
100
|
+
const scripts = Object.keys(pkg?.scripts ?? {});
|
|
101
|
+
const hooks = [
|
|
102
|
+
"husky",
|
|
103
|
+
"lint-staged",
|
|
104
|
+
"simple-git-hooks"
|
|
105
|
+
].filter((k) => pkg?.[k] !== void 0);
|
|
106
|
+
const parts = [...scripts.length ? [`scripts: ${scripts.join(", ")}`] : [], ...hooks.length ? [`git hooks config: ${hooks.join(", ")}`] : []];
|
|
107
|
+
if (parts.length) found.push({
|
|
108
|
+
path: f,
|
|
109
|
+
what: parts.join("; ")
|
|
110
|
+
});
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
const rule = FILE_RULES.find(([re]) => re.test(f));
|
|
114
|
+
if (rule) found.push({
|
|
115
|
+
path: f,
|
|
116
|
+
what: rule[1]
|
|
117
|
+
});
|
|
118
|
+
else if (SCRIPT_DIR.test(f) && (SCRIPT_EXT.test(name) || !name.includes(".") && hasShebang(join(root, f)))) found.push({
|
|
119
|
+
path: f,
|
|
120
|
+
what: "script"
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
const dirs = (file) => new Set(files.filter((f) => basename(f) === file).map((f) => dirname(f)));
|
|
124
|
+
const wrappers = dirs("kotlin");
|
|
125
|
+
const toolchain = [...dirs("project.yaml")].some((d) => wrappers.has(d));
|
|
126
|
+
const kitDir = installDir(root) === ".kit" || toolchain && !existsSync(join(root, "package.json")) ? ".kit" : ".";
|
|
127
|
+
const pkg = packageJson(join(root, kitDir, "package.json"));
|
|
128
|
+
const deps = {
|
|
129
|
+
...pkg?.dependencies,
|
|
130
|
+
...pkg?.devDependencies
|
|
131
|
+
};
|
|
132
|
+
return {
|
|
133
|
+
configPath: configFile(root),
|
|
134
|
+
targets: config ? Object.entries(config.targets).map(([n, t]) => `${n} (${t.kind})`) : void 0,
|
|
135
|
+
kitDir,
|
|
136
|
+
installed: "@jordond/kit" in deps,
|
|
137
|
+
found: found.sort((a, b) => a.path.split("/").length - b.path.split("/").length || a.path.localeCompare(b.path)).slice(0, CAP),
|
|
138
|
+
more: Math.max(0, found.length - CAP)
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
/** The prompt for the agent doing the migration. `version` is the running kit's, for doc links and pins. */
|
|
142
|
+
function migratePrompt(facts, version) {
|
|
143
|
+
const DOCS = `https://github.com/jordond/kit/blob/v${version}/docs`;
|
|
144
|
+
const kit = facts.kitDir === ".kit" ? "./.kit/node_modules/.bin/kit" : "./node_modules/.bin/kit";
|
|
145
|
+
const configAt = facts.configPath ?? (facts.kitDir === ".kit" ? ".kit/kit.config.ts" : "kit.config.ts");
|
|
146
|
+
const install = facts.installed ? [`kit is already a dependency in \`${facts.kitDir === ".kit" ? ".kit/" : ""}package.json\`. Run the install if \`node_modules\` is missing, then \`${kit} --version\`.`] : facts.kitDir === ".kit" ? [
|
|
147
|
+
"kit goes in `.kit/`: this repo has a `.kit/package.json` already, or is a Kotlin toolchain project with no root `package.json` (the toolchain needs that; see the install docs).",
|
|
148
|
+
"",
|
|
149
|
+
"```sh",
|
|
150
|
+
`[ -f .kit/package.json ] || { mkdir -p .kit && echo '{ "private": true }' > .kit/package.json; }`,
|
|
151
|
+
"(cd .kit && bun add -d @jordond/kit)",
|
|
152
|
+
"```",
|
|
153
|
+
"",
|
|
154
|
+
`Add \`node_modules/\` to \`.gitignore\` if it is not there. The config is \`.kit/kit.config.ts\`. Then run \`${kit} --version\`.`
|
|
155
|
+
] : [`Add kit as a dev dependency at the root with the package manager the repo already uses (\`bun add -d @jordond/kit\`, \`pnpm add -D @jordond/kit\`, …). kit runs on Bun 1.3 or newer whichever manager installs it. The config is \`kit.config.ts\` at the root. Then run \`${kit} --version\`.`];
|
|
156
|
+
const state = facts.configPath ? `A kit config already exists at \`${facts.configPath}\`${facts.targets?.length ? ` with targets ${facts.targets.map((t) => `\`${t}\``).join(", ")}` : ""}. Treat the migration as started: extend that config, do not start over, and find out from \`git log\` what was already moved.` : "There is no kit config yet.";
|
|
157
|
+
const inventory = facts.found.length ? [
|
|
158
|
+
"kit found these (three directories down, build output, dependencies and symlinks skipped). Read each one; the list is where to start, not the whole inventory:",
|
|
159
|
+
"",
|
|
160
|
+
...facts.found.map((f) => `- \`${f.path}\`: ${f.what}`),
|
|
161
|
+
...facts.more ? [`- …and ${facts.more} more; list them yourself.`] : []
|
|
162
|
+
] : ["kit found no scripts, task runners or CI config in the top three directories. Look deeper before concluding there is nothing to move."];
|
|
163
|
+
return [
|
|
164
|
+
"# Migrate this repo to kit",
|
|
165
|
+
"",
|
|
166
|
+
`You are moving this repository's build, test, lint, run, deploy and release tooling onto [kit](https://github.com/jordond/kit) ${version}, a CLI that gives every target in a repo the same verbs (\`kit lint\`, \`format\`, \`typecheck\`, \`check\`, \`test\`, \`build\`, \`dev\`, \`deploy\`) and owns releases, env and secrets, devices, UI tests and screenshots. When you finish, every task a developer or CI runs here goes through \`kit\`, and nothing does the same job twice.`,
|
|
167
|
+
"",
|
|
168
|
+
state,
|
|
169
|
+
"",
|
|
170
|
+
`Run kit as \`${kit}\` once it is installed (plain \`kit\` works too when a global kit is on PATH). The docs linked below are for this release; when you cannot fetch them, \`${kit} --help\` and \`${kit} <command> --help\` are the reference.`,
|
|
171
|
+
"",
|
|
172
|
+
"## Rules",
|
|
173
|
+
"",
|
|
174
|
+
"- Behaviour stays the same. Every command that works today does the same thing after the migration, with the same flags and env, in CI too. When kit cannot do something a script does, keep it as a repo command (step 5); never drop it silently.",
|
|
175
|
+
"- Nothing changes until the user approves your plan (step 3). Before that you read, run the existing read-only commands for a baseline, and create the migration branch; nothing else.",
|
|
176
|
+
"- Work on the migration branch, never the default branch. Commit each step on its own, in the repo's commit message style (read `git log`). Stage the files you changed by name, not `git add -A`, and read `git diff --cached` before each commit. Do not push, open a pull request or rewrite history unless the user asks.",
|
|
177
|
+
"- Config is values only. `kit.config.ts` holds strings, lists and booleans; logic goes in a repo command (`.kit/commands/<name>.ts`) or a `release.preflight` module. The config is strict: an unknown key is an error, so look a field up before writing it.",
|
|
178
|
+
"- A repeatable task is a kit command, not a standalone script. Every custom script you keep becomes a repo command. A script file is fine only for a one-off, deleted once it has run.",
|
|
179
|
+
"- Prefer kit's built-ins and kind defaults over custom commands: a target whose kind already runs the right thing needs no override.",
|
|
180
|
+
"- Secrets stay secret. A token, key or password written into an old script or workflow moves to `.env` (with its name in `.env.example` and the `env` block) or to the CI secret store; it never goes into the config, a repo command or a commit. Files kit renders from `.env` (`.dev.vars`, `.env.local`) are gitignored.",
|
|
181
|
+
"- Ask before anything you cannot undo or that reaches outside the repo: deleting or renaming CI secrets, changing store listings, deploying, releasing. A migration never deploys or releases.",
|
|
182
|
+
"- When the plan turns out wrong partway (a script does more than you thought, kit lacks a feature), stop and tell the user what changed instead of improvising.",
|
|
183
|
+
"",
|
|
184
|
+
"## 0. Start clean",
|
|
185
|
+
"",
|
|
186
|
+
"- Run `git status`. If the working tree has changes (staged, unstaged, or untracked files that are not ignored), stop: tell the user and ask them to commit or stash them. Do not stash, commit or discard their work yourself.",
|
|
187
|
+
"- If the current branch is the default branch (`main`, `master`, or what `origin/HEAD` points at), create a branch for the migration: `git switch -c kit-migration`, or a name the user gives. On any other branch, ask whether to branch off it or work there. The branch is the only change you make before approval.",
|
|
188
|
+
"",
|
|
189
|
+
"## 1. Inventory",
|
|
190
|
+
"",
|
|
191
|
+
...inventory,
|
|
192
|
+
"",
|
|
193
|
+
"For each piece of tooling (package.json script, Makefile or justfile recipe, shell script, Gradle task wired into CI, fastlane lane, CI step, git hook), write down what it does, who calls it (developers, CI, git hooks, other scripts, build tools, docs) and which row of the table in step 5 it lands in. Note scripts that a build tool calls: a Gradle `Exec` task, an Xcode run-script phase, a Dockerfile `RUN`, wrangler `build.command`, npm `pre*`/`post*`/`prepare` lifecycle scripts. Keep this table; it becomes your plan and your report.",
|
|
194
|
+
"",
|
|
195
|
+
"## 2. Baseline",
|
|
196
|
+
"",
|
|
197
|
+
"Run the existing lint, typecheck, test and build commands the way CI runs them, and note which pass, which fail and the tool versions (`java -version`, `node -v`, …). Do not run anything that deploys, releases, uploads, or writes outside the repo and its build output. A command that fails now is not yours to fix; it only has to fail the same way after the migration. Afterwards run `git status`: tell the user about any file the baseline changed (a lockfile, generated code, snapshots) and never commit those changes as part of the migration.",
|
|
198
|
+
"",
|
|
199
|
+
"## 3. Show the plan and wait for approval",
|
|
200
|
+
"",
|
|
201
|
+
"Before changing anything, show the user an overview and ask for permission to go ahead:",
|
|
202
|
+
"",
|
|
203
|
+
"- The branch you are on, and that the tree was clean.",
|
|
204
|
+
"- The baseline: what passes and what already fails.",
|
|
205
|
+
`- Where kit will be installed, and the outline of \`${configAt}\`: \`name\`, \`gradle\` or \`toolchain\`, each target with its kind and dir, \`workspace\`, and which other blocks you will add.`,
|
|
206
|
+
"- The inventory table: each script or step, where it goes (kind default, config field, kit verb, repo command `kit <name>`, kept as is, or deleted) and why.",
|
|
207
|
+
"- Every file you will create, change or delete, CI workflows and git hooks included.",
|
|
208
|
+
"- What you will not migrate, and what the user will have to do themselves (CI secrets, credentials, tools to install).",
|
|
209
|
+
"- Open questions: anything you are unsure a script does, or where two homes fit.",
|
|
210
|
+
"",
|
|
211
|
+
"Then stop and wait. Proceed only on an explicit yes. If the user changes the plan, show the changed parts again. Follow the approved plan, and check back before going beyond it.",
|
|
212
|
+
"",
|
|
213
|
+
"## 4. Install kit and write the config",
|
|
214
|
+
"",
|
|
215
|
+
...install,
|
|
216
|
+
"",
|
|
217
|
+
`Write the config from the [config reference](${DOCS}/CONFIG.md). Its shape:`,
|
|
218
|
+
"",
|
|
219
|
+
"```ts",
|
|
220
|
+
"import { defineConfig } from '@jordond/kit'",
|
|
221
|
+
"",
|
|
222
|
+
"export default defineConfig({",
|
|
223
|
+
" name: 'my-app',",
|
|
224
|
+
" gradle: { root: 'apps/client' }, // or toolchain: { root: '.' }; never both",
|
|
225
|
+
" targets: {",
|
|
226
|
+
" client: { kind: 'gradle', dir: 'apps/client' },",
|
|
227
|
+
" api: { kind: 'worker', dir: 'apps/api', paths: ['packages/shared'], typecheck: 'tsc --noEmit' },",
|
|
228
|
+
" tools: { kind: 'custom', dir: 'tools', test: 'bun test' },",
|
|
229
|
+
" },",
|
|
230
|
+
" workspace: { prepare: 'bun run codegen', lint: 'biome check', format: 'biome check --write' },",
|
|
231
|
+
"})",
|
|
232
|
+
"```",
|
|
233
|
+
"",
|
|
234
|
+
"- One target per thing that is built, tested or deployed on its own. Kinds: `gradle`, `kotlin`, `worker`, `vite`, `astro`, `docker`, and `custom` for anything else. `paths` lists shared code outside `dir` so `--affected` stays right.",
|
|
235
|
+
"- A verb field is a shell command run in `dir`, a list run in order, or `false` to turn the kind default off. On a `gradle` target a task name (`spotlessCheck`, `:core:test`) runs through `./gradlew`.",
|
|
236
|
+
"- `versions`, `env`, `cloudflare`, `app`, `devices`, `maestro`, `fixtures`, `shots` and `release` only where the repo already does that job.",
|
|
237
|
+
"",
|
|
238
|
+
`Check it with \`${kit} config\` (prints the parsed config; exits 3 listing each problem) and \`${kit} doctor\`.`,
|
|
239
|
+
"",
|
|
240
|
+
"## 5. Move each script to its kit home",
|
|
241
|
+
"",
|
|
242
|
+
"| The script… | Becomes |",
|
|
243
|
+
"| --- | --- |",
|
|
244
|
+
"| is a `package.json` script a kind default runs (`build`, `dev`, `test`, `deploy` on `vite`, `astro`, `worker`) | stays where it is, with the real command: kit runs it, and a missing script skips the verb. Never make it call kit (`\"build\": \"kit build\"` loops) |",
|
|
245
|
+
"| is called by a build tool (Gradle `Exec`, Xcode run-script phase, Dockerfile, wrangler `build.command`, npm lifecycle) | stays as it is; kit never sits inside a build |",
|
|
246
|
+
"| lints, formats, typechecks, tests, builds, runs or deploys one target | nothing, when the kind's default already does it; else that verb's field on the target |",
|
|
247
|
+
"| does the same across the whole repo | the verb in `workspace` |",
|
|
248
|
+
"| generates code the other steps need | `workspace.prepare` |",
|
|
249
|
+
"| must run before a deploy (env sync, migrations) | `deploy: { before: ['env sync'] }` on the target |",
|
|
250
|
+
`| renders \`.env\` into files or pushes secrets | the \`env\` block, then \`kit env\` ([env](${DOCS}/env.md)) |`,
|
|
251
|
+
`| applies, seeds or backs up D1 | \`cloudflare.d1\`, then \`kit db\` ([cloudflare](${DOCS}/cloudflare.md)) |`,
|
|
252
|
+
`| bumps versions, builds, signs or uploads to a store (fastlane lanes) | \`versions\` and \`release\`, then \`kit version\`, \`kit release\` ([releases](${DOCS}/releases.md)) |`,
|
|
253
|
+
`| boots a simulator or emulator, installs the app, runs Maestro, takes screenshots | \`app\`, \`devices\`, \`maestro\`, \`fixtures\`, \`shots\` ([devices](${DOCS}/devices.md), [maestro](${DOCS}/maestro.md), [shots](${DOCS}/shots.md)) |`,
|
|
254
|
+
"| runs a Gradle task or `./kotlin` command kit has no verb for | nothing: `kit gradle <task>` and `kit kotlin <args>` pass through |",
|
|
255
|
+
"| changes what a built-in does (silences noise, adds a step before or after) | a repo command with `override: true` that calls `ctx.builtin(...)` |",
|
|
256
|
+
"| anything else worth running again | a repo command: `.kit/commands/<name>.ts` |",
|
|
257
|
+
"| was a one-off that already ran | deleted |",
|
|
258
|
+
"",
|
|
259
|
+
"### Repo commands",
|
|
260
|
+
"",
|
|
261
|
+
`\`.kit/commands/<path>.ts\` adds \`kit <path>\` (\`.kit/commands/icons/sync.ts\` is \`kit icons sync\`). Files and directories starting with \`_\` are helpers, not commands. They live in \`.kit/commands/\` at the repo root wherever kit is installed. See [repo commands](${DOCS}/commands.md).`,
|
|
262
|
+
"",
|
|
263
|
+
"```ts",
|
|
264
|
+
"// .kit/commands/icons.ts: `kit icons`, was scripts/gen-icons.sh",
|
|
265
|
+
"import { defineCommand, runOrThrow } from '@jordond/kit'",
|
|
266
|
+
"",
|
|
267
|
+
"export default defineCommand({",
|
|
268
|
+
" description: 'Regenerate the app icons from design/icon.svg',",
|
|
269
|
+
" group: 'Develop',",
|
|
270
|
+
" args: {",
|
|
271
|
+
" check: { type: 'boolean', description: 'Fail when the icons are stale instead of writing them' },",
|
|
272
|
+
" },",
|
|
273
|
+
" examples: 'kit icons\\nkit icons --check',",
|
|
274
|
+
" async run(ctx) {",
|
|
275
|
+
" const root = ctx.root ?? process.cwd()",
|
|
276
|
+
" const cmd = ['bun', 'tools/icons.ts', ...(ctx.args.check ? ['--check'] : []), ...ctx.rest]",
|
|
277
|
+
" if (ctx.flags.dryRun) {",
|
|
278
|
+
" ctx.log.info(cmd.join(' '))",
|
|
279
|
+
" return",
|
|
280
|
+
" }",
|
|
281
|
+
" await runOrThrow(cmd, { cwd: root })",
|
|
282
|
+
" },",
|
|
283
|
+
"})",
|
|
284
|
+
"```",
|
|
285
|
+
"",
|
|
286
|
+
`- Names: a repo command with a built-in's path (\`clean\`, \`deps\`, \`logs\`, \`open\`, \`config\`, \`app\`, …) is an error unless it sets \`override: true\`, which replaces the built-in. Check \`${kit} --help\` and pick another name unless replacing is the plan.`,
|
|
287
|
+
"- Port the logic into TypeScript when the script is short. For a long one, keep the logic in an `_`-prefixed directory (`.kit/commands/_lib/`) or where it lives now, and make the command its only entry point.",
|
|
288
|
+
"- Declare every flag the script took in `args` (`type: 'boolean'` or `'string'`, with `short` and `description`). `--json`, `--dry-run`/`-n`, `--yes`/`-y`, `--verbose`/`-v`, `--quiet`/`-q` and `--bail` are kit's global flags (`ctx.flags`); a script flag with one of those names needs another. Positionals arrive in `ctx.positionals`, arguments after `--` in `ctx.rest`.",
|
|
289
|
+
"- Run children with `run`, `runOrThrow`, `runCapture`, `runLines` or `runInteractive` from `@jordond/kit`, and several steps with `commandStep` + `runSteps(steps, ctx.flags)` for kit's step tree. Pass `cwd`: the working directory is wherever the user ran kit. Keep heavy imports inside `run` so `kit --help` stays fast.",
|
|
290
|
+
"- Honour `--dry-run` (`ctx.flags.dryRun`: print what would run, change nothing). Under `--json` (`ctx.flags.json`) stdout carries one JSON document: capture children with `runQuiet`, `runCapture` or `runLines` (`run` and `runOrThrow` pass their stdout through), log with `ctx.log` (stderr), and finish with `process.stdout.write(JSON.stringify(result))`.",
|
|
291
|
+
"- Fail by throwing `KitError(message, hint, ExitCode.…)`, never `process.exit`. Required env vars go in `requiresEnv`.",
|
|
292
|
+
"",
|
|
293
|
+
"## 6. Point every caller at kit",
|
|
294
|
+
"",
|
|
295
|
+
"- `package.json` scripts: delete the ones kit replaces, except those step 5 keeps. Keep a script that something outside the repo calls by name (a hosting provider, another repo); make it call kit only when no kind default runs it.",
|
|
296
|
+
`- CI: when kit is installed with Bun (a \`bun.lock\` at the root, or kit in \`.kit/\`), set it up with kit's action, which installs Bun and the dependencies and puts \`kit\` on PATH (inputs \`java\`, \`ruby\`, \`mise\`): \`uses: jordond/kit/.github/actions/setup@<sha> # v${version}\`, where \`<sha>\` is the commit from \`git ls-remote https://github.com/jordond/kit.git 'refs/tags/v${version}^{}'\` (or \`refs/tags/v${version}\` when that prints nothing). With another package manager, keep the repo's own install step, add \`oven-sh/setup-bun\`, and run \`./node_modules/.bin/kit\`. Replace each step's command with the kit command and keep triggers, secrets, environments and matrix. Keep the same scope: \`kit check\` and \`kit test\` where CI ran everything; \`--affected\` only with the user's yes and \`fetch-depth: 0\` on checkout.`,
|
|
297
|
+
"- Deploy and release workflows: rewrite them only as the plan says, and list them as unverified in your report; you cannot run them.",
|
|
298
|
+
`- Git hooks: keep the repo's hook manager (husky, lefthook, pre-commit) and make its hooks call kit by path (\`${kit} lint --staged\`, \`${kit} format --staged\`); \`kit\` may not be on PATH in a hook. Switch managers only if the user approved it.`,
|
|
299
|
+
"- README, CONTRIBUTING and other docs: every command they show becomes the kit command.",
|
|
300
|
+
"- Delete each script, Makefile recipe and task file that is now a kit command or config field. Nothing should be left that does the same job as a kit command.",
|
|
301
|
+
"",
|
|
302
|
+
"## 7. Tell agents",
|
|
303
|
+
"",
|
|
304
|
+
`Run \`${kit} agents sync\`: it writes the kit block into \`AGENTS.md\` and an \`@AGENTS.md\` import into \`CLAUDE.md\`. Remove instructions elsewhere in those files that name the old scripts. \`--hooks\` also adds a Claude Code hook that refuses direct \`./gradlew\`/\`./kotlin\` builds; add it only if the user wants it ([coding agents](${DOCS}/agents.md)).`,
|
|
305
|
+
"",
|
|
306
|
+
"## 8. Verify",
|
|
307
|
+
"",
|
|
308
|
+
`- \`${kit} doctor --ci\` passes, or every warning left is a tool this machine lacks.`,
|
|
309
|
+
`- \`${kit} check\`, \`${kit} test\` and \`${kit} build\` give the baseline's results: what passed passes, what failed fails the same way. \`--dry-run\` prints the commands they run; compare them with the old ones.`,
|
|
310
|
+
`- Every repo command shows in \`${kit} --help\`, and \`${kit} <name> --help\` and \`${kit} <name> --dry-run\` work. Run the ones that are safe to run.`,
|
|
311
|
+
"- Every workflow file still parses, and every command in it is a kit command or has a reason not to be.",
|
|
312
|
+
"- `git grep` for each deleted script name finds nothing.",
|
|
313
|
+
"- `git status` is clean: everything is committed.",
|
|
314
|
+
"",
|
|
315
|
+
"## 9. Report",
|
|
316
|
+
"",
|
|
317
|
+
"Finish with the inventory table: each old script or step, what replaced it, and anything you did not migrate with the reason. Then the baseline against the final results, the workflows you could not run, what a person still has to do (CI secrets, a store credential, a machine-specific tool), the branch name and the commits you made."
|
|
318
|
+
].join("\n");
|
|
319
|
+
}
|
|
320
|
+
export { migrateFacts, migratePrompt, migrateRoot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-C0Ym6J-z.js";
|
|
2
2
|
// src/commands/release/android.ts
|
|
3
3
|
var android_default = defineCommand({
|
|
4
4
|
description: "Build and upload Android to a Play track",
|
|
@@ -39,7 +39,7 @@ var android_default = defineCommand({
|
|
|
39
39
|
},
|
|
40
40
|
examples: "kit release android --track internal\nkit release android --track prod --rollout 0.2\nkit release android --track alpha --draft\nkit release android --track internal --dry-run",
|
|
41
41
|
async run(ctx) {
|
|
42
|
-
const { requireProject } = await import("./command-
|
|
42
|
+
const { requireProject } = await import("./command-Y1cyLC6x.js");
|
|
43
43
|
const { releaseMobile } = await import("./mobile-CN48FGcs.js");
|
|
44
44
|
requireProject(ctx);
|
|
45
45
|
await releaseMobile(ctx, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-C0Ym6J-z.js";
|
|
2
2
|
// src/commands/release/setup/android.ts
|
|
3
3
|
var android_default = defineCommand({
|
|
4
4
|
description: "Set up Android release secrets: create the upload keystore, store it and the Play key, apply the release plugin",
|
|
@@ -39,12 +39,12 @@ var android_default = defineCommand({
|
|
|
39
39
|
async run(ctx) {
|
|
40
40
|
const { existsSync, writeFileSync } = await import("node:fs");
|
|
41
41
|
const { resolve } = await import("node:path");
|
|
42
|
-
const { requireProject } = await import("./command-
|
|
42
|
+
const { requireProject } = await import("./command-Y1cyLC6x.js");
|
|
43
43
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
44
44
|
const { emitJson } = await import("./log-BPZHxgAy.js");
|
|
45
45
|
const { moduleKind } = await import("./module-C3Mh8ODK.js");
|
|
46
|
-
const ks = await import("./keystore-
|
|
47
|
-
const setup = await import("./setup-
|
|
46
|
+
const ks = await import("./keystore-CfpHkK92.js");
|
|
47
|
+
const setup = await import("./setup-DHlUCprE.js");
|
|
48
48
|
const { root, config } = requireProject(ctx);
|
|
49
49
|
if (!config.release?.android) throw new KitError("No release.android in kit.config.ts", void 0, ExitCode.config);
|
|
50
50
|
const ANDROID_SECRETS = [...ks.KEYSTORE_SECRETS, "PLAY_SERVICE_ACCOUNT_BASE64"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
2
|
-
import { f as remoteArg, s as dbArgs } from "./cloudflare-
|
|
1
|
+
import { n as defineCommand } from "./command-C0Ym6J-z.js";
|
|
2
|
+
import { f as remoteArg, s as dbArgs } from "./cloudflare-DKY3GTuH.js";
|
|
3
3
|
// src/commands/db/backup.ts
|
|
4
4
|
var backup_default = defineCommand({
|
|
5
5
|
description: "Export a D1 database to a .sql file (local by default)",
|
|
@@ -21,8 +21,8 @@ var backup_default = defineCommand({
|
|
|
21
21
|
async run(ctx) {
|
|
22
22
|
const { mkdirSync } = await import("node:fs");
|
|
23
23
|
const { dirname, relative, resolve } = await import("node:path");
|
|
24
|
-
const { requireProject } = await import("./command-
|
|
25
|
-
const { backupFile, resolveD1, runD1 } = await import("./cloudflare-
|
|
24
|
+
const { requireProject } = await import("./command-Y1cyLC6x.js");
|
|
25
|
+
const { backupFile, resolveD1, runD1 } = await import("./cloudflare-CfnTA8rp.js");
|
|
26
26
|
const { root, config } = requireProject(ctx);
|
|
27
27
|
const db = resolveD1(config, ctx.args.db);
|
|
28
28
|
const file = ctx.args.out ? resolve(process.cwd(), ctx.args.out) : backupFile(root, db);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-C0Ym6J-z.js";
|
|
2
2
|
// src/commands/device/boot.ts
|
|
3
3
|
var boot_default = defineCommand({
|
|
4
4
|
description: "Boot a simulator or emulator, creating one when none exists",
|
|
@@ -9,7 +9,7 @@ var boot_default = defineCommand({
|
|
|
9
9
|
} },
|
|
10
10
|
examples: "kit device boot ios\nkit device boot android --device pixel_10_pro_xl --yes\nkit device boot ipad --json",
|
|
11
11
|
async run(ctx) {
|
|
12
|
-
const { requireProject } = await import("./command-
|
|
12
|
+
const { requireProject } = await import("./command-Y1cyLC6x.js");
|
|
13
13
|
const { bootDevice, familyOf, listDevices, noteEmulatorArgsNotApplied, parseTarget, platformOf } = await import("./devices-DDv6rotc.js");
|
|
14
14
|
const { preferredAmong } = await import("./pick-Bu_cPUas.js");
|
|
15
15
|
const { emitJson } = await import("./log-BPZHxgAy.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-C0Ym6J-z.js";
|
|
2
2
|
import { t as affectedArgs } from "./_affected-D8pI64_f.js";
|
|
3
|
-
import { n as scopeArgs } from "./_scope-
|
|
3
|
+
import { n as scopeArgs } from "./_scope-DxnthKS5.js";
|
|
4
4
|
// src/commands/build.ts
|
|
5
5
|
var build_default = defineCommand({
|
|
6
6
|
description: "Build every target",
|
|
@@ -19,7 +19,7 @@ var build_default = defineCommand({
|
|
|
19
19
|
},
|
|
20
20
|
examples: "kit build\nkit build api admin\nkit build -m core -p jvm\nkit build client --release",
|
|
21
21
|
async run(ctx) {
|
|
22
|
-
const { runVerb } = await import("./_verb-
|
|
22
|
+
const { runVerb } = await import("./_verb-C5j2N2hN.js");
|
|
23
23
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
24
24
|
if (ctx.args.release && ctx.args.apk) throw new KitError("--release and --apk build different artifacts; pick one", void 0, ExitCode.usage);
|
|
25
25
|
const release = ctx.args.release ? "aab" : ctx.args.apk ? "apk" : void 0;
|
|
@@ -28,11 +28,11 @@ var build_default = defineCommand({
|
|
|
28
28
|
const t = name ? ctx.config?.targets[name] : void 0;
|
|
29
29
|
if (ctx.positionals.length !== 1 || t?.kind !== "gradle" && t?.kind !== "kotlin") throw new KitError("A release build is for one gradle or kotlin target", "Name it, e.g. `kit build client --release`", ExitCode.usage);
|
|
30
30
|
}
|
|
31
|
-
const { resolveScope } = await import("./_scope-
|
|
31
|
+
const { resolveScope } = await import("./_scope-dyGmy-jX.js");
|
|
32
32
|
const scope = await resolveScope(ctx);
|
|
33
33
|
if (release && scope.targets) throw new KitError("--release and --apk build release.android.module; --module and --platform do not apply", void 0, ExitCode.usage);
|
|
34
34
|
if (!release && !ctx.flags.dryRun) {
|
|
35
|
-
const { requireProject } = await import("./command-
|
|
35
|
+
const { requireProject } = await import("./command-Y1cyLC6x.js");
|
|
36
36
|
const { invalidateStaleApk } = await import("./toolchain-Cey3tycR.js");
|
|
37
37
|
const { log } = await import("./log-BPZHxgAy.js");
|
|
38
38
|
const { root, config } = requireProject(ctx);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-C0Ym6J-z.js";
|
|
2
2
|
// src/commands/app/build.ts
|
|
3
3
|
var build_default = defineCommand({
|
|
4
4
|
description: "Build the debug app for a platform and print the artifact path",
|
|
@@ -15,7 +15,7 @@ var build_default = defineCommand({
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
async run(ctx) {
|
|
18
|
-
const { requireProject } = await import("./command-
|
|
18
|
+
const { requireProject } = await import("./command-Y1cyLC6x.js");
|
|
19
19
|
const { parseTarget } = await import("./devices-DDv6rotc.js");
|
|
20
20
|
const { buildApp, buildPlan, requireMac } = await import("./build--bOOZz5k.js");
|
|
21
21
|
const { emitJson } = await import("./log-BPZHxgAy.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as builtins } from "./builtins-SEg-1LzF.js";
|