| @arkenv/nextjs | major |
|---|---|
| @arkenv/nuxt | major |
| @arkenv/vite-plugin | major |
| @arkenv/bun-plugin | major |
Framework plugins no longer declare arkenv as a regular dependency. arkenv is now declared as a peerDependency with a caret range (^1.0.0-alpha.1), ensuring a single shared instance across all plugins and the host application.
This change prevents duplicate instances of arkenv in node_modules, which could break ArkType structural typing and schema validation at runtime.
Plugins affected:
@arkenv/nextjs@arkenv/nuxt@arkenv/vite-plugin@arkenv/bun-plugin
Before:
npm install @arkenv/nextjsAfter:
npm install arkenv @arkenv/nextjsBREAKING CHANGE: Users must now install arkenv alongside the plugin. Previously, arkenv was automatically pulled in as a regular dependency.