Skip to content

feat(env): simplify local and production configuration - #311

Closed
TheAlexLichter wants to merge 3 commits into
mainfrom
feat/simplify-env-secrets
Closed

TheAlexLichter wants to merge 3 commits into
mainfrom
feat/simplify-env-secrets

Conversation

@TheAlexLichter

Copy link
Copy Markdown
Member

Simplifies environment handling by making .env the only local development source and moving production configuration to remote secrets.

  • Removes .env.example generation and the .secret()/.public() schema modifiers
  • Updates deploy validation to reject server environment keys baked into plaintext Worker variables while allowing client VITE_* values from build inputs or schema defaults.
  • Improves schema consistency across Vite, runtime, CLI, and HMR by using shared environment helpers and a process global registry.
  • Refreshes CLI guidance, documentation, playground configuration, and relevant tests to reflect the new environment model.

@TheAlexLichter
TheAlexLichter force-pushed the feat/simplify-env-secrets branch 2 times, most recently from daee572 to 0842f6f Compare September 14, 2026 08:27
@TheAlexLichter
TheAlexLichter force-pushed the feat/simplify-env-secrets branch from 0842f6f to 95cc099 Compare September 15, 2026 14:30
@TheAlexLichter
TheAlexLichter marked this pull request as ready for review September 15, 2026 20:52
@cpojer

cpojer commented Sep 16, 2026

Copy link
Copy Markdown
Member

Thanks, I'm rebasing on main and cherry-picking.

@cpojer cpojer closed this Sep 16, 2026
@TheAlexLichter
TheAlexLichter deleted the feat/simplify-env-secrets branch September 16, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants