@jordond/kit 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/dist/{_verb-e37jzjj4.js → _verb-rhswhzxn.js} +6 -5
- package/dist/{android-z67qp1hh.js → android-d6zs9dyp.js} +3 -3
- package/dist/{build-ecy4px96.js → build-fmx52dv7.js} +5 -5
- package/dist/{builtins-gvmrdxdv.js → builtins-1dzch5rr.js} +1 -1
- package/dist/{bump-nyefmpxs.js → bump-w1feqf2k.js} +38 -5
- package/dist/{certs-fqz6xsb6.js → certs-yp73br5h.js} +4 -4
- package/dist/{check-z9ps5ves.js → check-2kvdmdcy.js} +4 -4
- package/dist/{check-4k3y5jmf.js → check-7hgf728j.js} +2 -2
- package/dist/{cli-qakdt5nm.js → cli-2nw36t7w.js} +21 -1
- package/dist/{cli-5xasa3gy.js → cli-6z4axmde.js} +1 -1
- package/dist/cli-78x6rdyd.js +202 -0
- package/dist/{cli-f7y7gmvf.js → cli-mdy0ze8j.js} +2 -2
- package/dist/{cli-vt6582gp.js → cli-tafnwn5a.js} +4 -3
- package/dist/{cli-s3x1bb78.js → cli-v1tt2mzx.js} +2 -2
- package/dist/{cli-r6g14qrk.js → cli-vkam43jd.js} +43 -1
- package/dist/{cli-8197y4dp.js → cli-vpzh9t0w.js} +1 -1
- package/dist/{cli-51ha0t4k.js → cli-wg35kt5d.js} +1 -1
- package/dist/{cli-np6a4hbd.js → cli-wxv8j9e1.js} +36 -30
- package/dist/{cli-cc13vv98.js → cli-ya6cd8y5.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{cloudflare-0yz3f9tx.js → cloudflare-2t4cqqb8.js} +2 -2
- package/dist/{command-0x47mfj2.js → command-1ydsfy5t.js} +1 -1
- package/dist/commands/build.d.ts +1 -1
- package/dist/commands/doctor.d.ts +22 -1
- package/dist/commands/init.d.ts +3 -2
- package/dist/commands/kotlin.d.ts +2 -0
- package/dist/{completion-bcwejygc.js → completion-gp0a1820.js} +1 -1
- package/dist/config/schema.d.ts +7 -1
- package/dist/{config-wbczmt18.js → config-tbdx7xmd.js} +1 -1
- package/dist/{create-xvy4a8r3.js → create-a0wwtv51.js} +4 -4
- package/dist/{creds-bhdyb0js.js → creds-2qk71mdx.js} +2 -2
- package/dist/{deploy-187e49kx.js → deploy-zw91q9dz.js} +4 -4
- package/dist/{deps-adbpkp0w.js → deps-mt460msd.js} +2 -2
- package/dist/{dev-echj7d7q.js → dev-hh6m90wf.js} +5 -5
- package/dist/{doctor-g6rdwqff.js → doctor-dbpnyxca.js} +146 -6
- package/dist/{exec-cj5bsewf.js → exec-y71nap3e.js} +4 -4
- package/dist/{fastlane-2kjyfqjg.js → fastlane-gjmhdgpc.js} +2 -2
- package/dist/{fastlane-e3gsr42q.js → fastlane-r8ewmtsp.js} +5 -5
- package/dist/{format-zmc1d1v1.js → format-7nafzp1w.js} +2 -2
- package/dist/{github-xhhk1bpk.js → github-wd1fyk08.js} +4 -4
- package/dist/{gradle-8pvtwwk9.js → gradle-rgyhk380.js} +3 -3
- package/dist/index.js +3 -3
- package/dist/{init-ptkwtm58.js → init-cb5hz9aa.js} +23 -4
- package/dist/{init-1mxh98j8.js → init-dnknbjrv.js} +3 -3
- package/dist/{ios-tty9dmnj.js → ios-x4rdpb0s.js} +3 -3
- package/dist/kotlin-pc1dk6d8.js +31 -0
- package/dist/lib/fastlane.d.ts +4 -1
- package/dist/lib/release/mobile.d.ts +22 -3
- package/dist/lib/release/version.d.ts +12 -0
- package/dist/lib/targets.d.ts +3 -1
- package/dist/lib/toolchain.d.ts +59 -0
- package/dist/{lint-s767b0f2.js → lint-2erx5vre.js} +2 -2
- package/dist/{list-v4xvb7g3.js → list-7z9vyxrc.js} +4 -4
- package/dist/{load-dxhacsn4.js → load-75n91nk4.js} +1 -1
- package/dist/{main-6nkvk3xr.js → main-2q4ys8qw.js} +16 -5
- package/dist/{migrate-bw99wp7v.js → migrate-97yp0r9r.js} +4 -4
- package/dist/{mobile-wjqzvzje.js → mobile-vjv11q72.js} +104 -33
- package/dist/{push-4hw2sbed.js → push-36vdpwex.js} +5 -5
- package/dist/{push-1gq40vjj.js → push-g5ade61n.js} +3 -3
- package/dist/{service-b282yyn5.js → service-4cjx0epd.js} +5 -5
- package/dist/{show-k7bt5142.js → show-y420r49k.js} +3 -3
- package/dist/{steps-9knqpszw.js → steps-705j58z1.js} +2 -2
- package/dist/{sync-xmjd4804.js → sync-mfzsmag6.js} +3 -3
- package/dist/{targets-bywmzbtj.js → targets-d9e5naq8.js} +5 -2
- package/dist/{test-9c5r8bgr.js → test-vwreks0d.js} +2 -2
- package/dist/toolchain-wd7hh812.js +41 -0
- package/dist/{typecheck-8snw4yza.js → typecheck-8p2ng33a.js} +2 -2
- package/dist/{version-0gsr8qbz.js → version-mnds3q7r.js} +7 -2
- package/dist/{wrangler-5fchmhwc.js → wrangler-rbrw8ygc.js} +3 -3
- package/dist/{xcode-4ede7p2b.js → xcode-njfvzhk3.js} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.2.1/io.github.jordond.kit.android.application.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.4.0/io.github.jordond.kit.android.application.gradle.plugin-0.4.0.pom.sha512 +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.2.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.4.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.4.0.pom.sha512 +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.2.1/io.github.jordond.kit.compose.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.4.0/io.github.jordond.kit.compose.gradle.plugin-0.4.0.pom.sha512 +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.2.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.4.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.4.0.pom.sha512 +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.2.1/kit-plugins-0.2.1.module → 0.4.0/kit-plugins-0.4.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.1/kit-plugins-0.2.1.pom → 0.4.0/kit-plugins-0.4.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.4.0/kit-plugins-0.4.0.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.2.1/kit-settings-0.2.1.module → 0.4.0/kit-settings-0.4.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.1/kit-settings-0.2.1.pom → 0.4.0/kit-settings-0.4.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.4.0/kit-settings-0.4.0.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.2.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.4.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.4.0.pom.sha512 +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.2.1/io.github.jordond.kit.lint.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.4.0/io.github.jordond.kit.lint.gradle.plugin-0.4.0.pom.sha512 +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.2.1/io.github.jordond.kit.release.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.4.0/io.github.jordond.kit.release.gradle.plugin-0.4.0.pom.sha512 +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.2.1/io.github.jordond.kit.settings.gradle.plugin-0.2.1.pom → 0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.4.0/io.github.jordond.kit.settings.gradle.plugin-0.4.0.pom.sha512 +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/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.1/io.github.jordond.kit.android.application.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.1/io.github.jordond.kit.android.application.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.1/io.github.jordond.kit.android.application.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.1/io.github.jordond.kit.android.application.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.1/io.github.jordond.kit.compose.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.1/io.github.jordond.kit.compose.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.1/io.github.jordond.kit.compose.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.1/io.github.jordond.kit.compose.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.1/kit-plugins-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.1/kit-settings-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.1/io.github.jordond.kit.lint.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.1/io.github.jordond.kit.lint.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.1/io.github.jordond.kit.lint.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.1/io.github.jordond.kit.lint.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.1/io.github.jordond.kit.release.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.1/io.github.jordond.kit.release.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.1/io.github.jordond.kit.release.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.1/io.github.jordond.kit.release.gradle.plugin-0.2.1.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.1/io.github.jordond.kit.settings.gradle.plugin-0.2.1.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.1/io.github.jordond.kit.settings.gradle.plugin-0.2.1.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.1/io.github.jordond.kit.settings.gradle.plugin-0.2.1.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.1/io.github.jordond.kit.settings.gradle.plugin-0.2.1.pom.sha512 +0 -1
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.1/kit-plugins-0.2.1.jar → 0.4.0/kit-plugins-0.4.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.1/kit-plugins-0.2.1.jar.md5 → 0.4.0/kit-plugins-0.4.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.1/kit-plugins-0.2.1.jar.sha1 → 0.4.0/kit-plugins-0.4.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.1/kit-plugins-0.2.1.jar.sha256 → 0.4.0/kit-plugins-0.4.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.1/kit-plugins-0.2.1.jar.sha512 → 0.4.0/kit-plugins-0.4.0.jar.sha512} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.1/kit-settings-0.2.1.jar → 0.4.0/kit-settings-0.4.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.1/kit-settings-0.2.1.jar.md5 → 0.4.0/kit-settings-0.4.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.1/kit-settings-0.2.1.jar.sha1 → 0.4.0/kit-settings-0.4.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.1/kit-settings-0.2.1.jar.sha256 → 0.4.0/kit-settings-0.4.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.1/kit-settings-0.2.1.jar.sha512 → 0.4.0/kit-settings-0.4.0.jar.sha512} +0 -0
package/README.md
CHANGED
|
@@ -61,6 +61,58 @@ export default defineCommand({
|
|
|
61
61
|
|
|
62
62
|
`kit test`, `kit test client` and `kit test --json` all keep working; only the noise is gone.
|
|
63
63
|
|
|
64
|
+
## Doctor
|
|
65
|
+
|
|
66
|
+
`kit doctor` checks the tools the config needs. Two checks only warn, because they are per-machine setup:
|
|
67
|
+
a repo with `mise.toml` warns when mise isn't installed or a pinned version differs, and a repo with
|
|
68
|
+
`lefthook.yml` warns when lefthook isn't installed or `lefthook install` hasn't been run in the clone.
|
|
69
|
+
|
|
70
|
+
## Kotlin toolchain
|
|
71
|
+
|
|
72
|
+
Apps built with the [JetBrains Kotlin Toolchain](https://kotlin-toolchain.org/latest/) (formerly Amper)
|
|
73
|
+
have a `kotlin` wrapper, `project.yaml` and one `module.yaml` per module instead of Gradle. Set
|
|
74
|
+
`toolchain.root` in place of `gradle` (they are exclusive) and use the `kotlin` target kind:
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
export default defineConfig({
|
|
78
|
+
name: 'bekindrewind',
|
|
79
|
+
toolchain: { root: '.' },
|
|
80
|
+
versions: { file: 'libs.versions.toml', keys: { ios: 'app-ios-version', android: 'app-android-version' } },
|
|
81
|
+
targets: {
|
|
82
|
+
app: { kind: 'kotlin', dir: '.', lint: 'ktlint', format: 'ktlint -F', dev: './kotlin run -m desktopApp' },
|
|
83
|
+
},
|
|
84
|
+
release: {
|
|
85
|
+
android: { packageName: 'app.bekindrewind', module: 'androidApp' },
|
|
86
|
+
ios: { bundleIds: ['app.bekindrewind'], project: 'iosApp/module.xcodeproj', scheme: 'app', output: 'App.ipa' },
|
|
87
|
+
},
|
|
88
|
+
})
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
| | Gradle | Kotlin toolchain |
|
|
92
|
+
| --- | --- | --- |
|
|
93
|
+
| `kit test` / `kit build` | `./gradlew test` / `build` | `./kotlin test` / `build` |
|
|
94
|
+
| `kit lint` / `kit format` | `spotlessCheck` / `spotlessApply` | `ktlint` / `ktlint -F` over `**/*.kt` and `**/*.kts`, skipping `build/` |
|
|
95
|
+
| `kit build <t> --release` | `<module>:bundleRelease` | `./kotlin package -m <module>` (AAB only) |
|
|
96
|
+
| passthrough | `kit gradle …` | `kit kotlin …` |
|
|
97
|
+
| `kit init` | `gradle.init` tasks | `toolchain.init` (default `./kotlin --version`, which downloads the toolchain) |
|
|
98
|
+
| `kit doctor` | java, Android SDK, catalog keys | the wrapper and its pinned `kotlin_cli_version`, and ktlint; no java or SDK needed |
|
|
99
|
+
|
|
100
|
+
The toolchain has no linter, so `kotlin` targets use the standalone `ktlint` binary: pin it in `mise.toml`
|
|
101
|
+
(`ktlint = "1.8.0"`) and style it with `.editorconfig`. `kit lint --staged --fix` passes only the staged
|
|
102
|
+
Kotlin files. Override with `lint:` / `format:` on the target, or `false` to turn one off.
|
|
103
|
+
|
|
104
|
+
`kit release android` runs `./kotlin package -m <release.android.module>`. The toolchain takes no build
|
|
105
|
+
properties, so kit writes `versionName`, `versionCode` and `signing` (a `keystore.properties` in kit's
|
|
106
|
+
0600 temp dir, built from the `ANDROID_KEYSTORE_*` secrets) into the module's `module.yaml` for the build and
|
|
107
|
+
restores the file afterwards, also on failure or Ctrl-C. `release.android.gates` tasks are `./kotlin`
|
|
108
|
+
arguments (`test -m shared`). `kit version bump` also rewrites `settings.android.versionName` in the app's
|
|
109
|
+
`module.yaml`, and releases and `kit doctor` fail if it differs from the TOML. There is no `BuildConstants.IS_INTERNAL`:
|
|
110
|
+
it comes from kit's Gradle plugin.
|
|
111
|
+
|
|
112
|
+
`kit release ios` is the same as for Gradle apps: the Xcode project's "Build Kotlin" phase runs the toolchain.
|
|
113
|
+
Give the Release configuration manual signing with the match profiles, a `DEVELOPMENT_TEAM`, and
|
|
114
|
+
`MARKETING_VERSION` in `release.ios.xcconfig`.
|
|
115
|
+
|
|
64
116
|
## Releases
|
|
65
117
|
|
|
66
118
|
kit owns the release flow; one shared `fastlane/Fastfile` (shipped in this package) runs the lanes.
|
|
@@ -3,14 +3,15 @@ import {
|
|
|
3
3
|
commandStep,
|
|
4
4
|
runSteps,
|
|
5
5
|
summarize
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
6
|
+
} from "./cli-ya6cd8y5.js";
|
|
7
|
+
import"./cli-wg35kt5d.js";
|
|
8
8
|
import {
|
|
9
9
|
requireProject
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-6z4axmde.js";
|
|
11
11
|
import {
|
|
12
12
|
planVerbs
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-vkam43jd.js";
|
|
14
|
+
import"./cli-78x6rdyd.js";
|
|
14
15
|
import"./cli-qhs8ww91.js";
|
|
15
16
|
import {
|
|
16
17
|
ExitCode,
|
|
@@ -37,7 +38,7 @@ async function runVerb(ctx, v) {
|
|
|
37
38
|
const { root, config } = requireProject(ctx);
|
|
38
39
|
if (config.cloudflare?.accountId) {
|
|
39
40
|
try {
|
|
40
|
-
(await import("./cloudflare-
|
|
41
|
+
(await import("./cloudflare-2t4cqqb8.js")).pinCloudflareAccount(root, config);
|
|
41
42
|
} catch (e) {
|
|
42
43
|
if (!(e instanceof KitError))
|
|
43
44
|
throw e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6z4axmde.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -41,8 +41,8 @@ kit release android --track prod --rollout 0.2
|
|
|
41
41
|
kit release android --track alpha --draft
|
|
42
42
|
kit release android --track internal --dry-run`,
|
|
43
43
|
async run(ctx) {
|
|
44
|
-
const { requireProject } = await import("./command-
|
|
45
|
-
const { releaseMobile } = await import("./mobile-
|
|
44
|
+
const { requireProject } = await import("./command-1ydsfy5t.js");
|
|
45
|
+
const { releaseMobile } = await import("./mobile-vjv11q72.js");
|
|
46
46
|
requireProject(ctx);
|
|
47
47
|
await releaseMobile(ctx, {
|
|
48
48
|
platform: "android",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6z4axmde.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -14,14 +14,14 @@ var build_default = defineCommand({
|
|
|
14
14
|
description: "Build every target",
|
|
15
15
|
group: "Develop",
|
|
16
16
|
args: {
|
|
17
|
-
release: { type: "boolean", description: "Gradle: the signed release bundle (AAB)" },
|
|
17
|
+
release: { type: "boolean", description: "Gradle or Kotlin toolchain: the signed release bundle (AAB)" },
|
|
18
18
|
apk: { type: "boolean", description: "Gradle: the signed release APK" }
|
|
19
19
|
},
|
|
20
20
|
examples: `kit build
|
|
21
21
|
kit build api admin
|
|
22
22
|
kit build client --release`,
|
|
23
23
|
async run(ctx) {
|
|
24
|
-
const { runVerb } = await import("./_verb-
|
|
24
|
+
const { runVerb } = await import("./_verb-rhswhzxn.js");
|
|
25
25
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
26
26
|
if (ctx.args.release && ctx.args.apk) {
|
|
27
27
|
throw new KitError("--release and --apk build different artifacts; pick one", undefined, ExitCode.usage);
|
|
@@ -30,8 +30,8 @@ kit build client --release`,
|
|
|
30
30
|
if (release) {
|
|
31
31
|
const name = ctx.positionals[0];
|
|
32
32
|
const t = name ? ctx.config?.targets[name] : undefined;
|
|
33
|
-
if (ctx.positionals.length !== 1 || t?.kind !== "gradle") {
|
|
34
|
-
throw new KitError("A release build is for one gradle target", "Name it, e.g. `kit build client --release`", ExitCode.usage);
|
|
33
|
+
if (ctx.positionals.length !== 1 || t?.kind !== "gradle" && t?.kind !== "kotlin") {
|
|
34
|
+
throw new KitError("A release build is for one gradle or kotlin target", "Name it, e.g. `kit build client --release`", ExitCode.usage);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
await runVerb(ctx, { name: "build", verbs: ["build"], plan: { release } });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6z4axmde.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -30,19 +30,22 @@ kit version bump minor --pr`,
|
|
|
30
30
|
async run(ctx) {
|
|
31
31
|
const { readFileSync, writeFileSync } = await import("fs");
|
|
32
32
|
const { join } = await import("path");
|
|
33
|
-
const { requireProject } = await import("./command-
|
|
33
|
+
const { requireProject } = await import("./command-1ydsfy5t.js");
|
|
34
34
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
35
|
+
const { moduleYamlPath } = await import("./toolchain-wd7hh812.js");
|
|
35
36
|
const {
|
|
37
|
+
androidVersionDrift,
|
|
36
38
|
bumpLevels,
|
|
37
39
|
expandPlatforms,
|
|
38
40
|
iosVersionDrift,
|
|
39
41
|
nextVersion,
|
|
40
42
|
readVersion,
|
|
41
43
|
readXcconfig,
|
|
44
|
+
setModuleVersion,
|
|
42
45
|
setVersion,
|
|
43
46
|
setXcconfigVersion
|
|
44
|
-
} = await import("./version-
|
|
45
|
-
const { checkBranch, checkClean } = await import("./mobile-
|
|
47
|
+
} = await import("./version-mnds3q7r.js");
|
|
48
|
+
const { checkBranch, checkClean } = await import("./mobile-vjv11q72.js");
|
|
46
49
|
const { push } = await import("./git-3gyyfk0x.js");
|
|
47
50
|
const { ProcError, runPiped } = await import("./proc-jv4bcyyx.js");
|
|
48
51
|
const { confirm } = await import("./prompt-3wwegvqc.js");
|
|
@@ -69,10 +72,25 @@ kit version bump minor --pr`,
|
|
|
69
72
|
throw new KitError(`iOS version drift before the bump: ${file} says ${drift.toml}, ${xcconfig} says ${drift.xcconfig ?? "(no MARKETING_VERSION)"}`, "Make them equal (the TOML is the source), commit, then bump", ExitCode.precondition);
|
|
70
73
|
}
|
|
71
74
|
}
|
|
75
|
+
const androidChange = changes.find((c) => c.name === "android");
|
|
76
|
+
const androidModule = androidChange && config.toolchain && config.release?.android ? moduleYamlPath(config, config.release.android.module) : undefined;
|
|
77
|
+
if (androidModule) {
|
|
78
|
+
const drift = androidVersionDrift(root, config);
|
|
79
|
+
if (drift) {
|
|
80
|
+
throw new KitError(`Android version drift before the bump: ${file} says ${drift.toml}, ${androidModule} says ${drift.module}`, "Make them equal (the TOML is the source), commit, then bump", ExitCode.precondition);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
72
83
|
const subject = `chore(release): ${changes.map((c) => `${c.name} ${c.to}`).join(", ")}`;
|
|
73
84
|
const json = (extra) => {
|
|
74
85
|
if (ctx.flags.json)
|
|
75
|
-
emitJson({
|
|
86
|
+
emitJson({
|
|
87
|
+
file,
|
|
88
|
+
...xcconfig ? { xcconfig } : {},
|
|
89
|
+
...androidModule ? { module: androidModule } : {},
|
|
90
|
+
changes,
|
|
91
|
+
commit: subject,
|
|
92
|
+
...extra
|
|
93
|
+
});
|
|
76
94
|
};
|
|
77
95
|
if (ctx.flags.dryRun) {
|
|
78
96
|
json({ dryRun: true });
|
|
@@ -81,6 +99,8 @@ kit version bump minor --pr`,
|
|
|
81
99
|
ctx.log.step(`${c.name}: ${c.from} \u2192 ${c.to}`);
|
|
82
100
|
if (xcconfig)
|
|
83
101
|
ctx.log.step(`${xcconfig}: MARKETING_VERSION \u2192 ${iosChange.to}`);
|
|
102
|
+
if (androidModule)
|
|
103
|
+
ctx.log.step(`${androidModule}: versionName \u2192 ${androidChange.to}`);
|
|
84
104
|
ctx.log.dim(` commit "${subject}"${ctx.args["no-push"] ? "" : ctx.args.pr ? ", push a branch and open a PR" : ", push"}`);
|
|
85
105
|
}
|
|
86
106
|
return;
|
|
@@ -113,6 +133,19 @@ kit version bump minor --pr`,
|
|
|
113
133
|
after: setXcconfigVersion(before, xcconfig, iosChange.to)
|
|
114
134
|
});
|
|
115
135
|
}
|
|
136
|
+
if (androidModule) {
|
|
137
|
+
const r = await runPiped(["git", "ls-files", "--error-unmatch", "--", androidModule], { cwd: root });
|
|
138
|
+
if (r.code !== 0) {
|
|
139
|
+
throw new KitError(`${androidModule} is not tracked by git`, "Commit it first; kit commits the bump to it with the TOML", ExitCode.precondition);
|
|
140
|
+
}
|
|
141
|
+
const before = readFileSync(join(root, androidModule), "utf8");
|
|
142
|
+
edits.push({
|
|
143
|
+
rel: androidModule,
|
|
144
|
+
path: join(root, androidModule),
|
|
145
|
+
before,
|
|
146
|
+
after: setModuleVersion(before, androidModule, androidChange.to)
|
|
147
|
+
});
|
|
148
|
+
}
|
|
116
149
|
let branch = base;
|
|
117
150
|
if (ctx.args.pr) {
|
|
118
151
|
branch = `chore/bump-${changes.map((c) => `${c.name}-${c.to}`).join("-")}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6z4axmde.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -22,10 +22,10 @@ var certs_default = defineCommand({
|
|
|
22
22
|
examples: `kit release certs
|
|
23
23
|
kit release certs --add`,
|
|
24
24
|
async run(ctx) {
|
|
25
|
-
const { requireProject } = await import("./command-
|
|
25
|
+
const { requireProject } = await import("./command-1ydsfy5t.js");
|
|
26
26
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
27
|
-
const { appleCreds, onGitHubActions } = await import("./creds-
|
|
28
|
-
const { appFastlaneDir, runLane } = await import("./fastlane-
|
|
27
|
+
const { appleCreds, onGitHubActions } = await import("./creds-2qk71mdx.js");
|
|
28
|
+
const { appFastlaneDir, runLane } = await import("./fastlane-gjmhdgpc.js");
|
|
29
29
|
const { confirm } = await import("./prompt-3wwegvqc.js");
|
|
30
30
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
31
31
|
const { root, config } = requireProject(ctx);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6z4axmde.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -23,15 +23,15 @@ var check_default = defineCommand({
|
|
|
23
23
|
kit env check --schema-only
|
|
24
24
|
kit env check --json`,
|
|
25
25
|
async run(ctx) {
|
|
26
|
-
const { requireProject } = await import("./command-
|
|
27
|
-
const { loadEnv } = await import("./load-
|
|
26
|
+
const { requireProject } = await import("./command-1ydsfy5t.js");
|
|
27
|
+
const { loadEnv } = await import("./load-75n91nk4.js");
|
|
28
28
|
const { outputs, checkOutputs } = await import("./render-vn40fp54.js");
|
|
29
29
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
30
30
|
const { ExitCode } = await import("./errors-1fjbr7ee.js");
|
|
31
31
|
const { root, config } = requireProject(ctx);
|
|
32
32
|
const state = await loadEnv(root, config);
|
|
33
33
|
const drift = ctx.args["schema-only"] ? [] : checkOutputs(root, outputs(config, state.schema), state.values);
|
|
34
|
-
const { checkGithubSecrets, skippedGithub } = await import("./github-
|
|
34
|
+
const { checkGithubSecrets, skippedGithub } = await import("./github-wd1fyk08.js");
|
|
35
35
|
const github = ctx.args["schema-only"] ? skippedGithub("--schema-only") : await checkGithubSecrets(root, config);
|
|
36
36
|
const ok = !state.issues.length && !drift.length && github.status !== "missing";
|
|
37
37
|
if (ctx.flags.json) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6z4axmde.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -20,7 +20,7 @@ var check_default = defineCommand({
|
|
|
20
20
|
kit check api admin web
|
|
21
21
|
kit check --fix`,
|
|
22
22
|
async run(ctx) {
|
|
23
|
-
const { runVerb } = await import("./_verb-
|
|
23
|
+
const { runVerb } = await import("./_verb-rhswhzxn.js");
|
|
24
24
|
await runVerb(ctx, {
|
|
25
25
|
name: ctx.args.fix ? "check --fix" : "check",
|
|
26
26
|
verbs: ctx.args.fix ? ["format", "typecheck"] : ["lint", "typecheck"],
|
|
@@ -3,6 +3,13 @@ import {
|
|
|
3
3
|
getTomlValue,
|
|
4
4
|
setTomlValue
|
|
5
5
|
} from "./cli-19me2qqg.js";
|
|
6
|
+
import {
|
|
7
|
+
ANDROID_VERSION_NAME,
|
|
8
|
+
moduleVersionName,
|
|
9
|
+
moduleYamlPath,
|
|
10
|
+
setYaml,
|
|
11
|
+
yamlString
|
|
12
|
+
} from "./cli-78x6rdyd.js";
|
|
6
13
|
import {
|
|
7
14
|
ExitCode,
|
|
8
15
|
KitError
|
|
@@ -111,5 +118,18 @@ function iosVersionDrift(root, config) {
|
|
|
111
118
|
const xc = xcconfigVersion(readXcconfig(root, file), file);
|
|
112
119
|
return xc === toml ? undefined : { toml, xcconfig: xc, file };
|
|
113
120
|
}
|
|
121
|
+
function androidVersionDrift(root, config) {
|
|
122
|
+
const module = config.release?.android?.module;
|
|
123
|
+
if (!config.toolchain || !module || !config.versions?.keys.android)
|
|
124
|
+
return;
|
|
125
|
+
const yaml = moduleVersionName(root, config, module);
|
|
126
|
+
if (yaml === undefined)
|
|
127
|
+
return;
|
|
128
|
+
const toml = readVersion(root, config, "android");
|
|
129
|
+
return yaml === toml ? undefined : { toml, module: yaml, file: moduleYamlPath(config, module) };
|
|
130
|
+
}
|
|
131
|
+
function setModuleVersion(text, file, to) {
|
|
132
|
+
return setYaml(text, ANDROID_VERSION_NAME, yamlString(to), file);
|
|
133
|
+
}
|
|
114
134
|
|
|
115
|
-
export { bumpLevels, nextVersion, compareVersions, versionFile, versionKey, readVersions, readVersion, setVersion, expandPlatforms, xcconfigVersion, setXcconfigVersion, readXcconfig, iosVersionDrift };
|
|
135
|
+
export { bumpLevels, nextVersion, compareVersions, versionFile, versionKey, readVersions, readVersion, setVersion, expandPlatforms, xcconfigVersion, setXcconfigVersion, readXcconfig, iosVersionDrift, androidVersionDrift, setModuleVersion };
|
|
@@ -27,7 +27,7 @@ function withBuiltin(base) {
|
|
|
27
27
|
...base,
|
|
28
28
|
async builtin(path, options = {}) {
|
|
29
29
|
const want = (typeof path === "string" ? path.split(" ") : path).filter(Boolean);
|
|
30
|
-
const { builtins } = await import("./builtins-
|
|
30
|
+
const { builtins } = await import("./builtins-1dzch5rr.js");
|
|
31
31
|
const entry = builtins.find((b) => b.path.join(" ") === want.join(" "));
|
|
32
32
|
if (!entry)
|
|
33
33
|
throw new KitError(`No built-in \`kit ${want.join(" ")}\``, "Run `kit --help` to list them");
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ExitCode,
|
|
4
|
+
KitError
|
|
5
|
+
} from "./cli-7wvrehng.js";
|
|
6
|
+
|
|
7
|
+
// src/lib/toolchain.ts
|
|
8
|
+
import { existsSync, readdirSync, readFileSync, statSync } from "fs";
|
|
9
|
+
import { isAbsolute, join, resolve } from "path";
|
|
10
|
+
var WRAPPER = "./kotlin";
|
|
11
|
+
function wrapperVersion(text) {
|
|
12
|
+
return text.match(/^\s*kotlin_cli_version\s*=\s*(\S+)\s*$/m)?.[1];
|
|
13
|
+
}
|
|
14
|
+
function toolchainRoot(root, config) {
|
|
15
|
+
if (!config.toolchain) {
|
|
16
|
+
throw new KitError("No Kotlin toolchain configured", "Set toolchain.root in kit.config.ts", ExitCode.config);
|
|
17
|
+
}
|
|
18
|
+
return resolve(root, config.toolchain.root);
|
|
19
|
+
}
|
|
20
|
+
function requireWrapper(root, config) {
|
|
21
|
+
const dir = toolchainRoot(root, config);
|
|
22
|
+
if (!existsSync(join(dir, "kotlin"))) {
|
|
23
|
+
throw new KitError(`${join(config.toolchain.root, "kotlin")} not found`, "Check toolchain.root in kit.config.ts (the dir holding the `kotlin` wrapper and project.yaml)", ExitCode.config);
|
|
24
|
+
}
|
|
25
|
+
return dir;
|
|
26
|
+
}
|
|
27
|
+
function moduleName(module) {
|
|
28
|
+
return module.replace(/^:/, "").replaceAll(":", "/");
|
|
29
|
+
}
|
|
30
|
+
function moduleYamlPath(config, module) {
|
|
31
|
+
return join(config.toolchain.root, moduleName(module), "module.yaml");
|
|
32
|
+
}
|
|
33
|
+
var indentOf = (line) => line.length - line.trimStart().length;
|
|
34
|
+
var isContent = (line) => line.trim() !== "" && !line.trimStart().startsWith("#");
|
|
35
|
+
function keyRe(key) {
|
|
36
|
+
const k = key.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
37
|
+
return new RegExp(`^(\\s*)(?:${k}|"${k}"|'${k}')\\s*:(?=\\s|$)(.*)$`);
|
|
38
|
+
}
|
|
39
|
+
function blockEnd(lines, i, indent, end = lines.length) {
|
|
40
|
+
for (let j = i + 1;j < end; j++)
|
|
41
|
+
if (isContent(lines[j]) && indentOf(lines[j]) <= indent)
|
|
42
|
+
return j;
|
|
43
|
+
return end;
|
|
44
|
+
}
|
|
45
|
+
function findKey(lines, start, end, indent, key) {
|
|
46
|
+
const re = keyRe(key);
|
|
47
|
+
for (let j = start;j < end; j++) {
|
|
48
|
+
const line = lines[j];
|
|
49
|
+
if (!isContent(line) || indentOf(line) !== indent)
|
|
50
|
+
continue;
|
|
51
|
+
if (re.test(line))
|
|
52
|
+
return j;
|
|
53
|
+
}
|
|
54
|
+
return -1;
|
|
55
|
+
}
|
|
56
|
+
function childIndent(lines, start, end, fallback) {
|
|
57
|
+
for (let j = start;j < end; j++)
|
|
58
|
+
if (isContent(lines[j]))
|
|
59
|
+
return indentOf(lines[j]);
|
|
60
|
+
return fallback;
|
|
61
|
+
}
|
|
62
|
+
function insertAt(lines, start, end) {
|
|
63
|
+
let at = start;
|
|
64
|
+
for (let j = start;j < end; j++)
|
|
65
|
+
if (isContent(lines[j]))
|
|
66
|
+
at = j + 1;
|
|
67
|
+
return at;
|
|
68
|
+
}
|
|
69
|
+
function inlineValue(rest) {
|
|
70
|
+
let v = rest.trim();
|
|
71
|
+
if (v.startsWith('"') || v.startsWith("'")) {
|
|
72
|
+
const q = v[0];
|
|
73
|
+
const close = v.indexOf(q, 1);
|
|
74
|
+
return close > 0 ? v.slice(0, close + 1) : v;
|
|
75
|
+
}
|
|
76
|
+
const hash = v.search(/\s#/);
|
|
77
|
+
if (hash >= 0)
|
|
78
|
+
v = v.slice(0, hash);
|
|
79
|
+
return v.trim();
|
|
80
|
+
}
|
|
81
|
+
var unquote = (v) => v.startsWith('"') && v.endsWith('"') || v.startsWith("'") && v.endsWith("'") ? v.slice(1, -1) : v;
|
|
82
|
+
function getYamlScalar(text, path) {
|
|
83
|
+
const lines = text.split(`
|
|
84
|
+
`);
|
|
85
|
+
let start = 0;
|
|
86
|
+
let end = lines.length;
|
|
87
|
+
let indent = 0;
|
|
88
|
+
for (let p = 0;p < path.length; p++) {
|
|
89
|
+
const i = findKey(lines, start, end, indent, path[p]);
|
|
90
|
+
if (i < 0)
|
|
91
|
+
return;
|
|
92
|
+
const rest = inlineValue(keyRe(path[p]).exec(lines[i])[2]);
|
|
93
|
+
if (p === path.length - 1)
|
|
94
|
+
return rest === "" ? undefined : unquote(rest);
|
|
95
|
+
if (rest !== "")
|
|
96
|
+
return;
|
|
97
|
+
const blockStop = blockEnd(lines, i, indent, end);
|
|
98
|
+
start = i + 1;
|
|
99
|
+
indent = childIndent(lines, start, blockStop, indent + 2);
|
|
100
|
+
end = blockStop;
|
|
101
|
+
}
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
function setYaml(text, path, value, file = "module.yaml") {
|
|
105
|
+
const lines = text.split(`
|
|
106
|
+
`);
|
|
107
|
+
let start = 0;
|
|
108
|
+
let end = lines.length;
|
|
109
|
+
let indent = 0;
|
|
110
|
+
for (let p = 0;p < path.length - 1; p++) {
|
|
111
|
+
const key2 = path[p];
|
|
112
|
+
let i2 = findKey(lines, start, end, indent, key2);
|
|
113
|
+
if (i2 < 0) {
|
|
114
|
+
const at = insertAt(lines, start, end);
|
|
115
|
+
lines.splice(at, 0, `${" ".repeat(indent)}${key2}:`);
|
|
116
|
+
i2 = at;
|
|
117
|
+
end++;
|
|
118
|
+
} else {
|
|
119
|
+
const rest = inlineValue(keyRe(key2).exec(lines[i2])[2]);
|
|
120
|
+
if (rest !== "") {
|
|
121
|
+
throw new KitError(`${file}: ${path.slice(0, p + 1).join(".")} is written inline (\`${key2}: ${rest}\`)`, `Write it as a block mapping so kit can set ${path.join(".")}`, ExitCode.config);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
const blockStop = blockEnd(lines, i2, indent, end);
|
|
125
|
+
start = i2 + 1;
|
|
126
|
+
indent = childIndent(lines, start, blockStop, indent + 2);
|
|
127
|
+
end = blockStop;
|
|
128
|
+
}
|
|
129
|
+
const key = path[path.length - 1];
|
|
130
|
+
const pad = " ".repeat(indent);
|
|
131
|
+
const childPad = " ".repeat(indent + 2);
|
|
132
|
+
const replacement = typeof value === "string" ? [`${pad}${key}: ${value}`] : [`${pad}${key}:`, ...Object.entries(value).map(([k, v]) => `${childPad}${k}: ${v}`)];
|
|
133
|
+
const i = findKey(lines, start, end, indent, key);
|
|
134
|
+
if (i >= 0)
|
|
135
|
+
lines.splice(i, insertAt(lines, i, blockEnd(lines, i, indent, end)) - i, ...replacement);
|
|
136
|
+
else
|
|
137
|
+
lines.splice(insertAt(lines, start, end), 0, ...replacement);
|
|
138
|
+
return lines.join(`
|
|
139
|
+
`);
|
|
140
|
+
}
|
|
141
|
+
var yamlString = (s) => JSON.stringify(s);
|
|
142
|
+
var ANDROID_VERSION_NAME = ["settings", "android", "versionName"];
|
|
143
|
+
var ANDROID_VERSION_CODE = ["settings", "android", "versionCode"];
|
|
144
|
+
var ANDROID_SIGNING = ["settings", "android", "signing"];
|
|
145
|
+
function releaseModuleYaml(text, edit, file = "module.yaml") {
|
|
146
|
+
let out = setYaml(text, ANDROID_VERSION_NAME, yamlString(edit.version), file);
|
|
147
|
+
out = setYaml(out, ANDROID_VERSION_CODE, String(edit.code), file);
|
|
148
|
+
if (edit.signingProperties) {
|
|
149
|
+
out = setYaml(out, ANDROID_SIGNING, { enabled: "true", propertiesFile: yamlString(edit.signingProperties) }, file);
|
|
150
|
+
}
|
|
151
|
+
return out;
|
|
152
|
+
}
|
|
153
|
+
function keystoreProperties(storeFile, alias, password) {
|
|
154
|
+
const esc = (v) => v.replace(/\\/g, "\\\\").replace(/\n/g, "\\n");
|
|
155
|
+
return [
|
|
156
|
+
`storeFile=${esc(storeFile)}`,
|
|
157
|
+
`storePassword=${esc(password)}`,
|
|
158
|
+
`keyAlias=${esc(alias)}`,
|
|
159
|
+
`keyPassword=${esc(password)}`,
|
|
160
|
+
""
|
|
161
|
+
].join(`
|
|
162
|
+
`);
|
|
163
|
+
}
|
|
164
|
+
function aabFromOutput(output, cwd) {
|
|
165
|
+
const found = [...output.matchAll(/(\S+\.aab)\b/g)].map((m) => m[1].replace(/^['"`(]+|['"`).,:]+$/g, ""));
|
|
166
|
+
for (const p of found.reverse()) {
|
|
167
|
+
const abs = isAbsolute(p) ? p : resolve(cwd, p);
|
|
168
|
+
if (existsSync(abs))
|
|
169
|
+
return abs;
|
|
170
|
+
}
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
function findAab(toolchainDir, module, since = 0) {
|
|
174
|
+
const tasks = join(toolchainDir, "build", "tasks");
|
|
175
|
+
if (!existsSync(tasks))
|
|
176
|
+
return;
|
|
177
|
+
const prefix = `_${moduleName(module).replaceAll("/", "_")}_`;
|
|
178
|
+
const hits = [];
|
|
179
|
+
for (const d of readdirSync(tasks)) {
|
|
180
|
+
if (!d.startsWith(prefix))
|
|
181
|
+
continue;
|
|
182
|
+
const dir = join(tasks, d);
|
|
183
|
+
for (const f of readdirSync(dir)) {
|
|
184
|
+
if (!f.endsWith(".aab"))
|
|
185
|
+
continue;
|
|
186
|
+
const path = join(dir, f);
|
|
187
|
+
const mtime = statSync(path).mtimeMs;
|
|
188
|
+
if (mtime >= since)
|
|
189
|
+
hits.push({ path, mtime });
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return hits.sort((a, b) => b.mtime - a.mtime)[0]?.path;
|
|
193
|
+
}
|
|
194
|
+
function moduleVersionName(root, config, module) {
|
|
195
|
+
const path = join(root, moduleYamlPath(config, module));
|
|
196
|
+
if (!existsSync(path)) {
|
|
197
|
+
throw new KitError(`${moduleYamlPath(config, module)} not found`, "release.android.module names the app module (its dir under toolchain.root)", ExitCode.config);
|
|
198
|
+
}
|
|
199
|
+
return getYamlScalar(readFileSync(path, "utf8"), ANDROID_VERSION_NAME);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export { WRAPPER, wrapperVersion, toolchainRoot, requireWrapper, moduleName, moduleYamlPath, getYamlScalar, setYaml, yamlString, ANDROID_VERSION_NAME, ANDROID_VERSION_CODE, ANDROID_SIGNING, releaseModuleYaml, keystoreProperties, aabFromOutput, findAab, moduleVersionName };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
pipeSecret
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-wg35kt5d.js";
|
|
5
5
|
import {
|
|
6
6
|
detectPackageManager,
|
|
7
7
|
pmExec
|
|
@@ -186,7 +186,7 @@ var remoteArg = {
|
|
|
186
186
|
remote: { type: "boolean", description: "Deployed D1 (default: local)" }
|
|
187
187
|
};
|
|
188
188
|
async function runD1(ctx, action, opts) {
|
|
189
|
-
const { requireProject } = await import("./command-
|
|
189
|
+
const { requireProject } = await import("./command-1ydsfy5t.js");
|
|
190
190
|
const { confirm } = await import("./prompt-3wwegvqc.js");
|
|
191
191
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
192
192
|
const { run, runQuiet } = await import("./proc-jv4bcyyx.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
redact
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-wg35kt5d.js";
|
|
5
5
|
import {
|
|
6
6
|
ExitCode,
|
|
7
7
|
KitError
|
|
@@ -30,13 +30,14 @@ function kitDir() {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
function appFastlaneDir(root, config) {
|
|
33
|
-
const
|
|
33
|
+
const native = config.gradle?.root ?? config.toolchain?.root;
|
|
34
|
+
const candidates = config.release?.fastlaneDir ? [config.release.fastlaneDir] : [...native ? [native] : [], "."];
|
|
34
35
|
for (const c of candidates) {
|
|
35
36
|
const dir = join(root, c);
|
|
36
37
|
if (existsSync(join(dir, "fastlane", "Fastfile")))
|
|
37
38
|
return dir;
|
|
38
39
|
}
|
|
39
|
-
const where = config.release?.fastlaneDir ??
|
|
40
|
+
const where = config.release?.fastlaneDir ?? native ?? ".";
|
|
40
41
|
throw new KitError(`No fastlane/Fastfile in ${where}`, `Create ${join(where, "fastlane/Fastfile")} with: import(ENV.fetch("KIT_FASTFILE") { UI.user_error!("Run fastlane via \`kit fastlane ...\` or \`kit release ...\`") })`, ExitCode.config);
|
|
41
42
|
}
|
|
42
43
|
function bundlePath() {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
parseSecretNames,
|
|
4
4
|
wrangler,
|
|
5
5
|
wranglerSecretPut
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-mdy0ze8j.js";
|
|
7
7
|
import {
|
|
8
8
|
pipeSecret,
|
|
9
9
|
redact
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-wg35kt5d.js";
|
|
11
11
|
import {
|
|
12
12
|
ExitCode,
|
|
13
13
|
KitError
|