Developer Platform von Cloudflare
wrangler deploy funktioniert ohne Konfigurationsdatei
Ab Wrangler 4.68.0 erkennt wrangler deploy in Projekten ohne Konfigurationsdatei automatisch das Framework, installiert benötigte Adapter, erzeugt eine wrangler.jsonc und stellt das Projekt auf Cloudflare Workers bereit.
You can now deploy any existing project to Cloudflare Workers — even without a Wrangler configuration file — and wrangler deploy will just work.
Starting with Wrangler 4.68.0, running wrangler deploy automatically configures your project by detecting your framework, installing required adapters, and deploying it to Cloudflare Workers.
Using Wrangler locally
npx wrangler deploy
When you run wrangler deploy in a project without a configuration file, Wrangler:
- Detects your framework from
package.json - Prompts you to confirm the detected settings
- Installs any required adapters
- Generates a
wrangler.jsoncconfiguration file - Deploys your project to Cloudflare Workers
You can also use wrangler setup to configure without deploying, or pass --yes to skip prompts.
Using the Cloudflare dashboard
…