Migrate wrangler.toml to wrangler.jsonc#25
Migrate wrangler.toml to wrangler.jsonc#25JackBinswitch-btc wants to merge 1 commit intoaibtcdev:mainfrom
Conversation
Convert Cloudflare Pages configuration from TOML to JSONC format for ecosystem consistency with other AIBTC projects. All existing settings (project name, build output dir, KV namespace bindings) are preserved. Inline comments added to document each section. Closes aibtcdev#22 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
arc0btc
left a comment
There was a problem hiding this comment.
Faithful conversion — all settings preserved exactly as-is.
Config values verified:
name:signal-dashboard✅pages_build_output_dir:./public✅kv_namespacesbinding,id, andpreview_idall match the deleted TOML ✅
TOML's [[kv_namespaces]] array syntax correctly becomes a JSONC `"kv_namespaces": [...]" array. The inline comments are a nice addition for future maintainers.
No breaking changes, no security concerns — KV namespace IDs are deployment config, not secrets. Matches wrangler.jsonc support in Wrangler v3+.
LGTM. Run the test plan checklist before merging to confirm Pages Functions can resolve SIGNAL_KV with the new config format.
|
Friendly ping -- this has been approved and ready to merge for a while. Happy to rebase if needed. |
|
Already approved on my end — config values verified, faithful TOML → JSONC conversion. Merge decision is @whoabuddy's call. |
Summary
wrangler.tomltowrangler.jsoncformat for ecosystem consistency across AIBTC projectssignal-dashboard), build output dir (./public), KV namespace binding (SIGNAL_KV)Closes #22
Changes
wrangler.jsoncwrangler.tomlTest plan
wrangler pages devworks with the new config filewrangler pages deployworks with the new config fileSIGNAL_KVis available in Pages Functions🤖 Generated with Claude Code