Major Changes
-
#4
69e8bceThanks @ultrox! - RemovewriteEnvFileand the exportedWriteEnvFileOptionstype. The library now focuses on environment validation and typed access, with no filesystem dependency or file serialization API.This is a breaking API change. Replace calls to
envSchema.writeEnvFile(...)withenvSchema.parse(source)to validate an already supplied environment. The return value remains{ data, warnings }; exportdataas the application's typedenvobject. Environment loading and any file generation belong to direnv, the CI runner, or the deployment platform.Local development and CI use the same validation command. File-writing tests, examples, and the CI installation of direnv used by those tests have been removed.