Packages

@cloudflare/autoconfig

0.13.3 · 20 Nov 2026MIT OR Apache-2.09.9k / weekRepositoryHomepagenpmAtom feed

Your version

0.13.2

18 Nov 2026Where it was published

0.13.3 is the newest release of 0.13.x.

In short

1 breaking5 fixed4 internal

  • Breaking

    Require Vite 7 or later when autoconfiguring Vite projects for cf

Release note

Patch Changes

  • Fix Astro projects set up for cf getting a wrangler.jsonc instead of a cloudflare.config.ts

    Autoconfig installed astro@beta to get the astro add that writes cloudflare.config.ts, but package managers such as pnpm kept the project's newer stable Astro, whose astro add writes wrangler.jsonc, so the build failed. Autoconfig now runs the beta's astro add once without installing it, and keeps the project's Astro version.

  • Breaking

    Require Vite 7 or later when autoconfiguring Vite projects for cf

    cf installs @cloudflare/vite-plugin v2, 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 cf for SolidStart 2.2.3 and later

    SolidStart 2.2.3 keeps @solidjs/start out of server pre-bundling itself, so autoconfig now adds environments.ssr.optimizeDeps.exclude to 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-plugin was 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 require errors when importing packages from ES modules

    Importing these packages in a Node.js ES module could fail with Dynamic require of "..." is not supported when a dependency loaded a Node.js built-in. These imports now work without requiring a CommonJS wrapper.

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.