@generacy-ai/config 0.2.0 → 0.3.0
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.
|
@@ -16,14 +16,32 @@ export declare const OrchestratorSettingsSchema: z.ZodObject<{
|
|
|
16
16
|
labelMonitor: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
webhookSetup: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
smeeChannelUrl: z.ZodOptional<z.ZodString>;
|
|
19
|
+
/**
|
|
20
|
+
* Per-repo override for the validate-phase command. When set, it replaces the
|
|
21
|
+
* orchestrator's global `validateCommand` for jobs in this repo. The global
|
|
22
|
+
* default (`pnpm test && pnpm build`) assumes a `test` script and a monorepo;
|
|
23
|
+
* single-package repos (e.g. an Astro site with only a `build` script) set
|
|
24
|
+
* this to `pnpm build` so the validate phase doesn't fail on a missing script.
|
|
25
|
+
*/
|
|
26
|
+
validateCommand: z.ZodOptional<z.ZodString>;
|
|
27
|
+
/**
|
|
28
|
+
* Per-repo override for the pre-validate install command. Empty string skips
|
|
29
|
+
* the install step. When set, it replaces the orchestrator's global
|
|
30
|
+
* `preValidateCommand` for jobs in this repo.
|
|
31
|
+
*/
|
|
32
|
+
preValidateCommand: z.ZodOptional<z.ZodString>;
|
|
19
33
|
}, "strip", z.ZodTypeAny, {
|
|
20
34
|
labelMonitor?: boolean | undefined;
|
|
21
35
|
webhookSetup?: boolean | undefined;
|
|
22
36
|
smeeChannelUrl?: string | undefined;
|
|
37
|
+
validateCommand?: string | undefined;
|
|
38
|
+
preValidateCommand?: string | undefined;
|
|
23
39
|
}, {
|
|
24
40
|
labelMonitor?: boolean | undefined;
|
|
25
41
|
webhookSetup?: boolean | undefined;
|
|
26
42
|
smeeChannelUrl?: string | undefined;
|
|
43
|
+
validateCommand?: string | undefined;
|
|
44
|
+
preValidateCommand?: string | undefined;
|
|
27
45
|
}>;
|
|
28
46
|
export declare const TemplateConfigSchema: z.ZodObject<{
|
|
29
47
|
project: z.ZodOptional<z.ZodObject<{
|
|
@@ -50,14 +68,32 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
50
68
|
labelMonitor: z.ZodOptional<z.ZodBoolean>;
|
|
51
69
|
webhookSetup: z.ZodOptional<z.ZodBoolean>;
|
|
52
70
|
smeeChannelUrl: z.ZodOptional<z.ZodString>;
|
|
71
|
+
/**
|
|
72
|
+
* Per-repo override for the validate-phase command. When set, it replaces the
|
|
73
|
+
* orchestrator's global `validateCommand` for jobs in this repo. The global
|
|
74
|
+
* default (`pnpm test && pnpm build`) assumes a `test` script and a monorepo;
|
|
75
|
+
* single-package repos (e.g. an Astro site with only a `build` script) set
|
|
76
|
+
* this to `pnpm build` so the validate phase doesn't fail on a missing script.
|
|
77
|
+
*/
|
|
78
|
+
validateCommand: z.ZodOptional<z.ZodString>;
|
|
79
|
+
/**
|
|
80
|
+
* Per-repo override for the pre-validate install command. Empty string skips
|
|
81
|
+
* the install step. When set, it replaces the orchestrator's global
|
|
82
|
+
* `preValidateCommand` for jobs in this repo.
|
|
83
|
+
*/
|
|
84
|
+
preValidateCommand: z.ZodOptional<z.ZodString>;
|
|
53
85
|
}, "strip", z.ZodTypeAny, {
|
|
54
86
|
labelMonitor?: boolean | undefined;
|
|
55
87
|
webhookSetup?: boolean | undefined;
|
|
56
88
|
smeeChannelUrl?: string | undefined;
|
|
89
|
+
validateCommand?: string | undefined;
|
|
90
|
+
preValidateCommand?: string | undefined;
|
|
57
91
|
}, {
|
|
58
92
|
labelMonitor?: boolean | undefined;
|
|
59
93
|
webhookSetup?: boolean | undefined;
|
|
60
94
|
smeeChannelUrl?: string | undefined;
|
|
95
|
+
validateCommand?: string | undefined;
|
|
96
|
+
preValidateCommand?: string | undefined;
|
|
61
97
|
}>>;
|
|
62
98
|
}, "strip", z.ZodTypeAny, {
|
|
63
99
|
repos: {
|
|
@@ -72,6 +108,8 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
72
108
|
labelMonitor?: boolean | undefined;
|
|
73
109
|
webhookSetup?: boolean | undefined;
|
|
74
110
|
smeeChannelUrl?: string | undefined;
|
|
111
|
+
validateCommand?: string | undefined;
|
|
112
|
+
preValidateCommand?: string | undefined;
|
|
75
113
|
} | undefined;
|
|
76
114
|
}, {
|
|
77
115
|
repos: {
|
|
@@ -86,6 +124,8 @@ export declare const TemplateConfigSchema: z.ZodObject<{
|
|
|
86
124
|
labelMonitor?: boolean | undefined;
|
|
87
125
|
webhookSetup?: boolean | undefined;
|
|
88
126
|
smeeChannelUrl?: string | undefined;
|
|
127
|
+
validateCommand?: string | undefined;
|
|
128
|
+
preValidateCommand?: string | undefined;
|
|
89
129
|
} | undefined;
|
|
90
130
|
}>;
|
|
91
131
|
export type TemplateConfig = z.infer<typeof TemplateConfigSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-schema.d.ts","sourceRoot":"","sources":["../src/template-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"template-schema.d.ts","sourceRoot":"","sources":["../src/template-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAI9B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;IAIrC;;;;;;OAMG;;IAEH;;;;OAIG;;;;;;;;;;;;;;EAEH,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;QAhB/B;;;;;;WAMG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUH,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
package/dist/template-schema.js
CHANGED
|
@@ -8,6 +8,20 @@ export const OrchestratorSettingsSchema = z.object({
|
|
|
8
8
|
labelMonitor: z.boolean().optional(),
|
|
9
9
|
webhookSetup: z.boolean().optional(),
|
|
10
10
|
smeeChannelUrl: z.string().url().optional(),
|
|
11
|
+
/**
|
|
12
|
+
* Per-repo override for the validate-phase command. When set, it replaces the
|
|
13
|
+
* orchestrator's global `validateCommand` for jobs in this repo. The global
|
|
14
|
+
* default (`pnpm test && pnpm build`) assumes a `test` script and a monorepo;
|
|
15
|
+
* single-package repos (e.g. an Astro site with only a `build` script) set
|
|
16
|
+
* this to `pnpm build` so the validate phase doesn't fail on a missing script.
|
|
17
|
+
*/
|
|
18
|
+
validateCommand: z.string().optional(),
|
|
19
|
+
/**
|
|
20
|
+
* Per-repo override for the pre-validate install command. Empty string skips
|
|
21
|
+
* the install step. When set, it replaces the orchestrator's global
|
|
22
|
+
* `preValidateCommand` for jobs in this repo.
|
|
23
|
+
*/
|
|
24
|
+
preValidateCommand: z.string().optional(),
|
|
11
25
|
});
|
|
12
26
|
export const TemplateConfigSchema = z.object({
|
|
13
27
|
project: z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-schema.js","sourceRoot":"","sources":["../src/template-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,CAAC,CAA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