Minor Changes
-
#593
2abe62aThanks @kjs3! - Added support for specifying multiple--path/-pflags from the CLI (e.g.varlock load -p ./envs -p ./overrides). Later paths take higher precedence. This brings the CLI to parity with the existingpackage.jsonvarlock.loadPatharray support. -
#599
c498964- AddnoTrailingSlashandmatches(regex) options to theurldata type. Add regex literal syntax (/pattern/flags) as a new language feature, deprecating theregex()function wrapper. -
#602
5841609- In non-CI environments,VARLOCK_BRANCHnow auto-detects the current git branch viagit branch --show-current. Previously it was only populated in CI environments from platform environment variables.
Patch Changes
-
#592
6031678Thanks @TeaSeaLancs! - Fix execSyncVarlock not working in a shell-less environment -
#594
baee30d- Fixdeclare module 'varlock/env'type augmentation breaking in monorepo setups where multiple packages each have their own.env.schemaand generatedenv.d.ts. Use unique type aliases per schema so thatCoercedEnvSchemaandEnvSchemaAsStringsnames don't collide when multipleenv.d.tsfiles 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))