@vibe-validate/config 0.18.0-rc.1 → 0.18.1
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/config.schema.json +9 -0
- package/dist/schema.d.ts +30 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +11 -0
- package/package.json +2 -2
package/config.schema.json
CHANGED
package/dist/schema.d.ts
CHANGED
|
@@ -267,6 +267,17 @@ export declare const CIConfigSchema: z.ZodObject<{
|
|
|
267
267
|
nodeVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
268
268
|
/** Operating systems to test in CI (default: ['ubuntu-latest']) */
|
|
269
269
|
os: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
270
|
+
/**
|
|
271
|
+
* Package manager to use in CI workflows (default: auto-detect)
|
|
272
|
+
*
|
|
273
|
+
* Auto-detection priority:
|
|
274
|
+
* 1. package.json packageManager field
|
|
275
|
+
* 2. Lock file detection (bun.lockb, yarn.lock, package-lock.json, pnpm-lock.yaml)
|
|
276
|
+
* Note: npm preferred over pnpm when both exist (more conservative default)
|
|
277
|
+
*
|
|
278
|
+
* Explicit configuration overrides auto-detection.
|
|
279
|
+
*/
|
|
280
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun"]>>;
|
|
270
281
|
/** Fail fast in matrix strategy (default: false) */
|
|
271
282
|
failFast: z.ZodOptional<z.ZodBoolean>;
|
|
272
283
|
/** Enable coverage reporting (default: false) */
|
|
@@ -286,11 +297,13 @@ export declare const CIConfigSchema: z.ZodObject<{
|
|
|
286
297
|
failFast?: boolean | undefined;
|
|
287
298
|
nodeVersions?: string[] | undefined;
|
|
288
299
|
os?: string[] | undefined;
|
|
300
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
289
301
|
coverage?: boolean | undefined;
|
|
290
302
|
}, {
|
|
291
303
|
failFast?: boolean | undefined;
|
|
292
304
|
nodeVersions?: string[] | undefined;
|
|
293
305
|
os?: string[] | undefined;
|
|
306
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
294
307
|
coverage?: boolean | undefined;
|
|
295
308
|
disableWorkflowCheck?: boolean | undefined;
|
|
296
309
|
}>;
|
|
@@ -690,6 +703,17 @@ export declare const VibeValidateConfigSchema: z.ZodObject<{
|
|
|
690
703
|
nodeVersions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
691
704
|
/** Operating systems to test in CI (default: ['ubuntu-latest']) */
|
|
692
705
|
os: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
706
|
+
/**
|
|
707
|
+
* Package manager to use in CI workflows (default: auto-detect)
|
|
708
|
+
*
|
|
709
|
+
* Auto-detection priority:
|
|
710
|
+
* 1. package.json packageManager field
|
|
711
|
+
* 2. Lock file detection (bun.lockb, yarn.lock, package-lock.json, pnpm-lock.yaml)
|
|
712
|
+
* Note: npm preferred over pnpm when both exist (more conservative default)
|
|
713
|
+
*
|
|
714
|
+
* Explicit configuration overrides auto-detection.
|
|
715
|
+
*/
|
|
716
|
+
packageManager: z.ZodOptional<z.ZodEnum<["npm", "pnpm", "yarn", "bun"]>>;
|
|
693
717
|
/** Fail fast in matrix strategy (default: false) */
|
|
694
718
|
failFast: z.ZodOptional<z.ZodBoolean>;
|
|
695
719
|
/** Enable coverage reporting (default: false) */
|
|
@@ -709,11 +733,13 @@ export declare const VibeValidateConfigSchema: z.ZodObject<{
|
|
|
709
733
|
failFast?: boolean | undefined;
|
|
710
734
|
nodeVersions?: string[] | undefined;
|
|
711
735
|
os?: string[] | undefined;
|
|
736
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
712
737
|
coverage?: boolean | undefined;
|
|
713
738
|
}, {
|
|
714
739
|
failFast?: boolean | undefined;
|
|
715
740
|
nodeVersions?: string[] | undefined;
|
|
716
741
|
os?: string[] | undefined;
|
|
742
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
717
743
|
coverage?: boolean | undefined;
|
|
718
744
|
disableWorkflowCheck?: boolean | undefined;
|
|
719
745
|
}>>;
|
|
@@ -963,6 +989,7 @@ export declare const VibeValidateConfigSchema: z.ZodObject<{
|
|
|
963
989
|
failFast?: boolean | undefined;
|
|
964
990
|
nodeVersions?: string[] | undefined;
|
|
965
991
|
os?: string[] | undefined;
|
|
992
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
966
993
|
coverage?: boolean | undefined;
|
|
967
994
|
} | undefined;
|
|
968
995
|
}, {
|
|
@@ -994,6 +1021,7 @@ export declare const VibeValidateConfigSchema: z.ZodObject<{
|
|
|
994
1021
|
failFast?: boolean | undefined;
|
|
995
1022
|
nodeVersions?: string[] | undefined;
|
|
996
1023
|
os?: string[] | undefined;
|
|
1024
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
997
1025
|
coverage?: boolean | undefined;
|
|
998
1026
|
disableWorkflowCheck?: boolean | undefined;
|
|
999
1027
|
} | undefined;
|
|
@@ -1096,6 +1124,7 @@ export declare const validateConfig: (data: unknown) => {
|
|
|
1096
1124
|
failFast?: boolean | undefined;
|
|
1097
1125
|
nodeVersions?: string[] | undefined;
|
|
1098
1126
|
os?: string[] | undefined;
|
|
1127
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
1099
1128
|
coverage?: boolean | undefined;
|
|
1100
1129
|
} | undefined;
|
|
1101
1130
|
};
|
|
@@ -1167,6 +1196,7 @@ export declare const safeValidateConfig: (data: unknown) => {
|
|
|
1167
1196
|
failFast?: boolean | undefined;
|
|
1168
1197
|
nodeVersions?: string[] | undefined;
|
|
1169
1198
|
os?: string[] | undefined;
|
|
1199
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
1170
1200
|
coverage?: boolean | undefined;
|
|
1171
1201
|
} | undefined;
|
|
1172
1202
|
};
|
package/dist/schema.d.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEM,CAAC;AAGZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkD,CAAC;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAC"}
|
package/dist/schema.js
CHANGED
|
@@ -76,6 +76,17 @@ export const CIConfigSchema = z.object({
|
|
|
76
76
|
nodeVersions: z.array(z.string()).optional(),
|
|
77
77
|
/** Operating systems to test in CI (default: ['ubuntu-latest']) */
|
|
78
78
|
os: z.array(z.string()).optional(),
|
|
79
|
+
/**
|
|
80
|
+
* Package manager to use in CI workflows (default: auto-detect)
|
|
81
|
+
*
|
|
82
|
+
* Auto-detection priority:
|
|
83
|
+
* 1. package.json packageManager field
|
|
84
|
+
* 2. Lock file detection (bun.lockb, yarn.lock, package-lock.json, pnpm-lock.yaml)
|
|
85
|
+
* Note: npm preferred over pnpm when both exist (more conservative default)
|
|
86
|
+
*
|
|
87
|
+
* Explicit configuration overrides auto-detection.
|
|
88
|
+
*/
|
|
89
|
+
packageManager: z.enum(['npm', 'pnpm', 'yarn', 'bun']).optional(),
|
|
79
90
|
/** Fail fast in matrix strategy (default: false) */
|
|
80
91
|
failFast: z.boolean().optional(),
|
|
81
92
|
/** Enable coverage reporting (default: false) */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-validate/config",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "Configuration system for vibe-validate with TypeScript-first design and config templates",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"yaml": "^2.8.2",
|
|
38
38
|
"zod": "^3.25.76",
|
|
39
39
|
"zod-to-json-schema": "^3.25.0",
|
|
40
|
-
"@vibe-validate/utils": "0.18.
|
|
40
|
+
"@vibe-validate/utils": "0.18.1"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20.0.0"
|