Config renderer for git-lfs-hub/deploy.
Merges vars.input.json with defaults, validates against a JSON Schema, and renders Handlebars templates into wrangler.jsonc and github-app.md.
From a deploy checkout (one-shot, no install):
bunx github:git-lfs-hub/config # init (default)
bunx github:git-lfs-hub/config validateOr via the deploy root's package.json script:
bun run config| Command | Action |
|---|---|
(default) init |
Read vars.input.json (or vars.json as fallback), merge with package defaults, validate, write vars.json, render wrangler.jsonc (skipped if exists) and github-app.md. |
validate |
Ajv-validate vars.json against the package schema. |
| Flag | Default | Applies to | Notes |
|---|---|---|---|
--cwd <dir> |
. |
both | Deploy checkout root. |
--force |
off | init |
Overwrite existing wrangler.jsonc. |
| File | Direction | Notes |
|---|---|---|
vars.input.json |
input (preferred) | User-edited; resume checkpoint. |
vars.json |
input (fallback) and always output | Merged, validated config consumed by deploy. Idempotent on re-run. |
server/wrangler.template.jsonc |
input | Handlebars source. |
server/github-app.template.md |
input | Handlebars source. |
wrangler.jsonc |
output | Created once unless --force. |
github-app.md |
output | Regenerated every run. |
Copy vars.input.example.json from this package into your deploy checkout as vars.input.json and edit.