@cloudflare/autoconfig@0.2.0
📦 cloudflare-workersView on GitHub →
✨ 2 features🐛 1 fixes🔧 2 symbols
Summary
This release enhances package manager detection by including 'nub' and improves Nuxt project configuration by preserving existing modules. It also updates several dependencies.
✨ New Features
- Wrangler now detects 'nub' as a package manager, recognizing it through `npm_config_user_agent` and an installed `nub` binary.
- Autoconfiguration for 'nub' projects is now supported by detecting `nub.lock` files, in addition to npm, pnpm, yarn, and bun.
🐛 Bug Fixes
- Existing Nuxt `modules` are now preserved when configuring a project for Cloudflare. Previously, adding `nitro-cloudflare-dev` could overwrite the `modules` array in `nuxt.config.ts`, causing modules like `@nuxt/ui` to be dropped. Existing entries are now retained, and the Cloudflare module is appended.