dawsonbooth

dawsonbooth/vite-plugin-env-schema

Build-time environment variable validation and injection for Vite

1 good first / help-wanted issue · TypeScript · last activity Jul 17, 2025

1 Open Issue Need Help Last updated: Jul 17, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Implement a new `generateTypes` option in the `vite-plugin-env-schema` plugin. This option should automatically generate a TypeScript declaration file (virtual-env.d.ts) in the project root, eliminating the need for manual type definition creation. The generated types should be compatible with various schema libraries supported by the plugin (Zod, Valibot, ArkType, Effect Schema, etc.) and should regenerate whenever the schema changes.

Complexity: 3/5
enhancement help wanted
dawsonbooth/vite-plugin-env-schema
0

Build-time environment variable validation and injection for Vite

TypeScript