@jordond/kit 0.6.0 → 0.7.1
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 +669 -9
- package/dist/_preview-8pctvjkj.js +186 -0
- package/dist/_verb-b1rwwq8f.js +173 -0
- package/dist/{android-f2jqh5f4.js → android-rxm5012p.js} +3 -3
- package/dist/apply-37atsazn.js +118 -0
- package/dist/backup-mmf68rsk.js +67 -0
- package/dist/bin-q60acre8.js +15 -0
- package/dist/boot-z0xvjet2.js +54 -0
- package/dist/{build-15wfykv9.js → build-2neqt771.js} +6 -2
- package/dist/build-7418nfdd.js +21 -0
- package/dist/build-c0y6pjgv.js +53 -0
- package/dist/{builtins-tgrq0nnd.js → builtins-p4pf9hbc.js} +1 -1
- package/dist/{bump-xmjn8q5s.js → bump-4rmt4q57.js} +5 -5
- package/dist/{certs-5kcftfaz.js → certs-j56f2zv1.js} +5 -5
- package/dist/changelog-70znsn6a.js +130 -0
- package/dist/changelog-9c2f7zcy.js +120 -0
- package/dist/{check-h2qjvrge.js → check-qzf9ks2k.js} +8 -3
- package/dist/{check-s3xje6km.js → check-yk8mzca8.js} +11 -6
- package/dist/clean-8n2j982t.js +93 -0
- package/dist/clean-k40p14af.js +237 -0
- package/dist/clear-xwhv7bxy.js +43 -0
- package/dist/cli-0f3m8qma.js +127 -0
- package/dist/{kitref-9j43993r.js → cli-28nya88s.js} +2 -13
- package/dist/cli-2ja6z124.js +127 -0
- package/dist/{doctor-63ntz70n.js → cli-3nqkyv98.js} +153 -204
- package/dist/{cli-5qdvgv3a.js → cli-4kqc5ywj.js} +2 -2
- package/dist/{cli-1m6cy8wp.js → cli-4vsj6a7w.js} +3 -3
- package/dist/{cli-6q43d787.js → cli-507f5c8j.js} +1 -1
- package/dist/{cli-qhs8ww91.js → cli-5ws4pqz1.js} +11 -1
- package/dist/cli-7wxg8m4q.js +123 -0
- package/dist/cli-83zaa5dz.js +67 -0
- package/dist/{cli-pz86az34.js → cli-8qgbqa52.js} +23 -3
- package/dist/cli-8qgqecpv.js +35 -0
- package/dist/{cli-vpzh9t0w.js → cli-a0ghfqeb.js} +1 -1
- package/dist/cli-b4qnnrsp.js +35 -0
- package/dist/{cli-8mb4ayv9.js → cli-d6vjw06z.js} +109 -82
- package/dist/cli-dbww3ss1.js +479 -0
- package/dist/cli-e3jdg5nx.js +234 -0
- package/dist/cli-ey6trdpc.js +11 -0
- package/dist/{mobile-r27grzez.js → cli-f0epa954.js} +29 -29
- package/dist/cli-f7hwhng0.js +776 -0
- package/dist/cli-jkp4kvsr.js +124 -0
- package/dist/cli-k3q2s02f.js +54 -0
- package/dist/{cli-699g070n.js → cli-m2zc03pj.js} +10 -8
- package/dist/cli-p7bb5zr2.js +14 -0
- package/dist/{deploy-k21ee2wr.js → cli-p98ch7s2.js} +34 -19
- package/dist/cli-pd4aspw0.js +208 -0
- package/dist/cli-pxa69atq.js +98 -0
- package/dist/{scaffold-eqbtfksr.js → cli-qsc39jca.js} +15 -19
- package/dist/{cli-dht27t4r.js → cli-s4xqzg86.js} +1 -1
- package/dist/cli-sjmx8cqb.js +85 -0
- package/dist/cli-vqw9ek9v.js +474 -0
- package/dist/{cli-5sp3tf1s.js → cli-w7m2hct3.js} +104 -15
- package/dist/cli-wrzdcgnt.js +82 -0
- package/dist/cli-wvzmjk4c.js +196 -0
- package/dist/{cli-wg35kt5d.js → cli-x7ja9ygh.js} +9 -2
- package/dist/{cli-0j3ywy6y.js → cli-xs9ge3t2.js} +2 -2
- package/dist/cli-xtq08c75.js +394 -0
- package/dist/cli-y0yebvmg.js +37 -0
- package/dist/{cli-dcq8ydz0.js → cli-ye4a1asw.js} +52 -12
- package/dist/cli-z4gcjd7a.js +54 -0
- package/dist/cli-zfcp9hzk.js +282 -0
- package/dist/{cli-fqfan92n.js → cli-zn8nsg3w.js} +23 -1
- package/dist/cli.js +1 -1
- package/dist/{cloudflare-3p8gj4ae.js → cloudflare-vm474s23.js} +13 -5
- package/dist/{command-gtyznw30.js → command-jwjvb9pb.js} +1 -1
- package/dist/command-r3jw2m41.js +269 -0
- package/dist/command-wqrhr0w2.js +1108 -0
- 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/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/{completion-6yett99s.js → completion-db2be2ww.js} +1 -1
- package/dist/{concurrent-zdz69ye5.js → concurrent-vvs84hhn.js} +1 -1
- package/dist/config/schema.d.ts +90 -0
- package/dist/config-45ts3ey1.js +31 -0
- package/dist/{config-2db8d4tg.js → config-ra2ybdkx.js} +1 -1
- package/dist/{create-te58argb.js → create-232vc6b4.js} +6 -6
- package/dist/{creds-2qk71mdx.js → creds-44ajrfzh.js} +3 -3
- package/dist/d1-local-jheysy22.js +62 -0
- package/dist/deploy-sbdbk7xz.js +18 -0
- package/dist/{deps-tq3jpjd3.js → deps-q404mzpf.js} +6 -6
- package/dist/{dev-915svrxw.js → dev-hq0acmq1.js} +7 -7
- package/dist/discover-gz594nzn.js +14 -0
- package/dist/doctor-xev4sqdt.js +153 -0
- package/dist/dotenv-bsk2m68j.js +15 -0
- package/dist/dump-bvg8ekkx.js +60 -0
- package/dist/entries-2yh20vd4.js +311 -0
- package/dist/{exec-gwnn34v2.js → exec-tr777f9f.js} +6 -6
- package/dist/export-fqr13qd7.js +65 -0
- package/dist/{fastlane-pj9c09z3.js → fastlane-5r62mn8v.js} +3 -3
- package/dist/{fastlane-86zcf5ys.js → fastlane-85d4k568.js} +6 -6
- package/dist/fixes-mqh7f9ds.js +27 -0
- package/dist/{format-z1jqgbad.js → format-hrad04cj.js} +7 -3
- package/dist/{git-3gyyfk0x.js → git-e4ys8tdc.js} +15 -3
- package/dist/{github-xakbbb7p.js → github-rxf67b21.js} +6 -6
- package/dist/{gradle-df21cm28.js → gradle-ac59hga1.js} +3 -3
- package/dist/index-9mmb130f.js +51 -0
- package/dist/index-af01qr87.js +27 -0
- package/dist/index.js +4 -4
- package/dist/{init-cbba8t64.js → init-bs57n1k0.js} +20 -11
- package/dist/{init-gtkmx54a.js → init-dyd1b74n.js} +11 -7
- package/dist/{init-hdebe1s9.js → init-en85gy2h.js} +5 -5
- package/dist/install-7sm85xmk.js +50 -0
- package/dist/install-dhw82bzn.js +35 -0
- package/dist/{ios-txv190np.js → ios-ftz9d17d.js} +3 -3
- package/dist/kitref-p727zpk7.js +24 -0
- package/dist/{kotlin-drt7z6bg.js → kotlin-8ytjqp7e.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/d1-local.d.ts +29 -0
- package/dist/lib/devices/emulator-args.d.ts +16 -0
- package/dist/lib/devices/index.d.ts +101 -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 +29 -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/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 +10 -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 +3 -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-90ernbhx.js → lint-xzb2jaxv.js} +7 -3
- package/dist/list-3qms77kb.js +61 -0
- package/dist/{list-vaarpryk.js → list-c2805zb7.js} +6 -6
- package/dist/{load-x6mekf6y.js → load-1hnv925a.js} +3 -1
- package/dist/load-jy3j26eg.js +51 -0
- package/dist/{load-4s6t9309.js → load-nvf2hj1m.js} +36 -3
- package/dist/logs-jvfk9fm9.js +62 -0
- package/dist/maestro-6tbytfs6.js +30 -0
- package/dist/{main-5c6x1pd4.js → main-s7a0h69g.js} +21 -38
- package/dist/metadata-hpvy9bcy.js +44 -0
- package/dist/{migrate-9zvfp57b.js → migrate-t2pqt227.js} +6 -6
- package/dist/mobile-jfhpfm26.js +40 -0
- package/dist/module-kg87yk0v.js +119 -0
- package/dist/{notes-1zsa7qac.js → notes-hscncx9v.js} +3 -3
- package/dist/open-hdvts4mk.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-2km5mhwc.js} +6 -2
- package/dist/promote-2f9jz0fb.js +290 -0
- package/dist/promote-8z6j6x1t.js +63 -0
- package/dist/pull-rza3bwrc.js +39 -0
- package/dist/push-29fdysqa.js +44 -0
- package/dist/push-5k6rqfcs.js +63 -0
- package/dist/push-run-znkn6gxf.js +148 -0
- package/dist/qa-9xm0sj2w.js +40 -0
- package/dist/{render-vn40fp54.js → render-hkvej41k.js} +3 -1
- package/dist/repair-9j76xj3d.js +104 -0
- package/dist/reset-wkgagcgz.js +110 -0
- package/dist/restore-b0msh1kh.js +122 -0
- package/dist/rollback-3zfvnwt4.js +134 -0
- package/dist/rollout-9kvwswvw.js +188 -0
- package/dist/rollout-b2xm5r5r.js +56 -0
- package/dist/rotate-b52s310n.js +168 -0
- package/dist/rotate-ba6anxzn.js +80 -0
- package/dist/run-jzqzb203.js +56 -0
- package/dist/scaffold-5mzc135g.js +37 -0
- package/dist/secrets-ed4qtmyb.js +24 -0
- package/dist/seed-awcycfbj.js +37 -0
- package/dist/{service-s5mnjq74.js → service-edjckedw.js} +18 -9
- package/dist/shots-c9w1qq2h.js +46 -0
- package/dist/shots-page.js +613 -0
- package/dist/{show-qhn6x1vn.js → show-4kc2sevf.js} +3 -3
- package/dist/sizes-3kpjxm9h.js +51 -0
- package/dist/status-jtxkbc62.js +41 -0
- package/dist/status-w6wr9403.js +29 -0
- package/dist/statusbar-efr97b9e.js +55 -0
- package/dist/statusbar-m5h8rx00.js +15 -0
- package/dist/steps-1ptk2gnz.js +22 -0
- package/dist/{sync-34029rh7.js → sync-mza36nse.js} +4 -4
- package/dist/target-zgg601fm.js +78 -0
- package/dist/{targets-5z0abrrk.js → targets-gprq0d5c.js} +11 -4
- package/dist/{test-rpj97zr6.js → test-gnmatth4.js} +8 -3
- package/dist/{typecheck-tbtp9z07.js → typecheck-peqg5a5c.js} +6 -2
- package/dist/uninstall-0p4qcvpn.js +43 -0
- package/dist/{upgrade-z5s5wzzj.js → upgrade-56bzvms8.js} +5 -5
- package/dist/worker-thvksjg2.js +59 -0
- package/dist/{wrangler-zz21zhb0.js → wrangler-f2rf697q.js} +5 -5
- package/dist/{xcode-w8yhedhm.js → xcode-qqb04c3a.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.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.7.1/io.github.jordond.kit.android.application.gradle.plugin-0.7.1.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.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.7.1/io.github.jordond.kit.android.baseline.gradle.plugin-0.7.1.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.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.7.1/io.github.jordond.kit.compose.gradle.plugin-0.7.1.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.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.7.1/io.github.jordond.kit.jvm.app.gradle.plugin-0.7.1.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.6.0/kit-plugins-0.6.0.module → 0.7.1/kit-plugins-0.7.1.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.pom → 0.7.1/kit-plugins-0.7.1.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.7.1/kit-plugins-0.7.1.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.6.0/kit-settings-0.6.0.module → 0.7.1/kit-settings-0.7.1.module} +5 -5
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.module.sha512 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.pom → 0.7.1/kit-settings-0.7.1.pom} +1 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.7.1/kit-settings-0.7.1.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.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.7.1/io.github.jordond.kit.kmp.library.gradle.plugin-0.7.1.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.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.7.1/io.github.jordond.kit.lint.gradle.plugin-0.7.1.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.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.7.1/io.github.jordond.kit.release.gradle.plugin-0.7.1.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.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom → 0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom} +2 -2
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.md5 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha1 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.pom.sha256 +1 -0
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.7.1/io.github.jordond.kit.settings.gradle.plugin-0.7.1.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/gradle/renovate.json +4 -0
- package/templates/toolchain/renovate.json +4 -0
- package/dist/_verb-cfgwexs5.js +0 -117
- package/dist/cli-650g3nf7.js +0 -203
- package/dist/cli-xjpjdc2c.js +0 -70
- package/dist/push-tn468c4w.js +0 -22
- package/dist/push-wgbf86c0.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.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/application/io.github.jordond.kit.android.application.gradle.plugin/0.6.0/io.github.jordond.kit.android.application.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/android/baseline/io.github.jordond.kit.android.baseline.gradle.plugin/0.6.0/io.github.jordond.kit.android.baseline.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/compose/io.github.jordond.kit.compose.gradle.plugin/0.6.0/io.github.jordond.kit.compose.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/jvm/app/io.github.jordond.kit.jvm.app.gradle.plugin/0.6.0/io.github.jordond.kit.jvm.app.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-plugins/0.6.0/kit-plugins-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.module.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kit-settings/0.6.0/kit-settings-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/kmp/library/io.github.jordond.kit.kmp.library.gradle.plugin/0.6.0/io.github.jordond.kit.kmp.library.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/lint/io.github.jordond.kit.lint.gradle.plugin/0.6.0/io.github.jordond.kit.lint.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/release/io.github.jordond.kit.release.gradle.plugin/0.6.0/io.github.jordond.kit.release.gradle.plugin-0.6.0.pom.sha512 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.md5 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha1 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha256 +0 -1
- package/gradle/maven/io/github/jordond/kit/settings/io.github.jordond.kit.settings.gradle.plugin/0.6.0/io.github.jordond.kit.settings.gradle.plugin-0.6.0.pom.sha512 +0 -1
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar → 0.7.1/kit-plugins-0.7.1.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.md5 → 0.7.1/kit-plugins-0.7.1.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha1 → 0.7.1/kit-plugins-0.7.1.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha256 → 0.7.1/kit-plugins-0.7.1.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-plugins/{0.6.0/kit-plugins-0.6.0.jar.sha512 → 0.7.1/kit-plugins-0.7.1.jar.sha512} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar → 0.7.1/kit-settings-0.7.1.jar} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.md5 → 0.7.1/kit-settings-0.7.1.jar.md5} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha1 → 0.7.1/kit-settings-0.7.1.jar.sha1} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha256 → 0.7.1/kit-settings-0.7.1.jar.sha256} +0 -0
- /package/gradle/maven/io/github/jordond/kit/kit-settings/{0.6.0/kit-settings-0.6.0.jar.sha512 → 0.7.1/kit-settings-0.7.1.jar.sha512} +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ProcError,
|
|
4
|
+
runCapture,
|
|
5
|
+
runPiped
|
|
6
|
+
} from "./cli-zn8nsg3w.js";
|
|
7
|
+
|
|
8
|
+
// src/lib/git.ts
|
|
9
|
+
import { posix } from "path";
|
|
10
|
+
async function stagedFiles(cwd = ".") {
|
|
11
|
+
const { code, stdout } = await runCapture(["git", "diff", "--cached", "--name-only", "-z", "--diff-filter=ACMR", "--relative"], { cwd });
|
|
12
|
+
if (code !== 0)
|
|
13
|
+
throw new Error("git diff --cached failed");
|
|
14
|
+
return stdout.split("\x00").filter(Boolean);
|
|
15
|
+
}
|
|
16
|
+
async function read(args, cwd) {
|
|
17
|
+
const cmd = ["git", ...args];
|
|
18
|
+
const { code, stdout, stderr } = await runPiped(cmd, { cwd });
|
|
19
|
+
if (code !== 0)
|
|
20
|
+
throw new ProcError(cmd, code, `${stdout}${stderr}`);
|
|
21
|
+
return stdout;
|
|
22
|
+
}
|
|
23
|
+
async function dirtyFiles(cwd = ".") {
|
|
24
|
+
const { code, stdout } = await runCapture(["git", "status", "--porcelain"], { cwd });
|
|
25
|
+
if (code !== 0)
|
|
26
|
+
throw new Error("git status failed");
|
|
27
|
+
return stdout.split(`
|
|
28
|
+
`).filter(Boolean);
|
|
29
|
+
}
|
|
30
|
+
async function isClean(cwd = ".") {
|
|
31
|
+
return (await dirtyFiles(cwd)).length === 0;
|
|
32
|
+
}
|
|
33
|
+
async function currentBranch(cwd = ".") {
|
|
34
|
+
return (await read(["rev-parse", "--abbrev-ref", "HEAD"], cwd)).trim();
|
|
35
|
+
}
|
|
36
|
+
async function describe(match, opts = {}) {
|
|
37
|
+
const cmd = ["git", "describe", "--tags", "--match", match];
|
|
38
|
+
if (opts.exact !== false)
|
|
39
|
+
cmd.push("--abbrev=0");
|
|
40
|
+
if (opts.ref)
|
|
41
|
+
cmd.push(opts.ref);
|
|
42
|
+
const { code, stdout, stderr } = await runPiped(cmd, { cwd: opts.cwd ?? "." });
|
|
43
|
+
if (code === 0)
|
|
44
|
+
return stdout.trim();
|
|
45
|
+
if (/No names found|No tags can describe|cannot describe/i.test(stderr))
|
|
46
|
+
return;
|
|
47
|
+
throw new ProcError(cmd, code, `${stdout}${stderr}`);
|
|
48
|
+
}
|
|
49
|
+
async function logSince(since, opts = {}) {
|
|
50
|
+
const range = since ? `${since}..HEAD` : "HEAD";
|
|
51
|
+
const args = ["log", "--format=%H%x09%s", range];
|
|
52
|
+
if (opts.paths?.length)
|
|
53
|
+
args.push("--", ...opts.paths);
|
|
54
|
+
const out = await read(args, opts.cwd ?? ".");
|
|
55
|
+
return out.split(`
|
|
56
|
+
`).filter(Boolean).map((line) => {
|
|
57
|
+
const tab = line.indexOf("\t");
|
|
58
|
+
return { sha: line.slice(0, tab), subject: line.slice(tab + 1) };
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
async function tag(name, opts = {}) {
|
|
62
|
+
const args = opts.message ? ["tag", "-a", name, "-m", opts.message] : ["tag", name];
|
|
63
|
+
if (opts.ref)
|
|
64
|
+
args.push(opts.ref);
|
|
65
|
+
await read(args, opts.cwd ?? ".");
|
|
66
|
+
}
|
|
67
|
+
async function push(refs, opts = {}) {
|
|
68
|
+
await read(["push", opts.remote ?? "origin", ...refs], opts.cwd ?? ".");
|
|
69
|
+
}
|
|
70
|
+
async function refExists(ref, cwd) {
|
|
71
|
+
const { code } = await runPiped(["git", "rev-parse", "--verify", "--quiet", `${ref}^{commit}`], { cwd });
|
|
72
|
+
return code === 0;
|
|
73
|
+
}
|
|
74
|
+
async function defaultBase(cwd = ".") {
|
|
75
|
+
const head = await runPiped(["git", "symbolic-ref", "--quiet", "--short", "refs/remotes/origin/HEAD"], {
|
|
76
|
+
cwd
|
|
77
|
+
});
|
|
78
|
+
const remote = head.code === 0 ? head.stdout.trim() : "";
|
|
79
|
+
for (const ref of [...remote ? [remote] : [], "origin/main", "main"]) {
|
|
80
|
+
if (await refExists(ref, cwd))
|
|
81
|
+
return ref;
|
|
82
|
+
}
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
async function mergeBase(base, cwd = ".") {
|
|
86
|
+
if (!await refExists(base, cwd))
|
|
87
|
+
return;
|
|
88
|
+
const { code, stdout } = await runPiped(["git", "merge-base", base, "HEAD"], { cwd });
|
|
89
|
+
return code === 0 && stdout.trim() ? stdout.trim() : undefined;
|
|
90
|
+
}
|
|
91
|
+
async function changedFiles(cwd = ".", base) {
|
|
92
|
+
const ref = base ?? await defaultBase(cwd);
|
|
93
|
+
const fork = ref ? await mergeBase(ref, cwd) : undefined;
|
|
94
|
+
if (!ref || !fork)
|
|
95
|
+
return;
|
|
96
|
+
const top = (await read(["rev-parse", "--show-toplevel"], cwd)).trim();
|
|
97
|
+
const prefix = (await read(["rev-parse", "--show-prefix"], cwd)).trim().replace(/\/$/, "");
|
|
98
|
+
const head = (await read(["rev-parse", "HEAD"], cwd)).trim();
|
|
99
|
+
const diff = ["diff", "--name-only", "-z", "--no-renames"];
|
|
100
|
+
const lists = await Promise.all([
|
|
101
|
+
read([...diff, fork], top),
|
|
102
|
+
read([...diff, "--cached", fork], top),
|
|
103
|
+
read(["ls-files", "--others", "--exclude-standard", "-z"], top)
|
|
104
|
+
]);
|
|
105
|
+
const files = new Set(lists.flatMap((out) => out.split("\x00").filter(Boolean)).map((f) => posix.relative(prefix, f)));
|
|
106
|
+
return { base: ref, files: [...files].sort(), headIsBase: head === fork };
|
|
107
|
+
}
|
|
108
|
+
async function logRange(from, to = "HEAD", opts = {}) {
|
|
109
|
+
const range = from ? `${from}..${to}` : to;
|
|
110
|
+
const out = await read(["log", "--format=%H%x1f%P%x1f%s%x1f%b%x1e", range, "--"], opts.cwd ?? ".");
|
|
111
|
+
return out.split("\x1E").map((r) => r.replace(/^\n/, "")).filter(Boolean).map((record) => {
|
|
112
|
+
const [sha = "", parents = "", subject = "", body = ""] = record.split("\x1F");
|
|
113
|
+
return { sha, subject, body: body.trim(), merge: parents.trim().split(/\s+/).length > 1 };
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
async function hasCommit(ref, cwd = ".") {
|
|
117
|
+
const cmd = ["git", "rev-parse", "--verify", "--quiet", `${ref}^{commit}`];
|
|
118
|
+
return (await runPiped(cmd, { cwd })).code === 0;
|
|
119
|
+
}
|
|
120
|
+
async function isShallow(cwd = ".") {
|
|
121
|
+
return (await read(["rev-parse", "--is-shallow-repository"], cwd)).trim() === "true";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export { stagedFiles, dirtyFiles, isClean, currentBranch, describe, logSince, tag, push, defaultBase, mergeBase, changedFiles, logRange, hasCommit, isShallow };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ExitCode,
|
|
4
|
+
KitError
|
|
5
|
+
} from "./cli-7wvrehng.js";
|
|
6
|
+
|
|
7
|
+
// src/lib/chrome.ts
|
|
8
|
+
import { existsSync } from "fs";
|
|
9
|
+
import { homedir } from "os";
|
|
10
|
+
import { isAbsolute, join } from "path";
|
|
11
|
+
var CHROME_MIN_MAJOR = 112;
|
|
12
|
+
var CHROME_ENV = ["KIT_CHROME", "CHROME_PATH"];
|
|
13
|
+
var MAC_APPS = [
|
|
14
|
+
"Google Chrome.app/Contents/MacOS/Google Chrome",
|
|
15
|
+
"Chromium.app/Contents/MacOS/Chromium"
|
|
16
|
+
];
|
|
17
|
+
var PATH_NAMES = ["google-chrome", "google-chrome-stable", "chromium", "chromium-browser"];
|
|
18
|
+
var CHROME_HINT = "Install Google Chrome, or set KIT_CHROME to a Chrome or Chromium binary";
|
|
19
|
+
function findChrome(env = process.env) {
|
|
20
|
+
for (const name of CHROME_ENV) {
|
|
21
|
+
const value = env[name];
|
|
22
|
+
if (!value)
|
|
23
|
+
continue;
|
|
24
|
+
if (isAbsolute(value) || value.includes("/"))
|
|
25
|
+
return existsSync(value) ? value : undefined;
|
|
26
|
+
return Bun.which(value, { PATH: env.PATH ?? "" }) ?? undefined;
|
|
27
|
+
}
|
|
28
|
+
if (process.platform === "darwin") {
|
|
29
|
+
const [chrome, chromium] = MAC_APPS;
|
|
30
|
+
const candidates = [
|
|
31
|
+
join("/Applications", chrome),
|
|
32
|
+
join(env.HOME ?? homedir(), "Applications", chrome),
|
|
33
|
+
join("/Applications", chromium)
|
|
34
|
+
];
|
|
35
|
+
const app = candidates.find((p) => existsSync(p));
|
|
36
|
+
if (app)
|
|
37
|
+
return app;
|
|
38
|
+
}
|
|
39
|
+
for (const name of PATH_NAMES) {
|
|
40
|
+
const found = Bun.which(name, { PATH: env.PATH ?? "" });
|
|
41
|
+
if (found !== null)
|
|
42
|
+
return found;
|
|
43
|
+
}
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
function chromeBin() {
|
|
47
|
+
const bin = findChrome(process.env);
|
|
48
|
+
if (bin !== undefined)
|
|
49
|
+
return bin;
|
|
50
|
+
const named = CHROME_ENV.find((name) => process.env[name]);
|
|
51
|
+
throw new KitError(named ? `${named}=${process.env[named]} is not a Chrome binary` : "Chrome not found", CHROME_HINT, ExitCode.precondition);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { CHROME_MIN_MAJOR, CHROME_HINT, findChrome, chromeBin };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
dotenvLine,
|
|
4
|
+
dotenvValue
|
|
5
|
+
} from "./cli-wrzdcgnt.js";
|
|
6
|
+
|
|
2
7
|
// src/lib/env/render.ts
|
|
3
8
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
4
9
|
import { dirname, resolve } from "path";
|
|
@@ -23,10 +28,7 @@ function line(name, value, literal = false) {
|
|
|
23
28
|
return `# ${name}=
|
|
24
29
|
`;
|
|
25
30
|
value ??= "";
|
|
26
|
-
|
|
27
|
-
return `${name}="${value.replace(/\r?\n/g, "\\n")}"
|
|
28
|
-
`;
|
|
29
|
-
return `${name}=${value}
|
|
31
|
+
return `${dotenvLine(name, value, "vars")}
|
|
30
32
|
`;
|
|
31
33
|
}
|
|
32
34
|
function render(output, values) {
|
|
@@ -35,7 +37,7 @@ function render(output, values) {
|
|
|
35
37
|
out += l.value === undefined ? line(l.name, values[l.source]) : line(l.name, l.value, true);
|
|
36
38
|
return out;
|
|
37
39
|
}
|
|
38
|
-
function parseDotenv(text) {
|
|
40
|
+
function parseDotenv(text, format) {
|
|
39
41
|
const out = {};
|
|
40
42
|
for (const raw of text.split(`
|
|
41
43
|
`)) {
|
|
@@ -47,13 +49,13 @@ function parseDotenv(text) {
|
|
|
47
49
|
const m = /^\s*(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)\s*=\s*(.*?)\s*$/.exec(raw);
|
|
48
50
|
if (!m)
|
|
49
51
|
continue;
|
|
50
|
-
out[m[1]] = m[2]
|
|
52
|
+
out[m[1]] = dotenvValue(m[2], format);
|
|
51
53
|
}
|
|
52
54
|
return out;
|
|
53
55
|
}
|
|
54
56
|
function diffKeys(prev, next) {
|
|
55
|
-
const a = prev === null ? {} : parseDotenv(prev);
|
|
56
|
-
const b = parseDotenv(next);
|
|
57
|
+
const a = prev === null ? {} : parseDotenv(prev, "vars");
|
|
58
|
+
const b = parseDotenv(next, "vars");
|
|
57
59
|
return {
|
|
58
60
|
added: Object.keys(b).filter((k) => !(k in a)),
|
|
59
61
|
updated: Object.keys(b).filter((k) => (k in a) && a[k] !== b[k]),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/commands/_affected.ts
|
|
3
|
+
var affectedArgs = {
|
|
4
|
+
affected: {
|
|
5
|
+
type: "boolean",
|
|
6
|
+
description: "Only targets changed since the base (commits, staged, unstaged and untracked files)"
|
|
7
|
+
},
|
|
8
|
+
base: {
|
|
9
|
+
type: "string",
|
|
10
|
+
description: "Ref --affected compares against (default: origin/<default branch>, then main)"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { affectedArgs };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
defineCommand
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-540nme4e.js";
|
|
6
|
-
import"./cli-5wasc5mr.js";
|
|
4
|
+
} from "./cli-507f5c8j.js";
|
|
7
5
|
import {
|
|
8
6
|
ExitCode,
|
|
9
7
|
KitError
|
|
@@ -49,28 +47,43 @@ var deploy_default = defineCommand({
|
|
|
49
47
|
description: "Deploy one or more targets, in order (deploy.before first)",
|
|
50
48
|
group: "Develop",
|
|
51
49
|
args: {
|
|
52
|
-
env: { type: "string", short: "e", description: "Environment, for targets that declare envs" }
|
|
50
|
+
env: { type: "string", short: "e", description: "Environment, for targets that declare envs" },
|
|
51
|
+
preview: {
|
|
52
|
+
type: "boolean",
|
|
53
|
+
description: "Worker targets: upload a preview version, leave production traffic; prints its URL"
|
|
54
|
+
},
|
|
55
|
+
comment: { type: "boolean", description: "With --preview: post or update the URL on the branch's PR" }
|
|
53
56
|
},
|
|
54
57
|
examples: [
|
|
55
58
|
"kit deploy api",
|
|
56
59
|
"kit deploy api admin web # in order; stops at the first failure",
|
|
57
60
|
"kit deploy web --env staging",
|
|
58
61
|
"kit deploy api web --env staging # the env goes to the targets that declare it",
|
|
59
|
-
"kit deploy api --dry-run --json"
|
|
62
|
+
"kit deploy api --dry-run --json",
|
|
63
|
+
"kit deploy api --preview # wrangler versions upload; the preview URL on stdout",
|
|
64
|
+
"kit deploy api --preview --comment"
|
|
60
65
|
].join(`
|
|
61
66
|
`),
|
|
62
67
|
async run(ctx) {
|
|
63
|
-
const { requireProject } = await import("./command-
|
|
64
|
-
const { selectTargets, targetCommands } = await import("./targets-
|
|
65
|
-
const { run, runToStderr } = await import("./proc-
|
|
68
|
+
const { requireProject } = await import("./command-jwjvb9pb.js");
|
|
69
|
+
const { selectTargets, targetCommands } = await import("./targets-gprq0d5c.js");
|
|
70
|
+
const { run, runToStderr } = await import("./proc-2km5mhwc.js");
|
|
66
71
|
const { emitJson } = await import("./log-g1ebh60s.js");
|
|
67
72
|
const { root, config } = requireProject(ctx);
|
|
68
73
|
const names = ctx.positionals.length ? selectTargets(config, ctx.positionals).targets.map(([n]) => n) : [];
|
|
69
74
|
if (!names.length) {
|
|
70
75
|
throw new KitError("kit deploy needs at least one target", `Targets: ${Object.keys(config.targets).join(", ")}`, ExitCode.usage);
|
|
71
76
|
}
|
|
77
|
+
if (ctx.args.comment && !ctx.args.preview) {
|
|
78
|
+
throw new KitError("--comment needs --preview", "kit deploy <target> --preview --comment", ExitCode.usage);
|
|
79
|
+
}
|
|
72
80
|
if (config.cloudflare?.accountId)
|
|
73
|
-
(await import("./cloudflare-
|
|
81
|
+
(await import("./cloudflare-vm474s23.js")).pinCloudflareAccount(root, config);
|
|
82
|
+
if (ctx.args.preview) {
|
|
83
|
+
const { runPreview } = await import("./_preview-8pctvjkj.js");
|
|
84
|
+
await runPreview(ctx, names, { env: ctx.args.env, comment: !!ctx.args.comment });
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
74
87
|
const envs = envsFor(config, names, ctx.args.env);
|
|
75
88
|
const self = [process.execPath, "--no-env-file", process.argv[1]];
|
|
76
89
|
const seen = new Set;
|
|
@@ -108,19 +121,24 @@ var deploy_default = defineCommand({
|
|
|
108
121
|
}
|
|
109
122
|
const exec = ctx.flags.json ? runToStderr : run;
|
|
110
123
|
const results = [];
|
|
124
|
+
const started = performance.now();
|
|
125
|
+
const since = (t) => Math.round(performance.now() - t);
|
|
111
126
|
const report = () => {
|
|
127
|
+
for (const r of results)
|
|
128
|
+
r.ms = r.steps.reduce((sum, s) => sum + s.ms, 0);
|
|
112
129
|
if (ctx.flags.json)
|
|
113
|
-
emitJson({ ok: results.every((r) => r.ok), deploys: results });
|
|
130
|
+
emitJson({ ok: results.every((r) => r.ok), ms: since(started), deploys: results });
|
|
114
131
|
};
|
|
115
132
|
for (const [i, d] of deploys.entries()) {
|
|
116
|
-
const result = { target: d.name, env: d.env, ok: false, steps: [] };
|
|
133
|
+
const result = { target: d.name, env: d.env, ok: false, ms: 0, steps: [] };
|
|
117
134
|
results.push(result);
|
|
118
135
|
const skipped = names.slice(i + 1);
|
|
119
136
|
const and = skipped.length ? `; skipped ${skipped.join(", ")}` : "";
|
|
120
137
|
for (const b of d.before) {
|
|
121
138
|
ctx.log.step(b.title);
|
|
139
|
+
const t = performance.now();
|
|
122
140
|
const code = await exec(b.cmd, { cwd: root, env: { KIT_ROOT: root } });
|
|
123
|
-
result.steps.push({ title: b.title, code });
|
|
141
|
+
result.steps.push({ title: b.title, code, ms: since(t) });
|
|
124
142
|
if (code !== 0) {
|
|
125
143
|
report();
|
|
126
144
|
throw new KitError(`${b.title} failed (exit ${code}); not deploying ${d.name}${and}`, undefined, ExitCode.precondition);
|
|
@@ -128,8 +146,9 @@ var deploy_default = defineCommand({
|
|
|
128
146
|
}
|
|
129
147
|
for (const c of d.cmds) {
|
|
130
148
|
ctx.log.step(`${d.name}: ${c.title}`);
|
|
149
|
+
const t = performance.now();
|
|
131
150
|
const code = await exec(c.cmd, { cwd: c.cwd, env: c.env });
|
|
132
|
-
result.steps.push({ title: c.title, code });
|
|
151
|
+
result.steps.push({ title: c.title, code, ms: since(t) });
|
|
133
152
|
if (code !== 0) {
|
|
134
153
|
report();
|
|
135
154
|
if (!ctx.flags.json)
|
|
@@ -144,9 +163,5 @@ var deploy_default = defineCommand({
|
|
|
144
163
|
report();
|
|
145
164
|
}
|
|
146
165
|
});
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
deploy_default as default,
|
|
150
|
-
checkEnv,
|
|
151
|
-
beforeCommands
|
|
152
|
-
};
|
|
166
|
+
|
|
167
|
+
export { checkEnv, envsFor, beforeCommands, deploy_default };
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ExitCode,
|
|
4
|
+
KitError
|
|
5
|
+
} from "./cli-7wvrehng.js";
|
|
6
|
+
|
|
7
|
+
// src/lib/storeshots/sizes.ts
|
|
8
|
+
var STORES = ["apple", "google"];
|
|
9
|
+
var STORE_TARGETS = {
|
|
10
|
+
apple: ["ios", "ipad"],
|
|
11
|
+
google: ["android"]
|
|
12
|
+
};
|
|
13
|
+
var storeOf = (target) => target === "android" ? "google" : "apple";
|
|
14
|
+
function parseStores(value) {
|
|
15
|
+
if (value === undefined || value === "both")
|
|
16
|
+
return [...STORES];
|
|
17
|
+
if (STORES.includes(value))
|
|
18
|
+
return [value];
|
|
19
|
+
throw new KitError(`Unknown store "${value}"`, "--store takes apple, google or both", ExitCode.usage);
|
|
20
|
+
}
|
|
21
|
+
var SET_SIZES = {
|
|
22
|
+
"iphone-6.9": { width: 1320, height: 2868 },
|
|
23
|
+
"iphone-6.5": { width: 1284, height: 2778 },
|
|
24
|
+
"iphone-6.3": { width: 1206, height: 2622 },
|
|
25
|
+
"ipad-13": { width: 2064, height: 2752 },
|
|
26
|
+
phone: { width: 1440, height: 2560 }
|
|
27
|
+
};
|
|
28
|
+
var DEFAULT_SETS = {
|
|
29
|
+
ios: "iphone-6.9",
|
|
30
|
+
ipad: "ipad-13",
|
|
31
|
+
android: "phone"
|
|
32
|
+
};
|
|
33
|
+
function resolveSets(config) {
|
|
34
|
+
return { ...DEFAULT_SETS, ...config.shots?.sets };
|
|
35
|
+
}
|
|
36
|
+
var APPLE_SIZES = {
|
|
37
|
+
APP_IPHONE_67: [
|
|
38
|
+
[1260, 2736],
|
|
39
|
+
[2736, 1260],
|
|
40
|
+
[1290, 2796],
|
|
41
|
+
[2796, 1290],
|
|
42
|
+
[1320, 2868],
|
|
43
|
+
[2868, 1320]
|
|
44
|
+
],
|
|
45
|
+
APP_IPHONE_65: [
|
|
46
|
+
[1242, 2688],
|
|
47
|
+
[2688, 1242],
|
|
48
|
+
[1284, 2778],
|
|
49
|
+
[2778, 1284]
|
|
50
|
+
],
|
|
51
|
+
APP_IPHONE_61: [
|
|
52
|
+
[1179, 2556],
|
|
53
|
+
[2556, 1179],
|
|
54
|
+
[1206, 2622],
|
|
55
|
+
[2622, 1206]
|
|
56
|
+
],
|
|
57
|
+
APP_IPHONE_58: [
|
|
58
|
+
[1170, 2532],
|
|
59
|
+
[2532, 1170],
|
|
60
|
+
[1125, 2436],
|
|
61
|
+
[2436, 1125],
|
|
62
|
+
[1080, 2340],
|
|
63
|
+
[2340, 1080]
|
|
64
|
+
],
|
|
65
|
+
APP_IPHONE_55: [
|
|
66
|
+
[1242, 2208],
|
|
67
|
+
[2208, 1242]
|
|
68
|
+
],
|
|
69
|
+
APP_IPHONE_47: [
|
|
70
|
+
[750, 1334],
|
|
71
|
+
[1334, 750]
|
|
72
|
+
],
|
|
73
|
+
APP_IPHONE_40: [
|
|
74
|
+
[640, 1096],
|
|
75
|
+
[640, 1136],
|
|
76
|
+
[1136, 600],
|
|
77
|
+
[1136, 640]
|
|
78
|
+
],
|
|
79
|
+
APP_IPHONE_35: [
|
|
80
|
+
[640, 920],
|
|
81
|
+
[640, 960],
|
|
82
|
+
[960, 600],
|
|
83
|
+
[960, 640]
|
|
84
|
+
],
|
|
85
|
+
APP_IPHONE_DUO: [
|
|
86
|
+
[1398, 2034],
|
|
87
|
+
[2034, 1398],
|
|
88
|
+
[2007, 2853],
|
|
89
|
+
[2853, 2007]
|
|
90
|
+
],
|
|
91
|
+
APP_IPAD_97: [
|
|
92
|
+
[1024, 748],
|
|
93
|
+
[1024, 768],
|
|
94
|
+
[2048, 1496],
|
|
95
|
+
[2048, 1536],
|
|
96
|
+
[768, 1004],
|
|
97
|
+
[768, 1024],
|
|
98
|
+
[1536, 2008],
|
|
99
|
+
[1536, 2048]
|
|
100
|
+
],
|
|
101
|
+
APP_IPAD_105: [
|
|
102
|
+
[1668, 2224],
|
|
103
|
+
[2224, 1668]
|
|
104
|
+
],
|
|
105
|
+
APP_IPAD_PRO_3GEN_11: [
|
|
106
|
+
[1488, 2266],
|
|
107
|
+
[2266, 1488],
|
|
108
|
+
[1668, 2420],
|
|
109
|
+
[2420, 1668],
|
|
110
|
+
[1668, 2388],
|
|
111
|
+
[2388, 1668],
|
|
112
|
+
[1640, 2360],
|
|
113
|
+
[2360, 1640]
|
|
114
|
+
],
|
|
115
|
+
APP_IPAD_PRO_129: [
|
|
116
|
+
[2048, 2732],
|
|
117
|
+
[2732, 2048]
|
|
118
|
+
],
|
|
119
|
+
APP_IPAD_PRO_3GEN_129: [
|
|
120
|
+
[2048, 2732],
|
|
121
|
+
[2732, 2048],
|
|
122
|
+
[2064, 2752],
|
|
123
|
+
[2752, 2064]
|
|
124
|
+
],
|
|
125
|
+
APP_DESKTOP: [
|
|
126
|
+
[1280, 800],
|
|
127
|
+
[1440, 900],
|
|
128
|
+
[2560, 1600],
|
|
129
|
+
[2880, 1800]
|
|
130
|
+
],
|
|
131
|
+
APP_WATCH_SERIES_3: [[312, 390]],
|
|
132
|
+
APP_WATCH_SERIES_4: [[368, 448]],
|
|
133
|
+
APP_WATCH_SERIES_7: [[396, 484]],
|
|
134
|
+
APP_WATCH_SERIES_10: [[416, 496]],
|
|
135
|
+
APP_WATCH_ULTRA: [
|
|
136
|
+
[410, 502],
|
|
137
|
+
[422, 514]
|
|
138
|
+
],
|
|
139
|
+
APP_APPLE_TV: [
|
|
140
|
+
[1920, 1080],
|
|
141
|
+
[3840, 2160]
|
|
142
|
+
],
|
|
143
|
+
APP_APPLE_VISION_PRO: [[3840, 2160]]
|
|
144
|
+
};
|
|
145
|
+
var APPLE_MESSAGES_CLASSES = {
|
|
146
|
+
IMESSAGE_APP_IPHONE_40: "APP_IPHONE_40",
|
|
147
|
+
IMESSAGE_APP_IPHONE_47: "APP_IPHONE_47",
|
|
148
|
+
IMESSAGE_APP_IPHONE_55: "APP_IPHONE_55",
|
|
149
|
+
IMESSAGE_APP_IPHONE_58: "APP_IPHONE_58",
|
|
150
|
+
IMESSAGE_APP_IPHONE_61: "APP_IPHONE_61",
|
|
151
|
+
IMESSAGE_APP_IPHONE_65: "APP_IPHONE_65",
|
|
152
|
+
IMESSAGE_APP_IPHONE_67: "APP_IPHONE_67",
|
|
153
|
+
IMESSAGE_APP_IPAD_97: "APP_IPAD_97",
|
|
154
|
+
IMESSAGE_APP_IPAD_105: "APP_IPAD_105",
|
|
155
|
+
IMESSAGE_APP_IPAD_PRO_3GEN_11: "APP_IPAD_PRO_3GEN_11",
|
|
156
|
+
IMESSAGE_APP_IPAD_PRO_129: "APP_IPAD_PRO_129",
|
|
157
|
+
IMESSAGE_APP_IPAD_PRO_3GEN_129: "APP_IPAD_PRO_3GEN_129"
|
|
158
|
+
};
|
|
159
|
+
var APPLE_SET_CLASS = {
|
|
160
|
+
"iphone-6.9": "APP_IPHONE_67",
|
|
161
|
+
"iphone-6.5": "APP_IPHONE_65",
|
|
162
|
+
"iphone-6.3": "APP_IPHONE_61",
|
|
163
|
+
"ipad-13": "APP_IPAD_PRO_3GEN_129"
|
|
164
|
+
};
|
|
165
|
+
function appleClass(width, height, path) {
|
|
166
|
+
const has = (c) => APPLE_SIZES[c].some(([w, h]) => w === width && h === height);
|
|
167
|
+
const messages = path?.split("/").filter(Boolean).at(-3) === "iMessage";
|
|
168
|
+
const match = messages ? Object.keys(APPLE_MESSAGES_CLASSES).find((c) => has(APPLE_MESSAGES_CLASSES[c])) : Object.keys(APPLE_SIZES).find(has);
|
|
169
|
+
if (!match)
|
|
170
|
+
return;
|
|
171
|
+
const lower = path?.toLowerCase() ?? "";
|
|
172
|
+
const long = Math.max(width, height);
|
|
173
|
+
const short = Math.min(width, height);
|
|
174
|
+
if (long === 2732 && short === 2048) {
|
|
175
|
+
const secondGen = lower.includes("app_ipad_pro_129") || lower.includes("12.9") && lower.includes("2nd generation");
|
|
176
|
+
if (messages)
|
|
177
|
+
return secondGen ? "IMESSAGE_APP_IPAD_PRO_129" : "IMESSAGE_APP_IPAD_PRO_3GEN_129";
|
|
178
|
+
return secondGen ? "APP_IPAD_PRO_129" : "APP_IPAD_PRO_3GEN_129";
|
|
179
|
+
}
|
|
180
|
+
if (width === 3840 && height === 2160)
|
|
181
|
+
return lower.includes("vision") ? "APP_APPLE_VISION_PRO" : "APP_APPLE_TV";
|
|
182
|
+
return match;
|
|
183
|
+
}
|
|
184
|
+
var APPLE_MAX_PER_CLASS = 10;
|
|
185
|
+
var PLAY_MIN_SIDE = 320;
|
|
186
|
+
var PLAY_MAX_SIDE = 3840;
|
|
187
|
+
var PLAY_MAX_RATIO = 2;
|
|
188
|
+
var PLAY_MAX_PER_TYPE = 8;
|
|
189
|
+
var PLAY_MIN_PHONE = 2;
|
|
190
|
+
var PLAY_FEATURE_GRAPHIC = { width: 1024, height: 500 };
|
|
191
|
+
var PLAY_TV_BANNER = { width: 1280, height: 720 };
|
|
192
|
+
var PLAY_ICON = { width: 512, height: 512 };
|
|
193
|
+
var PLAY_ICON_MAX_BYTES = 1024 * 1024;
|
|
194
|
+
function playProblems(width, height) {
|
|
195
|
+
const problems = [];
|
|
196
|
+
const long = Math.max(width, height);
|
|
197
|
+
const short = Math.min(width, height);
|
|
198
|
+
if (short < PLAY_MIN_SIDE)
|
|
199
|
+
problems.push(`${width}x${height}: each side must be at least ${PLAY_MIN_SIDE} px`);
|
|
200
|
+
if (long > PLAY_MAX_SIDE)
|
|
201
|
+
problems.push(`${width}x${height}: each side must be at most ${PLAY_MAX_SIDE} px`);
|
|
202
|
+
if (long > short * PLAY_MAX_RATIO) {
|
|
203
|
+
problems.push(`${width}x${height}: the long side must be at most ${PLAY_MAX_RATIO}x the short side`);
|
|
204
|
+
}
|
|
205
|
+
return problems;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export { STORES, STORE_TARGETS, storeOf, parseStores, SET_SIZES, DEFAULT_SETS, resolveSets, APPLE_SIZES, APPLE_MESSAGES_CLASSES, APPLE_SET_CLASS, appleClass, APPLE_MAX_PER_CLASS, PLAY_MIN_SIDE, PLAY_MAX_SIDE, PLAY_MAX_RATIO, PLAY_MAX_PER_TYPE, PLAY_MIN_PHONE, PLAY_FEATURE_GRAPHIC, PLAY_TV_BANNER, PLAY_ICON, PLAY_ICON_MAX_BYTES, playProblems };
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
isVersion,
|
|
4
|
+
repinWorkflow,
|
|
5
|
+
tagSha
|
|
6
|
+
} from "./cli-28nya88s.js";
|
|
7
|
+
import {
|
|
8
|
+
readXcconfig,
|
|
9
|
+
setModuleVersion,
|
|
10
|
+
setXcconfigVersion
|
|
11
|
+
} from "./cli-2nw36t7w.js";
|
|
12
|
+
import {
|
|
13
|
+
runQuiet
|
|
14
|
+
} from "./cli-zn8nsg3w.js";
|
|
15
|
+
|
|
16
|
+
// src/lib/doctor/fixes.ts
|
|
17
|
+
import { existsSync, readdirSync, readFileSync, writeFileSync } from "fs";
|
|
18
|
+
import { join } from "path";
|
|
19
|
+
function describeFix(fix) {
|
|
20
|
+
return "cmd" in fix.action ? { description: fix.description, cmd: fix.action.cmd, cwd: fix.action.cwd ?? "." } : { description: fix.description };
|
|
21
|
+
}
|
|
22
|
+
function fixable(checks) {
|
|
23
|
+
return checks.filter((c) => (c.status === "warn" || c.status === "fail") && !!c.fix);
|
|
24
|
+
}
|
|
25
|
+
var lastLine = (output) => output.trim().split(`
|
|
26
|
+
`).pop()?.trim() ?? "";
|
|
27
|
+
async function applyFix(root, id, fix) {
|
|
28
|
+
const base = { id, description: fix.description };
|
|
29
|
+
try {
|
|
30
|
+
if ("cmd" in fix.action) {
|
|
31
|
+
const { cmd, cwd } = fix.action;
|
|
32
|
+
if (!Bun.which(cmd[0], { PATH: process.env.PATH }))
|
|
33
|
+
return { ...base, applied: false, ok: false, error: `${cmd[0]} not found` };
|
|
34
|
+
const r = await runQuiet(cmd, { cwd: join(root, cwd ?? ".") });
|
|
35
|
+
if (r.code === 0)
|
|
36
|
+
return { ...base, applied: true, ok: true };
|
|
37
|
+
const why = lastLine(r.output);
|
|
38
|
+
return { ...base, applied: true, ok: false, error: `exit ${r.code}${why ? `: ${why}` : ""}` };
|
|
39
|
+
}
|
|
40
|
+
const skipped = await fix.action.edit();
|
|
41
|
+
if (skipped !== undefined)
|
|
42
|
+
return { ...base, applied: false, ok: false, error: skipped };
|
|
43
|
+
return { ...base, applied: true, ok: true };
|
|
44
|
+
} catch (e) {
|
|
45
|
+
return { ...base, applied: true, ok: false, error: e instanceof Error ? e.message : String(e) };
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function iosVersionFix(root, drift) {
|
|
49
|
+
return {
|
|
50
|
+
description: `set MARKETING_VERSION = ${drift.toml} in ${drift.file}`,
|
|
51
|
+
action: {
|
|
52
|
+
edit: () => {
|
|
53
|
+
const before = readXcconfig(root, drift.file);
|
|
54
|
+
writeFileSync(join(root, drift.file), setXcconfigVersion(before, drift.file, drift.toml));
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function androidVersionFix(root, drift) {
|
|
61
|
+
return {
|
|
62
|
+
description: `set settings.android.versionName: "${drift.toml}" in ${drift.file}`,
|
|
63
|
+
action: {
|
|
64
|
+
edit: () => {
|
|
65
|
+
const path = join(root, drift.file);
|
|
66
|
+
writeFileSync(path, setModuleVersion(readFileSync(path, "utf8"), drift.file, drift.toml));
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function pinVersion(pin) {
|
|
73
|
+
const v = pin?.replace(/^[\^~=v]+/, "");
|
|
74
|
+
return v && isVersion(v) ? v : undefined;
|
|
75
|
+
}
|
|
76
|
+
function ciPinFix(root, version, resolveSha = tagSha) {
|
|
77
|
+
return {
|
|
78
|
+
description: `move the workflow pins to v${version}`,
|
|
79
|
+
action: {
|
|
80
|
+
edit: async () => {
|
|
81
|
+
const sha = await resolveSha(version);
|
|
82
|
+
if (!sha)
|
|
83
|
+
return `v${version} not found in the kit repo (offline?): workflow pins left as they are`;
|
|
84
|
+
const dir = join(root, ".github/workflows");
|
|
85
|
+
const files = existsSync(dir) ? readdirSync(dir).filter((f) => /\.ya?ml$/.test(f)) : [];
|
|
86
|
+
for (const f of files.sort()) {
|
|
87
|
+
const text = readFileSync(join(dir, f), "utf8");
|
|
88
|
+
const next = repinWorkflow(text, version, sha);
|
|
89
|
+
if (next.count > 0)
|
|
90
|
+
writeFileSync(join(dir, f), next.text);
|
|
91
|
+
}
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export { describeFix, fixable, applyFix, iosVersionFix, androidVersionFix, pinVersion, ciPinFix };
|