@jordond/kit 0.2.0 → 0.3.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 +49 -0
- package/dist/{_verb-28xmg3d3.js → _verb-bbwxwe09.js} +6 -5
- package/dist/{android-fs3sesnn.js → android-ayaz2xav.js} +3 -3
- package/dist/{build-ak20h5cd.js → build-8e97tje7.js} +5 -5
- package/dist/{builtins-bj2yypm6.js → builtins-v5aj477v.js} +1 -1
- package/dist/{bump-hsfmz2rn.js → bump-6wgv75j2.js} +89 -11
- package/dist/{certs-w5v0877b.js → certs-bwkqtq9t.js} +4 -4
- package/dist/check-1yw0j30w.js +67 -0
- package/dist/{check-771pracn.js → check-3xvfw3hy.js} +2 -2
- package/dist/{cli-1htjx51v.js → cli-2nw36t7w.js} +56 -1
- package/dist/cli-78x6rdyd.js +202 -0
- package/dist/{cli-r6g14qrk.js → cli-9xyk4pvz.js} +22 -0
- package/dist/{push-fq5syn8c.js → cli-fjfnfzaw.js} +4 -12
- package/dist/{cli-sx073w8p.js → cli-mc460njy.js} +36 -30
- package/dist/{cli-gqy1xp9t.js → cli-mv14geck.js} +1 -1
- package/dist/{cli-zf47bkgh.js → cli-s3cj42se.js} +2 -2
- package/dist/{cli-vt6582gp.js → cli-tafnwn5a.js} +4 -3
- package/dist/{cli-xax5grx1.js → cli-vpzh9t0w.js} +30 -6
- package/dist/{cli-51ha0t4k.js → cli-wg35kt5d.js} +1 -1
- package/dist/{cli-cc13vv98.js → cli-ya6cd8y5.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{cloudflare-xf7e2dn3.js → cloudflare-v2t4q430.js} +2 -2
- package/dist/{command-j1etpmj6.js → command-27sm2jm7.js} +1 -1
- package/dist/commands/build.d.ts +1 -1
- package/dist/commands/doctor.d.ts +29 -0
- package/dist/commands/env/check.d.ts +1 -1
- package/dist/commands/init.d.ts +3 -2
- package/dist/commands/kotlin.d.ts +2 -0
- package/dist/{completion-m051yvzk.js → completion-xdv1rv1r.js} +1 -1
- package/dist/config/schema.d.ts +8 -1
- package/dist/{config-c8yh5m9j.js → config-d2j2pm6j.js} +1 -1
- package/dist/{create-j7ve677k.js → create-318pccb4.js} +4 -4
- package/dist/{creds-rhxhmpe6.js → creds-2qk71mdx.js} +16 -4
- package/dist/{deploy-af2v2jhj.js → deploy-p24n95vj.js} +4 -4
- package/dist/{deps-1apnsrre.js → deps-0dkb2taz.js} +2 -2
- package/dist/{dev-6dv5xbv2.js → dev-6pw0j61z.js} +5 -5
- package/dist/{doctor-cr3hcfvt.js → doctor-ntbh5jex.js} +126 -1
- package/dist/{exec-wa94sqwn.js → exec-cbj9ytmh.js} +4 -4
- package/dist/{fastlane-2kjyfqjg.js → fastlane-gjmhdgpc.js} +2 -2
- package/dist/{fastlane-qsjmbxtj.js → fastlane-wqcb482p.js} +5 -5
- package/dist/{format-rehf6c8g.js → format-7kcyjz43.js} +2 -2
- package/dist/github-r27eer65.js +95 -0
- package/dist/{gradle-wv77a2f1.js → gradle-ng65eefy.js} +3 -3
- package/dist/index.js +3 -3
- package/dist/{init-n38980zv.js → init-h2rhkgmc.js} +3 -3
- package/dist/{init-kck1p6gj.js → init-vjt9bx44.js} +23 -4
- package/dist/{ios-f6pwcqqt.js → ios-c17n0k5y.js} +3 -3
- package/dist/kotlin-k00bs77x.js +31 -0
- package/dist/lib/env/github.d.ts +32 -0
- package/dist/lib/fastlane.d.ts +4 -1
- package/dist/lib/release/creds.d.ts +24 -0
- package/dist/lib/release/mobile.d.ts +22 -3
- package/dist/lib/release/version.d.ts +28 -0
- package/dist/lib/targets.d.ts +1 -1
- package/dist/lib/toolchain.d.ts +59 -0
- package/dist/{lint-e0j22mab.js → lint-ff6qay12.js} +2 -2
- package/dist/{list-fzwqsfsk.js → list-ypxnbyda.js} +4 -4
- package/dist/{load-dxhacsn4.js → load-75n91nk4.js} +1 -1
- package/dist/{main-jrcgdccz.js → main-1b2g5xre.js} +17 -5
- package/dist/{migrate-4ncx9tqj.js → migrate-m4ym2g4c.js} +4 -4
- package/dist/{mobile-9n86ytzx.js → mobile-vjv11q72.js} +111 -33
- package/dist/push-8rea2z27.js +22 -0
- package/dist/{push-acejr9gj.js → push-k24vyrcj.js} +5 -5
- package/dist/{service-xekpd27p.js → service-kz3nxkb0.js} +5 -5
- package/dist/{show-jw5bx55h.js → show-a5vqv3nh.js} +3 -3
- package/dist/{steps-9knqpszw.js → steps-705j58z1.js} +2 -2
- package/dist/{sync-9z8n875s.js → sync-myjdq9y9.js} +3 -3
- package/dist/{targets-bywmzbtj.js → targets-jkc2bddy.js} +2 -1
- package/dist/{test-8jws3x98.js → test-s727e723.js} +2 -2
- package/dist/toolchain-wd7hh812.js +41 -0
- package/dist/{typecheck-1hn3hgz9.js → typecheck-wph9hmmz.js} +2 -2
- package/dist/{version-4tz72w42.js → version-mnds3q7r.js} +16 -3
- package/dist/{wrangler-412fadcz.js → wrangler-cxfzqjts.js} +3 -3
- package/dist/{xcode-qzyee632.js → xcode-1x57s30f.js} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.3.0/io.github.jordond.kit.android.application.gradle.plugin-0.3.0.pom.sha512 +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.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.3.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.3.0.pom.sha512 +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.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.3.0/io.github.jordond.kit.compose.gradle.plugin-0.3.0.pom.sha512 +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.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.3.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.3.0.pom.sha512 +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.0/kit-plugins-0.2.0.module → 0.3.0/kit-plugins-0.3.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.0/kit-plugins-0.2.0.pom → 0.3.0/kit-plugins-0.3.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.3.0/kit-plugins-0.3.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.0/kit-settings-0.2.0.module → 0.3.0/kit-settings-0.3.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.0/kit-settings-0.2.0.pom → 0.3.0/kit-settings-0.3.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.3.0/kit-settings-0.3.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.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.3.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.3.0.pom.sha512 +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.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.3.0/io.github.jordond.kit.lint.gradle.plugin-0.3.0.pom.sha512 +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.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.3.0/io.github.jordond.kit.release.gradle.plugin-0.3.0.pom.sha512 +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.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom → 0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.3.0/io.github.jordond.kit.settings.gradle.plugin-0.3.0.pom.sha512 +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/check-jf1apke7.js +0 -54
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.2.0/io.github.jordond.kit.android.application.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.2.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.2.0/io.github.jordond.kit.compose.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.2.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.2.0/kit-plugins-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.2.0/kit-settings-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.2.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.2.0/io.github.jordond.kit.lint.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.2.0/io.github.jordond.kit.release.gradle.plugin-0.2.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.2.0/io.github.jordond.kit.settings.gradle.plugin-0.2.0.pom.sha512 +0 -1
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.0/kit-plugins-0.2.0.jar → 0.3.0/kit-plugins-0.3.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.0/kit-plugins-0.2.0.jar.md5 → 0.3.0/kit-plugins-0.3.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.0/kit-plugins-0.2.0.jar.sha1 → 0.3.0/kit-plugins-0.3.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.0/kit-plugins-0.2.0.jar.sha256 → 0.3.0/kit-plugins-0.3.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.2.0/kit-plugins-0.2.0.jar.sha512 → 0.3.0/kit-plugins-0.3.0.jar.sha512} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.0/kit-settings-0.2.0.jar → 0.3.0/kit-settings-0.3.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.0/kit-settings-0.2.0.jar.md5 → 0.3.0/kit-settings-0.3.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.0/kit-settings-0.2.0.jar.sha1 → 0.3.0/kit-settings-0.3.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.0/kit-settings-0.2.0.jar.sha256 → 0.3.0/kit-settings-0.3.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.2.0/kit-settings-0.2.0.jar.sha512 → 0.3.0/kit-settings-0.3.0.jar.sha512} +0 -0
|
@@ -40,6 +40,35 @@ export declare function checkUnreadable(id: string, label: string, file: string,
|
|
|
40
40
|
export declare function parseEnvKeys(text: string): string[];
|
|
41
41
|
/** `.env` has every key `.env.example` names (names only; values are never read into the result). */
|
|
42
42
|
export declare function checkEnvFile(example: string | undefined, env: string | undefined): Check;
|
|
43
|
+
/**
|
|
44
|
+
* TOML `app-ios-version` == `release.ios.xcconfig` MARKETING_VERSION (what local Xcode builds show).
|
|
45
|
+
* `drift` is version.ts's iosVersionDrift, passed in so doctor loads it only when needed.
|
|
46
|
+
*/
|
|
47
|
+
export declare function checkIosVersion(drift: () => {
|
|
48
|
+
toml: string;
|
|
49
|
+
xcconfig: string | undefined;
|
|
50
|
+
file: string;
|
|
51
|
+
} | undefined): Check;
|
|
52
|
+
export declare function checkAndroidVersion(drift: () => {
|
|
53
|
+
toml: string;
|
|
54
|
+
module: string;
|
|
55
|
+
file: string;
|
|
56
|
+
} | undefined): Check;
|
|
57
|
+
/**
|
|
58
|
+
* The Kotlin toolchain wrapper in toolchain.root and its pinned version. `wrapper` is the
|
|
59
|
+
* script's text (undefined: missing); `executable` whether it can run.
|
|
60
|
+
*/
|
|
61
|
+
export declare function checkToolchain(root: string | undefined, wrapper: string | undefined, executable: boolean): Check;
|
|
62
|
+
/**
|
|
63
|
+
* Release secrets for the configured platforms (PLAN §9.5), by name only. Missing ones only warn,
|
|
64
|
+
* on GitHub Actions too: most jobs (lint, PRs, forks, the other platform) get no signing secrets,
|
|
65
|
+
* and `kit release` itself stops on a missing one. The CI-only names are checked on Actions.
|
|
66
|
+
*/
|
|
67
|
+
export declare function checkReleaseSecrets(secrets: {
|
|
68
|
+
required: string[];
|
|
69
|
+
ci: string[];
|
|
70
|
+
optional: string[];
|
|
71
|
+
}, env: Record<string, string | undefined>, onActions: boolean, renameHints?: (missing: string[]) => string[]): Check;
|
|
43
72
|
/**
|
|
44
73
|
* Workflow `uses: jordond/kit/…@<sha> # vX.Y.Z` pins vs the package.json pin. The SHA itself isn't
|
|
45
74
|
* resolved (stub): the version comment Renovate keeps next to it is compared instead.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("../..").KitCommand<{
|
|
2
2
|
readonly 'schema-only': {
|
|
3
3
|
readonly type: "boolean";
|
|
4
|
-
readonly description: "Validate .env only; skip output drift (CI)";
|
|
4
|
+
readonly description: "Validate .env only; skip output drift and GitHub secrets (CI)";
|
|
5
5
|
};
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
package/dist/commands/init.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { PackageManager } from '../lib/pm';
|
|
|
4
4
|
* `kit init`, existing-repo mode (brewd `cli init` + WhaleSay `ws init`, generalized): `.env` from
|
|
5
5
|
* `.env.example`, install, optional mise/lefthook scaffolds, `kit env sync`, `wrangler types`, then
|
|
6
6
|
* the native side: `gradle.init` tasks (needs java, and an Android SDK when release.android is set)
|
|
7
|
+
* or the Kotlin toolchain's `toolchain.init` (default: `./kotlin --version`, which downloads it),
|
|
7
8
|
* and `bundle install` where a Gemfile is (the Gradle root, else the repo root). A missing tool
|
|
8
9
|
* skips its step with a hint instead of failing, so a JS-only machine still ends up set up.
|
|
9
10
|
* Idempotent: whatever is already there is skipped. Every step runs even after a failure, so one
|
|
@@ -35,7 +36,7 @@ export interface InitState {
|
|
|
35
36
|
/** ANDROID_HOME / ANDROID_SDK_ROOT set, or sdk.dir in `<gradle root>/local.properties`. */
|
|
36
37
|
androidSdk?: boolean;
|
|
37
38
|
platform?: NodeJS.Platform;
|
|
38
|
-
/** `--js-only`: skip the Gradle and bundler steps. */
|
|
39
|
+
/** `--js-only`: skip the Gradle, Kotlin toolchain and bundler steps. */
|
|
39
40
|
jsOnly?: boolean;
|
|
40
41
|
}
|
|
41
42
|
export type InitAction = {
|
|
@@ -64,7 +65,7 @@ export declare function renderTemplate(text: string, vars: Record<string, string
|
|
|
64
65
|
declare const _default: import("..").KitCommand<{
|
|
65
66
|
readonly 'js-only': {
|
|
66
67
|
readonly type: "boolean";
|
|
67
|
-
readonly description: "Skip the Gradle and bundler steps";
|
|
68
|
+
readonly description: "Skip the Gradle, Kotlin toolchain and bundler steps";
|
|
68
69
|
};
|
|
69
70
|
}>;
|
|
70
71
|
export default _default;
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const verbs: readonly ['lint', 'format', 'typecheck', 'test', 'build', 'dev', 'deploy'];
|
|
3
3
|
export type Verb = (typeof verbs)[number];
|
|
4
|
-
export declare const kinds: readonly ['gradle', 'worker', 'vite', 'astro', 'docker', 'custom'];
|
|
4
|
+
export declare const kinds: readonly ['gradle', 'kotlin', 'worker', 'vite', 'astro', 'docker', 'custom'];
|
|
5
5
|
export type Kind = (typeof kinds)[number];
|
|
6
6
|
export declare const tracks: readonly ['internal', 'alpha', 'beta', 'prod'];
|
|
7
7
|
export type Track = (typeof tracks)[number];
|
|
@@ -14,6 +14,7 @@ declare const target: z.ZodObject<{
|
|
|
14
14
|
custom: "custom";
|
|
15
15
|
docker: "docker";
|
|
16
16
|
gradle: "gradle";
|
|
17
|
+
kotlin: "kotlin";
|
|
17
18
|
vite: "vite";
|
|
18
19
|
worker: "worker";
|
|
19
20
|
}>;
|
|
@@ -37,6 +38,10 @@ export declare const configSchema: z.ZodObject<{
|
|
|
37
38
|
root: z.ZodString;
|
|
38
39
|
init: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
39
40
|
}, z.core.$strict>>;
|
|
41
|
+
toolchain: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
root: z.ZodString;
|
|
43
|
+
init: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
44
|
+
}, z.core.$strict>>;
|
|
40
45
|
versions: z.ZodOptional<z.ZodObject<{
|
|
41
46
|
file: z.ZodString;
|
|
42
47
|
keys: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -67,6 +72,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
67
72
|
custom: "custom";
|
|
68
73
|
docker: "docker";
|
|
69
74
|
gradle: "gradle";
|
|
75
|
+
kotlin: "kotlin";
|
|
70
76
|
vite: "vite";
|
|
71
77
|
worker: "worker";
|
|
72
78
|
}>;
|
|
@@ -104,6 +110,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
104
110
|
scheme: z.ZodString;
|
|
105
111
|
output: z.ZodString;
|
|
106
112
|
teamId: z.ZodOptional<z.ZodString>;
|
|
113
|
+
xcconfig: z.ZodOptional<z.ZodString>;
|
|
107
114
|
testflightGroups: z.ZodOptional<z.ZodObject<{
|
|
108
115
|
alpha: z.ZodOptional<z.ZodString>;
|
|
109
116
|
beta: z.ZodOptional<z.ZodString>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
dbArgs
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-s3cj42se.js";
|
|
5
|
+
import"./cli-wg35kt5d.js";
|
|
6
6
|
import {
|
|
7
7
|
defineCommand
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-mv14geck.js";
|
|
9
9
|
import"./cli-qhs8ww91.js";
|
|
10
10
|
import"./cli-7wvrehng.js";
|
|
11
11
|
import"./cli-fqfan92n.js";
|
|
@@ -24,7 +24,7 @@ var create_default = defineCommand({
|
|
|
24
24
|
examples: `kit db create add_widgets
|
|
25
25
|
kit db create add_events --db analytics`,
|
|
26
26
|
async run(ctx) {
|
|
27
|
-
const { runD1 } = await import("./cloudflare-
|
|
27
|
+
const { runD1 } = await import("./cloudflare-v2t4q430.js");
|
|
28
28
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
29
29
|
const migration = ctx.positionals.join("_").trim();
|
|
30
30
|
if (!migration) {
|
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
ANDROID_SECRETS,
|
|
4
|
+
IOS_SECRETS,
|
|
5
|
+
LEGACY,
|
|
6
|
+
RETIRED,
|
|
3
7
|
appleCreds,
|
|
4
8
|
keystoreCreds,
|
|
5
9
|
onGitHubActions,
|
|
6
10
|
optionalLaneCreds,
|
|
7
11
|
playCreds,
|
|
8
|
-
registerAmbientSecrets
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
registerAmbientSecrets,
|
|
13
|
+
releaseSecrets,
|
|
14
|
+
renameHints
|
|
15
|
+
} from "./cli-vpzh9t0w.js";
|
|
16
|
+
import"./cli-wg35kt5d.js";
|
|
11
17
|
import"./cli-7wvrehng.js";
|
|
12
18
|
import"./cli-fqfan92n.js";
|
|
13
19
|
import"./cli-fqxtcj42.js";
|
|
14
20
|
import"./cli-re3ntm60.js";
|
|
15
21
|
export {
|
|
22
|
+
renameHints,
|
|
23
|
+
releaseSecrets,
|
|
16
24
|
registerAmbientSecrets,
|
|
17
25
|
playCreds,
|
|
18
26
|
optionalLaneCreds,
|
|
19
27
|
onGitHubActions,
|
|
20
28
|
keystoreCreds,
|
|
21
|
-
appleCreds
|
|
29
|
+
appleCreds,
|
|
30
|
+
RETIRED,
|
|
31
|
+
LEGACY,
|
|
32
|
+
IOS_SECRETS,
|
|
33
|
+
ANDROID_SECRETS
|
|
22
34
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
5
|
import {
|
|
6
6
|
ExitCode,
|
|
7
7
|
KitError
|
|
@@ -60,8 +60,8 @@ var deploy_default = defineCommand({
|
|
|
60
60
|
].join(`
|
|
61
61
|
`),
|
|
62
62
|
async run(ctx) {
|
|
63
|
-
const { requireProject } = await import("./command-
|
|
64
|
-
const { selectTargets, targetCommands } = await import("./targets-
|
|
63
|
+
const { requireProject } = await import("./command-27sm2jm7.js");
|
|
64
|
+
const { selectTargets, targetCommands } = await import("./targets-jkc2bddy.js");
|
|
65
65
|
const { run, runToStderr } = await import("./proc-jv4bcyyx.js");
|
|
66
66
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
67
67
|
const { root, config } = requireProject(ctx);
|
|
@@ -70,7 +70,7 @@ var deploy_default = defineCommand({
|
|
|
70
70
|
throw new KitError("kit deploy needs at least one target", `Targets: ${Object.keys(config.targets).join(", ")}`, ExitCode.usage);
|
|
71
71
|
}
|
|
72
72
|
if (config.cloudflare?.accountId)
|
|
73
|
-
(await import("./cloudflare-
|
|
73
|
+
(await import("./cloudflare-v2t4q430.js")).pinCloudflareAccount(root, config);
|
|
74
74
|
const envs = envsFor(config, names, ctx.args.env);
|
|
75
75
|
const self = [process.execPath, "--no-env-file", process.argv[1]];
|
|
76
76
|
const seen = new Set;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -169,7 +169,7 @@ var deps_default = defineCommand({
|
|
|
169
169
|
].join(`
|
|
170
170
|
`),
|
|
171
171
|
async run(ctx) {
|
|
172
|
-
const { requireProject } = await import("./command-
|
|
172
|
+
const { requireProject } = await import("./command-27sm2jm7.js");
|
|
173
173
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
174
174
|
const { detectPackageManager } = await import("./pm-5q5vz6w3.js");
|
|
175
175
|
const { root } = requireProject(ctx);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -26,9 +26,9 @@ var dev_default = defineCommand({
|
|
|
26
26
|
`),
|
|
27
27
|
async run(ctx) {
|
|
28
28
|
const { relative } = await import("path");
|
|
29
|
-
const { requireProject } = await import("./command-
|
|
30
|
-
const { selectTargets, targetCommands, WORKSPACE } = await import("./targets-
|
|
31
|
-
const { envsFor } = await import("./deploy-
|
|
29
|
+
const { requireProject } = await import("./command-27sm2jm7.js");
|
|
30
|
+
const { selectTargets, targetCommands, WORKSPACE } = await import("./targets-jkc2bddy.js");
|
|
31
|
+
const { envsFor } = await import("./deploy-p24n95vj.js");
|
|
32
32
|
const { runInteractive, shell } = await import("./proc-jv4bcyyx.js");
|
|
33
33
|
const { interrupted } = await import("./cleanup-hrcvxmh2.js");
|
|
34
34
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
@@ -36,7 +36,7 @@ var dev_default = defineCommand({
|
|
|
36
36
|
const { root, config } = requireProject(ctx);
|
|
37
37
|
if (config.cloudflare?.accountId) {
|
|
38
38
|
try {
|
|
39
|
-
(await import("./cloudflare-
|
|
39
|
+
(await import("./cloudflare-v2t4q430.js")).pinCloudflareAccount(root, config);
|
|
40
40
|
} catch (e) {
|
|
41
41
|
if (!(e instanceof KitError))
|
|
42
42
|
throw e;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
|
+
import {
|
|
6
|
+
wrapperVersion
|
|
7
|
+
} from "./cli-78x6rdyd.js";
|
|
5
8
|
import"./cli-7wvrehng.js";
|
|
6
9
|
import"./cli-540nme4e.js";
|
|
7
10
|
import"./cli-5wasc5mr.js";
|
|
@@ -176,6 +179,106 @@ function checkEnvFile(example, env) {
|
|
|
176
179
|
return { id: "env", label, status: "ok", detail: "complete" };
|
|
177
180
|
}
|
|
178
181
|
var KIT_USES = /jordond\/kit\/[^@\s]+@\S+\s*#\s*v?(\d+\.\d+\.\d+\S*)/g;
|
|
182
|
+
function checkIosVersion(drift) {
|
|
183
|
+
const label = "iOS version";
|
|
184
|
+
try {
|
|
185
|
+
const d = drift();
|
|
186
|
+
if (!d)
|
|
187
|
+
return { id: "ios-version", label, status: "ok", detail: "TOML and xcconfig agree" };
|
|
188
|
+
return {
|
|
189
|
+
id: "ios-version",
|
|
190
|
+
label,
|
|
191
|
+
status: "fail",
|
|
192
|
+
detail: `TOML ${d.toml}, ${d.file} ${d.xcconfig ?? "(no MARKETING_VERSION)"}`,
|
|
193
|
+
hint: `Set MARKETING_VERSION = ${d.toml} in ${d.file}`
|
|
194
|
+
};
|
|
195
|
+
} catch (e) {
|
|
196
|
+
return { id: "ios-version", label, status: "fail", detail: e instanceof Error ? e.message : String(e) };
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
function checkAndroidVersion(drift) {
|
|
200
|
+
const label = "Android version";
|
|
201
|
+
try {
|
|
202
|
+
const d = drift();
|
|
203
|
+
if (!d)
|
|
204
|
+
return { id: "android-version", label, status: "ok", detail: "TOML and module.yaml agree" };
|
|
205
|
+
return {
|
|
206
|
+
id: "android-version",
|
|
207
|
+
label,
|
|
208
|
+
status: "fail",
|
|
209
|
+
detail: `TOML ${d.toml}, ${d.file} ${d.module}`,
|
|
210
|
+
hint: `Set settings.android.versionName: "${d.toml}" in ${d.file}`
|
|
211
|
+
};
|
|
212
|
+
} catch (e) {
|
|
213
|
+
return {
|
|
214
|
+
id: "android-version",
|
|
215
|
+
label,
|
|
216
|
+
status: "fail",
|
|
217
|
+
detail: e instanceof Error ? e.message : String(e)
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function checkToolchain(root, wrapper, executable) {
|
|
222
|
+
const label = "kotlin toolchain";
|
|
223
|
+
if (root === undefined)
|
|
224
|
+
return { id: "toolchain", label, status: "skip", detail: "no toolchain root" };
|
|
225
|
+
const path = `${root.replace(/\/+$/, "")}/kotlin`;
|
|
226
|
+
if (wrapper === undefined) {
|
|
227
|
+
return {
|
|
228
|
+
id: "toolchain",
|
|
229
|
+
label,
|
|
230
|
+
status: "fail",
|
|
231
|
+
detail: `${path} missing`,
|
|
232
|
+
hint: "Check toolchain.root in kit.config.ts, or run `kotlin init` there"
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
if (!executable) {
|
|
236
|
+
return {
|
|
237
|
+
id: "toolchain",
|
|
238
|
+
label,
|
|
239
|
+
status: "fail",
|
|
240
|
+
detail: `${path} not executable`,
|
|
241
|
+
hint: `chmod +x ${path}`
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
const version = wrapperVersion(wrapper);
|
|
245
|
+
if (!version) {
|
|
246
|
+
return {
|
|
247
|
+
id: "toolchain",
|
|
248
|
+
label,
|
|
249
|
+
status: "warn",
|
|
250
|
+
detail: `${path}: no kotlin_cli_version`,
|
|
251
|
+
hint: "Pin the toolchain version in the wrapper (`./kotlin update` writes it)"
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
return { id: "toolchain", label, status: "ok", detail: version };
|
|
255
|
+
}
|
|
256
|
+
function checkReleaseSecrets(secrets, env, onActions, renameHints = () => []) {
|
|
257
|
+
const label = "release secrets";
|
|
258
|
+
const wanted = [...secrets.required, ...onActions ? secrets.ci : []];
|
|
259
|
+
if (!wanted.length)
|
|
260
|
+
return { id: "release-secrets", label, status: "skip", detail: "no release configured" };
|
|
261
|
+
const set = (n) => !!env[n]?.trim();
|
|
262
|
+
const missing2 = wanted.filter((n) => !set(n));
|
|
263
|
+
const optional = secrets.optional.filter((n) => !set(n));
|
|
264
|
+
if (missing2.length) {
|
|
265
|
+
const renames = renameHints(missing2);
|
|
266
|
+
return {
|
|
267
|
+
id: "release-secrets",
|
|
268
|
+
label,
|
|
269
|
+
status: "warn",
|
|
270
|
+
detail: `missing ${missing2.join(", ")}`,
|
|
271
|
+
hint: renames.length ? `Rename in .env: ${renames.join(", ")}` : onActions ? "Pass them to the job as secrets" : "Add them to .env to release from this machine"
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
return {
|
|
275
|
+
id: "release-secrets",
|
|
276
|
+
label,
|
|
277
|
+
status: optional.length ? "warn" : "ok",
|
|
278
|
+
detail: optional.length ? `all set; optional ${optional.join(", ")} unset` : `${wanted.length} set`,
|
|
279
|
+
...optional.length ? { hint: "Without SENTRY_AUTH_TOKEN the dSYM upload is skipped" } : {}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
179
282
|
function checkCiPin(workflows, pin, strict) {
|
|
180
283
|
const label = "CI kit pin";
|
|
181
284
|
const found = workflows.flatMap(({ file, text }) => [...text.matchAll(KIT_USES)].map((m) => ({ file, v: m[1] })));
|
|
@@ -253,6 +356,9 @@ kit doctor --ci`,
|
|
|
253
356
|
const { detectPackageManager, pmExec } = await import("./pm-5q5vz6w3.js");
|
|
254
357
|
const { parseToml, readToml } = await import("./toml-3fxsdkhr.js");
|
|
255
358
|
const { ExitCode } = await import("./errors-1fjbr7ee.js");
|
|
359
|
+
const { onGitHubActions, releaseSecrets, renameHints } = await import("./creds-2qk71mdx.js");
|
|
360
|
+
const { androidVersionDrift, iosVersionDrift } = await import("./version-mnds3q7r.js");
|
|
361
|
+
const { accessSync, constants } = await import("fs");
|
|
256
362
|
const root = ctx.root ?? process.cwd();
|
|
257
363
|
const config = ctx.config;
|
|
258
364
|
const read = (p) => existsSync(join(root, p)) ? readFileSync(join(root, p), "utf8") : undefined;
|
|
@@ -263,6 +369,15 @@ kit doctor --ci`,
|
|
|
263
369
|
};
|
|
264
370
|
const targets = Object.values(config?.targets ?? {});
|
|
265
371
|
const gradle = !!config?.gradle || targets.some((t) => t.kind === "gradle");
|
|
372
|
+
const toolchainRoot = config?.toolchain?.root;
|
|
373
|
+
const wrapperPath = toolchainRoot === undefined ? undefined : join(root, toolchainRoot, "kotlin");
|
|
374
|
+
let wrapperExec = false;
|
|
375
|
+
if (wrapperPath && existsSync(wrapperPath)) {
|
|
376
|
+
try {
|
|
377
|
+
accessSync(wrapperPath, constants.X_OK);
|
|
378
|
+
wrapperExec = true;
|
|
379
|
+
} catch {}
|
|
380
|
+
}
|
|
266
381
|
const ios = !!config?.release?.ios;
|
|
267
382
|
const fastlane = ios || !!config?.release?.android;
|
|
268
383
|
const worker = Object.values(config?.targets ?? {}).find((t) => t.kind === "worker");
|
|
@@ -324,9 +439,15 @@ kit doctor --ci`,
|
|
|
324
439
|
checkRuby(ruby, fastlane),
|
|
325
440
|
checkXcode(xcode, ios, process.platform),
|
|
326
441
|
checkAndroidSdk(process.env, config?.gradle ? read(join(config.gradle.root, "local.properties")) : undefined, existsSync, gradle),
|
|
442
|
+
...toolchainRoot !== undefined ? [
|
|
443
|
+
checkToolchain(toolchainRoot, wrapperPath && existsSync(wrapperPath) ? readFileSync(wrapperPath, "utf8") : undefined, wrapperExec)
|
|
444
|
+
] : [],
|
|
327
445
|
checkWranglerLogin(wrangler),
|
|
328
446
|
miseCheck ?? checkMise(miseTools, detected),
|
|
329
447
|
checkEnvFile(read(".env.example"), read(".env")),
|
|
448
|
+
...config?.release?.ios?.xcconfig ? [checkIosVersion(() => iosVersionDrift(root, config))] : [],
|
|
449
|
+
...config?.toolchain && config.release?.android ? [checkAndroidVersion(() => androidVersionDrift(root, config))] : [],
|
|
450
|
+
checkReleaseSecrets(releaseSecrets(config), process.env, onGitHubActions(), (m) => renameHints(m, (old) => !!process.env[old])),
|
|
330
451
|
checkCiPin(workflows, kitPin, ctx.args.ci === true),
|
|
331
452
|
catalogCheck,
|
|
332
453
|
...pkgCheck ? [pkgCheck] : []
|
|
@@ -363,13 +484,17 @@ export {
|
|
|
363
484
|
checkXcode,
|
|
364
485
|
checkWranglerLogin,
|
|
365
486
|
checkUnreadable,
|
|
487
|
+
checkToolchain,
|
|
366
488
|
checkRuby,
|
|
489
|
+
checkReleaseSecrets,
|
|
367
490
|
checkMise,
|
|
368
491
|
checkJava,
|
|
492
|
+
checkIosVersion,
|
|
369
493
|
checkEnvFile,
|
|
370
494
|
checkCiPin,
|
|
371
495
|
checkCatalogKeys,
|
|
372
496
|
checkBun,
|
|
497
|
+
checkAndroidVersion,
|
|
373
498
|
checkAndroidSdk,
|
|
374
499
|
catalogPath,
|
|
375
500
|
MIN_JAVA,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
dbArgs,
|
|
4
4
|
remoteArg
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-s3cj42se.js";
|
|
6
|
+
import"./cli-wg35kt5d.js";
|
|
7
7
|
import {
|
|
8
8
|
defineCommand
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-mv14geck.js";
|
|
10
10
|
import"./cli-qhs8ww91.js";
|
|
11
11
|
import"./cli-7wvrehng.js";
|
|
12
12
|
import"./cli-fqfan92n.js";
|
|
@@ -33,7 +33,7 @@ var exec_default = defineCommand({
|
|
|
33
33
|
].join(`
|
|
34
34
|
`),
|
|
35
35
|
async run(ctx) {
|
|
36
|
-
const { runD1 } = await import("./cloudflare-
|
|
36
|
+
const { runD1 } = await import("./cloudflare-v2t4q430.js");
|
|
37
37
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
38
38
|
const { resolve } = await import("path");
|
|
39
39
|
const sql = ctx.positionals.join(" ").trim();
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
parseOutputs,
|
|
9
9
|
resetBundle,
|
|
10
10
|
runLane
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
} from "./cli-tafnwn5a.js";
|
|
12
|
+
import"./cli-wg35kt5d.js";
|
|
13
13
|
import"./cli-7wvrehng.js";
|
|
14
14
|
import"./cli-fqfan92n.js";
|
|
15
15
|
import"./cli-fqxtcj42.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -20,10 +20,10 @@ var fastlane_default = defineCommand({
|
|
|
20
20
|
passthrough: true,
|
|
21
21
|
examples: EXAMPLES,
|
|
22
22
|
async run(ctx) {
|
|
23
|
-
const { requireProject } = await import("./command-
|
|
24
|
-
const { appFastlaneDir, ensureBundle, fastlaneEnv } = await import("./fastlane-
|
|
25
|
-
const { optionalLaneCreds } = await import("./creds-
|
|
26
|
-
const { laneConfigEnv } = await import("./mobile-
|
|
23
|
+
const { requireProject } = await import("./command-27sm2jm7.js");
|
|
24
|
+
const { appFastlaneDir, ensureBundle, fastlaneEnv } = await import("./fastlane-gjmhdgpc.js");
|
|
25
|
+
const { optionalLaneCreds } = await import("./creds-2qk71mdx.js");
|
|
26
|
+
const { laneConfigEnv } = await import("./mobile-vjv11q72.js");
|
|
27
27
|
const { run } = await import("./proc-jv4bcyyx.js");
|
|
28
28
|
const { root, config } = requireProject(ctx);
|
|
29
29
|
const appRoot = appFastlaneDir(root, config);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -24,7 +24,7 @@ var format_default = defineCommand({
|
|
|
24
24
|
kit format client
|
|
25
25
|
kit format --check`,
|
|
26
26
|
async run(ctx) {
|
|
27
|
-
const { runVerb } = await import("./_verb-
|
|
27
|
+
const { runVerb } = await import("./_verb-bbwxwe09.js");
|
|
28
28
|
const staged = ctx.args.staged ? await (await import("./git-3gyyfk0x.js")).stagedFiles(ctx.root) : undefined;
|
|
29
29
|
await runVerb(ctx, {
|
|
30
30
|
name: ctx.args.check ? "format --check" : "format",
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
githubDestination
|
|
4
|
+
} from "./cli-fjfnfzaw.js";
|
|
5
|
+
import {
|
|
6
|
+
LEGACY,
|
|
7
|
+
RETIRED,
|
|
8
|
+
onGitHubActions,
|
|
9
|
+
releaseSecrets
|
|
10
|
+
} from "./cli-vpzh9t0w.js";
|
|
11
|
+
import"./cli-s3cj42se.js";
|
|
12
|
+
import"./cli-wg35kt5d.js";
|
|
13
|
+
import"./cli-qhs8ww91.js";
|
|
14
|
+
import"./cli-7wvrehng.js";
|
|
15
|
+
import {
|
|
16
|
+
runPiped
|
|
17
|
+
} from "./cli-fqfan92n.js";
|
|
18
|
+
import"./cli-fqxtcj42.js";
|
|
19
|
+
import"./cli-re3ntm60.js";
|
|
20
|
+
|
|
21
|
+
// src/lib/env/github.ts
|
|
22
|
+
import { existsSync, readdirSync, readFileSync } from "fs";
|
|
23
|
+
import { join } from "path";
|
|
24
|
+
function expectedGithubSecrets(config, ciReleases = true) {
|
|
25
|
+
const r = ciReleases ? releaseSecrets(config) : { required: [], ci: [], optional: [] };
|
|
26
|
+
const required = [...new Set([...config.env?.githubSecrets ?? [], ...r.required, ...r.ci])];
|
|
27
|
+
return { required, optional: r.optional.filter((n) => !required.includes(n)) };
|
|
28
|
+
}
|
|
29
|
+
function compareGithubSecrets(expected, present) {
|
|
30
|
+
const has = new Set(present);
|
|
31
|
+
const missing = expected.required.filter((n) => !has.has(n));
|
|
32
|
+
const stale = present.filter((n) => Object.hasOwn(LEGACY, n) || RETIRED.includes(n)).sort();
|
|
33
|
+
return {
|
|
34
|
+
status: missing.length ? "missing" : "ok",
|
|
35
|
+
expected: expected.required,
|
|
36
|
+
missing,
|
|
37
|
+
optionalMissing: expected.optional.filter((n) => !has.has(n)),
|
|
38
|
+
stale
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
var RELEASES = /mobile-distribute\.yml|\bkit\s+release\b/;
|
|
42
|
+
function workflowsRelease(root) {
|
|
43
|
+
const dir = join(root, ".github", "workflows");
|
|
44
|
+
if (!existsSync(dir))
|
|
45
|
+
return false;
|
|
46
|
+
return readdirSync(dir).filter((f) => /\.ya?ml$/.test(f)).some((f) => RELEASES.test(readFileSync(join(dir, f), "utf8")));
|
|
47
|
+
}
|
|
48
|
+
async function ghJson(root, args) {
|
|
49
|
+
const r = await runPiped(["gh", ...args], { cwd: root });
|
|
50
|
+
if (r.code !== 0)
|
|
51
|
+
return;
|
|
52
|
+
try {
|
|
53
|
+
return JSON.parse(r.stdout);
|
|
54
|
+
} catch {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
var nameList = (v) => Array.isArray(v) ? v.map((x) => x?.name).filter((n) => typeof n === "string") : [];
|
|
59
|
+
var names = (v, key) => v && typeof v === "object" && !Array.isArray(v) ? nameList(v[key]) : [];
|
|
60
|
+
async function sharedSecretNames(root) {
|
|
61
|
+
const [envs, org] = await Promise.all([
|
|
62
|
+
ghJson(root, ["api", "repos/{owner}/{repo}/environments"]),
|
|
63
|
+
ghJson(root, ["api", "repos/{owner}/{repo}/actions/organization-secrets"])
|
|
64
|
+
]);
|
|
65
|
+
const perEnv = await Promise.all(names(envs, "environments").map(async (env) => {
|
|
66
|
+
return nameList(await ghJson(root, ["secret", "list", "--env", env, "--json", "name"]));
|
|
67
|
+
}));
|
|
68
|
+
return [...names(org, "secrets"), ...perEnv.flat()];
|
|
69
|
+
}
|
|
70
|
+
function skippedGithub(reason, expected = []) {
|
|
71
|
+
return { status: "skipped", reason, expected, missing: [], optionalMissing: [], stale: [] };
|
|
72
|
+
}
|
|
73
|
+
async function checkGithubSecrets(root, config) {
|
|
74
|
+
const expected = expectedGithubSecrets(config, workflowsRelease(root));
|
|
75
|
+
const skipped = (reason) => skippedGithub(reason, expected.required);
|
|
76
|
+
if (!expected.required.length && !expected.optional.length)
|
|
77
|
+
return skipped("no GitHub secrets expected");
|
|
78
|
+
if (onGitHubActions())
|
|
79
|
+
return skipped("running on GitHub Actions");
|
|
80
|
+
if (!Bun.which("gh"))
|
|
81
|
+
return skipped("gh not installed");
|
|
82
|
+
const listed = await githubDestination(root, []).list();
|
|
83
|
+
if (!listed.ok)
|
|
84
|
+
return skipped(`gh secret list failed: ${listed.error ?? "unknown error"}`);
|
|
85
|
+
const missingRepo = expected.required.filter((n) => !listed.names.includes(n));
|
|
86
|
+
const shared = missingRepo.length ? await sharedSecretNames(root) : [];
|
|
87
|
+
return compareGithubSecrets(expected, [...new Set([...listed.names, ...shared])]);
|
|
88
|
+
}
|
|
89
|
+
export {
|
|
90
|
+
workflowsRelease,
|
|
91
|
+
skippedGithub,
|
|
92
|
+
expectedGithubSecrets,
|
|
93
|
+
compareGithubSecrets,
|
|
94
|
+
checkGithubSecrets
|
|
95
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-mv14geck.js";
|
|
5
5
|
import"./cli-7wvrehng.js";
|
|
6
6
|
import"./cli-540nme4e.js";
|
|
7
7
|
import"./cli-5wasc5mr.js";
|
|
@@ -20,12 +20,12 @@ kit gradle help --task assembleDebug`,
|
|
|
20
20
|
async run(ctx) {
|
|
21
21
|
const { existsSync } = await import("fs");
|
|
22
22
|
const { join } = await import("path");
|
|
23
|
-
const { requireProject } = await import("./command-
|
|
23
|
+
const { requireProject } = await import("./command-27sm2jm7.js");
|
|
24
24
|
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
25
25
|
const { run } = await import("./proc-jv4bcyyx.js");
|
|
26
26
|
const { root, config } = requireProject(ctx);
|
|
27
27
|
if (!config.gradle) {
|
|
28
|
-
throw new KitError("No Gradle root configured", "Set gradle.root in kit.config.ts", ExitCode.config);
|
|
28
|
+
throw new KitError("No Gradle root configured", config.toolchain ? "This is a Kotlin toolchain project: use `kit kotlin \u2026`" : "Set gradle.root in kit.config.ts", ExitCode.config);
|
|
29
29
|
}
|
|
30
30
|
const dir = join(root, config.gradle.root);
|
|
31
31
|
if (!existsSync(join(dir, "gradlew"))) {
|