varlock 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-load.js +2 -2
- package/dist/chunk-3I5FHXMJ.js +162 -0
- package/dist/chunk-3I5FHXMJ.js.map +1 -0
- package/dist/{chunk-BXU4SN4C.js → chunk-3LT4WWHG.js} +6 -5
- package/dist/chunk-3LT4WWHG.js.map +1 -0
- package/dist/{chunk-OILFXJ3P.js → chunk-AJCLNVYI.js} +6 -5
- package/dist/chunk-AJCLNVYI.js.map +1 -0
- package/dist/chunk-AKWP77PS.js +387 -0
- package/dist/chunk-AKWP77PS.js.map +1 -0
- package/dist/{chunk-NBA3OXMK.js → chunk-BIIYEXRU.js} +4 -4
- package/dist/{chunk-NBA3OXMK.js.map → chunk-BIIYEXRU.js.map} +1 -1
- package/dist/chunk-CHQDS2PI.js +138 -0
- package/dist/chunk-CHQDS2PI.js.map +1 -0
- package/dist/chunk-D5YM4IWS.js +79 -0
- package/dist/chunk-D5YM4IWS.js.map +1 -0
- package/dist/{chunk-DIHMO4NV.js → chunk-EBOBYFMY.js} +4 -4
- package/dist/{chunk-DIHMO4NV.js.map → chunk-EBOBYFMY.js.map} +1 -1
- package/dist/{chunk-OER3RWXM.js → chunk-EPWHAD6X.js} +8 -5
- package/dist/chunk-EPWHAD6X.js.map +1 -0
- package/dist/{chunk-CU6IMJWG.js → chunk-G2GPGCAP.js} +1465 -203
- package/dist/chunk-G2GPGCAP.js.map +1 -0
- package/dist/chunk-GXNQVEXD.js +15 -0
- package/dist/chunk-GXNQVEXD.js.map +1 -0
- package/dist/{chunk-SHONHP24.js → chunk-GYK3QFZB.js} +8 -4
- package/dist/chunk-GYK3QFZB.js.map +1 -0
- package/dist/{chunk-IVCAFVHJ.js → chunk-LQ25CRHF.js} +7 -136
- package/dist/chunk-LQ25CRHF.js.map +1 -0
- package/dist/{chunk-QUZ6CTCN.js → chunk-MOXREUY6.js} +3 -3
- package/dist/{chunk-QUZ6CTCN.js.map → chunk-MOXREUY6.js.map} +1 -1
- package/dist/chunk-N5O4Z32O.js +74 -0
- package/dist/chunk-N5O4Z32O.js.map +1 -0
- package/dist/{chunk-YO2BMQWY.js → chunk-P4WZ2JXY.js} +5 -5
- package/dist/{chunk-YO2BMQWY.js.map → chunk-P4WZ2JXY.js.map} +1 -1
- package/dist/{chunk-LNWUVR6Y.js → chunk-TY6CHCQK.js} +20 -9
- package/dist/chunk-TY6CHCQK.js.map +1 -0
- package/dist/{chunk-ZLEBXP2N.js → chunk-U3UHTU2X.js} +8 -17
- package/dist/chunk-U3UHTU2X.js.map +1 -0
- package/dist/{chunk-GMRNV7YA.js → chunk-WUI34NTD.js} +5 -5
- package/dist/{chunk-GMRNV7YA.js.map → chunk-WUI34NTD.js.map} +1 -1
- package/dist/cli/cli-executable.js +177 -26
- package/dist/cli/cli-executable.js.map +1 -1
- package/dist/config-item-I7ZL2FXU.js +5 -0
- package/dist/{config-item-L25YE5DP.js.map → config-item-I7ZL2FXU.js.map} +1 -1
- package/dist/dotenv-compat.js +2 -2
- package/dist/{env-graph-Bat7yIkB.d.ts → env-graph-CwJhXKDk.d.ts} +59 -1
- package/dist/explain.command-IQOZKKSF.js +12 -0
- package/dist/explain.command-IQOZKKSF.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/init.command-NVADFQ55.js +12 -0
- package/dist/{init.command-F4CPELAW.js.map → init.command-NVADFQ55.js.map} +1 -1
- package/dist/install-plugin.command-WE66PLU2.js +11 -0
- package/dist/install-plugin.command-WE66PLU2.js.map +1 -0
- package/dist/lib/exec-sync-varlock.d.ts +7 -0
- package/dist/lib/exec-sync-varlock.js +1 -1
- package/dist/load.command-NKKZAEE5.js +12 -0
- package/dist/{load.command-GUYNXNTO.js.map → load.command-NKKZAEE5.js.map} +1 -1
- package/dist/plugin-lib.d.ts +2 -2
- package/dist/printenv.command-TY5KCVC3.js +12 -0
- package/dist/{printenv.command-75MAGJZM.js.map → printenv.command-TY5KCVC3.js.map} +1 -1
- package/dist/run.command-PI2VAO7M.js +13 -0
- package/dist/{run.command-QRQ5IIXL.js.map → run.command-PI2VAO7M.js.map} +1 -1
- package/dist/runtime/env.d.ts +1 -1
- package/dist/scan.command-YIYJ6NTJ.js +14 -0
- package/dist/{scan.command-SMJLZV4G.js.map → scan.command-YIYJ6NTJ.js.map} +1 -1
- package/dist/telemetry.command-WYD4SOWI.js +11 -0
- package/dist/{telemetry.command-XPKAL5MV.js.map → telemetry.command-WYD4SOWI.js.map} +1 -1
- package/dist/typegen.command-5WQGI3CE.js +12 -0
- package/dist/{typegen.command-ZWYOYJC4.js.map → typegen.command-5WQGI3CE.js.map} +1 -1
- package/package.json +3 -2
- package/dist/chunk-B3FGXIYM.js +0 -1434
- package/dist/chunk-B3FGXIYM.js.map +0 -1
- package/dist/chunk-BXU4SN4C.js.map +0 -1
- package/dist/chunk-CU6IMJWG.js.map +0 -1
- package/dist/chunk-IVCAFVHJ.js.map +0 -1
- package/dist/chunk-LNWUVR6Y.js.map +0 -1
- package/dist/chunk-OER3RWXM.js.map +0 -1
- package/dist/chunk-OILFXJ3P.js.map +0 -1
- package/dist/chunk-SHONHP24.js.map +0 -1
- package/dist/chunk-TVFOIGJP.js +0 -59
- package/dist/chunk-TVFOIGJP.js.map +0 -1
- package/dist/chunk-ZLEBXP2N.js.map +0 -1
- package/dist/config-item-L25YE5DP.js +0 -5
- package/dist/init.command-F4CPELAW.js +0 -11
- package/dist/load.command-GUYNXNTO.js +0 -11
- package/dist/printenv.command-75MAGJZM.js +0 -11
- package/dist/run.command-QRQ5IIXL.js +0 -12
- package/dist/scan.command-SMJLZV4G.js +0 -12
- package/dist/telemetry.command-XPKAL5MV.js +0 -10
- package/dist/typegen.command-ZWYOYJC4.js +0 -11
|
@@ -9,6 +9,13 @@ import { execSync } from 'child_process';
|
|
|
9
9
|
declare function execSyncVarlock(command: string, opts?: (Parameters<typeof execSync>[1] & {
|
|
10
10
|
exitOnError?: boolean;
|
|
11
11
|
showLogsOnError?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Additional directory to start searching for the varlock binary from.
|
|
14
|
+
* Searched before process.cwd(). Pass `import.meta.dirname` from the
|
|
15
|
+
* call-site so that in monorepos the binary installed next to the
|
|
16
|
+
* importing package is found even when cwd is an unrelated workspace root.
|
|
17
|
+
*/
|
|
18
|
+
callerDir?: string;
|
|
12
19
|
})): string;
|
|
13
20
|
|
|
14
21
|
export { execSyncVarlock };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { commandFn, commandSpec, formatShellValue } from './chunk-TY6CHCQK.js';
|
|
2
|
+
import './chunk-4A54P4EM.js';
|
|
3
|
+
import './chunk-EPWHAD6X.js';
|
|
4
|
+
import './chunk-BIIYEXRU.js';
|
|
5
|
+
import './chunk-CHQDS2PI.js';
|
|
6
|
+
import './chunk-LQ25CRHF.js';
|
|
7
|
+
import './chunk-G2GPGCAP.js';
|
|
8
|
+
import './chunk-6CCHLM3U.js';
|
|
9
|
+
import './chunk-XLYSNOR3.js';
|
|
10
|
+
import './chunk-6PEHRAEP.js';
|
|
11
|
+
//# sourceMappingURL=load.command-NKKZAEE5.js.map
|
|
12
|
+
//# sourceMappingURL=load.command-NKKZAEE5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"load.command-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"load.command-NKKZAEE5.js"}
|
package/dist/plugin-lib.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VarlockPlugin } from './env-graph-
|
|
2
|
-
export { C as CoercionError, D as Debugger, R as ResolutionError, a as Resolver, S as SchemaError, b as ValidationError, c as createDebug } from './env-graph-
|
|
1
|
+
import { V as VarlockPlugin } from './env-graph-CwJhXKDk.js';
|
|
2
|
+
export { C as CoercionError, D as Debugger, R as ResolutionError, a as Resolver, S as SchemaError, b as ValidationError, c as createDebug } from './env-graph-CwJhXKDk.js';
|
|
3
3
|
import '@env-spec/parser';
|
|
4
4
|
import '@env-spec/utils/type-utils';
|
|
5
5
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { commandFn, commandSpec } from './chunk-AJCLNVYI.js';
|
|
2
|
+
import './chunk-4A54P4EM.js';
|
|
3
|
+
import './chunk-EPWHAD6X.js';
|
|
4
|
+
import './chunk-BIIYEXRU.js';
|
|
5
|
+
import './chunk-CHQDS2PI.js';
|
|
6
|
+
import './chunk-LQ25CRHF.js';
|
|
7
|
+
import './chunk-G2GPGCAP.js';
|
|
8
|
+
import './chunk-6CCHLM3U.js';
|
|
9
|
+
import './chunk-XLYSNOR3.js';
|
|
10
|
+
import './chunk-6PEHRAEP.js';
|
|
11
|
+
//# sourceMappingURL=printenv.command-TY5KCVC3.js.map
|
|
12
|
+
//# sourceMappingURL=printenv.command-TY5KCVC3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"printenv.command-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"printenv.command-TY5KCVC3.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { commandFn, commandSpec } from './chunk-P4WZ2JXY.js';
|
|
2
|
+
import './chunk-4A54P4EM.js';
|
|
3
|
+
import './chunk-EPWHAD6X.js';
|
|
4
|
+
import './chunk-BIIYEXRU.js';
|
|
5
|
+
import './chunk-CHQDS2PI.js';
|
|
6
|
+
import './chunk-LQ25CRHF.js';
|
|
7
|
+
import './chunk-G2GPGCAP.js';
|
|
8
|
+
import './chunk-6CCHLM3U.js';
|
|
9
|
+
import './chunk-IMB5QAZS.js';
|
|
10
|
+
import './chunk-XLYSNOR3.js';
|
|
11
|
+
import './chunk-6PEHRAEP.js';
|
|
12
|
+
//# sourceMappingURL=run.command-PI2VAO7M.js.map
|
|
13
|
+
//# sourceMappingURL=run.command-PI2VAO7M.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"run.command-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"run.command-PI2VAO7M.js"}
|
package/dist/runtime/env.d.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { commandFn, commandSpec, getGitFiles, scanFileForValues, walkDirectory } from './chunk-U3UHTU2X.js';
|
|
2
|
+
import './chunk-GXNQVEXD.js';
|
|
3
|
+
import './chunk-GGBNUVWR.js';
|
|
4
|
+
import './chunk-EBOBYFMY.js';
|
|
5
|
+
import './chunk-4A54P4EM.js';
|
|
6
|
+
import './chunk-BIIYEXRU.js';
|
|
7
|
+
import './chunk-CHQDS2PI.js';
|
|
8
|
+
import './chunk-LQ25CRHF.js';
|
|
9
|
+
import './chunk-G2GPGCAP.js';
|
|
10
|
+
import './chunk-6CCHLM3U.js';
|
|
11
|
+
import './chunk-XLYSNOR3.js';
|
|
12
|
+
import './chunk-6PEHRAEP.js';
|
|
13
|
+
//# sourceMappingURL=scan.command-YIYJ6NTJ.js.map
|
|
14
|
+
//# sourceMappingURL=scan.command-YIYJ6NTJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"scan.command-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scan.command-YIYJ6NTJ.js"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { commandFn, commandSpec } from './chunk-3LT4WWHG.js';
|
|
2
|
+
import './chunk-EBOBYFMY.js';
|
|
3
|
+
import './chunk-4A54P4EM.js';
|
|
4
|
+
import './chunk-CHQDS2PI.js';
|
|
5
|
+
import './chunk-LQ25CRHF.js';
|
|
6
|
+
import './chunk-G2GPGCAP.js';
|
|
7
|
+
import './chunk-6CCHLM3U.js';
|
|
8
|
+
import './chunk-XLYSNOR3.js';
|
|
9
|
+
import './chunk-6PEHRAEP.js';
|
|
10
|
+
//# sourceMappingURL=telemetry.command-WYD4SOWI.js.map
|
|
11
|
+
//# sourceMappingURL=telemetry.command-WYD4SOWI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"telemetry.command-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"telemetry.command-WYD4SOWI.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { commandFn, commandSpec } from './chunk-WUI34NTD.js';
|
|
2
|
+
import './chunk-4A54P4EM.js';
|
|
3
|
+
import './chunk-EPWHAD6X.js';
|
|
4
|
+
import './chunk-BIIYEXRU.js';
|
|
5
|
+
import './chunk-CHQDS2PI.js';
|
|
6
|
+
import './chunk-LQ25CRHF.js';
|
|
7
|
+
import './chunk-G2GPGCAP.js';
|
|
8
|
+
import './chunk-6CCHLM3U.js';
|
|
9
|
+
import './chunk-XLYSNOR3.js';
|
|
10
|
+
import './chunk-6PEHRAEP.js';
|
|
11
|
+
//# sourceMappingURL=typegen.command-5WQGI3CE.js.map
|
|
12
|
+
//# sourceMappingURL=typegen.command-5WQGI3CE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"typegen.command-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"typegen.command-5WQGI3CE.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "varlock",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "AI-safe .env files: Schemas for agents, Secrets for humans.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"test": "vitest",
|
|
22
22
|
"test:ci": "vitest --run",
|
|
23
23
|
"lint": "eslint .",
|
|
24
|
-
"lint:fix": "bun run lint --fix"
|
|
24
|
+
"lint:fix": "bun run lint --fix",
|
|
25
|
+
"typecheck": "tsc --noEmit"
|
|
25
26
|
},
|
|
26
27
|
"keywords": [
|
|
27
28
|
"varlock",
|