@cloudflare/autoconfig
0.13.3 · 20 Nov 2026MIT OR Apache-2.09.9k / weekRepositoryHomepagenpmAtom feed
Latest releases
All 64 releases- 0.13.x · latest line
0.13.3
20 Nov 2026Generate cf configuration without a runtime dependency on cf
Use a type-only import when generating
cloudflare.config.ts, so static directories without apackage.jsonor local cf installation can load their configuration after setup.
Patch Changes
Generate cf configuration without a runtime dependency on cf
Use a type-only import when generating
cloudflare.config.ts, so static directories without apackage.jsonor local cf installation can load their configuration after setup.
0.13.2
18 Nov 2026- Breaking
Require Vite 7 or later when autoconfiguring Vite projects for
cfcfinstalls@cloudflare/vite-pluginv2, which requires Vite 7 or 8, so a Vite 6 project is now rejected before any changes are made instead of failing during dependency installation. Fix Astro projects set up for cf getting a
wrangler.jsoncinstead of acloudflare.config.tsAutoconfig installed
astro@betato get theastro addthat writescloudflare.config.ts, but package managers such as pnpm kept the project's newer stable Astro, whoseastro addwriteswrangler.jsonc, so the build failed. Autoconfig now runs the beta'sastro addonce without installing it, and keeps the project's Astro version.Stop adding the SolidStart pre-bundling exclude on
cffor SolidStart 2.2.3 and laterSolidStart 2.2.3 keeps
@solidjs/startout of server pre-bundling itself, so autoconfig now addsenvironments.ssr.optimizeDeps.excludeto the Vite config, or asks you to add it, only for earlier 2.x versions.
Patch Changes
Fix Astro projects set up for cf getting a
wrangler.jsoncinstead of acloudflare.config.tsAutoconfig installed
astro@betato get theastro addthat writescloudflare.config.ts, but package managers such as pnpm kept the project's newer stable Astro, whoseastro addwriteswrangler.jsonc, so the build failed. Autoconfig now runs the beta'sastro addonce without installing it, and keeps the project's Astro version.- Breaking
Require Vite 7 or later when autoconfiguring Vite projects for
cfcfinstalls@cloudflare/vite-pluginv2, which requires Vite 7 or 8, so a Vite 6 project is now rejected before any changes are made instead of failing during dependency installation. Stop adding the SolidStart pre-bundling exclude on
cffor SolidStart 2.2.3 and laterSolidStart 2.2.3 keeps
@solidjs/startout of server pre-bundling itself, so autoconfig now addsenvironments.ssr.optimizeDeps.excludeto the Vite config, or asks you to add it, only for earlier 2.x versions.Suggest a compatible Cloudflare Vite plugin version when the installed one doesn't support cf
When
@cloudflare/vite-pluginwas missing or too old, autoconfig suggested installing@cloudflare/vite-plugin@beta, which resolves to a version that cf rejects. The suggested command now installs@cloudflare/vite-plugin@^2.0.0-rc.0, matching the version autoconfig installs when it configures a project for cf.Correct the dry-run setup message to say "exiting now" instead of "existing now".
The previous wording contained a typo and appeared in Wrangler setup output and other consumers of shared autoconfig.
Fix
Dynamic requireerrors when importing packages from ES modulesImporting these packages in a Node.js ES module could fail with
Dynamic require of "..." is not supportedwhen a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper.
0.13.1
17 Nov 2026Use vinext 1.4.6 or later when configuring Next.js projects
Autoconfig now runs
vinext initwithvinext@^1.4.6(previously^1.3.0), so newly configured Next.js projects pick up the latest vinext fixes.
Patch Changes
Use vinext 1.4.6 or later when configuring Next.js projects
Autoconfig now runs
vinext initwithvinext@^1.4.6(previously^1.3.0), so newly configured Next.js projects pick up the latest vinext fixes.
Dependency tracking
Know when your own dependencies move
@cloudflare/autoconfig published 64 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 21 Nov 2026. Releases and advisories last read 21 Nov 2026.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.