From 56e0eabde543d817868a1c2494ba14bb8083fefb Mon Sep 17 00:00:00 2001 From: AOrps Date: Fri, 10 Jul 2026 10:51:12 +0100 Subject: [PATCH] feat(wrangler-switch): switchinfg from wrangler.toml to wrangler.jsonc Signed-off-by: AOrps --- templates/hello-world/wrangler.jsonc | 9 +++++++++ templates/hello-world/wrangler.toml | 6 ------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 templates/hello-world/wrangler.jsonc delete mode 100644 templates/hello-world/wrangler.toml diff --git a/templates/hello-world/wrangler.jsonc b/templates/hello-world/wrangler.jsonc new file mode 100644 index 000000000..d41d5789f --- /dev/null +++ b/templates/hello-world/wrangler.jsonc @@ -0,0 +1,9 @@ +{ + "$schema": "node_modules/wrangler/config-schema.json", + "name": "{{project-name}}", + "main": "build/index.js", + "compatibility_date": "{{ "now" | date: "%Y-%m-%d" }}", + "build": { + "command": "cargo install -q \"worker-build@^0.8\" && worker-build --release{% if panic_unwind %} --panic-unwind{% endif %}", + } +} diff --git a/templates/hello-world/wrangler.toml b/templates/hello-world/wrangler.toml deleted file mode 100644 index 30fc1a9ff..000000000 --- a/templates/hello-world/wrangler.toml +++ /dev/null @@ -1,6 +0,0 @@ -name = "{{project-name}}" -main = "build/index.js" -compatibility_date = "{{ "now" | date: "%Y-%m-%d" }}" - -[build] -command = "cargo install -q \"worker-build@^0.8\" && worker-build --release{% if panic_unwind %} --panic-unwind{% endif %}" \ No newline at end of file