github dmno-dev/varlock varlock@0.8.0

latest releases: varlock@0.8.1, env-spec-language@0.1.2
16 hours ago

Minor Changes

  • #593 2abe62a Thanks @kjs3! - Added support for specifying multiple --path / -p flags from the CLI (e.g. varlock load -p ./envs -p ./overrides). Later paths take higher precedence. This brings the CLI to parity with the existing package.json varlock.loadPath array support.

  • #599 c498964 - Add noTrailingSlash and matches (regex) options to the url data type. Add regex literal syntax (/pattern/flags) as a new language feature, deprecating the regex() function wrapper.

  • #602 5841609 - In non-CI environments, VARLOCK_BRANCH now auto-detects the current git branch via git branch --show-current. Previously it was only populated in CI environments from platform environment variables.

Patch Changes

  • #592 6031678 Thanks @TeaSeaLancs! - Fix execSyncVarlock not working in a shell-less environment

  • #594 baee30d - Fix declare module 'varlock/env' type augmentation breaking in monorepo setups where multiple packages each have their own .env.schema and generated env.d.ts. Use unique type aliases per schema so that CoercedEnvSchema and EnvSchemaAsStrings names don't collide when multiple env.d.ts files are in the same TypeScript compilation.

  • #596 3170205 - Fix false warning 'found in environment but not connected to plugin' when standard vars are already wired via init decorator (e.g. @initOp(token=$OP_SERVICE_ACCOUNT_TOKEN))

Don't miss a new varlock release

NewReleases is sending notifications on new releases.