@jordond/kit 0.5.0 → 0.7.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 +691 -9
- package/bin/kit +2 -2
- package/dist/_preview-g0s46wbd.js +186 -0
- package/dist/_verb-g6837n2y.js +173 -0
- package/dist/{android-m93y4yam.js → android-17z0stcg.js} +3 -3
- package/dist/apply-5531ynqp.js +118 -0
- package/dist/backup-ev2amscz.js +67 -0
- package/dist/bin-q60acre8.js +15 -0
- package/dist/boot-6t7jn0jp.js +52 -0
- package/dist/{build-8vcgsjwr.js → build-6rp8qsab.js} +6 -2
- package/dist/build-m9z9pfdh.js +21 -0
- package/dist/build-wdysb1g7.js +53 -0
- package/dist/{builtins-v7aeynd1.js → builtins-vh45v6hz.js} +1 -1
- package/dist/{bump-6sw1bwp2.js → bump-rce7k3yk.js} +5 -5
- package/dist/{certs-3nstba8v.js → certs-x8ds6gcq.js} +5 -5
- package/dist/changelog-70znsn6a.js +130 -0
- package/dist/changelog-ans0k88j.js +120 -0
- package/dist/{check-bbcvkd59.js → check-5p1nvffh.js} +8 -3
- package/dist/{check-6p4he09p.js → check-snsfxv4x.js} +11 -6
- package/dist/clean-j1aan7n6.js +93 -0
- package/dist/clean-jdky4kys.js +237 -0
- package/dist/clear-exmjhx8t.js +43 -0
- package/dist/cli-0f3m8qma.js +127 -0
- package/dist/{cli-08ff849s.js → cli-0gq9ayk0.js} +1 -1
- package/dist/cli-0h5bs7he.js +37 -0
- package/dist/cli-0pgyxzex.js +776 -0
- package/dist/cli-17hmeca5.js +394 -0
- package/dist/cli-1j74pfjc.js +466 -0
- package/dist/cli-28nya88s.js +73 -0
- package/dist/cli-2ja6z124.js +127 -0
- package/dist/cli-2vx7vz1p.js +64 -0
- package/dist/{cli-fqfan92n.js → cli-3f9s5j76.js} +16 -1
- package/dist/{doctor-rngjjwn8.js → cli-3nqkyv98.js} +153 -204
- package/dist/cli-5mqj72g1.js +54 -0
- package/dist/{cli-qhs8ww91.js → cli-5ws4pqz1.js} +11 -1
- package/dist/cli-8qgqecpv.js +35 -0
- package/dist/{cli-pz86az34.js → cli-9jt7ffg6.js} +23 -3
- package/dist/{deploy-4ns94w14.js → cli-9jv0j32a.js} +34 -19
- package/dist/{cli-wg35kt5d.js → cli-aca1bbxq.js} +9 -2
- package/dist/{cli-5qdvgv3a.js → cli-af51pbj8.js} +2 -2
- package/dist/cli-b4qnnrsp.js +35 -0
- package/dist/{cli-5sp3tf1s.js → cli-cj4hjqac.js} +104 -15
- package/dist/{cli-kzmewy2g.js → cli-e7kt35ys.js} +104 -75
- package/dist/cli-ey6trdpc.js +11 -0
- package/dist/cli-f68dq32t.js +282 -0
- package/dist/cli-fgxfjapz.js +234 -0
- package/dist/cli-j47q7z51.js +98 -0
- package/dist/cli-k3q2s02f.js +54 -0
- package/dist/{cli-699g070n.js → cli-m2zc03pj.js} +10 -8
- package/dist/{cli-dht27t4r.js → cli-nnj05pns.js} +1 -1
- package/dist/cli-p7bb5zr2.js +14 -0
- package/dist/cli-pd4aspw0.js +208 -0
- package/dist/{cli-vpzh9t0w.js → cli-py23qtsd.js} +1 -1
- package/dist/cli-qr7pzwpv.js +67 -0
- package/dist/cli-qsc39jca.js +275 -0
- package/dist/cli-r2zaznxh.js +123 -0
- package/dist/cli-s4bb7m1c.js +407 -0
- package/dist/{cli-vdxz787w.js → cli-thr9xsnm.js} +3 -3
- package/dist/{mobile-r27grzez.js → cli-v5ahh2k7.js} +29 -29
- package/dist/cli-vrtkz6f0.js +124 -0
- package/dist/cli-w3yfxvfc.js +85 -0
- package/dist/{cli-q4k5hjzg.js → cli-w7nrc7bk.js} +52 -12
- package/dist/cli-wrzdcgnt.js +82 -0
- package/dist/cli-ynsy144r.js +196 -0
- package/dist/cli.js +1 -1
- package/dist/{cloudflare-d4rm8ndz.js → cloudflare-mkq6s4p7.js} +13 -5
- package/dist/command-05jwq2ce.js +1108 -0
- package/dist/command-jqp93n3b.js +269 -0
- package/dist/{command-ybq4jdy8.js → command-nmgz9x53.js} +1 -1
- package/dist/commands/_affected.d.ts +11 -0
- package/dist/commands/_preview.d.ts +12 -0
- package/dist/commands/_verb.d.ts +1 -1
- package/dist/commands/add/module.d.ts +25 -0
- package/dist/commands/add/target.d.ts +17 -0
- package/dist/commands/app/build.d.ts +11 -0
- package/dist/commands/app/clear.d.ts +7 -0
- package/dist/commands/app/install.d.ts +15 -0
- package/dist/commands/app/run.d.ts +15 -0
- package/dist/commands/app/uninstall.d.ts +7 -0
- package/dist/commands/build.d.ts +8 -0
- package/dist/commands/changelog.d.ts +30 -0
- package/dist/commands/check.d.ts +8 -0
- package/dist/commands/clean.d.ts +7 -0
- package/dist/commands/db/backup.d.ts +16 -0
- package/dist/commands/db/reset.d.ts +11 -0
- package/dist/commands/db/restore.d.ts +11 -0
- package/dist/commands/db/seed.d.ts +11 -0
- package/dist/commands/deploy.d.ts +8 -0
- package/dist/commands/device/boot.d.ts +7 -0
- package/dist/commands/device/list.d.ts +7 -0
- package/dist/commands/device/statusbar.d.ts +11 -0
- package/dist/commands/doctor.d.ts +10 -93
- package/dist/commands/env/push.d.ts +5 -1
- package/dist/commands/env/rotate.d.ts +7 -0
- package/dist/commands/fixture/dump.d.ts +7 -0
- package/dist/commands/fixture/load.d.ts +7 -0
- package/dist/commands/format.d.ts +8 -0
- package/dist/commands/init.d.ts +29 -1
- package/dist/commands/lint.d.ts +8 -0
- package/dist/commands/logs.d.ts +8 -0
- package/dist/commands/maestro.d.ts +2 -0
- package/dist/commands/open.d.ts +13 -0
- package/dist/commands/qa.d.ts +31 -0
- package/dist/commands/release/metadata/pull.d.ts +11 -0
- package/dist/commands/release/metadata/push.d.ts +11 -0
- package/dist/commands/release/promote.d.ts +35 -0
- package/dist/commands/release/rollback.d.ts +7 -0
- package/dist/commands/release/rollout.d.ts +23 -0
- package/dist/commands/release/status.d.ts +2 -0
- package/dist/commands/shots/export.d.ts +29 -0
- package/dist/commands/shots.d.ts +31 -0
- package/dist/commands/test.d.ts +10 -1
- package/dist/commands/typecheck.d.ts +10 -1
- package/dist/commands/upgrade.d.ts +9 -0
- package/dist/completion-g8bjf46s.js +36 -0
- package/dist/{completion-hm4rhvpk.js → completion-n9yqehnf.js} +1 -1
- package/dist/{concurrent-zdz69ye5.js → concurrent-atba349a.js} +1 -1
- package/dist/config/load.d.ts +8 -0
- package/dist/config/schema.d.ts +85 -0
- package/dist/config-45ts3ey1.js +31 -0
- package/dist/{config-3craadxe.js → config-d7h13gsg.js} +1 -1
- package/dist/{create-p7gmz7yv.js → create-pzjz0d84.js} +6 -6
- package/dist/{creds-2qk71mdx.js → creds-kgbnkj91.js} +3 -3
- package/dist/d1-local-mpc7ykq4.js +62 -0
- package/dist/deploy-napjwj8w.js +18 -0
- package/dist/{deps-e65wk9g0.js → deps-7xxc0a5z.js} +6 -6
- package/dist/{dev-gq83jvk8.js → dev-z4s47pvj.js} +7 -7
- package/dist/discover-9egde25c.js +14 -0
- package/dist/doctor-nhn8fsqn.js +153 -0
- package/dist/dotenv-bsk2m68j.js +15 -0
- package/dist/dump-4s2wbydq.js +60 -0
- package/dist/entries-358fsdbg.js +311 -0
- package/dist/{exec-p5xfgqgs.js → exec-f7s2cper.js} +6 -6
- package/dist/export-1eszfz4q.js +65 -0
- package/dist/{fastlane-pj9c09z3.js → fastlane-8yepfr2p.js} +3 -3
- package/dist/{fastlane-yypgpmwr.js → fastlane-faays7j0.js} +6 -6
- package/dist/fixes-nyvcnb08.js +27 -0
- package/dist/{format-0ynd2amx.js → format-tt14cck9.js} +7 -3
- package/dist/{git-3gyyfk0x.js → git-qyqfbf8e.js} +15 -3
- package/dist/{github-4q7gxxx5.js → github-em8sgwvy.js} +6 -6
- package/dist/{gradle-526a5wt2.js → gradle-zgbmvvej.js} +3 -3
- package/dist/index-gqmhnjkq.js +49 -0
- package/dist/index-tvegt8ab.js +25 -0
- package/dist/index.js +4 -4
- package/dist/init-025v8xjs.js +464 -0
- package/dist/{init-gtkmx54a.js → init-dyd1b74n.js} +11 -7
- package/dist/{init-c2zyegvv.js → init-ktq9qfgk.js} +5 -5
- package/dist/install-c87y65cw.js +50 -0
- package/dist/install-wz1de5cv.js +35 -0
- package/dist/{ios-hk9xkjak.js → ios-yas39gap.js} +3 -3
- package/dist/kitref-p727zpk7.js +24 -0
- package/dist/{kotlin-y092s32p.js → kotlin-66qna77x.js} +3 -3
- package/dist/lib/add/apply.d.ts +25 -0
- package/dist/lib/add/edits.d.ts +57 -0
- package/dist/lib/add/plan.d.ts +98 -0
- package/dist/lib/add/settings.d.ts +20 -0
- package/dist/lib/app/build.d.ts +35 -0
- package/dist/lib/app/config.d.ts +21 -0
- package/dist/lib/app/install.d.ts +53 -0
- package/dist/lib/changelog.d.ts +51 -0
- package/dist/lib/chrome.d.ts +19 -0
- package/dist/lib/clean.d.ts +85 -0
- package/dist/lib/cloudflare.d.ts +25 -1
- package/dist/lib/completion.d.ts +33 -0
- package/dist/lib/d1-local.d.ts +29 -0
- package/dist/lib/devices/index.d.ts +96 -0
- package/dist/lib/devices/pick.d.ts +52 -0
- package/dist/lib/devices/statusbar.d.ts +4 -0
- package/dist/lib/doctor/checks.d.ts +134 -0
- package/dist/lib/doctor/entries.d.ts +34 -0
- package/dist/lib/doctor/fixes.d.ts +64 -0
- package/dist/lib/doctor/repair.d.ts +18 -0
- package/dist/lib/dotenv.d.ts +52 -0
- package/dist/lib/env/init.d.ts +1 -1
- package/dist/lib/env/push-run.d.ts +62 -0
- package/dist/lib/env/render.d.ts +2 -1
- package/dist/lib/env/rotate.d.ts +24 -0
- package/dist/lib/env/schema.d.ts +20 -0
- package/dist/lib/fixtures/android.d.ts +33 -0
- package/dist/lib/fixtures/config.d.ts +73 -0
- package/dist/lib/fixtures/index.d.ts +20 -0
- package/dist/lib/fixtures/ios.d.ts +13 -0
- package/dist/lib/fixtures/stage.d.ts +37 -0
- package/dist/lib/git.d.ts +43 -1
- package/dist/lib/image/png.d.ts +39 -0
- package/dist/lib/kitref.d.ts +35 -0
- package/dist/lib/maestro/args.d.ts +23 -0
- package/dist/lib/maestro/bin.d.ts +10 -0
- package/dist/lib/maestro/command.d.ts +16 -0
- package/dist/lib/maestro/lint.d.ts +14 -0
- package/dist/lib/maestro/run.d.ts +79 -0
- package/dist/lib/maestro/suites.d.ts +24 -0
- package/dist/lib/pm.d.ts +5 -0
- package/dist/lib/proc.d.ts +5 -0
- package/dist/lib/release/listing-images.d.ts +86 -0
- package/dist/lib/release/metadata.d.ts +81 -0
- package/dist/lib/release/mobile.d.ts +5 -1
- package/dist/lib/release/promote.d.ts +58 -0
- package/dist/lib/release/rollout.d.ts +33 -0
- package/dist/lib/release/status.d.ts +52 -0
- package/dist/lib/scaffold.d.ts +104 -0
- package/dist/lib/steps.d.ts +10 -0
- package/dist/lib/storeshots/command.d.ts +3 -0
- package/dist/lib/storeshots/fonts.d.ts +14 -0
- package/dist/lib/storeshots/page/background.d.ts +6 -0
- package/dist/lib/storeshots/page/device-frames.d.ts +16 -0
- package/dist/lib/storeshots/page/main.d.ts +1 -0
- package/dist/lib/storeshots/page/renderer.d.ts +17 -0
- package/dist/lib/storeshots/page-bundle.d.ts +7 -0
- package/dist/lib/storeshots/plan.d.ts +25 -0
- package/dist/lib/storeshots/project.d.ts +169 -0
- package/dist/lib/storeshots/render.d.ts +20 -0
- package/dist/lib/storeshots/server.d.ts +29 -0
- package/dist/lib/storeshots/sizes.d.ts +121 -0
- package/dist/lib/storeshots/types.d.ts +397 -0
- package/dist/lib/storeshots/write.d.ts +11 -0
- package/dist/lib/targets.d.ts +23 -2
- package/dist/lib/worker.d.ts +128 -0
- package/dist/{lint-ex675vcp.js → lint-hx7b83kn.js} +7 -3
- package/dist/list-ks9e93rx.js +61 -0
- package/dist/{list-vftxgz96.js → list-xxsdc51s.js} +6 -6
- package/dist/load-1fxmvh9n.js +51 -0
- package/dist/{load-4s6t9309.js → load-8y6s655t.js} +36 -3
- package/dist/{load-75xm9qcy.js → load-ak66yg9j.js} +7 -1
- package/dist/logs-zjbmpm40.js +62 -0
- package/dist/maestro-zw9p32cc.js +30 -0
- package/dist/{main-g6ndff3w.js → main-1v5dgfdb.js} +24 -99
- package/dist/metadata-4jn2zdsm.js +44 -0
- package/dist/{migrate-5bj93aqj.js → migrate-2a66bm3x.js} +6 -6
- package/dist/mobile-0m026dzx.js +40 -0
- package/dist/module-2bn1p66a.js +119 -0
- package/dist/{notes-1zsa7qac.js → notes-pyvrbdgg.js} +3 -3
- package/dist/open-rn88e9c5.js +73 -0
- package/dist/pick-a90zx6sr.js +26 -0
- package/dist/plan-av9jwvvk.js +651 -0
- package/dist/{pm-5q5vz6w3.js → pm-ay4nmeps.js} +3 -1
- package/dist/{proc-jv4bcyyx.js → proc-8ewt3hs4.js} +4 -2
- package/dist/promote-8g49cxj1.js +63 -0
- package/dist/promote-eezgfcm6.js +290 -0
- package/dist/pull-0cjcf2jg.js +39 -0
- package/dist/push-qndrsnvg.js +63 -0
- package/dist/push-run-y2gb3a0r.js +148 -0
- package/dist/push-ysd4zzad.js +44 -0
- package/dist/qa-ha84kjzm.js +40 -0
- package/dist/{render-vn40fp54.js → render-hkvej41k.js} +3 -1
- package/dist/repair-6989jrqg.js +104 -0
- package/dist/reset-710zhbbj.js +110 -0
- package/dist/restore-b744ykwg.js +122 -0
- package/dist/rollback-3vkb819m.js +134 -0
- package/dist/rollout-kdfmvwwv.js +56 -0
- package/dist/rollout-z1r0r7h1.js +188 -0
- package/dist/rotate-762tg2z9.js +80 -0
- package/dist/rotate-q5psaddv.js +168 -0
- package/dist/run-k2w6qqms.js +56 -0
- package/dist/scaffold-5mzc135g.js +37 -0
- package/dist/secrets-5hej44bb.js +24 -0
- package/dist/seed-9xw8ppn9.js +37 -0
- package/dist/{service-dfkyxsed.js → service-n6kgj7ba.js} +18 -9
- package/dist/shots-byejd6g2.js +46 -0
- package/dist/shots-page.js +613 -0
- package/dist/{show-qdsehk9z.js → show-47xz48ea.js} +3 -3
- package/dist/sizes-3kpjxm9h.js +51 -0
- package/dist/status-fk3frgy1.js +41 -0
- package/dist/status-stvsvpn3.js +29 -0
- package/dist/statusbar-tkznwzqz.js +15 -0
- package/dist/statusbar-x2rjwbz5.js +55 -0
- package/dist/steps-t6q8yxbb.js +22 -0
- package/dist/{sync-ngknzh6t.js → sync-7d7v2f5r.js} +4 -4
- package/dist/target-hpmjbrrh.js +78 -0
- package/dist/{targets-5z0abrrk.js → targets-vvzvaskd.js} +11 -4
- package/dist/{test-gdynbr4p.js → test-f07bcpby.js} +8 -3
- package/dist/{typecheck-9mfcx412.js → typecheck-ztfs5rb9.js} +6 -2
- package/dist/uninstall-q8ewxkdr.js +43 -0
- package/dist/upgrade-g67qx155.js +127 -0
- package/dist/worker-661hvwnb.js +59 -0
- package/dist/{wrangler-vecn5dwg.js → wrangler-mvnagswd.js} +5 -5
- package/dist/{xcode-33s2hs2d.js → xcode-h3nt62t8.js} +3 -3
- package/fastlane/Fastfile +748 -15
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/{0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.0/io.github.jordond.kit.android.application.gradle.plugin-0.7.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.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.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.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.0/io.github.jordond.kit.compose.gradle.plugin-0.7.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.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.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.5.0/kit-plugins-0.5.0.module → 0.7.0/kit-plugins-0.7.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.pom → 0.7.0/kit-plugins-0.7.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.0/kit-plugins-0.7.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.5.0/kit-settings-0.5.0.module → 0.7.0/kit-settings-0.7.0.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.pom → 0.7.0/kit-settings-0.7.0.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.0/kit-settings-0.7.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.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.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.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.0/io.github.jordond.kit.lint.gradle.plugin-0.7.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.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.0/io.github.jordond.kit.release.gradle.plugin-0.7.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.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom → 0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.0.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.0/io.github.jordond.kit.settings.gradle.plugin-0.7.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 +2 -2
- package/templates/add/Placeholder.kt +4 -0
- package/templates/add/gradle-module/build.gradle.kts +9 -0
- package/templates/add/toolchain-module/module.yaml +4 -0
- package/templates/add/worker/package.json +15 -0
- package/templates/add/worker/src/index.ts +5 -0
- package/templates/add/worker/tsconfig.json +13 -0
- package/templates/add/worker/wrangler.jsonc +8 -0
- package/templates/{new → gradle}/.github/workflows/ci.yml +3 -3
- package/templates/gradle/renovate.json +4 -0
- package/templates/lefthook.yml +1 -1
- package/templates/toolchain/.editorconfig +32 -0
- package/templates/toolchain/.env.example +20 -0
- package/templates/toolchain/.github/workflows/ci.yml +44 -0
- package/templates/toolchain/.github/workflows/distribute.yml +41 -0
- package/templates/toolchain/fastlane/Fastfile +1 -0
- package/templates/toolchain/mise.toml +6 -0
- package/templates/toolchain/renovate.json +4 -0
- package/dist/_verb-d8z0az83.js +0 -117
- package/dist/cli-tt8q6taw.js +0 -197
- package/dist/cli-xjpjdc2c.js +0 -70
- package/dist/init-ndgxaqcj.js +0 -281
- package/dist/push-bhnr14ms.js +0 -22
- package/dist/push-nx5n43se.js +0 -124
- package/dist/steps-8bz1tscj.js +0 -16
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.5.0/io.github.jordond.kit.android.application.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.5.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.5.0/io.github.jordond.kit.compose.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.5.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.5.0/kit-plugins-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.5.0/kit-settings-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.5.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.5.0/io.github.jordond.kit.lint.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.5.0/io.github.jordond.kit.release.gradle.plugin-0.5.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.5.0/io.github.jordond.kit.settings.gradle.plugin-0.5.0.pom.sha512 +0 -1
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar → 0.7.0/kit-plugins-0.7.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.md5 → 0.7.0/kit-plugins-0.7.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.sha1 → 0.7.0/kit-plugins-0.7.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.sha256 → 0.7.0/kit-plugins-0.7.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.5.0/kit-plugins-0.5.0.jar.sha512 → 0.7.0/kit-plugins-0.7.0.jar.sha512} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar → 0.7.0/kit-settings-0.7.0.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.md5 → 0.7.0/kit-settings-0.7.0.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.sha1 → 0.7.0/kit-settings-0.7.0.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.sha256 → 0.7.0/kit-settings-0.7.0.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.5.0/kit-settings-0.5.0.jar.sha512 → 0.7.0/kit-settings-0.7.0.jar.sha512} +0 -0
- /package/templates/{new → gradle}/.env.example +0 -0
- /package/templates/{new → gradle}/apps/client/fastlane/Fastfile +0 -0
- /package/templates/{new → gradle}/apps/client/gradle/libs.versions.toml +0 -0
- /package/templates/{new → gradle}/apps/client/settings.gradle.kts +0 -0
- /package/templates/{new → gradle}/kit.config.ts +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { KitConfig, TargetConfig } from '../config/schema';
|
|
2
|
+
/**
|
|
3
|
+
* Worker-kind targets beyond deploy: preview versions, rollback, logs, the dashboard, and where
|
|
4
|
+
* wrangler keeps a local D1 database. Arg builders and parsers only; commands do the running.
|
|
5
|
+
* Wrangler flags were checked against wrangler 4.73.
|
|
6
|
+
*/
|
|
7
|
+
export declare function workerTargets(config: KitConfig): string[];
|
|
8
|
+
/** The worker target `name`, or a usage error naming the worker targets. `command` is `kit logs`. */
|
|
9
|
+
export declare function requireWorker(config: KitConfig, name: string | undefined, command: string): TargetConfig;
|
|
10
|
+
/** The wrangler config in `dir`, parsed (JSONC or TOML). Undefined when there is none or it does not parse. */
|
|
11
|
+
export declare function readWranglerConfig(dir: string): {
|
|
12
|
+
file: string;
|
|
13
|
+
data: Record<string, unknown>;
|
|
14
|
+
} | undefined;
|
|
15
|
+
/** The deployed worker's name: `name`, or for an env its own `name`, else wrangler's `<name>-<env>`. */
|
|
16
|
+
export declare function workerName(data: Record<string, unknown>, env?: string): string | undefined;
|
|
17
|
+
/** Cloudflare dashboard page of a worker. Without an account id the dashboard asks which account. */
|
|
18
|
+
export declare function dashboardUrl(accountId: string | undefined, worker: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* A preview alias for a branch, the way wrangler derives one: lowercased, runs of other characters
|
|
21
|
+
* become `-`, and `<alias>-<worker>` must fit a DNS label (a long branch is cut and gets a 4-char
|
|
22
|
+
* hash). Undefined when the branch gives no valid alias (detached HEAD, a name starting with a digit).
|
|
23
|
+
*/
|
|
24
|
+
export declare function previewAlias(branch: string | undefined, worker: string): string | undefined;
|
|
25
|
+
/** `wrangler versions upload`: a new version, production traffic untouched. */
|
|
26
|
+
export declare function versionsUploadArgs(opts?: {
|
|
27
|
+
env?: string;
|
|
28
|
+
alias?: string;
|
|
29
|
+
extra?: string[];
|
|
30
|
+
}): string[];
|
|
31
|
+
export interface VersionUpload {
|
|
32
|
+
version?: string;
|
|
33
|
+
/** The alias URL when wrangler printed one, else the per-version preview URL. */
|
|
34
|
+
url?: string;
|
|
35
|
+
}
|
|
36
|
+
/** Version id and preview URL from `wrangler versions upload` output. */
|
|
37
|
+
export declare function parseVersionUpload(output: string): VersionUpload;
|
|
38
|
+
/**
|
|
39
|
+
* `wrangler rollback <version-id>`. wrangler declares `--yes` but never reads it: kit asks, then runs
|
|
40
|
+
* this with no terminal on stdin, where wrangler takes the default (yes) for each of its prompts.
|
|
41
|
+
*/
|
|
42
|
+
export declare function rollbackArgs(opts: {
|
|
43
|
+
to: string;
|
|
44
|
+
env?: string;
|
|
45
|
+
message: string;
|
|
46
|
+
}): string[];
|
|
47
|
+
/** `wrangler deployments list --json` / `wrangler versions list --json`: what rollback reads to pick a version. */
|
|
48
|
+
export declare function listArgs(what: 'deployments' | 'versions', env?: string): string[];
|
|
49
|
+
export interface RollbackTarget {
|
|
50
|
+
/** Version id to hand to `wrangler rollback`. */
|
|
51
|
+
version: string;
|
|
52
|
+
/** When that version was deployed (ISO). */
|
|
53
|
+
deployed: string;
|
|
54
|
+
/** Secret-only deployments made since: their values go back with the rollback. */
|
|
55
|
+
secretChanges: number;
|
|
56
|
+
}
|
|
57
|
+
export interface RollbackCandidate {
|
|
58
|
+
version: string;
|
|
59
|
+
/** When the deployment carrying it was made (ISO). */
|
|
60
|
+
deployed: string;
|
|
61
|
+
/** Its share of traffic in that deployment. */
|
|
62
|
+
percentage: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* When the newest deployment splits traffic across versions (a gradual rollout), there is no single
|
|
66
|
+
* live version to roll back from, and kit does not guess. This returns what the user can choose
|
|
67
|
+
* from: the versions in the split, then the fully deployed versions before it, newest first.
|
|
68
|
+
* Undefined when the newest deployment is at 100% or the listing is not that shape.
|
|
69
|
+
*/
|
|
70
|
+
export declare function gradualRollout(deploymentsJson: string): RollbackCandidate[] | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* The version to roll back to: the newest earlier deployment whose code differs from what is live.
|
|
73
|
+
* Call `gradualRollout` first: this only looks at deployments with one version at 100%.
|
|
74
|
+
* wrangler's own default is "the deployment before the latest", but every `wrangler secret put`
|
|
75
|
+
* makes a deployment (a new version: the same code, one secret changed), so after a secrets push
|
|
76
|
+
* that default only undoes the last secret and leaves the bad code live. Here a secret-only
|
|
77
|
+
* deployment counts as the code of the deployment before it.
|
|
78
|
+
*
|
|
79
|
+
* Input: the JSON of `deployments list` (`[{ created_on, versions: [{ version_id, percentage }],
|
|
80
|
+
* annotations }]`) and of `versions list` (`[{ id, annotations }]`, the recent ones only). Undefined
|
|
81
|
+
* when there is no earlier code version, or the listing is not that shape.
|
|
82
|
+
*/
|
|
83
|
+
export declare function pickRollback(deploymentsJson: string, versionsJson?: string): RollbackTarget | undefined;
|
|
84
|
+
/** `wrangler tail`, with anything after `--` passed through. */
|
|
85
|
+
export declare function tailArgs(opts?: {
|
|
86
|
+
env?: string;
|
|
87
|
+
extra?: string[];
|
|
88
|
+
}): string[];
|
|
89
|
+
/**
|
|
90
|
+
* The target and env a release service deploys, read from its `deploy` command
|
|
91
|
+
* (`kit deploy api --env prod`). Undefined when the deploy is anything else: only a `kit deploy` of
|
|
92
|
+
* exactly one target can be rolled back.
|
|
93
|
+
*/
|
|
94
|
+
export declare function serviceDeployTarget(deploy: string): {
|
|
95
|
+
target: string;
|
|
96
|
+
env?: string;
|
|
97
|
+
} | undefined;
|
|
98
|
+
/** Marks kit's preview comment on a PR, so the next preview of the same target updates it. */
|
|
99
|
+
export declare const previewMarker: (target: string) => string;
|
|
100
|
+
export declare function previewComment(p: {
|
|
101
|
+
target: string;
|
|
102
|
+
url: string;
|
|
103
|
+
version?: string;
|
|
104
|
+
env?: string;
|
|
105
|
+
}): string;
|
|
106
|
+
/**
|
|
107
|
+
* The PR for the current branch and kit's earlier preview comment on it, from
|
|
108
|
+
* `gh pr view --json number,comments`. The comment's REST id is the tail of its URL.
|
|
109
|
+
*/
|
|
110
|
+
export declare function parsePr(stdout: string, target: string): {
|
|
111
|
+
number: number;
|
|
112
|
+
commentId?: string;
|
|
113
|
+
} | undefined;
|
|
114
|
+
/** Miniflare's file name for a local database: an HMAC of its id under the D1 object's key. */
|
|
115
|
+
export declare function localD1Hash(id: string): string;
|
|
116
|
+
/**
|
|
117
|
+
* The id wrangler keys a local database by: `preview_database_id`, else `database_id`, else the
|
|
118
|
+
* binding. Looked up in the wrangler config's `d1_databases` by database name or binding.
|
|
119
|
+
*/
|
|
120
|
+
export declare function localD1Id(data: Record<string, unknown>, database: string): string | undefined;
|
|
121
|
+
/** The local id of every `d1_databases` entry in a wrangler config (see `localD1Id`). */
|
|
122
|
+
export declare function localD1Ids(data: Record<string, unknown>): string[];
|
|
123
|
+
/** Where wrangler keeps a worker's local D1 databases. */
|
|
124
|
+
export declare const localD1StateDir: (dir: string) => string;
|
|
125
|
+
/** Every `.sqlite` file under the local D1 state dir, whichever database it belongs to; none when the dir is absent. */
|
|
126
|
+
export declare function localD1Sqlite(dir: string): string[];
|
|
127
|
+
/** The SQLite files (with WAL sidecars) of one local database under a worker dir. */
|
|
128
|
+
export declare function localD1Files(dir: string, id: string): string[];
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
affectedArgs
|
|
4
|
+
} from "./cli-p7bb5zr2.js";
|
|
2
5
|
import {
|
|
3
6
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
8
|
import"./cli-540nme4e.js";
|
|
6
9
|
import"./cli-5wasc5mr.js";
|
|
7
10
|
import"./cli-7wvrehng.js";
|
|
@@ -14,6 +17,7 @@ var lint_default = defineCommand({
|
|
|
14
17
|
description: "Lint every target",
|
|
15
18
|
group: "Quality",
|
|
16
19
|
args: {
|
|
20
|
+
...affectedArgs,
|
|
17
21
|
fix: { type: "boolean", short: "f", description: "Apply fixes (runs each target's format command)" },
|
|
18
22
|
staged: {
|
|
19
23
|
type: "boolean",
|
|
@@ -24,8 +28,8 @@ var lint_default = defineCommand({
|
|
|
24
28
|
kit lint api web
|
|
25
29
|
kit lint --staged --fix`,
|
|
26
30
|
async run(ctx) {
|
|
27
|
-
const { runVerb } = await import("./_verb-
|
|
28
|
-
const staged = ctx.args.staged ? await (await import("./git-
|
|
31
|
+
const { runVerb } = await import("./_verb-g6837n2y.js");
|
|
32
|
+
const staged = ctx.args.staged ? await (await import("./git-qyqfbf8e.js")).stagedFiles(ctx.root) : undefined;
|
|
29
33
|
await runVerb(ctx, {
|
|
30
34
|
name: ctx.args.fix ? "lint --fix" : "lint",
|
|
31
35
|
verbs: ctx.args.fix ? ["format"] : ["lint"],
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
defineCommand
|
|
4
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
|
+
import"./cli-540nme4e.js";
|
|
6
|
+
import"./cli-5wasc5mr.js";
|
|
7
|
+
import"./cli-7wvrehng.js";
|
|
8
|
+
import {
|
|
9
|
+
__require
|
|
10
|
+
} from "./cli-re3ntm60.js";
|
|
11
|
+
|
|
12
|
+
// src/commands/device/list.ts
|
|
13
|
+
var list_default = defineCommand({
|
|
14
|
+
description: "List simulators, emulators and connected devices",
|
|
15
|
+
group: "Develop",
|
|
16
|
+
args: { booted: { type: "boolean", description: "Only devices that are running" } },
|
|
17
|
+
examples: `kit device list
|
|
18
|
+
kit device list android --booted
|
|
19
|
+
kit device list ios --json`,
|
|
20
|
+
async run(ctx) {
|
|
21
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
22
|
+
const { deviceTargets, listAllDevices, parseTarget } = await import("./index-gqmhnjkq.js");
|
|
23
|
+
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
24
|
+
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
25
|
+
const { root, config } = requireProject(ctx);
|
|
26
|
+
const named = ctx.positionals[0];
|
|
27
|
+
const explicit = named !== undefined;
|
|
28
|
+
const targets = explicit ? [parseTarget(named, "device list")] : [...deviceTargets];
|
|
29
|
+
const env = { root, config };
|
|
30
|
+
const devices = [];
|
|
31
|
+
for (const target of targets) {
|
|
32
|
+
if (!explicit && target !== "android" && process.platform !== "darwin")
|
|
33
|
+
continue;
|
|
34
|
+
try {
|
|
35
|
+
for (const device of await listAllDevices(env, target))
|
|
36
|
+
devices.push({ ...device, target });
|
|
37
|
+
} catch (error) {
|
|
38
|
+
if (explicit || !(error instanceof KitError) || error.exitCode !== ExitCode.precondition)
|
|
39
|
+
throw error;
|
|
40
|
+
ctx.log.dim(`skipping ${target}: ${error.message}`);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
const shown = ctx.args.booted ? devices.filter((d) => d.state === "booted") : devices;
|
|
44
|
+
if (ctx.flags.json) {
|
|
45
|
+
emitJson({ devices: shown });
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (shown.length === 0) {
|
|
49
|
+
ctx.log.info(ctx.args.booted ? "No running devices" : "No devices found");
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
for (const d of [...shown].sort((a, b) => Number(b.state === "booted") - Number(a.state === "booted"))) {
|
|
53
|
+
const mark = d.state === "booted" ? "\u25CF booted " : "\u25CB shutdown";
|
|
54
|
+
const os = d.os ? ` iOS ${d.os}` : "";
|
|
55
|
+
ctx.log.info(`${mark} ${d.target.padEnd(7)} ${d.name}${os} ${d.id}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
list_default as default
|
|
61
|
+
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
dbArgs,
|
|
4
4
|
remoteArg
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-w7nrc7bk.js";
|
|
6
|
+
import"./cli-aca1bbxq.js";
|
|
7
7
|
import {
|
|
8
8
|
defineCommand
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
9
|
+
} from "./cli-0gq9ayk0.js";
|
|
10
|
+
import"./cli-5ws4pqz1.js";
|
|
11
|
+
import"./cli-3f9s5j76.js";
|
|
12
12
|
import"./cli-fqxtcj42.js";
|
|
13
13
|
import"./cli-540nme4e.js";
|
|
14
14
|
import"./cli-5wasc5mr.js";
|
|
@@ -25,7 +25,7 @@ var list_default = defineCommand({
|
|
|
25
25
|
examples: `kit db list
|
|
26
26
|
kit db list --remote --db analytics`,
|
|
27
27
|
async run(ctx) {
|
|
28
|
-
const { runD1 } = await import("./cloudflare-
|
|
28
|
+
const { runD1 } = await import("./cloudflare-mkq6s4p7.js");
|
|
29
29
|
await runD1(ctx, { kind: "list", remote: !!ctx.args.remote }, { mutates: false });
|
|
30
30
|
}
|
|
31
31
|
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
defineCommand
|
|
4
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
|
+
import"./cli-540nme4e.js";
|
|
6
|
+
import"./cli-5wasc5mr.js";
|
|
7
|
+
import"./cli-7wvrehng.js";
|
|
8
|
+
import {
|
|
9
|
+
__require
|
|
10
|
+
} from "./cli-re3ntm60.js";
|
|
11
|
+
|
|
12
|
+
// src/commands/fixture/load.ts
|
|
13
|
+
var load_default = defineCommand({
|
|
14
|
+
description: "Replay a fixture (app state) onto a device",
|
|
15
|
+
group: "Develop",
|
|
16
|
+
examples: `kit fixture load android
|
|
17
|
+
kit fixture load ios sample
|
|
18
|
+
kit fixture load ipad sample --device <udid>
|
|
19
|
+
kit fixture load android --dry-run --json`,
|
|
20
|
+
args: {
|
|
21
|
+
device: { type: "string", description: "Simulator UDID or adb serial (default: the running one)" }
|
|
22
|
+
},
|
|
23
|
+
async run(ctx) {
|
|
24
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
25
|
+
const { parseTarget } = await import("./index-gqmhnjkq.js");
|
|
26
|
+
const { requireRunningDevice } = await import("./install-wz1de5cv.js");
|
|
27
|
+
const { fixtureConfig, loadFixture, resolveFixtureName } = await import("./index-tvegt8ab.js");
|
|
28
|
+
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
29
|
+
const { root, config } = requireProject(ctx);
|
|
30
|
+
const target = parseTarget(ctx.positionals[0], "fixture load");
|
|
31
|
+
const env = { root, config, flags: ctx.flags, log: ctx.log };
|
|
32
|
+
const name = resolveFixtureName(fixtureConfig(root, config), ctx.positionals[1]);
|
|
33
|
+
const device = await requireRunningDevice(env, target, ctx.args.device);
|
|
34
|
+
const result = await loadFixture(env, target, device, name);
|
|
35
|
+
if (ctx.flags.dryRun) {
|
|
36
|
+
if (ctx.flags.json)
|
|
37
|
+
emitJson({ target, device: result.device, fixture: name, files: result.files, plan: result.plan });
|
|
38
|
+
else
|
|
39
|
+
for (const line of result.plan ?? [])
|
|
40
|
+
ctx.log.step(line);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (ctx.flags.json)
|
|
44
|
+
emitJson({ target, ...result });
|
|
45
|
+
else
|
|
46
|
+
ctx.log.success(`Loaded ${name} onto ${result.device} (via ${result.via})`);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
load_default as default
|
|
51
|
+
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
redact,
|
|
4
4
|
registerSecret
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-aca1bbxq.js";
|
|
6
|
+
import"./cli-3f9s5j76.js";
|
|
7
7
|
import"./cli-fqxtcj42.js";
|
|
8
8
|
import {
|
|
9
9
|
ExitCode,
|
|
@@ -15,6 +15,8 @@ import"./cli-re3ntm60.js";
|
|
|
15
15
|
import { existsSync } from "fs";
|
|
16
16
|
import { resolve } from "path";
|
|
17
17
|
import { pathToFileURL } from "url";
|
|
18
|
+
var GENERATE_KINDS = ["hex", "base64url", "uuid"];
|
|
19
|
+
var DEFAULT_GENERATE_LENGTH = 32;
|
|
18
20
|
var isZodObject = (v) => typeof v === "object" && v !== null && typeof v.safeParse === "function" && typeof v.shape === "object";
|
|
19
21
|
function fieldMeta(field) {
|
|
20
22
|
const out = {};
|
|
@@ -25,24 +27,52 @@ function fieldMeta(field) {
|
|
|
25
27
|
out.secret = m.secret;
|
|
26
28
|
if (out.description === undefined)
|
|
27
29
|
out.description = m.description ?? cur.description;
|
|
30
|
+
if (out.generate === undefined && m.generate !== undefined) {
|
|
31
|
+
out.generate = m.generate;
|
|
32
|
+
out.length = m.length;
|
|
33
|
+
}
|
|
28
34
|
cur = cur._zod?.def?.innerType;
|
|
29
35
|
}
|
|
30
36
|
return out;
|
|
31
37
|
}
|
|
38
|
+
function parseGenerate(name, meta) {
|
|
39
|
+
if (meta.generate === undefined)
|
|
40
|
+
return;
|
|
41
|
+
const kind = GENERATE_KINDS.find((k) => k === meta.generate);
|
|
42
|
+
if (!kind) {
|
|
43
|
+
throw new KitError(`env schema: ${name} has an unknown generate "${String(meta.generate)}"`, `Use one of: ${GENERATE_KINDS.join(", ")}`, ExitCode.config);
|
|
44
|
+
}
|
|
45
|
+
const length = meta.length ?? DEFAULT_GENERATE_LENGTH;
|
|
46
|
+
if (typeof length !== "number" || !Number.isInteger(length) || length < 1 || length > 1024) {
|
|
47
|
+
throw new KitError(`env schema: ${name} has an invalid generate length`, "length is a whole number of bytes, 1 to 1024", ExitCode.config);
|
|
48
|
+
}
|
|
49
|
+
return { kind, length };
|
|
50
|
+
}
|
|
32
51
|
function describeSchema(schema) {
|
|
33
52
|
if (!isZodObject(schema))
|
|
34
53
|
throw new KitError("env schema must export a zod object", undefined, ExitCode.config);
|
|
35
54
|
const keys = Object.entries(schema.shape).map(([name, field]) => {
|
|
36
55
|
const meta = fieldMeta(field);
|
|
56
|
+
const generate = parseGenerate(name, meta);
|
|
37
57
|
return {
|
|
38
58
|
name,
|
|
39
59
|
secret: meta.secret !== false,
|
|
40
60
|
required: !field.safeParse(undefined).success,
|
|
41
|
-
...typeof meta.description === "string" ? { description: meta.description } : {}
|
|
61
|
+
...typeof meta.description === "string" ? { description: meta.description } : {},
|
|
62
|
+
...generate ? { generate } : {}
|
|
42
63
|
};
|
|
43
64
|
});
|
|
44
65
|
return {
|
|
45
66
|
keys,
|
|
67
|
+
validateKey(name, value) {
|
|
68
|
+
const field = schema.shape[name];
|
|
69
|
+
if (!field)
|
|
70
|
+
return;
|
|
71
|
+
const result = field.safeParse(value);
|
|
72
|
+
if (result.success)
|
|
73
|
+
return;
|
|
74
|
+
return redact(result.error?.issues[0]?.message ?? "invalid value");
|
|
75
|
+
},
|
|
46
76
|
validate(values) {
|
|
47
77
|
const input = {};
|
|
48
78
|
for (const k of keys) {
|
|
@@ -77,6 +107,9 @@ function implicitSchema(config) {
|
|
|
77
107
|
const keys = names.map((name) => ({ name, secret: true, required: false }));
|
|
78
108
|
return {
|
|
79
109
|
keys,
|
|
110
|
+
validateKey: () => {
|
|
111
|
+
return;
|
|
112
|
+
},
|
|
80
113
|
validate(values) {
|
|
81
114
|
const merged = {};
|
|
82
115
|
for (const [k, v] of Object.entries(values))
|
|
@@ -2,20 +2,26 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CONFIG_FILE,
|
|
4
4
|
KIT_DIR,
|
|
5
|
+
configFile,
|
|
5
6
|
findRoot,
|
|
6
7
|
installDir,
|
|
7
8
|
loadConfig,
|
|
9
|
+
loadConfigFile,
|
|
8
10
|
loadDotEnv,
|
|
9
11
|
registerSelf
|
|
10
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-w3yfxvfc.js";
|
|
13
|
+
import"./cli-wrzdcgnt.js";
|
|
14
|
+
import"./cli-e7kt35ys.js";
|
|
11
15
|
import"./cli-7wvrehng.js";
|
|
12
16
|
import"./cli-re3ntm60.js";
|
|
13
17
|
export {
|
|
14
18
|
registerSelf,
|
|
15
19
|
loadDotEnv,
|
|
20
|
+
loadConfigFile,
|
|
16
21
|
loadConfig,
|
|
17
22
|
installDir,
|
|
18
23
|
findRoot,
|
|
24
|
+
configFile,
|
|
19
25
|
KIT_DIR,
|
|
20
26
|
CONFIG_FILE
|
|
21
27
|
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
defineCommand
|
|
4
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
|
+
import"./cli-540nme4e.js";
|
|
6
|
+
import"./cli-5wasc5mr.js";
|
|
7
|
+
import"./cli-7wvrehng.js";
|
|
8
|
+
import {
|
|
9
|
+
__require
|
|
10
|
+
} from "./cli-re3ntm60.js";
|
|
11
|
+
|
|
12
|
+
// src/commands/logs.ts
|
|
13
|
+
var logs_default = defineCommand({
|
|
14
|
+
description: "Tail a deployed worker's logs (wrangler tail; Ctrl-C stops)",
|
|
15
|
+
group: "Infra",
|
|
16
|
+
args: {
|
|
17
|
+
env: { type: "string", short: "e", description: "Environment, for targets that declare envs" }
|
|
18
|
+
},
|
|
19
|
+
examples: [
|
|
20
|
+
"kit logs api",
|
|
21
|
+
"kit logs api --env staging",
|
|
22
|
+
"kit logs api -- --status error --format json # after --: wrangler tail flags"
|
|
23
|
+
].join(`
|
|
24
|
+
`),
|
|
25
|
+
async run(ctx) {
|
|
26
|
+
const { relative } = await import("path");
|
|
27
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
28
|
+
const { pinCloudflareAccount, wrangler } = await import("./cloudflare-mkq6s4p7.js");
|
|
29
|
+
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
30
|
+
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
31
|
+
const { runInteractive } = await import("./proc-8ewt3hs4.js");
|
|
32
|
+
const { requireWorker, tailArgs } = await import("./worker-661hvwnb.js");
|
|
33
|
+
const { checkEnv } = await import("./deploy-napjwj8w.js");
|
|
34
|
+
const { root, config } = requireProject(ctx);
|
|
35
|
+
const [name, ...more] = ctx.positionals;
|
|
36
|
+
requireWorker(config, name, "kit logs");
|
|
37
|
+
if (more.length) {
|
|
38
|
+
throw new KitError("kit logs takes one worker target", "wrangler tail flags go after --", ExitCode.usage);
|
|
39
|
+
}
|
|
40
|
+
const env = checkEnv(config, name, ctx.args.env);
|
|
41
|
+
const w = wrangler(root, config, name, ...tailArgs({ env, extra: ctx.rest }));
|
|
42
|
+
const cwd = relative(root, w.cwd) || ".";
|
|
43
|
+
if (ctx.flags.dryRun) {
|
|
44
|
+
if (ctx.flags.json)
|
|
45
|
+
emitJson({ dryRun: true, target: name, env, cmd: w.cmd, cwd });
|
|
46
|
+
else
|
|
47
|
+
ctx.log.step(`${cwd} $ ${w.cmd.join(" ")}`);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (ctx.flags.json) {
|
|
51
|
+
throw new KitError("kit logs has no --json document", `For JSON lines: kit logs ${name} -- --format json`, ExitCode.usage);
|
|
52
|
+
}
|
|
53
|
+
if (config.cloudflare?.accountId)
|
|
54
|
+
pinCloudflareAccount(root, config);
|
|
55
|
+
const code = await runInteractive(w.cmd, { cwd: w.cwd });
|
|
56
|
+
if (code !== 0)
|
|
57
|
+
process.exitCode = ExitCode.failed;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
logs_default as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
defineCommand
|
|
4
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
|
+
import"./cli-540nme4e.js";
|
|
6
|
+
import"./cli-5wasc5mr.js";
|
|
7
|
+
import"./cli-7wvrehng.js";
|
|
8
|
+
import {
|
|
9
|
+
__require
|
|
10
|
+
} from "./cli-re3ntm60.js";
|
|
11
|
+
|
|
12
|
+
// src/commands/maestro.ts
|
|
13
|
+
var maestro_default = defineCommand({
|
|
14
|
+
description: "Run the Maestro CLI (arguments pass through)",
|
|
15
|
+
group: "Develop",
|
|
16
|
+
passthrough: true,
|
|
17
|
+
examples: `kit maestro studio
|
|
18
|
+
kit maestro hierarchy
|
|
19
|
+
kit maestro --version`,
|
|
20
|
+
async run(ctx) {
|
|
21
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
22
|
+
const { maestroBin, maestroEnv } = await import("./bin-q60acre8.js");
|
|
23
|
+
const { run } = await import("./proc-8ewt3hs4.js");
|
|
24
|
+
const { root, config } = requireProject(ctx);
|
|
25
|
+
process.exitCode = await run([maestroBin(config), ...ctx.rest], { cwd: root, env: maestroEnv(ctx.flags) });
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
maestro_default as default
|
|
30
|
+
};
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
loadDotEnv,
|
|
6
|
-
registerSelf
|
|
7
|
-
} from "./cli-kzmewy2g.js";
|
|
3
|
+
package_default
|
|
4
|
+
} from "./cli-2vx7vz1p.js";
|
|
8
5
|
import {
|
|
9
6
|
builtins,
|
|
10
7
|
groupDescriptions
|
|
11
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-17hmeca5.js";
|
|
9
|
+
import {
|
|
10
|
+
importRepoCommand,
|
|
11
|
+
listRepoCommands
|
|
12
|
+
} from "./cli-0h5bs7he.js";
|
|
13
|
+
import {
|
|
14
|
+
findRoot,
|
|
15
|
+
loadConfig,
|
|
16
|
+
loadDotEnv
|
|
17
|
+
} from "./cli-w3yfxvfc.js";
|
|
18
|
+
import"./cli-wrzdcgnt.js";
|
|
19
|
+
import"./cli-e7kt35ys.js";
|
|
12
20
|
import {
|
|
13
21
|
computeFlags,
|
|
14
22
|
toGunshi,
|
|
15
23
|
withBuiltin
|
|
16
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-0gq9ayk0.js";
|
|
17
25
|
import {
|
|
18
26
|
installSignalHandlers,
|
|
19
27
|
interrupted,
|
|
@@ -1374,95 +1382,6 @@ async function cli(args, entry, options = {}) {
|
|
|
1374
1382
|
|
|
1375
1383
|
// src/cli/main.ts
|
|
1376
1384
|
var import_picocolors2 = __toESM(require_picocolors(), 1);
|
|
1377
|
-
// package.json
|
|
1378
|
-
var package_default = {
|
|
1379
|
-
name: "@jordond/kit",
|
|
1380
|
-
version: "0.5.0",
|
|
1381
|
-
description: "One dev toolkit for every app: CLI, shared fastlane, Gradle conventions",
|
|
1382
|
-
license: "MIT",
|
|
1383
|
-
type: "module",
|
|
1384
|
-
repository: {
|
|
1385
|
-
type: "git",
|
|
1386
|
-
url: "git+https://github.com/jordond/kit.git"
|
|
1387
|
-
},
|
|
1388
|
-
bin: {
|
|
1389
|
-
kit: "bin/kit"
|
|
1390
|
-
},
|
|
1391
|
-
exports: {
|
|
1392
|
-
".": {
|
|
1393
|
-
types: "./dist/index.d.ts",
|
|
1394
|
-
default: "./dist/index.js"
|
|
1395
|
-
}
|
|
1396
|
-
},
|
|
1397
|
-
files: [
|
|
1398
|
-
"bin",
|
|
1399
|
-
"dist",
|
|
1400
|
-
"fastlane",
|
|
1401
|
-
"gradle/maven",
|
|
1402
|
-
"templates"
|
|
1403
|
-
],
|
|
1404
|
-
engines: {
|
|
1405
|
-
bun: ">=1.3"
|
|
1406
|
-
},
|
|
1407
|
-
scripts: {
|
|
1408
|
-
build: "rm -rf dist && bun build src/cli.ts src/index.ts --outdir dist --target bun --splitting --external zod && tsc -p tsconfig.build.json",
|
|
1409
|
-
"build:gradle": "gradle/gradlew -p gradle publishKit",
|
|
1410
|
-
dev: "bun src/cli.ts",
|
|
1411
|
-
test: "bun test",
|
|
1412
|
-
"test:pack": "KIT_PACK_TEST=1 bun test test/pack",
|
|
1413
|
-
typecheck: "tsc --noEmit",
|
|
1414
|
-
lint: "biome check .",
|
|
1415
|
-
format: "biome format --write ."
|
|
1416
|
-
},
|
|
1417
|
-
publishConfig: {
|
|
1418
|
-
access: "public"
|
|
1419
|
-
},
|
|
1420
|
-
peerDependencies: {
|
|
1421
|
-
zod: "^4.0.0"
|
|
1422
|
-
},
|
|
1423
|
-
dependencies: {
|
|
1424
|
-
"@clack/prompts": "^1.9.0",
|
|
1425
|
-
gunshi: "0.37.3",
|
|
1426
|
-
"@gunshi/plugin-completion": "0.37.3",
|
|
1427
|
-
listr2: "^11.4.1",
|
|
1428
|
-
picocolors: "^1.1.1",
|
|
1429
|
-
"smol-toml": "^1.9.1"
|
|
1430
|
-
},
|
|
1431
|
-
devDependencies: {
|
|
1432
|
-
"@biomejs/biome": "^2.6.6",
|
|
1433
|
-
"@types/bun": "^1.4.4",
|
|
1434
|
-
typescript: "^7.0.2",
|
|
1435
|
-
zod: "^4.6.7"
|
|
1436
|
-
}
|
|
1437
|
-
};
|
|
1438
|
-
|
|
1439
|
-
// src/cli/discover.ts
|
|
1440
|
-
import { join } from "path";
|
|
1441
|
-
import { pathToFileURL } from "url";
|
|
1442
|
-
function listRepoCommands(root) {
|
|
1443
|
-
const dir = join(root, ".kit", "commands");
|
|
1444
|
-
const glob = new Bun.Glob("**/*.ts");
|
|
1445
|
-
const out = [];
|
|
1446
|
-
try {
|
|
1447
|
-
for (const rel of glob.scanSync({ cwd: dir, onlyFiles: true })) {
|
|
1448
|
-
if (rel.endsWith(".d.ts") || rel.split("/").some((s) => s.startsWith("_")))
|
|
1449
|
-
continue;
|
|
1450
|
-
out.push({ path: rel.replace(/\.ts$/, "").split("/"), file: join(dir, rel) });
|
|
1451
|
-
}
|
|
1452
|
-
} catch {
|
|
1453
|
-
return [];
|
|
1454
|
-
}
|
|
1455
|
-
return out.sort((a, b) => a.path.join(" ").localeCompare(b.path.join(" ")));
|
|
1456
|
-
}
|
|
1457
|
-
async function importRepoCommand(f) {
|
|
1458
|
-
registerSelf();
|
|
1459
|
-
const mod = await import(pathToFileURL(f.file).href);
|
|
1460
|
-
const cmd = mod.default;
|
|
1461
|
-
if (!cmd || typeof cmd.run !== "function") {
|
|
1462
|
-
throw new KitError(`${f.file} does not default-export a command`, "export default defineCommand({ description, run })");
|
|
1463
|
-
}
|
|
1464
|
-
return cmd;
|
|
1465
|
-
}
|
|
1466
1385
|
|
|
1467
1386
|
// node_modules/gunshi/lib/plugin-DneW3Toi.js
|
|
1468
1387
|
var NOOP_EXTENSION = () => {
|
|
@@ -1549,7 +1468,10 @@ function lookup(ctx) {
|
|
|
1549
1468
|
let level = ctx.env.subCommands;
|
|
1550
1469
|
let cmd;
|
|
1551
1470
|
for (const seg of ctx.commandPath ?? []) {
|
|
1552
|
-
|
|
1471
|
+
const found = level?.get(seg);
|
|
1472
|
+
if (!found && level)
|
|
1473
|
+
continue;
|
|
1474
|
+
cmd = found;
|
|
1553
1475
|
const next = cmd?.subCommands;
|
|
1554
1476
|
level = next ? new Map(Object.entries(next)) : undefined;
|
|
1555
1477
|
}
|
|
@@ -1648,7 +1570,7 @@ async function collectLeaves(root, config) {
|
|
|
1648
1570
|
description: `Release the ${name} service`,
|
|
1649
1571
|
group: "Release",
|
|
1650
1572
|
source: "builtin",
|
|
1651
|
-
load: async () => (await import("./service-
|
|
1573
|
+
load: async () => (await import("./service-n6kgj7ba.js")).serviceCommand(name)
|
|
1652
1574
|
});
|
|
1653
1575
|
}
|
|
1654
1576
|
for (const f of listRepoCommands(root)) {
|
|
@@ -1773,7 +1695,10 @@ async function main(argv) {
|
|
|
1773
1695
|
throw new KitError(`Unknown command "${tokens.slice(0, i + 1).join(" ")}".${guess ? ` Did you mean "${[...prefix, guess].join(" ")}"?` : ""}`, `Run \`kit ${prefix.length ? `${prefix.join(" ")} ` : ""}--help\` to list commands`, ExitCode.usage);
|
|
1774
1696
|
}
|
|
1775
1697
|
}
|
|
1776
|
-
const
|
|
1698
|
+
const own = target;
|
|
1699
|
+
const listsChildren = wantsHelp && own !== undefined && tokens.length === own.path.length;
|
|
1700
|
+
const treeLeaves = own && !listsChildren ? leaves.filter((l) => !(l.path.length > own.path.length && startsWith(l.path, own.path))) : leaves;
|
|
1701
|
+
const subCommands = buildTree(treeLeaves, loaded, rt);
|
|
1777
1702
|
const entry = {
|
|
1778
1703
|
name: "kit",
|
|
1779
1704
|
description: config ? `kit \xB7 ${config.name}` : "kit",
|