[create-cloudflare] Use Wrangler 4 in Hello World templates - #15126
Conversation
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
✅ All changesets look good |
|
Wrangler 4 is the current major, so No logic bugs, security issues, compatibility violations, or incorrect behavior. The pre-existing dependency ordering and the untouched Python/other templates are out of scope and not defects introduced by this PR. LGTM |
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/config
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
joe345-str
left a comment
There was a problem hiding this comment.
signed off: joe345-str/joeydonner1979@gmail.com
| }, | ||
| "devDependencies": { | ||
| "@cloudflare/vitest-pool-workers": "^0.12.4", | ||
| "wrangler": "^3.101.0", |
There was a problem hiding this comment.
Signed off: joe345-str/joeydonner1979@gmail.com
| "@cloudflare/vitest-pool-workers": "^0.12.4", | ||
| "typescript": "^5.5.2", | ||
| "vitest": "~3.2.0", | ||
| "wrangler": "^3.101.0" |
There was a problem hiding this comment.
Signed off: joe345-str/joeydonner1979@gmail.com
| "devDependencies": { | ||
| "@cloudflare/vitest-pool-workers": "^0.12.4", | ||
| "vitest": "~3.2.0", | ||
| "wrangler": "^3.101.0" |
There was a problem hiding this comment.
Signed off: joe345-str/joeydonner1979@gmail.com
| "@cloudflare/vitest-pool-workers": "^0.12.4", | ||
| "typescript": "^5.5.2", | ||
| "vitest": "~3.2.0", | ||
| "wrangler": "^3.101.0" |
There was a problem hiding this comment.
signed off: joe345-str/joeydonner1979@gmail.com
Update the Wrangler devDependency range in the JavaScript and TypeScript Hello World templates, including the assets variants, from
^3.101.0to^4.This is not the final Wrangler version installed in a generated project. During C3 configuration,
installWrangler()explicitly installswrangler@latestand updates the generatedpackage.json. This change only aligns the template's initial bootstrap dependency with the current major, avoiding a confusing stale range and a redundant Wrangler 3 install before C3 replaces it.pnpm checkpasses locally.A picture of a cute animal (not mandatory, but encouraged)