Skip to content

jalmonter/wrangler-cfg

Repository files navigation

⛅️⚙️ wrangler-cfg

npm

wrangler-cfg is a CLI tool that migrates Cloudflare Workers configuration files from TOML to JSONC.

⚠️ Ensure your project uses wrangler version 3.91.0 or later. ⚠️

Quick Start Guide

Follow these steps to migrate your configuration to JSONC:

  1. Navigate to Your Project's Root Directory
    Make sure you are in the directory that contains your wrangler.toml file.

  2. Migrate the Configuration
    Run the following command to output the migrated JSONC configuration:

npx wrangler-cfg migrate --to=jsonc
  1. Save the Migrated Configuration (Optional) If you want to automatically create a wrangler.jsonc file in your project, run:
npx wrangler-cfg migrate --to=jsonc --save

About

Migrate your Wrangler configuration from TOML to JSONC syntax.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •