workflow-agent-cli 2.0.1 → 2.2.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.
- package/README.md +33 -17
- package/dist/chunk-IPMSSOXR.js +293 -0
- package/dist/chunk-IPMSSOXR.js.map +1 -0
- package/dist/{chunk-X2NQJ2ZY.js → chunk-NMHWD2GA.js} +11 -6
- package/dist/chunk-NMHWD2GA.js.map +1 -0
- package/dist/cli/index.js +777 -165
- package/dist/cli/index.js.map +1 -1
- package/dist/config/index.d.ts +8 -3
- package/dist/config/index.js +9 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -4
- package/dist/schema-C1lmnd7L.d.ts +256 -0
- package/dist/scripts/postinstall.js +6 -2
- package/dist/scripts/postinstall.js.map +1 -1
- package/dist/validators/index.d.ts +1 -1
- package/dist/validators/index.js +1 -1
- package/package.json +17 -15
- package/templates/AGENT_EDITING_INSTRUCTIONS.md +226 -39
- package/templates/COMPONENT_LIBRARY.md +23 -17
- package/templates/CUSTOM_SCOPE_TEMPLATE.md +5 -4
- package/templates/LIBRARY_INVENTORY.md +20 -20
- package/templates/SCOPE_CREATION_WORKFLOW.md +39 -11
- package/templates/SELF_IMPROVEMENT_MANDATE.md +24 -18
- package/templates/SINGLE_SOURCE_OF_TRUTH.md +59 -42
- package/templates/TESTING_STRATEGY.md +79 -69
- package/templates/_TEMPLATE_EXAMPLE.md +2 -1
- package/LICENSE +0 -21
- package/dist/chunk-4BIDFDSR.js +0 -152
- package/dist/chunk-4BIDFDSR.js.map +0 -1
- package/dist/chunk-X2NQJ2ZY.js.map +0 -1
- package/dist/schema-RkQ91pZW.d.ts +0 -161
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const ScopeSchema: z.ZodObject<{
|
|
4
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
-
description: z.ZodString;
|
|
6
|
-
emoji: z.ZodOptional<z.ZodString>;
|
|
7
|
-
category: z.ZodOptional<z.ZodEnum<["auth", "features", "infrastructure", "documentation", "testing", "performance", "other"]>>;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
emoji?: string | undefined;
|
|
12
|
-
category?: "auth" | "features" | "infrastructure" | "documentation" | "testing" | "performance" | "other" | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
name: string;
|
|
15
|
-
description: string;
|
|
16
|
-
emoji?: string | undefined;
|
|
17
|
-
category?: "auth" | "features" | "infrastructure" | "documentation" | "testing" | "performance" | "other" | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
declare const BranchTypeSchema: z.ZodEnum<["feature", "bugfix", "hotfix", "chore", "refactor", "docs", "test", "release"]>;
|
|
20
|
-
declare const ConventionalTypeSchema: z.ZodEnum<["feat", "fix", "refactor", "chore", "docs", "test", "perf", "style", "ci", "build", "revert"]>;
|
|
21
|
-
declare const WorkflowConfigSchema: z.ZodObject<{
|
|
22
|
-
projectName: z.ZodString;
|
|
23
|
-
scopes: z.ZodArray<z.ZodObject<{
|
|
24
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
25
|
-
description: z.ZodString;
|
|
26
|
-
emoji: z.ZodOptional<z.ZodString>;
|
|
27
|
-
category: z.ZodOptional<z.ZodEnum<["auth", "features", "infrastructure", "documentation", "testing", "performance", "other"]>>;
|
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
name: string;
|
|
30
|
-
description: string;
|
|
31
|
-
emoji?: string | undefined;
|
|
32
|
-
category?: "auth" | "features" | "infrastructure" | "documentation" | "testing" | "performance" | "other" | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
name: string;
|
|
35
|
-
description: string;
|
|
36
|
-
emoji?: string | undefined;
|
|
37
|
-
category?: "auth" | "features" | "infrastructure" | "documentation" | "testing" | "performance" | "other" | undefined;
|
|
38
|
-
}>, "many">;
|
|
39
|
-
branchTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["feature", "bugfix", "hotfix", "chore", "refactor", "docs", "test", "release"]>, "many">>;
|
|
40
|
-
conventionalTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["feat", "fix", "refactor", "chore", "docs", "test", "perf", "style", "ci", "build", "revert"]>, "many">>;
|
|
41
|
-
enforcement: z.ZodDefault<z.ZodEnum<["strict", "advisory", "learning"]>>;
|
|
42
|
-
language: z.ZodDefault<z.ZodString>;
|
|
43
|
-
analytics: z.ZodOptional<z.ZodObject<{
|
|
44
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
45
|
-
shareAnonymous: z.ZodDefault<z.ZodBoolean>;
|
|
46
|
-
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
enabled: boolean;
|
|
48
|
-
shareAnonymous: boolean;
|
|
49
|
-
}, {
|
|
50
|
-
enabled?: boolean | undefined;
|
|
51
|
-
shareAnonymous?: boolean | undefined;
|
|
52
|
-
}>>;
|
|
53
|
-
adapter: z.ZodOptional<z.ZodString>;
|
|
54
|
-
syncRemote: z.ZodOptional<z.ZodString>;
|
|
55
|
-
hooks: z.ZodOptional<z.ZodObject<{
|
|
56
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
-
preCommit: z.ZodDefault<z.ZodArray<z.ZodEnum<["validate-branch", "validate-commit", "check-guidelines"]>, "many">>;
|
|
58
|
-
commitMsg: z.ZodDefault<z.ZodArray<z.ZodEnum<["validate-branch", "validate-commit", "check-guidelines"]>, "many">>;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
enabled: boolean;
|
|
61
|
-
preCommit: ("validate-branch" | "validate-commit" | "check-guidelines")[];
|
|
62
|
-
commitMsg: ("validate-branch" | "validate-commit" | "check-guidelines")[];
|
|
63
|
-
}, {
|
|
64
|
-
enabled?: boolean | undefined;
|
|
65
|
-
preCommit?: ("validate-branch" | "validate-commit" | "check-guidelines")[] | undefined;
|
|
66
|
-
commitMsg?: ("validate-branch" | "validate-commit" | "check-guidelines")[] | undefined;
|
|
67
|
-
}>>;
|
|
68
|
-
guidelines: z.ZodOptional<z.ZodObject<{
|
|
69
|
-
additionalMandatory: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
70
|
-
optionalOverrides: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
additionalMandatory?: string[] | undefined;
|
|
73
|
-
optionalOverrides?: string[] | undefined;
|
|
74
|
-
}, {
|
|
75
|
-
additionalMandatory?: string[] | undefined;
|
|
76
|
-
optionalOverrides?: string[] | undefined;
|
|
77
|
-
}>>;
|
|
78
|
-
ci: z.ZodOptional<z.ZodObject<{
|
|
79
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
80
|
-
provider: z.ZodDefault<z.ZodEnum<["github", "gitlab", "bitbucket"]>>;
|
|
81
|
-
checks: z.ZodDefault<z.ZodArray<z.ZodEnum<["lint", "typecheck", "format", "test", "build"]>, "many">>;
|
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
enabled: boolean;
|
|
84
|
-
provider: "github" | "gitlab" | "bitbucket";
|
|
85
|
-
checks: ("build" | "test" | "lint" | "typecheck" | "format")[];
|
|
86
|
-
}, {
|
|
87
|
-
enabled?: boolean | undefined;
|
|
88
|
-
provider?: "github" | "gitlab" | "bitbucket" | undefined;
|
|
89
|
-
checks?: ("build" | "test" | "lint" | "typecheck" | "format")[] | undefined;
|
|
90
|
-
}>>;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
projectName: string;
|
|
93
|
-
scopes: {
|
|
94
|
-
name: string;
|
|
95
|
-
description: string;
|
|
96
|
-
emoji?: string | undefined;
|
|
97
|
-
category?: "auth" | "features" | "infrastructure" | "documentation" | "testing" | "performance" | "other" | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
enforcement: "strict" | "advisory" | "learning";
|
|
100
|
-
language: string;
|
|
101
|
-
ci?: {
|
|
102
|
-
enabled: boolean;
|
|
103
|
-
provider: "github" | "gitlab" | "bitbucket";
|
|
104
|
-
checks: ("build" | "test" | "lint" | "typecheck" | "format")[];
|
|
105
|
-
} | undefined;
|
|
106
|
-
branchTypes?: ("test" | "docs" | "feature" | "bugfix" | "hotfix" | "chore" | "refactor" | "release")[] | undefined;
|
|
107
|
-
conventionalTypes?: ("build" | "test" | "docs" | "ci" | "chore" | "refactor" | "feat" | "fix" | "perf" | "style" | "revert")[] | undefined;
|
|
108
|
-
analytics?: {
|
|
109
|
-
enabled: boolean;
|
|
110
|
-
shareAnonymous: boolean;
|
|
111
|
-
} | undefined;
|
|
112
|
-
adapter?: string | undefined;
|
|
113
|
-
syncRemote?: string | undefined;
|
|
114
|
-
hooks?: {
|
|
115
|
-
enabled: boolean;
|
|
116
|
-
preCommit: ("validate-branch" | "validate-commit" | "check-guidelines")[];
|
|
117
|
-
commitMsg: ("validate-branch" | "validate-commit" | "check-guidelines")[];
|
|
118
|
-
} | undefined;
|
|
119
|
-
guidelines?: {
|
|
120
|
-
additionalMandatory?: string[] | undefined;
|
|
121
|
-
optionalOverrides?: string[] | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
}, {
|
|
124
|
-
projectName: string;
|
|
125
|
-
scopes: {
|
|
126
|
-
name: string;
|
|
127
|
-
description: string;
|
|
128
|
-
emoji?: string | undefined;
|
|
129
|
-
category?: "auth" | "features" | "infrastructure" | "documentation" | "testing" | "performance" | "other" | undefined;
|
|
130
|
-
}[];
|
|
131
|
-
ci?: {
|
|
132
|
-
enabled?: boolean | undefined;
|
|
133
|
-
provider?: "github" | "gitlab" | "bitbucket" | undefined;
|
|
134
|
-
checks?: ("build" | "test" | "lint" | "typecheck" | "format")[] | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
branchTypes?: ("test" | "docs" | "feature" | "bugfix" | "hotfix" | "chore" | "refactor" | "release")[] | undefined;
|
|
137
|
-
conventionalTypes?: ("build" | "test" | "docs" | "ci" | "chore" | "refactor" | "feat" | "fix" | "perf" | "style" | "revert")[] | undefined;
|
|
138
|
-
enforcement?: "strict" | "advisory" | "learning" | undefined;
|
|
139
|
-
language?: string | undefined;
|
|
140
|
-
analytics?: {
|
|
141
|
-
enabled?: boolean | undefined;
|
|
142
|
-
shareAnonymous?: boolean | undefined;
|
|
143
|
-
} | undefined;
|
|
144
|
-
adapter?: string | undefined;
|
|
145
|
-
syncRemote?: string | undefined;
|
|
146
|
-
hooks?: {
|
|
147
|
-
enabled?: boolean | undefined;
|
|
148
|
-
preCommit?: ("validate-branch" | "validate-commit" | "check-guidelines")[] | undefined;
|
|
149
|
-
commitMsg?: ("validate-branch" | "validate-commit" | "check-guidelines")[] | undefined;
|
|
150
|
-
} | undefined;
|
|
151
|
-
guidelines?: {
|
|
152
|
-
additionalMandatory?: string[] | undefined;
|
|
153
|
-
optionalOverrides?: string[] | undefined;
|
|
154
|
-
} | undefined;
|
|
155
|
-
}>;
|
|
156
|
-
type Scope = z.infer<typeof ScopeSchema>;
|
|
157
|
-
type BranchType = z.infer<typeof BranchTypeSchema>;
|
|
158
|
-
type ConventionalType = z.infer<typeof ConventionalTypeSchema>;
|
|
159
|
-
type WorkflowConfig = z.infer<typeof WorkflowConfigSchema>;
|
|
160
|
-
|
|
161
|
-
export { type BranchType as B, type ConventionalType as C, type Scope as S, type WorkflowConfig as W, WorkflowConfigSchema as a };
|