@jordond/kit 0.8.0 → 0.8.2
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/LICENSE +21 -0
- package/README.md +93 -1032
- package/dist/{_preview-B58geuUk.js → _preview-Ctgr75De.js} +5 -5
- package/dist/{_verb-DWXrtbyb.js → _verb-B4ZKOc0w.js} +3 -3
- package/dist/{android-C7N3LxRq.js → android-DhBV3utv.js} +3 -3
- package/dist/{backup-9B4K9U_G.js → backup-B4tanK6T.js} +4 -4
- package/dist/{boot-D1w45n5N.js → boot-lL6ksrQu.js} +2 -2
- package/dist/{build-DtqYlgYC.js → build-BJLyZhMu.js} +33 -32
- package/dist/{build-DqITJpTP.js → build-CLm3j9VA.js} +3 -3
- package/dist/{build-DeykXskB.js → build-CxR6bQzu.js} +2 -2
- package/dist/{build-B2Ua7rOn.js → build-g9DjnBiS.js} +1 -1
- package/dist/{builtins-ysIGaptY.js → builtins-RYgYA07T.js} +68 -68
- package/dist/builtins-zlnqUmsj.js +1 -0
- package/dist/{bump-hLNWDGnq.js → bump-DCP3tp1z.js} +7 -6
- package/dist/{certs-DRmBZA4b.js → certs-fElJVcDB.js} +3 -3
- package/dist/{changelog-CeTpoe3d.js → changelog-DJVC7_7-.js} +2 -2
- package/dist/{check-CH7X4usg.js → check-1HzKyNaj.js} +3 -3
- package/dist/{check-vl7UBzW0.js → check-CZGOFwg5.js} +2 -2
- package/dist/{checks-DxPGOAjd.js → checks-DjQIyYjb.js} +15 -8
- package/dist/{clean-Cnjk-U9b.js → clean-CKxFCRRt.js} +3 -3
- package/dist/{clean-uyfwoFAC.js → clean-DvG5QqLm.js} +1 -1
- package/dist/{clear-C-Pq3HaB.js → clear-D9BZpYOy.js} +3 -3
- package/dist/cli.js +1 -1
- package/dist/{cloudflare-DANxWsOQ.js → cloudflare-ChAk3G2F.js} +1 -1
- package/dist/{cloudflare-Fqiw0PwT.js → cloudflare-D9XLipBO.js} +1 -1
- package/dist/{command-B8J0KTC5.js → command-BokDnKkX.js} +1 -1
- package/dist/{command-B_tgmjMh.js → command-Brx4GSl7.js} +4 -4
- package/dist/command-BzSiG8Xc.js +1 -0
- package/dist/command-DEOAIK_9.js +1 -0
- package/dist/{command-mcR8k_HV.js → command-gGIy7n9z.js} +3 -3
- package/dist/{completion-BiXJxPZ9.js → completion-DdRUtke0.js} +1 -1
- package/dist/{config-B55_sHr5.js → config-BbbjxnZg.js} +1 -1
- package/dist/{config-4UrkUWxr.js → config-t4aRqipm.js} +2 -7
- package/dist/{create-Dy7hger6.js → create-Ch9I48Vn.js} +3 -3
- package/dist/{d1-local-GmVnxPO4.js → d1-local-Dg7DHECv.js} +1 -1
- package/dist/{deploy-BBRBn_M4.js → deploy-C2hIEoDN.js} +5 -5
- package/dist/{deploy-C_QOMOcM.js → deploy-D25QlGEP.js} +1 -1
- package/dist/{deps-CdBkTN7j.js → deps-CyRHu6Bf.js} +2 -2
- package/dist/{dev-BZJD6OIV.js → dev-m2hsh5H-.js} +5 -5
- package/dist/discover-CNmTLN8t.js +1 -0
- package/dist/{discover-CAt8csSs.js → discover-Q24I_1Vc.js} +1 -1
- package/dist/{doctor-BnNmJ3F0.js → doctor-DrHBWUaU.js} +5 -5
- package/dist/{dump-CI3A09n5.js → dump-DtI0OYa0.js} +4 -4
- package/dist/{entries-B2AZnsYS.js → entries-BQNHhsv-.js} +14 -8
- package/dist/{exec-CGau45Vt.js → exec-DntM4q6x.js} +3 -3
- package/dist/{export-Dou4TN6P.js → export--mWANLfB.js} +3 -3
- package/dist/{fastlane-DOOIW8Bv.js → fastlane-BVY2k3E9.js} +4 -4
- package/dist/{fastlane-DY9nrA1Z.js → fastlane-DMVZDNmj.js} +1 -1
- package/dist/{fastlane-DjJlMdod.js → fastlane-DPedpjrl.js} +1 -1
- package/dist/fixes-B9_oSnPD.js +1 -0
- package/dist/{fixes-BPJohmIs.js → fixes-CVfyNx99.js} +2 -2
- package/dist/{fixtures-C_BKaJkW.js → fixtures-BEiJODb8.js} +1 -1
- package/dist/{fixtures-kSnSse-E.js → fixtures-chGGDoy-.js} +2 -2
- package/dist/{format-B9P7cwGa.js → format-CHeiR7St.js} +2 -2
- package/dist/{github-hbUxSgvC.js → github-CaHWmcAZ.js} +1 -1
- package/dist/{gradle-DCCSshhi.js → gradle-BLa-m0T9.js} +2 -2
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1 -1
- package/dist/{init-CM9_Vffq.js → init-BUkIu4l6.js} +7 -7
- package/dist/{init-se_v7omf.js → init-P1WEbAU3.js} +2 -2
- package/dist/{install-BwbPiWQ4.js → install-CM0MEQHm.js} +3 -3
- package/dist/{install-BYaBSSTu.js → install-CvGEi_Hw.js} +1 -1
- package/dist/{install-CHWJxqqA.js → install-LSti6v2J.js} +2 -2
- package/dist/{ios-BEwVaO46.js → ios-7OyjbvbA.js} +3 -3
- package/dist/{kit-copy-BGFT7-eF.js → kit-copy-BBjCzwNy.js} +2 -2
- package/dist/kit-copy-BoAdj35D.js +1 -0
- package/dist/{kitref-D5EszLHl.js → kitref-D0Mj24LP.js} +1 -1
- package/dist/{kitref-JXE2rWhj.js → kitref-VXDas759.js} +2 -2
- package/dist/{kotlin-D8HWnUzo.js → kotlin-bgQYLtQx.js} +3 -3
- package/dist/{lint-Cgq_H-NN.js → lint-BtBOaSL1.js} +2 -2
- package/dist/{list-D0Qc5Qet.js → list-zFNRSx0o.js} +2 -2
- package/dist/{list-1NXRSisF.js → list-zqPkBux5.js} +3 -3
- package/dist/{load-DtAHfNBQ.js → load-CQstmEJC.js} +1 -1
- package/dist/{load-BisdxdeI.js → load-CkHVSRqE.js} +4 -4
- package/dist/{load-DuQu-YA7.js → load-v_7bBk06.js} +1 -1
- package/dist/{logs-DG91Koht.js → logs-FD55RVfj.js} +5 -5
- package/dist/{maestro-DKJ2SJeq.js → maestro-BHgme4TQ.js} +6 -6
- package/dist/{maestro-Bd02kktp.js → maestro-DSxHWjGF.js} +4 -4
- package/dist/{maestro-BSGMnT75.js → maestro-m3hOp29u.js} +2 -2
- package/dist/{main-Cnazq_l_.js → main-CBPd_loc.js} +38 -9
- package/dist/{metadata-_t6U_Pi4.js → metadata-D3ilDtIt.js} +1 -1
- package/dist/{metadata-CIIZa00_.js → metadata-hzxc4Cnl.js} +2 -2
- package/dist/{migrate-gonPH0WH.js → migrate-DIW-YjhX.js} +3 -3
- package/dist/{migrate-BeBNQQ23.js → migrate-DOvsDdd8.js} +2 -2
- package/dist/{migrate-command-PYN2AamL.js → migrate-command-DWkqMArx.js} +1 -1
- package/dist/{mobile-dAnl58hp.js → mobile-BS2l_TKE.js} +1 -1
- package/dist/{mobile-DlJmxm4l.js → mobile-u1aKSYD0.js} +19 -12
- package/dist/module-C3JZFBvX.js +146 -0
- package/dist/{module-UMYvU8pS.js → module-D6I6BmGV.js} +5 -5
- package/dist/module-D9G1CRw7.js +1 -0
- package/dist/{open-BHqqqGnv.js → open-DrEdsD4W.js} +5 -5
- package/dist/{package-BVKRcQpC.js → package-DujkeqWt.js} +1 -1
- package/dist/{pages-CR7DZpWH.js → pages-BdolLRWo.js} +3 -3
- package/dist/{pages-command-C4NlM9ry.js → pages-command-CBcSFDwI.js} +1 -1
- package/dist/{plan-CcvMZsas.js → plan-CS7NcG5F.js} +1 -1
- package/dist/{plan-NaiIzubU.js → plan-DAzrv2nV.js} +1 -1
- package/dist/{promote-B1ZbzFS-.js → promote-CHkZBsre.js} +5 -5
- package/dist/{promote-bk2Q8_L8.js → promote-CuC-WCtH.js} +4 -4
- package/dist/{pull-Ch2Kz45B.js → pull-DZwO9CeH.js} +3 -3
- package/dist/{push-Cebz1M40.js → push-DJMYG1my.js} +3 -3
- package/dist/{push-EICF6s2a.js → push-DsQNmmME.js} +3 -3
- package/dist/{push-Dph9Y38u.js → push-jgndVStx.js} +1 -1
- package/dist/{push-run-DXt7HOwQ.js → push-run-DsOpFWyx.js} +2 -2
- package/dist/{qa-HDgx98qK.js → qa-CxDzp3NJ.js} +2 -2
- package/dist/{repair-CFNd7vN4.js → repair-DgAbKkLz.js} +1 -1
- package/dist/{reset-CwitJFp3.js → reset-Bf5zHYFz.js} +5 -5
- package/dist/{restore-fT4mQq6w.js → restore-PL_1zmP-.js} +5 -5
- package/dist/{rollback-DQ9c6iV4.js → rollback-Cu5XjQrc.js} +4 -4
- package/dist/{rollout-gCQfGJW5.js → rollout-Cdf4A-k1.js} +4 -4
- package/dist/{rollout-hOEm0hZ9.js → rollout-qH6nOpBh.js} +3 -3
- package/dist/{rotate-DnmY2rlY.js → rotate-DNzXMyt7.js} +5 -5
- package/dist/{rotate-CWoDNN2_.js → rotate-DW_Ulrb8.js} +1 -1
- package/dist/{run-BSsdEdwU.js → run-CipAZzt0.js} +3 -3
- package/dist/{scaffold-B5OFkcou.js → scaffold-CSIlLOw8.js} +10 -26
- package/dist/scaffold-Cdegk4x-.js +2 -0
- package/dist/{schema-D-5sWO5A.js → schema-DQ_NKe_i.js} +17 -6
- package/dist/{seed-BJcU14Jr.js → seed-xDXzdeCv.js} +4 -4
- package/dist/self-update-DtJjSWwk.js +145 -0
- package/dist/self-update-vbijckgb.js +1 -0
- package/dist/{service-BHJDfoHf.js → service-DM8D9kWR.js} +4 -4
- package/dist/{shots-DNcpoKfE.js → shots-Dwa51cZb.js} +2 -2
- package/dist/{show-e4oWpeIr.js → show-BlRcrOyP.js} +3 -3
- package/dist/{status-BKF9wQDI.js → status-BElPmed2.js} +3 -3
- package/dist/{status-DgwgkAcK.js → status-CkY-eCce.js} +3 -3
- package/dist/{status-CBfRGcak.js → status-XAwjZ4PG.js} +1 -1
- package/dist/{statusbar-BOLryuT7.js → statusbar-C7jxTS1Z.js} +2 -2
- package/dist/{studio-SnhFnjKt.js → studio-B9v7TOkM.js} +2 -2
- package/dist/{studio-CjuQWgLj.js → studio-Dds56MsD.js} +2 -2
- package/dist/suites-C35py8Zm.js +1 -0
- package/dist/{suites-BHqxW32z.js → suites-CxVG4R_C.js} +1 -1
- package/dist/{sync-CzHA61P_.js → sync-D1MdNkmq.js} +2 -2
- package/dist/{target-tTLR9jzh.js → target-DLGZ2Uf4.js} +7 -7
- package/dist/{targets-8X6fH7Mq.js → targets-sD7717TN.js} +6 -6
- package/dist/{targets-e5GoRwSs.js → targets-vulkgijc.js} +1 -1
- package/dist/{test-BlaVtdkO.js → test-BjTEJrUG.js} +2 -2
- package/dist/{toolchain-Drbw2hx9.js → toolchain-ByF58woB.js} +7 -18
- package/dist/toolchain-VWsLYQa0.js +1 -0
- package/dist/{typecheck-BqGdQvhM.js → typecheck-kBhmobW8.js} +2 -2
- package/dist/{uninstall-pc75zzh4.js → uninstall-BStAXHx-.js} +3 -3
- package/dist/{upgrade-CuTsADCQ.js → upgrade-iGuZV4vo.js} +82 -8
- package/dist/{version-B5FFFYiV.js → version-Dqu_xfjY.js} +1 -1
- package/dist/{version-BP9DAmFX.js → version-turRz-Ro.js} +6 -4
- package/dist/{worker-BP2x5ONk.js → worker-A2Fg8Pgi.js} +1 -1
- package/dist/{worker-CbVQTdeT.js → worker-DNqw7_3L.js} +1 -1
- package/dist/{wrangler-DQIQQkT5.js → wrangler-DlNSjHel.js} +3 -3
- package/dist/{xcode-DUgCKDwE.js → xcode-CYJysY3t.js} +5 -4
- package/fastlane/Fastfile +16 -6
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.android.application.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.2/io.github.jordond.kit.android.application.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.2/io.github.jordond.kit.android.application.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.2/io.github.jordond.kit.android.application.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.2/io.github.jordond.kit.android.application.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/{0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.2/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.2/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.2/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.2/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/{0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.compose.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.2/io.github.jordond.kit.compose.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.2/io.github.jordond.kit.compose.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.2/io.github.jordond.kit.compose.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.2/io.github.jordond.kit.compose.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/{0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.2/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.2/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.2/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.2/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.module → 0.8.2/kit-plugins-0.8.2.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.pom → 0.8.2/kit-plugins-0.8.2.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.2/kit-plugins-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.module → 0.8.2/kit-settings-0.8.2.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.pom → 0.8.2/kit-settings-0.8.2.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.2/kit-settings-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/{0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.2/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.2/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.2/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.2/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/{0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.lint.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.2/io.github.jordond.kit.lint.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.2/io.github.jordond.kit.lint.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.2/io.github.jordond.kit.lint.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.2/io.github.jordond.kit.lint.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/{0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.release.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.2/io.github.jordond.kit.release.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.2/io.github.jordond.kit.release.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.2/io.github.jordond.kit.release.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.2/io.github.jordond.kit.release.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/{0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom → 0.8.2/io.github.jordond.kit.settings.gradle.plugin-0.8.2.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.2/io.github.jordond.kit.settings.gradle.plugin-0.8.2.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.2/io.github.jordond.kit.settings.gradle.plugin-0.8.2.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.2/io.github.jordond.kit.settings.gradle.plugin-0.8.2.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.2/io.github.jordond.kit.settings.gradle.plugin-0.8.2.pom.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml +4 -4
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.md5 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha1 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha256 +1 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/maven-metadata.xml.sha512 +1 -1
- package/package.json +1 -1
- package/dist/builtins-CPRE__kE.js +0 -1
- package/dist/command-DEjZdYUF.js +0 -1
- package/dist/command-DS2EuzYK.js +0 -1
- package/dist/discover-C3nPq8O7.js +0 -1
- package/dist/fixes-BRULlGZH.js +0 -1
- package/dist/kit-copy-BdBUHLSS.js +0 -1
- package/dist/scaffold--FB-iFfy.js +0 -1
- package/dist/suites-Ceg_mWy8.js +0 -1
- package/dist/toolchain-DD2LqADU.js +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.8.0/io.github.jordond.kit.android.application.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.8.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.8.0/io.github.jordond.kit.compose.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.8.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.8.0/kit-plugins-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.8.0/kit-settings-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.8.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.8.0/io.github.jordond.kit.lint.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.8.0/io.github.jordond.kit.release.gradle.plugin-0.8.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.8.0/io.github.jordond.kit.settings.gradle.plugin-0.8.0.pom.sha512 +0 -1
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.jar → 0.8.2/kit-plugins-0.8.2.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.jar.md5 → 0.8.2/kit-plugins-0.8.2.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.jar.sha1 → 0.8.2/kit-plugins-0.8.2.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.jar.sha256 → 0.8.2/kit-plugins-0.8.2.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.8.0/kit-plugins-0.8.0.jar.sha512 → 0.8.2/kit-plugins-0.8.2.jar.sha512} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.jar → 0.8.2/kit-settings-0.8.2.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.jar.md5 → 0.8.2/kit-settings-0.8.2.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.jar.sha1 → 0.8.2/kit-settings-0.8.2.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.jar.sha256 → 0.8.2/kit-settings-0.8.2.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.8.0/kit-settings-0.8.0.jar.sha512 → 0.8.2/kit-settings-0.8.2.jar.sha512} +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
2
|
+
import { basename, isAbsolute, join, normalize, resolve } from "node:path";
|
|
3
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
4
|
+
// src/lib/module.ts
|
|
5
|
+
/** The native build `module` values are read against: Gradle when both are configured. */
|
|
6
|
+
function moduleKind(config) {
|
|
7
|
+
return config.gradle ? "gradle" : config.toolchain ? "toolchain" : void 0;
|
|
8
|
+
}
|
|
9
|
+
function buildRoot(config, kind) {
|
|
10
|
+
return (kind === "gradle" ? config.gradle?.root : config.toolchain?.root) ?? ".";
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Location and build-tool name of a module.
|
|
14
|
+
*
|
|
15
|
+
* The location is `path` (or the string form), relative to the build root (`toolchain.root` or
|
|
16
|
+
* `gradle.root`). A Gradle project path (`:apps:android`) is also accepted as a location: its
|
|
17
|
+
* directory is `apps/android`, Gradle's default.
|
|
18
|
+
*
|
|
19
|
+
* The name is `name` when the config states it. Otherwise it follows the build tool's own rule:
|
|
20
|
+
* the directory's basename for the Kotlin toolchain, the project path for Gradle (`apps/android`
|
|
21
|
+
* is `:apps:android`).
|
|
22
|
+
*/
|
|
23
|
+
function resolveModule(root, config, ref, key, kind = moduleKind(config)) {
|
|
24
|
+
if (!kind) throw new KitError("kit.config.ts sets neither gradle nor toolchain", `Set gradle.root or toolchain.root: ${key} names a module of one of them`, ExitCode.config);
|
|
25
|
+
const raw = (typeof ref === "string" ? ref : ref.path).trim();
|
|
26
|
+
const stated = typeof ref === "string" ? void 0 : ref.name?.trim();
|
|
27
|
+
const where = typeof ref === "string" ? key : `${key}.path`;
|
|
28
|
+
if (raw === "" || raw === ":") throw new KitError(`${where} is empty`, `Set it to the module's directory relative to ${kind}.root`, ExitCode.config);
|
|
29
|
+
const gradlePath = raw.startsWith(":");
|
|
30
|
+
const path = normalize(gradlePath ? raw.slice(1).replaceAll(":", "/") : raw).replace(/\/+$/, "") || ".";
|
|
31
|
+
if (isAbsolute(path)) throw new KitError(`${where} is an absolute path (${raw})`, `Set it to the module's directory relative to ${kind}.root`, ExitCode.config);
|
|
32
|
+
const dir = normalize(join(buildRoot(config, kind), path));
|
|
33
|
+
let name = stated;
|
|
34
|
+
if (!name) name = kind === "toolchain" ? basename(resolve(root, dir)) : gradlePath ? raw : `:${path.split("/").join(":")}`;
|
|
35
|
+
else if (kind === "gradle" && !name.startsWith(":")) name = `:${name}`;
|
|
36
|
+
return {
|
|
37
|
+
kind,
|
|
38
|
+
key,
|
|
39
|
+
dir,
|
|
40
|
+
name
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/** `release.android.module`, or undefined when the config has no Android release. */
|
|
44
|
+
function releaseAndroidModule(root, config, kind) {
|
|
45
|
+
const ref = config.release?.android?.module;
|
|
46
|
+
return ref === void 0 ? void 0 : resolveModule(root, config, ref, "release.android.module", kind);
|
|
47
|
+
}
|
|
48
|
+
/** The module `kit app` builds for Android: `app.android.module`, else `release.android.module`. */
|
|
49
|
+
function appAndroidModule(root, config) {
|
|
50
|
+
const app = config.app?.android?.module;
|
|
51
|
+
const ref = app ?? config.release?.android?.module;
|
|
52
|
+
if (ref === void 0) throw new KitError("kit.config.ts sets no app.android.module", "Set app.android.module, or release.android.module which it falls back to", ExitCode.config);
|
|
53
|
+
return resolveModule(root, config, ref, app !== void 0 ? "app.android.module" : "release.android.module");
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The Kotlin toolchain module `kit app` builds for iOS: `app.ios.module`, else the directory
|
|
57
|
+
* holding the Xcode project (`project` is repo-relative, so that directory is used as it is).
|
|
58
|
+
*/
|
|
59
|
+
function appIosModule(root, config, project) {
|
|
60
|
+
const ref = config.app?.ios?.module;
|
|
61
|
+
if (ref !== void 0) return resolveModule(root, config, ref, "app.ios.module", "toolchain");
|
|
62
|
+
const dir = normalize(join(project, ".."));
|
|
63
|
+
return {
|
|
64
|
+
kind: "toolchain",
|
|
65
|
+
key: config.app?.ios?.project ? "app.ios.project" : "release.ios.project",
|
|
66
|
+
dir,
|
|
67
|
+
name: basename(resolve(root, dir))
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/** `<toolchain root>/build/tasks/_<module name>_<task>`: where the toolchain puts a task's output. */
|
|
71
|
+
function toolchainTaskDir(toolchainDir, module, task = "") {
|
|
72
|
+
return join(toolchainDir, "build", "tasks", `_${module.name}_${task}`);
|
|
73
|
+
}
|
|
74
|
+
/** Repo-relative `module.yaml` of a toolchain module. */
|
|
75
|
+
function moduleYaml(module) {
|
|
76
|
+
return join(module.dir, "module.yaml");
|
|
77
|
+
}
|
|
78
|
+
/** Entries of `modules:` in a project.yaml (block or flow list), globs included, `./` and `/` trimmed. */
|
|
79
|
+
function projectModuleEntries(projectYaml) {
|
|
80
|
+
const lines = projectYaml.split("\n");
|
|
81
|
+
const start = lines.findIndex((l) => /^modules\s*:/.test(l));
|
|
82
|
+
if (start < 0) return [];
|
|
83
|
+
const clean = (raw) => raw.trim().replace(/^(['"])(.*)\1$/, "$2").replace(/^\.\//, "").replace(/\/+$/, "");
|
|
84
|
+
const valid = (v) => v !== "" && !/[{:]/.test(v);
|
|
85
|
+
const flow = lines[start].match(/^modules\s*:\s*\[(.*)\]/);
|
|
86
|
+
if (flow) return flow[1].split(",").map(clean).filter(valid);
|
|
87
|
+
const out = [];
|
|
88
|
+
for (const line of lines.slice(start + 1)) {
|
|
89
|
+
if (line.trim() === "" || line.trimStart().startsWith("#")) continue;
|
|
90
|
+
const m = line.match(/^\s*-\s*(.+?)\s*$/);
|
|
91
|
+
if (!m) break;
|
|
92
|
+
const value = clean(m[1].replace(/\s+#.*$/, ""));
|
|
93
|
+
if (valid(value)) out.push(value);
|
|
94
|
+
}
|
|
95
|
+
return out;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Module paths listed under `modules:` in a project.yaml, relative to the toolchain root, at any
|
|
99
|
+
* depth. Globs are left out; `expandProjectModules` resolves them.
|
|
100
|
+
*/
|
|
101
|
+
function projectModules(projectYaml) {
|
|
102
|
+
return projectModuleEntries(projectYaml).filter((v) => !v.includes("*"));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* `projectModules` with globs (`mobile/*`, `libs/**`) expanded to the directories holding a
|
|
106
|
+
* module.yaml. `list(dir)` returns the files under a directory, relative to the toolchain root.
|
|
107
|
+
*/
|
|
108
|
+
function expandProjectModules(projectYaml, list) {
|
|
109
|
+
const out = [];
|
|
110
|
+
for (const entry of projectModuleEntries(projectYaml)) {
|
|
111
|
+
if (!entry.includes("*")) {
|
|
112
|
+
out.push(entry);
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
const segments = entry.split("/");
|
|
116
|
+
const base = segments.slice(0, segments.findIndex((s) => s.includes("*"))).join("/") || ".";
|
|
117
|
+
const pattern = entry.split("/").map((s) => s === "**" ? ".*" : s.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replaceAll("*", "[^/]*")).join("/");
|
|
118
|
+
const re = new RegExp(`^(${pattern})/module\\.yaml$`);
|
|
119
|
+
const found = list(base).flatMap((f) => normalize(f).match(re)?.[1] ?? []);
|
|
120
|
+
out.push(...found.sort());
|
|
121
|
+
}
|
|
122
|
+
return [...new Set(out)];
|
|
123
|
+
}
|
|
124
|
+
function listedModules(root, config) {
|
|
125
|
+
const file = join(root, config.toolchain?.root ?? ".", "project.yaml");
|
|
126
|
+
return existsSync(file) ? projectModules(readFileSync(file, "utf8")) : [];
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Fail unless a Kotlin toolchain module has its `module.yaml`. The error names the path checked,
|
|
130
|
+
* the name the build tool would get, and the config key to change. Gradle modules pass: a project's
|
|
131
|
+
* directory can be remapped in settings.gradle, so kit does not second-guess it.
|
|
132
|
+
*/
|
|
133
|
+
function requireModule(root, config, module) {
|
|
134
|
+
if (module.kind !== "toolchain") return module;
|
|
135
|
+
const yaml = moduleYaml(module);
|
|
136
|
+
if (existsSync(join(root, yaml))) return module;
|
|
137
|
+
const listed = listedModules(root, config);
|
|
138
|
+
const from = module.key.endsWith(".project") ? `the directory of ${module.key}` : module.key;
|
|
139
|
+
const fix = module.key.endsWith(".project") ? "Set app.ios.module to the module directory, relative to toolchain.root" : `Set ${module.key} to the module directory, relative to toolchain.root (or { path, name } when the toolchain's module name is not the directory name)`;
|
|
140
|
+
throw new KitError(`Kotlin toolchain module not found: ${yaml} does not exist`, [
|
|
141
|
+
`Checked ${yaml} (from ${from}); the build would be given \`-m ${module.name}\`.`,
|
|
142
|
+
`${fix}.`,
|
|
143
|
+
...listed.length ? [`project.yaml lists: ${listed.join(", ")}`] : []
|
|
144
|
+
].join(" "), ExitCode.config);
|
|
145
|
+
}
|
|
146
|
+
export { moduleYaml as a, releaseAndroidModule as c, toolchainTaskDir as d, moduleKind as i, requireModule as l, appIosModule as n, projectModuleEntries as o, expandProjectModules as r, projectModules as s, appAndroidModule as t, resolveModule as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/add/module.ts
|
|
3
3
|
/**
|
|
4
4
|
* `kit add module <name>`: a KMP library module in the repo's native build. With Gradle
|
|
@@ -36,13 +36,13 @@ var module_default = defineCommand({
|
|
|
36
36
|
async run(ctx) {
|
|
37
37
|
const { existsSync, readFileSync } = await import("node:fs");
|
|
38
38
|
const { basename, join } = await import("node:path");
|
|
39
|
-
const { requireProject } = await import("./command-
|
|
39
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
40
40
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
41
41
|
const { addTemplates, applyAdd } = await import("./apply-CphKtpYM.js");
|
|
42
|
-
const { parseDir, parseModulePath, parseModuleTargets, planGradleModule, planToolchainModule } = await import("./plan-
|
|
43
|
-
const { detectToolchain, placeholderId } = await import("./scaffold
|
|
42
|
+
const { parseDir, parseModulePath, parseModuleTargets, planGradleModule, planToolchainModule } = await import("./plan-DAzrv2nV.js");
|
|
43
|
+
const { detectToolchain, placeholderId } = await import("./scaffold-Cdegk4x-.js");
|
|
44
44
|
const { getTomlValue } = await import("./toml-BNhXFtqS.js");
|
|
45
|
-
const { kitPackageRoot } = await import("./init-
|
|
45
|
+
const { kitPackageRoot } = await import("./init-BUkIu4l6.js");
|
|
46
46
|
const { root, config } = requireProject(ctx);
|
|
47
47
|
const [name, ...extra] = ctx.positionals;
|
|
48
48
|
if (!name || extra.length) throw new KitError(name ? `Unexpected argument "${extra[0]}"` : "kit add module needs a module name", "kit add module feature:login --compose", ExitCode.usage);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { a as moduleYaml, c as releaseAndroidModule, l as requireModule } from "./module-C3JZFBvX.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/open.ts
|
|
3
3
|
var open_default = defineCommand({
|
|
4
4
|
description: "Open a worker target's Cloudflare dashboard page",
|
|
@@ -23,13 +23,13 @@ var open_default = defineCommand({
|
|
|
23
23
|
].join("\n"),
|
|
24
24
|
async run(ctx) {
|
|
25
25
|
const { relative, resolve } = await import("node:path");
|
|
26
|
-
const { requireProject } = await import("./command-
|
|
27
|
-
const { readAccountId, resolveAccountId } = await import("./cloudflare-
|
|
26
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
27
|
+
const { readAccountId, resolveAccountId } = await import("./cloudflare-D9XLipBO.js");
|
|
28
28
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
29
29
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
30
30
|
const { runQuiet } = await import("./proc-Bvvv4XbJ.js");
|
|
31
|
-
const { dashboardUrl, readWranglerConfig, requireWorker, workerName } = await import("./worker-
|
|
32
|
-
const { checkEnv } = await import("./deploy-
|
|
31
|
+
const { dashboardUrl, readWranglerConfig, requireWorker, workerName } = await import("./worker-DNqw7_3L.js");
|
|
32
|
+
const { checkEnv } = await import("./deploy-D25QlGEP.js");
|
|
33
33
|
const { root, config } = requireProject(ctx);
|
|
34
34
|
const [name, ...more] = ctx.positionals;
|
|
35
35
|
const target = requireWorker(config, name, "kit open");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/shots/pages.ts
|
|
3
3
|
var pages_default = defineCommand({
|
|
4
4
|
description: "Render the HTML artwork pages in shots.pages to PNGs, without alpha",
|
|
@@ -10,8 +10,8 @@ var pages_default = defineCommand({
|
|
|
10
10
|
} },
|
|
11
11
|
async run(ctx) {
|
|
12
12
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
13
|
-
const { emptyValueFlags } = await import("./export
|
|
14
|
-
const { runPages } = await import("./pages-command-
|
|
13
|
+
const { emptyValueFlags } = await import("./export--mWANLfB.js");
|
|
14
|
+
const { runPages } = await import("./pages-command-CBcSFDwI.js");
|
|
15
15
|
if (emptyValueFlags(process.argv.slice(2)).includes("out")) throw new KitError("--out has an empty value", "e.g. --out build/artwork", ExitCode.usage);
|
|
16
16
|
await runPages(ctx, {
|
|
17
17
|
names: ctx.positionals,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as requireProject } from "./command-
|
|
1
|
+
import { i as requireProject } from "./command-BokDnKkX.js";
|
|
2
2
|
import { n as chromeBin, t as CHROME_HINT } from "./chrome-guy8J1Sd.js";
|
|
3
3
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
4
4
|
import { t as emitJson } from "./log-jfLnWjfH.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as ADD_KINDS, o as parseDir, s as parseModulePath, c as parseModuleTargets, l as planGradleModule, u as planTarget, d as planToolchainModule, f as validateTargetName } from "./plan-
|
|
1
|
+
export { t as ADD_KINDS, o as parseDir, s as parseModulePath, c as parseModuleTargets, l as planGradleModule, u as planTarget, d as planToolchainModule, f as validateTargetName } from "./plan-CS7NcG5F.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as tracks } from "./schema-
|
|
1
|
+
import { r as tracks } from "./schema-DQ_NKe_i.js";
|
|
2
2
|
import { n as interrupted } from "./cleanup-B3RY_WMv.js";
|
|
3
3
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
4
|
-
import { t as appFastlaneDir } from "./fastlane-
|
|
4
|
+
import { t as appFastlaneDir } from "./fastlane-DPedpjrl.js";
|
|
5
5
|
import { i as withStdoutOnStderr, t as emitJson } from "./log-jfLnWjfH.js";
|
|
6
6
|
import { d as runPiped } from "./proc-WkAakwUC.js";
|
|
7
7
|
import { a as summarize, r as runSteps } from "./steps-D7yIe5Ik.js";
|
|
8
8
|
import { s as onGitHubActions } from "./creds-DgLGg0OY.js";
|
|
9
|
-
import { a as confirmTrack, n as checkBranch, o as laneConfigEnv, s as laneStep } from "./mobile-
|
|
9
|
+
import { a as confirmTrack, n as checkBranch, o as laneConfigEnv, s as laneStep } from "./mobile-u1aKSYD0.js";
|
|
10
10
|
import { n as mobileTag, t as clampNotes } from "./notes-Bdduo3ph.js";
|
|
11
11
|
import { n as loadPreflights } from "./preflight-BQKjK3Mg.js";
|
|
12
|
-
import { c as requirePlatformConfig, i as parseStatus, l as storeCreds, o as requireBundle } from "./status-
|
|
13
|
-
import { o as readVersion } from "./version-
|
|
12
|
+
import { c as requirePlatformConfig, i as parseStatus, l as storeCreds, o as requireBundle } from "./status-BElPmed2.js";
|
|
13
|
+
import { o as readVersion } from "./version-turRz-Ro.js";
|
|
14
14
|
import pc from "picocolors";
|
|
15
15
|
// src/lib/release/promote.ts
|
|
16
16
|
const APP_STORE_WHATS_NEW_MAX = 4e3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/release/promote.ts
|
|
3
3
|
var promote_default = defineCommand({
|
|
4
4
|
description: "Promote a build the store already has to a later track (no rebuild)",
|
|
@@ -39,9 +39,9 @@ var promote_default = defineCommand({
|
|
|
39
39
|
},
|
|
40
40
|
examples: "kit release promote android --from alpha --to beta --yes\nkit release promote android --from beta --to prod --rollout 0.2\nkit release promote ios --from beta --to prod --build 42 --notes \"Bug fixes\"\nkit release promote ios --from beta --to prod --app-version 1.3.0 --build 40 --notes \"Hotfix\"\nkit release promote ios --from alpha --to beta --dry-run",
|
|
41
41
|
async run(ctx) {
|
|
42
|
-
const { requireProject } = await import("./command-
|
|
43
|
-
const { promoteMobile, validatePromotion } = await import("./promote-
|
|
44
|
-
const { requirePlatform } = await import("./status-
|
|
42
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
43
|
+
const { promoteMobile, validatePromotion } = await import("./promote-CHkZBsre.js");
|
|
44
|
+
const { requirePlatform } = await import("./status-XAwjZ4PG.js");
|
|
45
45
|
requireProject(ctx);
|
|
46
46
|
await promoteMobile(ctx, {
|
|
47
47
|
platform: requirePlatform(ctx.positionals[0], "kit release promote <ios|android> --from <alpha|beta> --to <beta|prod>"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/release/metadata/pull.ts
|
|
3
3
|
var pull_default = defineCommand({
|
|
4
4
|
description: "Download the store listing text into release.<platform>.metadata; --screenshots adds images",
|
|
@@ -15,8 +15,8 @@ var pull_default = defineCommand({
|
|
|
15
15
|
},
|
|
16
16
|
examples: "kit release metadata pull ios\nkit release metadata pull android --screenshots\nkit release metadata pull ios --force",
|
|
17
17
|
async run(ctx) {
|
|
18
|
-
const { requireProject } = await import("./command-
|
|
19
|
-
const { metadataPlatform, pullMetadata } = await import("./metadata-
|
|
18
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
19
|
+
const { metadataPlatform, pullMetadata } = await import("./metadata-D3ilDtIt.js");
|
|
20
20
|
requireProject(ctx);
|
|
21
21
|
await pullMetadata(ctx, {
|
|
22
22
|
platform: metadataPlatform("pull", ctx.positionals[0]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/release/metadata/push.ts
|
|
3
3
|
var push_default = defineCommand({
|
|
4
4
|
description: "Upload the store listing text; --screenshots adds images. Never a binary or a review",
|
|
@@ -15,8 +15,8 @@ var push_default = defineCommand({
|
|
|
15
15
|
},
|
|
16
16
|
examples: "kit release metadata push ios\nkit release metadata push android --screenshots\nkit release metadata push ios --only-screenshots\nkit release metadata push ios --dry-run\nkit release metadata push android --yes",
|
|
17
17
|
async run(ctx) {
|
|
18
|
-
const { requireProject } = await import("./command-
|
|
19
|
-
const { metadataPlatform, pushMetadata } = await import("./metadata-
|
|
18
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
19
|
+
const { metadataPlatform, pushMetadata } = await import("./metadata-D3ilDtIt.js");
|
|
20
20
|
requireProject(ctx);
|
|
21
21
|
await pushMetadata(ctx, {
|
|
22
22
|
platform: metadataPlatform("push", ctx.positionals[0]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/env/push.ts
|
|
3
3
|
var push_default = defineCommand({
|
|
4
4
|
description: "Push secrets to Cloudflare workers (wrangler) and GitHub Actions (gh)",
|
|
@@ -32,9 +32,9 @@ var push_default = defineCommand({
|
|
|
32
32
|
"kit env push --dry-run"
|
|
33
33
|
].join("\n"),
|
|
34
34
|
async run(ctx) {
|
|
35
|
-
const { requireProject } = await import("./command-
|
|
35
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
36
36
|
const { loadEnv, assertValid } = await import("./load-DKsm40If.js");
|
|
37
|
-
const { assertSelection, runPush } = await import("./push-run-
|
|
37
|
+
const { assertSelection, runPush } = await import("./push-run-DsOpFWyx.js");
|
|
38
38
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
39
39
|
const { ExitCode } = await import("./errors-q8HX0_8p.js");
|
|
40
40
|
const { root, config } = requireProject(ctx);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as parseSecretNames, v as wrangler, y as wranglerSecretPut } from "./cloudflare-
|
|
1
|
+
import { l as parseSecretNames, v as wrangler, y as wranglerSecretPut } from "./cloudflare-ChAk3G2F.js";
|
|
2
2
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
3
3
|
import { d as runPiped } from "./proc-WkAakwUC.js";
|
|
4
4
|
import { n as pipeSecret, r as redact } from "./secrets-BIStexgu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as pinCloudflareAccount } from "./cloudflare-
|
|
1
|
+
import { u as pinCloudflareAccount } from "./cloudflare-ChAk3G2F.js";
|
|
2
2
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
3
3
|
import { t as confirm } from "./prompt-C0xPjGLR.js";
|
|
4
|
-
import { a as workerDestination, i as planPush, n as executePush, r as githubDestination } from "./push-
|
|
4
|
+
import { a as workerDestination, i as planPush, n as executePush, r as githubDestination } from "./push-jgndVStx.js";
|
|
5
5
|
// src/lib/env/push-run.ts
|
|
6
6
|
/** Usage error (exit 2) for flags that contradict each other. */
|
|
7
7
|
function assertSelection(sel) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
import { t as suiteArgs } from "./args-DLndWKlr.js";
|
|
3
3
|
// src/commands/qa.ts
|
|
4
4
|
var qa_default = defineCommand({
|
|
@@ -17,7 +17,7 @@ var qa_default = defineCommand({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
async run(ctx) {
|
|
20
|
-
const { runSuiteCommand } = await import("./command-
|
|
20
|
+
const { runSuiteCommand } = await import("./command-Brx4GSl7.js");
|
|
21
21
|
await runSuiteCommand(ctx, {
|
|
22
22
|
command: "qa",
|
|
23
23
|
defaultSuite: "qa",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
2
|
-
import { s as dbArgs } from "./cloudflare-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
|
+
import { s as dbArgs } from "./cloudflare-ChAk3G2F.js";
|
|
3
3
|
// src/commands/db/reset.ts
|
|
4
4
|
var reset_default = defineCommand({
|
|
5
5
|
description: "Local only: delete a local D1 database, re-apply migrations, then seed if configured",
|
|
@@ -14,9 +14,9 @@ var reset_default = defineCommand({
|
|
|
14
14
|
examples: "kit db reset\nkit db reset --db analytics --yes\nkit db reset --dry-run",
|
|
15
15
|
async run(ctx) {
|
|
16
16
|
const { relative } = await import("node:path");
|
|
17
|
-
const { requireProject } = await import("./command-
|
|
18
|
-
const { d1Args, pinCloudflareAccount, resolveD1, seedFile, wrangler } = await import("./cloudflare-
|
|
19
|
-
const { locateLocalD1, removeLocalD1, requireLocalD1 } = await import("./d1-local-
|
|
17
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
18
|
+
const { d1Args, pinCloudflareAccount, resolveD1, seedFile, wrangler } = await import("./cloudflare-D9XLipBO.js");
|
|
19
|
+
const { locateLocalD1, removeLocalD1, requireLocalD1 } = await import("./d1-local-Dg7DHECv.js");
|
|
20
20
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
21
21
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
22
22
|
const { run, runToStderr } = await import("./proc-Bvvv4XbJ.js");
|
|
@@ -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-BokDnKkX.js";
|
|
2
|
+
import { f as remoteArg, s as dbArgs } from "./cloudflare-ChAk3G2F.js";
|
|
3
3
|
// src/commands/db/restore.ts
|
|
4
4
|
var restore_default = defineCommand({
|
|
5
5
|
description: "Restore a D1 database from a .sql backup (local: replaces it; remote: must be empty)",
|
|
@@ -12,9 +12,9 @@ var restore_default = defineCommand({
|
|
|
12
12
|
async run(ctx) {
|
|
13
13
|
const { accessSync, constants, existsSync } = await import("node:fs");
|
|
14
14
|
const { relative, resolve } = await import("node:path");
|
|
15
|
-
const { requireProject } = await import("./command-
|
|
16
|
-
const { d1Args, d1Tables, pinCloudflareAccount, resolveD1, runD1, TABLES_SQL, wrangler } = await import("./cloudflare-
|
|
17
|
-
const { locateLocalD1, removeLocalD1, requireLocalD1 } = await import("./d1-local-
|
|
15
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
16
|
+
const { d1Args, d1Tables, pinCloudflareAccount, resolveD1, runD1, TABLES_SQL, wrangler } = await import("./cloudflare-D9XLipBO.js");
|
|
17
|
+
const { locateLocalD1, removeLocalD1, requireLocalD1 } = await import("./d1-local-Dg7DHECv.js");
|
|
18
18
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
19
19
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
20
20
|
const { run, runPiped } = await import("./proc-Bvvv4XbJ.js");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/release/rollback.ts
|
|
3
3
|
var rollback_default = defineCommand({
|
|
4
4
|
description: "Roll a worker service back to an earlier version (wrangler rollback); tags stay put",
|
|
@@ -14,14 +14,14 @@ var rollback_default = defineCommand({
|
|
|
14
14
|
].join("\n"),
|
|
15
15
|
async run(ctx) {
|
|
16
16
|
const { relative } = await import("node:path");
|
|
17
|
-
const { requireProject } = await import("./command-
|
|
18
|
-
const { pinCloudflareAccount, wrangler } = await import("./cloudflare-
|
|
17
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
18
|
+
const { pinCloudflareAccount, wrangler } = await import("./cloudflare-D9XLipBO.js");
|
|
19
19
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
20
20
|
const { describe } = await import("./git-oL5tg3JB.js");
|
|
21
21
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
22
22
|
const { runLines, runPiped } = await import("./proc-Bvvv4XbJ.js");
|
|
23
23
|
const { confirm } = await import("./prompt-BDNW2kJ2.js");
|
|
24
|
-
const { gradualRollout, listArgs, pickRollback, rollbackArgs, serviceDeployTarget } = await import("./worker-
|
|
24
|
+
const { gradualRollout, listArgs, pickRollback, rollbackArgs, serviceDeployTarget } = await import("./worker-DNqw7_3L.js");
|
|
25
25
|
const { root, config } = requireProject(ctx);
|
|
26
26
|
const services = config.release?.services ?? {};
|
|
27
27
|
const [name, ...more] = ctx.positionals;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/release/rollout.ts
|
|
3
3
|
var rollout_default = defineCommand({
|
|
4
4
|
description: "Change the production rollout: Play staged rollout, App Store phased release",
|
|
@@ -27,9 +27,9 @@ var rollout_default = defineCommand({
|
|
|
27
27
|
},
|
|
28
28
|
examples: "kit release rollout android --percent 25\nkit release rollout android --halt --yes\nkit release rollout ios --resume\nkit release rollout ios --complete --dry-run",
|
|
29
29
|
async run(ctx) {
|
|
30
|
-
const { requireProject } = await import("./command-
|
|
31
|
-
const { rolloutMobile } = await import("./rollout-
|
|
32
|
-
const { requirePlatform } = await import("./status-
|
|
30
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
31
|
+
const { rolloutMobile } = await import("./rollout-qH6nOpBh.js");
|
|
32
|
+
const { requirePlatform } = await import("./status-XAwjZ4PG.js");
|
|
33
33
|
requireProject(ctx);
|
|
34
34
|
await rolloutMobile(ctx, requirePlatform(ctx.positionals[0], "kit release rollout <ios|android> [--percent <1-100>] [--halt] [--resume] [--complete]"), {
|
|
35
35
|
percent: ctx.args.percent,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as interrupted } from "./cleanup-B3RY_WMv.js";
|
|
2
2
|
import { n as KitError, t as ExitCode } from "./errors-BO9WKUaF.js";
|
|
3
|
-
import { t as appFastlaneDir } from "./fastlane-
|
|
3
|
+
import { t as appFastlaneDir } from "./fastlane-DPedpjrl.js";
|
|
4
4
|
import { t as emitJson } from "./log-jfLnWjfH.js";
|
|
5
5
|
import { i as text, t as confirm } from "./prompt-C0xPjGLR.js";
|
|
6
6
|
import { a as summarize, r as runSteps } from "./steps-D7yIe5Ik.js";
|
|
7
7
|
import { s as onGitHubActions } from "./creds-DgLGg0OY.js";
|
|
8
|
-
import { o as laneConfigEnv, s as laneStep } from "./mobile-
|
|
9
|
-
import { c as requirePlatformConfig, l as storeCreds, o as requireBundle } from "./status-
|
|
8
|
+
import { o as laneConfigEnv, s as laneStep } from "./mobile-u1aKSYD0.js";
|
|
9
|
+
import { c as requirePlatformConfig, l as storeCreds, o as requireBundle } from "./status-BElPmed2.js";
|
|
10
10
|
import pc from "picocolors";
|
|
11
11
|
// src/lib/release/rollout.ts
|
|
12
12
|
const usage = (message, hint) => new KitError(message, hint, ExitCode.usage);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/env/rotate.ts
|
|
3
3
|
var rotate_default = defineCommand({
|
|
4
4
|
description: "Generate a new value for keys the env schema marks `generate`, then sync",
|
|
@@ -16,13 +16,13 @@ var rotate_default = defineCommand({
|
|
|
16
16
|
async run(ctx) {
|
|
17
17
|
const { existsSync, readFileSync } = await import("node:fs");
|
|
18
18
|
const { join } = await import("node:path");
|
|
19
|
-
const { requireProject } = await import("./command-
|
|
19
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
20
20
|
const { loadEnv, assertValid } = await import("./load-DKsm40If.js");
|
|
21
21
|
const { outputs, writeAtomic, writeOutputs } = await import("./render-BdsHMSvL.js");
|
|
22
|
-
const { destinationsFor, generateValue, pushSelections, rewriteKey } = await import("./rotate-
|
|
23
|
-
const { executePreflight, mergePreflights, preflightPush, pushCommand } = await import("./push-run-
|
|
22
|
+
const { destinationsFor, generateValue, pushSelections, rewriteKey } = await import("./rotate-DW_Ulrb8.js");
|
|
23
|
+
const { executePreflight, mergePreflights, preflightPush, pushCommand } = await import("./push-run-DsOpFWyx.js");
|
|
24
24
|
const { redact } = await import("./secrets-CP1AnRbb.js");
|
|
25
|
-
const { suggest } = await import("./targets-
|
|
25
|
+
const { suggest } = await import("./targets-vulkgijc.js");
|
|
26
26
|
const { confirm } = await import("./prompt-BDNW2kJ2.js");
|
|
27
27
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
28
28
|
const { ExitCode, KitError } = await import("./errors-q8HX0_8p.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as dotenvEncode, r as dotenvLine } from "./dotenv-DK7phuY3.js";
|
|
2
2
|
import { i as registerSecret } from "./secrets-BIStexgu.js";
|
|
3
|
-
import { t as GITHUB } from "./push-
|
|
3
|
+
import { t as GITHUB } from "./push-jgndVStx.js";
|
|
4
4
|
import { randomBytes, randomUUID } from "node:crypto";
|
|
5
5
|
// src/lib/env/rotate.ts
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCommand } from "./command-
|
|
1
|
+
import { n as defineCommand } from "./command-BokDnKkX.js";
|
|
2
2
|
// src/commands/app/run.ts
|
|
3
3
|
var run_default = defineCommand({
|
|
4
4
|
description: "Build, install and launch the app",
|
|
@@ -19,9 +19,9 @@ var run_default = defineCommand({
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
async run(ctx) {
|
|
22
|
-
const { requireProject } = await import("./command-
|
|
22
|
+
const { requireProject } = await import("./command-DEOAIK_9.js");
|
|
23
23
|
const { parseTarget } = await import("./devices-DDv6rotc.js");
|
|
24
|
-
const { runApp } = await import("./install-
|
|
24
|
+
const { runApp } = await import("./install-CvGEi_Hw.js");
|
|
25
25
|
const { emitJson } = await import("./log-CEcT9mjr.js");
|
|
26
26
|
const { root, config } = requireProject(ctx);
|
|
27
27
|
const target = parseTarget(ctx.positionals[0], "app run");
|
|
@@ -1,31 +1,13 @@
|
|
|
1
|
+
import { r as expandProjectModules } from "./module-C3JZFBvX.js";
|
|
1
2
|
import { n as parseToml, t as getTomlValue } from "./toml-CdgZF4rj.js";
|
|
2
|
-
import { r as ANDROID_VERSION_NAME, s as getYamlScalar } from "./toolchain-
|
|
3
|
-
import { join } from "node:path";
|
|
3
|
+
import { r as ANDROID_VERSION_NAME, s as getYamlScalar } from "./toolchain-ByF58woB.js";
|
|
4
|
+
import { basename, join } from "node:path";
|
|
4
5
|
// src/lib/scaffold.ts
|
|
5
6
|
const TEMPLATES = ["toolchain", "gradle"];
|
|
6
7
|
/** A Kotlin toolchain project: the wrapper and project.yaml side by side. */
|
|
7
8
|
function isToolchainRepo(exists) {
|
|
8
9
|
return exists("kotlin") && exists("project.yaml");
|
|
9
10
|
}
|
|
10
|
-
/** Module dirs listed under `modules:` in project.yaml: a block or flow list of plain paths (no globs). */
|
|
11
|
-
function projectModules(projectYaml) {
|
|
12
|
-
const lines = projectYaml.split("\n");
|
|
13
|
-
const start = lines.findIndex((l) => /^modules\s*:/.test(l));
|
|
14
|
-
if (start < 0) return [];
|
|
15
|
-
const clean = (raw) => raw.trim().replace(/^(['"])(.*)\1$/, "$2").replace(/^\.\//, "").replace(/\/+$/, "");
|
|
16
|
-
const plain = (v) => v !== "" && !/[*{:]/.test(v);
|
|
17
|
-
const flow = lines[start].match(/^modules\s*:\s*\[(.*)\]/);
|
|
18
|
-
if (flow) return flow[1].split(",").map(clean).filter(plain);
|
|
19
|
-
const out = [];
|
|
20
|
-
for (const line of lines.slice(start + 1)) {
|
|
21
|
-
if (line.trim() === "" || line.trimStart().startsWith("#")) continue;
|
|
22
|
-
const m = line.match(/^\s*-\s*(.+?)\s*$/);
|
|
23
|
-
if (!m) break;
|
|
24
|
-
const value = clean(m[1].replace(/\s+#.*$/, ""));
|
|
25
|
-
if (plain(value)) out.push(value);
|
|
26
|
-
}
|
|
27
|
-
return out;
|
|
28
|
-
}
|
|
29
11
|
/** `product: jvm/app`, or `product: { type: kmp/lib, platforms: [...] }` in block or flow form. */
|
|
30
12
|
function moduleProduct(moduleYaml) {
|
|
31
13
|
const short = getYamlScalar(moduleYaml, ["product"]);
|
|
@@ -68,13 +50,15 @@ const LINUX_PLATFORMS = [
|
|
|
68
50
|
"linuxX64"
|
|
69
51
|
];
|
|
70
52
|
/**
|
|
71
|
-
* What the template needs from the project.
|
|
72
|
-
* module
|
|
53
|
+
* What the template needs from the project. Modules are found wherever project.yaml lists them
|
|
54
|
+
* (`mobile/android`, a glob), and `module` is that path: the config states the location and kit
|
|
55
|
+
* derives the toolchain's name from it. `list(dir)` returns the repo-relative files under a dir
|
|
56
|
+
* (for globs, and for the Xcode project, its schemes and xcconfigs).
|
|
73
57
|
*/
|
|
74
58
|
function detectToolchain(read, list) {
|
|
75
59
|
const facts = { ciPlatforms: [] };
|
|
76
60
|
const platforms = /* @__PURE__ */ new Set();
|
|
77
|
-
for (const module of
|
|
61
|
+
for (const module of expandProjectModules(read("project.yaml") ?? "", list)) {
|
|
78
62
|
const yaml = read(join(module, "module.yaml"));
|
|
79
63
|
if (yaml === void 0) continue;
|
|
80
64
|
const product = moduleProduct(yaml);
|
|
@@ -95,7 +79,7 @@ function detectToolchain(read, list) {
|
|
|
95
79
|
]),
|
|
96
80
|
versionName: getYamlScalar(yaml, ANDROID_VERSION_NAME)
|
|
97
81
|
};
|
|
98
|
-
else if (kind === "jvm" && !facts.desktop) facts.desktop = module;
|
|
82
|
+
else if (kind === "jvm" && !facts.desktop) facts.desktop = basename(module);
|
|
99
83
|
else if (kind === "ios" && !facts.ios) {
|
|
100
84
|
const files = list(module);
|
|
101
85
|
const pbxproj = files.find((f) => f.endsWith(".xcodeproj/project.pbxproj"));
|
|
@@ -308,4 +292,4 @@ function planScaffold(input) {
|
|
|
308
292
|
}
|
|
309
293
|
return plan;
|
|
310
294
|
}
|
|
311
|
-
export { isToolchainRepo as a, placeholderId as c,
|
|
295
|
+
export { isToolchainRepo as a, placeholderId as c, withGitignore as d, withKitDependency as f, fill as i, planScaffold as l, TEMPLATES as n, kitPackageJson as o, withVersionKeys as p, detectToolchain as r, moduleProduct as s, RENOVATE_FILES as t, toolchainConfig as u };
|