@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
package/dist/index.js
CHANGED
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
commandStep,
|
|
7
7
|
runSteps
|
|
8
|
-
} from "./cli-
|
|
9
|
-
import"./cli-
|
|
8
|
+
} from "./cli-9jt7ffg6.js";
|
|
9
|
+
import"./cli-aca1bbxq.js";
|
|
10
10
|
import {
|
|
11
11
|
defineCommand
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-0gq9ayk0.js";
|
|
13
13
|
import {
|
|
14
14
|
ProcError,
|
|
15
15
|
addChildEnv,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
runLines,
|
|
20
20
|
runOrThrow,
|
|
21
21
|
runQuiet
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-3f9s5j76.js";
|
|
23
23
|
import {
|
|
24
24
|
onCleanup
|
|
25
25
|
} from "./cli-fqxtcj42.js";
|
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
package_default
|
|
4
|
+
} from "./cli-2vx7vz1p.js";
|
|
5
|
+
import {
|
|
6
|
+
KIT_DIR
|
|
7
|
+
} from "./cli-w3yfxvfc.js";
|
|
8
|
+
import"./cli-wrzdcgnt.js";
|
|
9
|
+
import"./cli-e7kt35ys.js";
|
|
10
|
+
import {
|
|
11
|
+
defineCommand
|
|
12
|
+
} from "./cli-0gq9ayk0.js";
|
|
13
|
+
import"./cli-540nme4e.js";
|
|
14
|
+
import"./cli-5wasc5mr.js";
|
|
15
|
+
import"./cli-7wvrehng.js";
|
|
16
|
+
import {
|
|
17
|
+
__require,
|
|
18
|
+
__toESM
|
|
19
|
+
} from "./cli-re3ntm60.js";
|
|
20
|
+
|
|
21
|
+
// src/commands/init.ts
|
|
22
|
+
import { existsSync, readFileSync } from "fs";
|
|
23
|
+
import { dirname, join } from "path";
|
|
24
|
+
var SCAFFOLDS = {
|
|
25
|
+
mise: { file: "mise.toml", alt: [".mise.toml"], template: "mise.toml" },
|
|
26
|
+
lefthook: { file: "lefthook.yml", alt: ["lefthook.yaml", ".lefthook.yml"], template: "lefthook.yml" }
|
|
27
|
+
};
|
|
28
|
+
function scaffoldTemplate(scaffold, toolchain) {
|
|
29
|
+
const { template } = SCAFFOLDS[scaffold];
|
|
30
|
+
return scaffold === "mise" && toolchain ? join("toolchain", template) : template;
|
|
31
|
+
}
|
|
32
|
+
function hookKit(kitDir) {
|
|
33
|
+
return kitDir === "." ? "kit" : `./${kitDir}/node_modules/.bin/kit`;
|
|
34
|
+
}
|
|
35
|
+
var WRANGLER_CONFIGS = ["wrangler.jsonc", "wrangler.json", "wrangler.toml"];
|
|
36
|
+
function planInit(s) {
|
|
37
|
+
const plan = [];
|
|
38
|
+
if (!s.exists(".env.example"))
|
|
39
|
+
plan.push({ kind: "skip", title: ".env", reason: "no .env.example" });
|
|
40
|
+
else if (s.exists(".env"))
|
|
41
|
+
plan.push({ kind: "skip", title: ".env", reason: "already exists" });
|
|
42
|
+
else
|
|
43
|
+
plan.push({ kind: "env-file", title: ".env from .env.example" });
|
|
44
|
+
if (s.exists("package.json")) {
|
|
45
|
+
plan.push({ kind: "cmd", title: `${s.pm} install`, cmd: [s.pm, "install"], cwd: s.root });
|
|
46
|
+
} else if (!s.exists(join(KIT_DIR, "package.json"))) {
|
|
47
|
+
plan.push({ kind: "skip", title: "install", reason: "no package.json" });
|
|
48
|
+
}
|
|
49
|
+
if (s.exists(join(KIT_DIR, "package.json"))) {
|
|
50
|
+
plan.push({
|
|
51
|
+
kind: "cmd",
|
|
52
|
+
title: `bun install (${KIT_DIR})`,
|
|
53
|
+
cmd: ["bun", "install"],
|
|
54
|
+
cwd: join(s.root, KIT_DIR)
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
for (const name of Object.keys(SCAFFOLDS)) {
|
|
58
|
+
const { file, alt } = SCAFFOLDS[name];
|
|
59
|
+
const title = file;
|
|
60
|
+
const present = [file, ...alt].find((f) => s.exists(f));
|
|
61
|
+
if (present)
|
|
62
|
+
plan.push({ kind: "skip", title, reason: `${present} exists` });
|
|
63
|
+
else if (s.accepted.includes(name))
|
|
64
|
+
plan.push({ kind: "scaffold", title, scaffold: name });
|
|
65
|
+
else
|
|
66
|
+
plan.push({ kind: "skip", title, reason: s.declinedReason ?? "declined" });
|
|
67
|
+
}
|
|
68
|
+
if (s.config?.env) {
|
|
69
|
+
plan.push({
|
|
70
|
+
kind: "cmd",
|
|
71
|
+
title: "kit env sync",
|
|
72
|
+
cmd: [...s.self, "env", "sync"],
|
|
73
|
+
cwd: s.root,
|
|
74
|
+
env: { KIT_ROOT: s.root }
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
for (const [name, t] of Object.entries(s.config?.targets ?? {})) {
|
|
78
|
+
if (t.kind !== "worker")
|
|
79
|
+
continue;
|
|
80
|
+
if (!WRANGLER_CONFIGS.some((f) => s.exists(join(t.dir, f))))
|
|
81
|
+
continue;
|
|
82
|
+
const cwd = join(s.root, t.dir);
|
|
83
|
+
plan.push({ kind: "cmd", title: `wrangler types (${name})`, cmd: s.exec(cwd, "wrangler", "types"), cwd });
|
|
84
|
+
}
|
|
85
|
+
plan.push(...planNative(s));
|
|
86
|
+
if (s.completion) {
|
|
87
|
+
const { shell, file, rc, skip } = s.completion;
|
|
88
|
+
const title = `${shell} completion`;
|
|
89
|
+
plan.push(skip ? { kind: "skip", title, reason: skip } : { kind: "completion", title, shell, file, ...rc ? { rc } : {} });
|
|
90
|
+
}
|
|
91
|
+
return plan;
|
|
92
|
+
}
|
|
93
|
+
function planNative(s) {
|
|
94
|
+
const plan = [];
|
|
95
|
+
const which = s.which ?? (() => false);
|
|
96
|
+
const gradle = s.config?.gradle;
|
|
97
|
+
const init = gradle?.init === undefined ? [] : [gradle.init].flat();
|
|
98
|
+
if (gradle && init.length) {
|
|
99
|
+
const title = `gradle ${init.join(" ")}`;
|
|
100
|
+
if (s.jsOnly)
|
|
101
|
+
plan.push({ kind: "skip", title, reason: "--js-only" });
|
|
102
|
+
else if (!which("java"))
|
|
103
|
+
plan.push({ kind: "skip", title, reason: "no java on PATH; install a JDK" });
|
|
104
|
+
else if (s.config?.release?.android && !s.androidSdk) {
|
|
105
|
+
plan.push({
|
|
106
|
+
kind: "skip",
|
|
107
|
+
title,
|
|
108
|
+
reason: `no Android SDK; set ANDROID_HOME, or sdk.dir in ${join(gradle.root, "local.properties")}`
|
|
109
|
+
});
|
|
110
|
+
} else {
|
|
111
|
+
const gradlew = s.exists(join(gradle.root, "gradlew")) ? "./gradlew" : "gradle";
|
|
112
|
+
const cmd = [gradlew, "--console=plain", "-q", ...init];
|
|
113
|
+
plan.push({ kind: "cmd", title, cmd, cwd: join(s.root, gradle.root) });
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
const toolchain = s.config?.toolchain;
|
|
117
|
+
if (toolchain) {
|
|
118
|
+
const runs = toolchain.init === undefined ? ["--version"] : [toolchain.init].flat();
|
|
119
|
+
for (const args of runs) {
|
|
120
|
+
const title = `kotlin ${args}`;
|
|
121
|
+
if (s.jsOnly)
|
|
122
|
+
plan.push({ kind: "skip", title, reason: "--js-only" });
|
|
123
|
+
else if (!s.exists(join(toolchain.root, "kotlin"))) {
|
|
124
|
+
plan.push({
|
|
125
|
+
kind: "skip",
|
|
126
|
+
title,
|
|
127
|
+
reason: `no ${join(toolchain.root, "kotlin")}; check toolchain.root`
|
|
128
|
+
});
|
|
129
|
+
} else {
|
|
130
|
+
const cmd = ["./kotlin", ...args.split(/\s+/).filter(Boolean)];
|
|
131
|
+
plan.push({ kind: "cmd", title, cmd, cwd: join(s.root, toolchain.root) });
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
const kitBundle = !!(s.config?.release?.ios || s.config?.release?.android);
|
|
136
|
+
const gemDir = kitBundle ? "." : [gradle?.root ?? toolchain?.root, "."].find((d) => d !== undefined && s.exists(join(d, "Gemfile")));
|
|
137
|
+
if (gemDir !== undefined) {
|
|
138
|
+
const title = kitBundle ? "bundle install (kit fastlane)" : `bundle install${gemDir === "." ? "" : ` (${gemDir})`}`;
|
|
139
|
+
if (s.jsOnly)
|
|
140
|
+
plan.push({ kind: "skip", title, reason: "--js-only" });
|
|
141
|
+
else if (!which("bundle"))
|
|
142
|
+
plan.push({ kind: "skip", title, reason: "no bundler on PATH; gem install bundler" });
|
|
143
|
+
else
|
|
144
|
+
plan.push({
|
|
145
|
+
kind: "cmd",
|
|
146
|
+
title,
|
|
147
|
+
cmd: ["bundle", "install"],
|
|
148
|
+
cwd: join(s.root, gemDir),
|
|
149
|
+
...kitBundle ? { env: s.bundleEnv?.() ?? {} } : {}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
if (s.platform === "darwin" && s.config?.release?.ios && !s.jsOnly && !which("xcodebuild")) {
|
|
153
|
+
plan.push({ kind: "skip", title: "Xcode", reason: "no xcodebuild on PATH; install Xcode for iOS builds" });
|
|
154
|
+
}
|
|
155
|
+
return plan;
|
|
156
|
+
}
|
|
157
|
+
function kitPackageRoot(from = import.meta.dir) {
|
|
158
|
+
let dir = from;
|
|
159
|
+
while (true) {
|
|
160
|
+
const pkg = join(dir, "package.json");
|
|
161
|
+
if (existsSync(pkg) && JSON.parse(readFileSync(pkg, "utf8")).name === "@jordond/kit")
|
|
162
|
+
return dir;
|
|
163
|
+
const parent = dirname(dir);
|
|
164
|
+
if (parent === dir)
|
|
165
|
+
throw new Error("kit package root not found");
|
|
166
|
+
dir = parent;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
function hasAndroidSdk(root, config) {
|
|
170
|
+
if (process.env.ANDROID_HOME || process.env.ANDROID_SDK_ROOT)
|
|
171
|
+
return true;
|
|
172
|
+
const props = join(root, config?.gradle?.root ?? ".", "local.properties");
|
|
173
|
+
return existsSync(props) && /^\s*sdk\.dir\s*=/m.test(readFileSync(props, "utf8"));
|
|
174
|
+
}
|
|
175
|
+
function renderTemplate(text, vars) {
|
|
176
|
+
return text.replace(/\{\{(\w+)\}\}/g, (m, k) => vars[k] ?? m);
|
|
177
|
+
}
|
|
178
|
+
var init_default = defineCommand({
|
|
179
|
+
description: "Set up a fresh clone, or a new repo: .env, install, env sync, wrangler types, native deps",
|
|
180
|
+
group: "Setup",
|
|
181
|
+
args: {
|
|
182
|
+
"js-only": { type: "boolean", description: "Skip the Gradle, Kotlin toolchain and bundler steps" },
|
|
183
|
+
template: {
|
|
184
|
+
type: "string",
|
|
185
|
+
description: "New repo: write the kit files first (toolchain: an existing Kotlin toolchain project; gradle)"
|
|
186
|
+
},
|
|
187
|
+
name: { type: "string", description: "App name for --template (default: the directory name)" }
|
|
188
|
+
},
|
|
189
|
+
examples: [
|
|
190
|
+
"kit init",
|
|
191
|
+
"kit init --dry-run",
|
|
192
|
+
"kit init --yes # also scaffold mise.toml and lefthook.yml",
|
|
193
|
+
"kit init --js-only # JS workspace only: no Gradle, no bundle install",
|
|
194
|
+
"kit init --template toolchain # add kit to a Kotlin toolchain project (kit goes in .kit/)",
|
|
195
|
+
"kit init --template gradle --name MyApp"
|
|
196
|
+
].join(`
|
|
197
|
+
`),
|
|
198
|
+
async run(ctx) {
|
|
199
|
+
const { appendFileSync, chmodSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } = await import("fs");
|
|
200
|
+
const { homedir, tmpdir } = await import("os");
|
|
201
|
+
const { basename, normalize, relative } = await import("path");
|
|
202
|
+
const pc = (await import("./picocolors-0dxagz5d.js").then((m)=>__toESM(m.default,1))).default;
|
|
203
|
+
const { CONFIG_FILE, installDir, loadConfig, loadConfigFile } = await import("./load-ak66yg9j.js");
|
|
204
|
+
const { ExitCode, KitError } = await import("./errors-1fjbr7ee.js");
|
|
205
|
+
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
206
|
+
const { detectPackageManager, pmExec } = await import("./pm-ay4nmeps.js");
|
|
207
|
+
const { run, runCapture, runQuiet } = await import("./proc-8ewt3hs4.js");
|
|
208
|
+
const { confirm, text } = await import("./prompt-3wwegvqc.js");
|
|
209
|
+
const { isToolchainRepo, planScaffold, TEMPLATES } = await import("./scaffold-5mzc135g.js");
|
|
210
|
+
const root = ctx.root ?? process.cwd();
|
|
211
|
+
const onDisk = (p) => existsSync(join(root, p));
|
|
212
|
+
const say = !ctx.flags.json;
|
|
213
|
+
const wanted = ctx.args.template;
|
|
214
|
+
if (wanted !== undefined && !TEMPLATES.includes(wanted)) {
|
|
215
|
+
throw new KitError(`Unknown template "${wanted}"`, `Use one of: ${TEMPLATES.join(", ")}`, ExitCode.usage);
|
|
216
|
+
}
|
|
217
|
+
if (wanted !== undefined && ctx.root) {
|
|
218
|
+
throw new KitError(`${relative(process.cwd(), ctx.root) || "."} already has a ${CONFIG_FILE}`, "Run `kit init` without --template to set this clone up", ExitCode.usage);
|
|
219
|
+
}
|
|
220
|
+
let template = wanted;
|
|
221
|
+
const toolchainRepo = isToolchainRepo(onDisk);
|
|
222
|
+
if (template === "toolchain" && !toolchainRepo) {
|
|
223
|
+
throw new KitError("No Kotlin toolchain project here (a `kotlin` wrapper and project.yaml)", "Create one first (https://kotlin-toolchain.org), then re-run in its root", ExitCode.config);
|
|
224
|
+
}
|
|
225
|
+
if (!ctx.root && !template) {
|
|
226
|
+
if (toolchainRepo) {
|
|
227
|
+
const ask = "Kotlin toolchain project without kit. Add kit (.kit/, CI workflows, hooks)?";
|
|
228
|
+
if (ctx.flags.yes || ctx.flags.dryRun)
|
|
229
|
+
template = "toolchain";
|
|
230
|
+
else if (ctx.flags.interactive) {
|
|
231
|
+
if (await confirm(ctx.flags, ask, { initial: true }))
|
|
232
|
+
template = "toolchain";
|
|
233
|
+
} else if (say) {
|
|
234
|
+
ctx.log.warn("Kotlin toolchain project without kit: re-run with `--template toolchain`");
|
|
235
|
+
}
|
|
236
|
+
} else if (say) {
|
|
237
|
+
ctx.log.dim(`no ${CONFIG_FILE} here: \`kit init --template gradle\` scaffolds a new repo`);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
let config = ctx.config;
|
|
241
|
+
let scaffold = [];
|
|
242
|
+
if (template) {
|
|
243
|
+
const { tagSha, usesRef } = await import("./kitref-p727zpk7.js");
|
|
244
|
+
let name = typeof ctx.args.name === "string" && ctx.args.name ? ctx.args.name : basename(root);
|
|
245
|
+
if (ctx.args.name === undefined && ctx.flags.interactive && !ctx.flags.yes && !ctx.flags.dryRun) {
|
|
246
|
+
name = (await text(ctx.flags, "App name", { initial: name })).trim() || name;
|
|
247
|
+
}
|
|
248
|
+
if (!/^[\w][\w .-]*$/.test(name)) {
|
|
249
|
+
throw new KitError(`"${name}" cannot be the app name`, "Pass --name with letters, digits, spaces, dots, dashes or underscores", ExitCode.usage);
|
|
250
|
+
}
|
|
251
|
+
const sha = await tagSha(package_default.version);
|
|
252
|
+
if (!sha && say) {
|
|
253
|
+
ctx.log.warn(`v${package_default.version} not found on GitHub: workflows pin the tag, not a commit`);
|
|
254
|
+
ctx.log.dim(" \u203A run `kit upgrade` once it is released to pin the SHA");
|
|
255
|
+
}
|
|
256
|
+
const dir = join(kitPackageRoot(), "templates", template);
|
|
257
|
+
const files = {};
|
|
258
|
+
for (const rel of new Bun.Glob("**/*").scanSync({ cwd: dir, onlyFiles: true, dot: true })) {
|
|
259
|
+
if (rel !== SCAFFOLDS.mise.template)
|
|
260
|
+
files[rel] = readFileSync(join(dir, rel), "utf8");
|
|
261
|
+
}
|
|
262
|
+
scaffold = planScaffold({
|
|
263
|
+
template,
|
|
264
|
+
name,
|
|
265
|
+
kitVersion: package_default.version,
|
|
266
|
+
kitRef: usesRef(package_default.version, sha),
|
|
267
|
+
zod: package_default.peerDependencies.zod,
|
|
268
|
+
files,
|
|
269
|
+
read: (p) => onDisk(p) ? readFileSync(join(root, p), "utf8") : undefined,
|
|
270
|
+
list: (d) => onDisk(d) ? [...new Bun.Glob("**/*").scanSync({ cwd: join(root, d), onlyFiles: true })].filter((f) => !/(^|\/)(build|node_modules)\//.test(f)).map((f) => join(d, f)) : []
|
|
271
|
+
});
|
|
272
|
+
const configAction = scaffold.find((a) => basename(a.path) === CONFIG_FILE);
|
|
273
|
+
if (ctx.flags.dryRun && configAction?.kind === "write") {
|
|
274
|
+
const tmp = mkdtempSync(join(tmpdir(), "kit-init-"));
|
|
275
|
+
try {
|
|
276
|
+
writeFileSync(join(tmp, CONFIG_FILE), configAction.content);
|
|
277
|
+
config = await loadConfigFile(join(tmp, CONFIG_FILE), configAction.path);
|
|
278
|
+
} finally {
|
|
279
|
+
rmSync(tmp, { recursive: true, force: true });
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
const planned = new Set(scaffold.filter((a) => a.kind !== "skip").map((a) => normalize(a.path)));
|
|
284
|
+
const exists = (p) => planned.has(normalize(p)) || onDisk(p);
|
|
285
|
+
const describe = (a) => a.kind === "write" ? `write ${a.path}` : a.kind === "edit" ? `edit ${a.path} ${pc.dim(a.note)}` : "";
|
|
286
|
+
const results = [];
|
|
287
|
+
const started = performance.now();
|
|
288
|
+
if (!ctx.flags.dryRun) {
|
|
289
|
+
for (const a of scaffold) {
|
|
290
|
+
if (a.kind === "skip") {
|
|
291
|
+
if (say)
|
|
292
|
+
ctx.log.dim(`- ${a.path} ${a.reason}`);
|
|
293
|
+
results.push({ title: a.path, ok: true, skipped: a.reason });
|
|
294
|
+
continue;
|
|
295
|
+
}
|
|
296
|
+
if (say)
|
|
297
|
+
ctx.log.step(describe(a));
|
|
298
|
+
mkdirSync(join(root, a.path, ".."), { recursive: true });
|
|
299
|
+
writeFileSync(join(root, a.path), a.content);
|
|
300
|
+
results.push({ title: a.path, ok: true });
|
|
301
|
+
}
|
|
302
|
+
if (template)
|
|
303
|
+
config = await loadConfig(root);
|
|
304
|
+
}
|
|
305
|
+
const pm = detectPackageManager(root, root);
|
|
306
|
+
const missing = Object.keys(SCAFFOLDS).filter((n) => [SCAFFOLDS[n].file, ...SCAFFOLDS[n].alt].every((f) => !exists(f)));
|
|
307
|
+
const accepted = [];
|
|
308
|
+
let declinedReason;
|
|
309
|
+
if (ctx.flags.yes || template)
|
|
310
|
+
accepted.push(...missing);
|
|
311
|
+
else if (!ctx.flags.interactive)
|
|
312
|
+
declinedReason = "no terminal; re-run with --yes to add it";
|
|
313
|
+
else if (ctx.flags.dryRun)
|
|
314
|
+
declinedReason = "would ask";
|
|
315
|
+
else {
|
|
316
|
+
for (const n of missing) {
|
|
317
|
+
if (await confirm(ctx.flags, `Add ${SCAFFOLDS[n].file}?`, { initial: true }))
|
|
318
|
+
accepted.push(n);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
const { completionInstalled, completionTargets, rcSnippet, shellOf } = await import("./completion-g8bjf46s.js");
|
|
322
|
+
let completion;
|
|
323
|
+
const shell = shellOf(process.env.SHELL);
|
|
324
|
+
if (shell && !ctx.flags.ci) {
|
|
325
|
+
const home = homedir();
|
|
326
|
+
const targets = completionTargets(shell, process.env, home, process.platform);
|
|
327
|
+
const tilde = (f) => f.startsWith(`${home}/`) ? `~/${relative(home, f)}` : f;
|
|
328
|
+
const shown = tilde(targets.rc ?? targets.script);
|
|
329
|
+
const current = targets.rc ? existsSync(targets.rc) ? readFileSync(targets.rc, "utf8") : undefined : existsSync(targets.script) ? "" : undefined;
|
|
330
|
+
let skip;
|
|
331
|
+
if (completionInstalled(current, !!targets.rc))
|
|
332
|
+
skip = `already in ${shown}`;
|
|
333
|
+
else if (!Bun.which("kit"))
|
|
334
|
+
skip = "kit is not on PATH; bun add -g @jordond/kit, then re-run";
|
|
335
|
+
else if (ctx.flags.dryRun && !ctx.flags.yes)
|
|
336
|
+
skip = "would ask";
|
|
337
|
+
else if (!ctx.flags.yes && !ctx.flags.interactive)
|
|
338
|
+
skip = "no terminal; re-run with --yes to install it";
|
|
339
|
+
else if (!await confirm(ctx.flags, `Install kit completion for ${shell} (${shown})?`, { initial: true }))
|
|
340
|
+
skip = "declined";
|
|
341
|
+
completion = { shell, file: targets.script, rc: targets.rc, skip };
|
|
342
|
+
}
|
|
343
|
+
const { bundleEnv } = await import("./fastlane-8yepfr2p.js");
|
|
344
|
+
const self = [process.execPath, "--no-env-file", process.argv[1]];
|
|
345
|
+
const plan = planInit({
|
|
346
|
+
root,
|
|
347
|
+
config,
|
|
348
|
+
exists,
|
|
349
|
+
pm,
|
|
350
|
+
accepted,
|
|
351
|
+
declinedReason,
|
|
352
|
+
self,
|
|
353
|
+
exec: (cwd, bin, ...args) => pmExec(detectPackageManager(cwd, root), bin, ...args),
|
|
354
|
+
which: (bin) => Bun.which(bin) !== null,
|
|
355
|
+
androidSdk: hasAndroidSdk(root, config),
|
|
356
|
+
platform: process.platform,
|
|
357
|
+
bundleEnv,
|
|
358
|
+
jsOnly: ctx.args["js-only"] === true,
|
|
359
|
+
completion
|
|
360
|
+
});
|
|
361
|
+
const where = (cwd) => relative(root, cwd) || ".";
|
|
362
|
+
if (ctx.flags.dryRun) {
|
|
363
|
+
if (ctx.flags.json) {
|
|
364
|
+
emitJson({
|
|
365
|
+
...template ? {
|
|
366
|
+
template,
|
|
367
|
+
files: scaffold.map((a) => a.kind === "skip" ? a : { kind: a.kind, path: a.path, ...a.kind === "edit" ? { note: a.note } : {} })
|
|
368
|
+
} : {},
|
|
369
|
+
plan: plan.map((a) => a.kind === "cmd" ? { kind: a.kind, title: a.title, cmd: a.cmd, cwd: where(a.cwd) } : a)
|
|
370
|
+
});
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
for (const a of scaffold) {
|
|
374
|
+
if (a.kind === "skip")
|
|
375
|
+
ctx.log.dim(`- ${a.path} ${a.reason}`);
|
|
376
|
+
else
|
|
377
|
+
ctx.log.step(describe(a));
|
|
378
|
+
}
|
|
379
|
+
for (const a of plan) {
|
|
380
|
+
if (a.kind === "skip")
|
|
381
|
+
ctx.log.dim(`- ${a.title} ${a.reason}`);
|
|
382
|
+
else if (a.kind === "cmd")
|
|
383
|
+
ctx.log.step(`${a.title} ${pc.dim(`${where(a.cwd)} $ ${a.cmd.join(" ")}`)}`);
|
|
384
|
+
else if (a.kind === "completion")
|
|
385
|
+
ctx.log.step(`${a.title} ${pc.dim(a.rc ?? a.file)}`);
|
|
386
|
+
else
|
|
387
|
+
ctx.log.step(a.kind === "scaffold" ? `write ${a.title}` : `create ${a.title}`);
|
|
388
|
+
}
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
const toolchain = !!config?.toolchain || toolchainRepo;
|
|
392
|
+
for (const a of plan) {
|
|
393
|
+
if (a.kind === "skip") {
|
|
394
|
+
if (say)
|
|
395
|
+
ctx.log.dim(`- ${a.title} ${a.reason}`);
|
|
396
|
+
results.push({ title: a.title, ok: true, skipped: a.reason });
|
|
397
|
+
continue;
|
|
398
|
+
}
|
|
399
|
+
if (say)
|
|
400
|
+
ctx.log.step(a.title);
|
|
401
|
+
const stepStarted = performance.now();
|
|
402
|
+
let ok = true;
|
|
403
|
+
if (a.kind === "env-file") {
|
|
404
|
+
const dotenv = join(root, ".env");
|
|
405
|
+
writeFileSync(dotenv, readFileSync(join(root, ".env.example")), { mode: 384 });
|
|
406
|
+
chmodSync(dotenv, 384);
|
|
407
|
+
if (say)
|
|
408
|
+
ctx.log.dim(" fill in the values, then run `kit doctor`");
|
|
409
|
+
} else if (a.kind === "scaffold") {
|
|
410
|
+
const file = join(kitPackageRoot(), "templates", scaffoldTemplate(a.scaffold, toolchain));
|
|
411
|
+
const vars = { bun: Bun.version, kit: hookKit(installDir(root)) };
|
|
412
|
+
writeFileSync(join(root, SCAFFOLDS[a.scaffold].file), renderTemplate(readFileSync(file, "utf8"), vars));
|
|
413
|
+
} else if (a.kind === "completion") {
|
|
414
|
+
const script = await runCapture([...self, "completion", a.shell], { cwd: homedir() });
|
|
415
|
+
ok = script.code === 0 && script.stdout.trim() !== "";
|
|
416
|
+
if (ok) {
|
|
417
|
+
mkdirSync(join(a.file, ".."), { recursive: true });
|
|
418
|
+
writeFileSync(a.file, script.stdout);
|
|
419
|
+
if (a.rc) {
|
|
420
|
+
const rc = existsSync(a.rc) ? readFileSync(a.rc, "utf8") : "";
|
|
421
|
+
const lead = rc === "" || rc.endsWith(`
|
|
422
|
+
`) ? "" : `
|
|
423
|
+
`;
|
|
424
|
+
appendFileSync(a.rc, `${lead}${rc === "" ? "" : `
|
|
425
|
+
`}${rcSnippet(a.shell, a.file)}`);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
if (ok && say)
|
|
429
|
+
ctx.log.dim(" open a new shell to use it");
|
|
430
|
+
if (!ok && say)
|
|
431
|
+
ctx.log.error(`${a.title} failed`);
|
|
432
|
+
} else {
|
|
433
|
+
const code = ctx.flags.json ? (await runQuiet(a.cmd, { cwd: a.cwd, env: a.env })).code : await run(a.cmd, { cwd: a.cwd, env: a.env });
|
|
434
|
+
ok = code === 0;
|
|
435
|
+
if (!ok && say)
|
|
436
|
+
ctx.log.error(`${a.title} failed (exit ${code})`);
|
|
437
|
+
}
|
|
438
|
+
results.push({ title: a.title, ok, ms: Math.round(performance.now() - stepStarted) });
|
|
439
|
+
}
|
|
440
|
+
const failed = results.filter((r) => !r.ok).map((r) => r.title);
|
|
441
|
+
if (ctx.flags.json)
|
|
442
|
+
emitJson({
|
|
443
|
+
ok: !failed.length,
|
|
444
|
+
...template ? { template } : {},
|
|
445
|
+
steps: results,
|
|
446
|
+
ms: Math.round(performance.now() - started)
|
|
447
|
+
});
|
|
448
|
+
else if (failed.length)
|
|
449
|
+
ctx.log.error(`init failed: ${failed.join(", ")}`);
|
|
450
|
+
else
|
|
451
|
+
ctx.log.success("init complete");
|
|
452
|
+
if (failed.length)
|
|
453
|
+
process.exitCode = 1;
|
|
454
|
+
}
|
|
455
|
+
});
|
|
456
|
+
export {
|
|
457
|
+
scaffoldTemplate,
|
|
458
|
+
renderTemplate,
|
|
459
|
+
planInit,
|
|
460
|
+
kitPackageRoot,
|
|
461
|
+
hookKit,
|
|
462
|
+
init_default as default,
|
|
463
|
+
SCAFFOLDS
|
|
464
|
+
};
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseDotenv,
|
|
4
4
|
writeAtomic
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-m2zc03pj.js";
|
|
6
|
+
import {
|
|
7
|
+
dotenvLine
|
|
8
|
+
} from "./cli-wrzdcgnt.js";
|
|
9
|
+
import"./cli-7wvrehng.js";
|
|
6
10
|
import"./cli-re3ntm60.js";
|
|
7
11
|
|
|
8
12
|
// src/lib/env/init.ts
|
|
@@ -21,13 +25,13 @@ function setKey(text, key, value) {
|
|
|
21
25
|
if (k !== key)
|
|
22
26
|
return line;
|
|
23
27
|
replaced = true;
|
|
24
|
-
return
|
|
28
|
+
return dotenvLine(key, value, "env");
|
|
25
29
|
});
|
|
26
30
|
if (!replaced) {
|
|
27
31
|
if (next.length && next[next.length - 1] === "")
|
|
28
|
-
next.splice(next.length - 1, 0,
|
|
32
|
+
next.splice(next.length - 1, 0, dotenvLine(key, value, "env"));
|
|
29
33
|
else
|
|
30
|
-
next.push(
|
|
34
|
+
next.push(dotenvLine(key, value, "env"));
|
|
31
35
|
}
|
|
32
36
|
return next.join(`
|
|
33
37
|
`);
|
|
@@ -38,10 +42,10 @@ function planInit(root, schema) {
|
|
|
38
42
|
const example = existsSync(examplePath) ? readFileSync(examplePath, "utf8") : null;
|
|
39
43
|
const created = !existsSync(envPath);
|
|
40
44
|
let text = created ? example ?? "" : readFileSync(envPath, "utf8");
|
|
41
|
-
const parsed = parseDotenv(text);
|
|
45
|
+
const parsed = parseDotenv(text, "env");
|
|
42
46
|
const backfilled = [];
|
|
43
47
|
if (example !== null && !created) {
|
|
44
|
-
for (const [k, v] of Object.entries(parseDotenv(example))) {
|
|
48
|
+
for (const [k, v] of Object.entries(parseDotenv(example, "env"))) {
|
|
45
49
|
if (k in parsed)
|
|
46
50
|
continue;
|
|
47
51
|
text = setKey(text, k, v);
|
|
@@ -66,7 +70,7 @@ function applyInit(root, plan, answers) {
|
|
|
66
70
|
text += `
|
|
67
71
|
`;
|
|
68
72
|
writeAtomic(join(root, ".env"), text);
|
|
69
|
-
return parseDotenv(text);
|
|
73
|
+
return parseDotenv(text, "env");
|
|
70
74
|
}
|
|
71
75
|
export {
|
|
72
76
|
setKey,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
5
|
import"./cli-540nme4e.js";
|
|
6
6
|
import"./cli-5wasc5mr.js";
|
|
7
7
|
import"./cli-7wvrehng.js";
|
|
@@ -16,10 +16,10 @@ var init_default = defineCommand({
|
|
|
16
16
|
examples: `kit env init
|
|
17
17
|
kit env init --dry-run`,
|
|
18
18
|
async run(ctx) {
|
|
19
|
-
const { requireProject } = await import("./command-
|
|
20
|
-
const { loadEnv, assertValid } = await import("./load-
|
|
21
|
-
const { planInit, applyInit } = await import("./init-
|
|
22
|
-
const { outputs, writeOutputs } = await import("./render-
|
|
19
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
20
|
+
const { loadEnv, assertValid } = await import("./load-8y6s655t.js");
|
|
21
|
+
const { planInit, applyInit } = await import("./init-dyd1b74n.js");
|
|
22
|
+
const { outputs, writeOutputs } = await import("./render-hkvej41k.js");
|
|
23
23
|
const { password, text } = await import("./prompt-3wwegvqc.js");
|
|
24
24
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
25
25
|
const { root, config } = requireProject(ctx);
|
|
@@ -0,0 +1,50 @@
|
|
|
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/app/install.ts
|
|
13
|
+
var install_default = defineCommand({
|
|
14
|
+
description: "Build and install the app on a device, simulator or emulator",
|
|
15
|
+
group: "Develop",
|
|
16
|
+
examples: `kit app install android
|
|
17
|
+
kit app install ios --device <udid>
|
|
18
|
+
kit app install android --file app.apk
|
|
19
|
+
kit app install android --no-build`,
|
|
20
|
+
args: {
|
|
21
|
+
device: { type: "string", description: "Simulator UDID, adb serial or physical device id" },
|
|
22
|
+
file: { type: "string", description: "Install this apk, aab, app or ipa instead of building" },
|
|
23
|
+
"no-build": { type: "boolean", description: "Install the newest existing build" }
|
|
24
|
+
},
|
|
25
|
+
async run(ctx) {
|
|
26
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
27
|
+
const { parseTarget } = await import("./index-gqmhnjkq.js");
|
|
28
|
+
const { runApp } = await import("./install-wz1de5cv.js");
|
|
29
|
+
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
30
|
+
const { root, config } = requireProject(ctx);
|
|
31
|
+
const target = parseTarget(ctx.positionals[0], "app install");
|
|
32
|
+
const result = await runApp({ root, config, flags: ctx.flags, log: ctx.log }, target, {
|
|
33
|
+
device: ctx.args.device,
|
|
34
|
+
file: ctx.args.file,
|
|
35
|
+
noBuild: ctx.args["no-build"] === true,
|
|
36
|
+
launch: false
|
|
37
|
+
});
|
|
38
|
+
if (ctx.flags.json) {
|
|
39
|
+
emitJson({ target, device: result.device, artifact: result.artifact ?? null, plan: result.plan });
|
|
40
|
+
} else if (ctx.flags.dryRun) {
|
|
41
|
+
for (const cmd of result.plan)
|
|
42
|
+
ctx.log.step(cmd.join(" "));
|
|
43
|
+
} else {
|
|
44
|
+
ctx.log.success(`Installed on ${result.device}`);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
export {
|
|
49
|
+
install_default as default
|
|
50
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
DEVICE_PLACEHOLDER,
|
|
4
|
+
clearApp,
|
|
5
|
+
containerEntries,
|
|
6
|
+
deviceKind,
|
|
7
|
+
installCommands,
|
|
8
|
+
launchCommand,
|
|
9
|
+
requireRunningDevice,
|
|
10
|
+
runApp,
|
|
11
|
+
uninstallApp,
|
|
12
|
+
uninstallCommand
|
|
13
|
+
} from "./cli-fgxfjapz.js";
|
|
14
|
+
import"./cli-s4bb7m1c.js";
|
|
15
|
+
import"./cli-2ja6z124.js";
|
|
16
|
+
import"./cli-r2zaznxh.js";
|
|
17
|
+
import"./cli-b4qnnrsp.js";
|
|
18
|
+
import"./cli-78x6rdyd.js";
|
|
19
|
+
import"./cli-3f9s5j76.js";
|
|
20
|
+
import"./cli-fqxtcj42.js";
|
|
21
|
+
import"./cli-g519ev8e.js";
|
|
22
|
+
import"./cli-7wvrehng.js";
|
|
23
|
+
import"./cli-re3ntm60.js";
|
|
24
|
+
export {
|
|
25
|
+
uninstallCommand,
|
|
26
|
+
uninstallApp,
|
|
27
|
+
runApp,
|
|
28
|
+
requireRunningDevice,
|
|
29
|
+
launchCommand,
|
|
30
|
+
installCommands,
|
|
31
|
+
deviceKind,
|
|
32
|
+
containerEntries,
|
|
33
|
+
clearApp,
|
|
34
|
+
DEVICE_PLACEHOLDER
|
|
35
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-0gq9ayk0.js";
|
|
5
5
|
import"./cli-540nme4e.js";
|
|
6
6
|
import"./cli-5wasc5mr.js";
|
|
7
7
|
import"./cli-7wvrehng.js";
|
|
@@ -33,8 +33,8 @@ kit release ios --track beta --yes
|
|
|
33
33
|
kit release ios --track prod --notes "Bug fixes"
|
|
34
34
|
kit release ios --track internal --dry-run`,
|
|
35
35
|
async run(ctx) {
|
|
36
|
-
const { requireProject } = await import("./command-
|
|
37
|
-
const { releaseMobile } = await import("./mobile-
|
|
36
|
+
const { requireProject } = await import("./command-nmgz9x53.js");
|
|
37
|
+
const { releaseMobile } = await import("./mobile-0m026dzx.js");
|
|
38
38
|
requireProject(ctx);
|
|
39
39
|
await releaseMobile(ctx, {
|
|
40
40
|
platform: "ios",
|