github dmno-dev/varlock varlock@0.7.1

8 hours ago

Patch Changes

  • #540 0d25aa5 - Fix incorrect validation error message for endsWith string constraint - it was saying "Value must start with" instead of "Value must end with"

  • #543 004e181 - Fix execSyncVarlock breaking when project path contains spaces

    Use execFileSync instead of execSync for the fallback varlock path resolution to avoid shell interpretation of spaces in directory paths.

  • #527 e67ee2f - Improve invalid config handling in CLI and Vite integration

    • varlock load --format json-full now outputs partial JSON (with errors field) even when validation fails, enabling consumers to access sources and valid config items
    • Vite plugin gracefully handles invalid config in dev mode: shows error page and automatically recovers when the config is fixed
    • Vite build output now includes specific error details when config validation fails

Don't miss a new varlock release

NewReleases is sending notifications on new releases.