spec-controller 0.1.0-alpha.9 → 0.1.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/README.md +18 -11
- package/dist/cli-allocate/cli.d.ts +2 -0
- package/dist/cli-allocate/cli.d.ts.map +1 -0
- package/dist/cli-allocate/cli.js +61 -0
- package/dist/cli-allocate/cli.js.map +1 -0
- package/dist/cli-allocate/readHistory.d.ts +14 -0
- package/dist/cli-allocate/readHistory.d.ts.map +1 -0
- package/dist/cli-allocate/readHistory.js +109 -0
- package/dist/cli-allocate/readHistory.js.map +1 -0
- package/dist/cli-allocate/readParts.d.ts +2 -0
- package/dist/cli-allocate/readParts.d.ts.map +1 -0
- package/dist/cli-allocate/readParts.js +23 -0
- package/dist/cli-allocate/readParts.js.map +1 -0
- package/dist/cli-allocate/readTree.d.ts +5 -0
- package/dist/cli-allocate/readTree.d.ts.map +1 -0
- package/dist/cli-allocate/readTree.js +74 -0
- package/dist/cli-allocate/readTree.js.map +1 -0
- package/dist/cli-allocate/refStore.d.ts +2 -0
- package/dist/cli-allocate/refStore.d.ts.map +1 -0
- package/dist/cli-allocate/refStore.js +35 -0
- package/dist/cli-allocate/refStore.js.map +1 -0
- package/dist/cli-allocate/request.d.ts +9 -0
- package/dist/cli-allocate/request.d.ts.map +1 -0
- package/dist/cli-allocate/request.js +23 -0
- package/dist/cli-allocate/request.js.map +1 -0
- package/dist/cli-allocate/stderr.d.ts +7 -0
- package/dist/cli-allocate/stderr.d.ts.map +1 -0
- package/dist/cli-allocate/stderr.js +32 -0
- package/dist/cli-allocate/stderr.js.map +1 -0
- package/dist/cli-allocate/unreadable.d.ts +13 -0
- package/dist/cli-allocate/unreadable.d.ts.map +1 -0
- package/dist/cli-allocate/unreadable.js +37 -0
- package/dist/cli-allocate/unreadable.js.map +1 -0
- package/dist/cli-args.d.ts +15 -70
- package/dist/cli-args.d.ts.map +1 -1
- package/dist/cli-args.js +167 -85
- package/dist/cli-args.js.map +1 -1
- package/dist/cli-balance/cli.d.ts +1 -82
- package/dist/cli-balance/cli.d.ts.map +1 -1
- package/dist/cli-balance/cli.js +86 -397
- package/dist/cli-balance/cli.js.map +1 -1
- package/dist/cli-balance/emit/format.d.ts +18 -39
- package/dist/cli-balance/emit/format.d.ts.map +1 -1
- package/dist/cli-balance/emit/format.js +32 -63
- package/dist/cli-balance/emit/format.js.map +1 -1
- package/dist/cli-balance/emit/writer.d.ts +2 -34
- package/dist/cli-balance/emit/writer.d.ts.map +1 -1
- package/dist/cli-balance/emit/writer.js +62 -37
- package/dist/cli-balance/emit/writer.js.map +1 -1
- package/dist/cli-balance/exitStatus.d.ts +2 -0
- package/dist/cli-balance/exitStatus.d.ts.map +1 -0
- package/dist/cli-balance/exitStatus.js +5 -0
- package/dist/cli-balance/exitStatus.js.map +1 -0
- package/dist/cli-balance/inputsRead.d.ts +11 -0
- package/dist/cli-balance/inputsRead.d.ts.map +1 -0
- package/dist/cli-balance/inputsRead.js +51 -0
- package/dist/cli-balance/inputsRead.js.map +1 -0
- package/dist/cli-balance/reRender.d.ts +8 -0
- package/dist/cli-balance/reRender.d.ts.map +1 -0
- package/dist/cli-balance/reRender.js +21 -0
- package/dist/cli-balance/reRender.js.map +1 -0
- package/dist/cli-balance/unreadableInputs.d.ts +15 -0
- package/dist/cli-balance/unreadableInputs.d.ts.map +1 -0
- package/dist/cli-balance/unreadableInputs.js +100 -0
- package/dist/cli-balance/unreadableInputs.js.map +1 -0
- package/dist/cli-registry.d.ts +16 -71
- package/dist/cli-registry.d.ts.map +1 -1
- package/dist/cli-registry.js +71 -136
- package/dist/cli-registry.js.map +1 -1
- package/dist/cli.d.ts +0 -21
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -85
- package/dist/cli.js.map +1 -1
- package/dist/deferralTags.d.ts +0 -14
- package/dist/deferralTags.d.ts.map +1 -1
- package/dist/deferralTags.js +0 -14
- package/dist/deferralTags.js.map +1 -1
- package/dist/host.d.ts +10 -41
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +99 -50
- package/dist/host.js.map +1 -1
- package/dist/ingest/ciSourcePaths.d.ts +0 -39
- package/dist/ingest/ciSourcePaths.d.ts.map +1 -1
- package/dist/ingest/ciSourcePaths.js +1 -39
- package/dist/ingest/ciSourcePaths.js.map +1 -1
- package/dist/ingest/gherkinValidation.d.ts +0 -80
- package/dist/ingest/gherkinValidation.d.ts.map +1 -1
- package/dist/ingest/gherkinValidation.js +3 -82
- package/dist/ingest/gherkinValidation.js.map +1 -1
- package/dist/ingest/ingestQualityChecks.d.ts +8 -93
- package/dist/ingest/ingestQualityChecks.d.ts.map +1 -1
- package/dist/ingest/ingestQualityChecks.js +61 -224
- package/dist/ingest/ingestQualityChecks.js.map +1 -1
- package/dist/ingest/ingestScenarios.d.ts +5 -45
- package/dist/ingest/ingestScenarios.d.ts.map +1 -1
- package/dist/ingest/ingestScenarios.js +50 -118
- package/dist/ingest/ingestScenarios.js.map +1 -1
- package/dist/ingest/inputShapes.d.ts +16 -0
- package/dist/ingest/inputShapes.d.ts.map +1 -0
- package/dist/ingest/inputShapes.js +114 -0
- package/dist/ingest/inputShapes.js.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +93 -0
- package/dist/main.js.map +1 -0
- package/dist/messages.d.ts +223 -0
- package/dist/messages.d.ts.map +1 -0
- package/dist/messages.js +319 -0
- package/dist/messages.js.map +1 -0
- package/dist/outputLocation.d.ts +23 -0
- package/dist/outputLocation.d.ts.map +1 -0
- package/dist/outputLocation.js +139 -0
- package/dist/outputLocation.js.map +1 -0
- package/dist/run-management/keptRun.d.ts +8 -109
- package/dist/run-management/keptRun.d.ts.map +1 -1
- package/dist/run-management/keptRun.js +49 -89
- package/dist/run-management/keptRun.js.map +1 -1
- package/dist/run-management/resolveRunInputs.d.ts +0 -67
- package/dist/run-management/resolveRunInputs.d.ts.map +1 -1
- package/dist/run-management/resolveRunInputs.js +13 -117
- package/dist/run-management/resolveRunInputs.js.map +1 -1
- package/dist/storedRun.d.ts +6 -0
- package/dist/storedRun.d.ts.map +1 -0
- package/dist/storedRun.js +27 -0
- package/dist/storedRun.js.map +1 -0
- package/package.json +2 -2
- package/dist/corpus/cli.d.ts +0 -34
- package/dist/corpus/cli.d.ts.map +0 -1
- package/dist/corpus/cli.js +0 -125
- package/dist/corpus/cli.js.map +0 -1
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
export declare enum AppMessage {
|
|
2
|
+
History = 0,
|
|
3
|
+
Repository = 1,
|
|
4
|
+
Tree = 2,
|
|
5
|
+
TreeDirectory = 3,
|
|
6
|
+
TreeFile = 4,
|
|
7
|
+
FeatureFile = 5,
|
|
8
|
+
FeatureCorpus = 6,
|
|
9
|
+
WorkingDirectory = 7,
|
|
10
|
+
CouldNotBeRead = 8,
|
|
11
|
+
CouldNotBeReadAt = 9,
|
|
12
|
+
UsageError = 10,
|
|
13
|
+
GitExited = 11,
|
|
14
|
+
FeatureCorpusUnparseable = 12,
|
|
15
|
+
FeatureCorpusDirectoryMissing = 13,
|
|
16
|
+
StoredRunDirectoryNotCreated = 14,
|
|
17
|
+
StoredRunManifestNotWritten = 15,
|
|
18
|
+
FormatNamesStoredRunManifest = 16,
|
|
19
|
+
StoredRunReadsItsManifest = 17,
|
|
20
|
+
SeeCommandsAndModifiers = 18,
|
|
21
|
+
SeeModifiers = 19,
|
|
22
|
+
SeeFlags = 20,
|
|
23
|
+
SeeFlagsAndValues = 21,
|
|
24
|
+
SeeArguments = 22,
|
|
25
|
+
NoCommandAfterModifiers = 23,
|
|
26
|
+
ModifierTookCommand = 24,
|
|
27
|
+
GiveModifierItsOwnValue = 25,
|
|
28
|
+
FlagBeforeCommand = 26,
|
|
29
|
+
UnknownCommand = 27,
|
|
30
|
+
ModifiersNotTaken = 28,
|
|
31
|
+
RunWithoutModifiers = 29,
|
|
32
|
+
MissingValue = 30,
|
|
33
|
+
GivenTwice = 31,
|
|
34
|
+
EqualsForm = 32,
|
|
35
|
+
TakesNoValue = 33,
|
|
36
|
+
ExtraArgument = 34,
|
|
37
|
+
NotAFlag = 35,
|
|
38
|
+
MisplacedModifier = 36,
|
|
39
|
+
UnknownFlag = 37,
|
|
40
|
+
PinDrifted = 38,
|
|
41
|
+
OtherwiseSeeFlags = 39,
|
|
42
|
+
RetiredFlag = 40,
|
|
43
|
+
DoNotPinRetired = 41,
|
|
44
|
+
ReRenderNotStored = 42,
|
|
45
|
+
ReRenderWithoutIt = 43,
|
|
46
|
+
ReRenderWithoutThem = 44,
|
|
47
|
+
RunIdWithoutStore = 45,
|
|
48
|
+
KeepRunUnderName = 46,
|
|
49
|
+
HelpTitle = 47,
|
|
50
|
+
HelpUsage = 48,
|
|
51
|
+
HelpCommands = 49,
|
|
52
|
+
HelpHostModifiers = 50,
|
|
53
|
+
HelpOptions = 51,
|
|
54
|
+
HelpArguments = 52,
|
|
55
|
+
HelpPointer = 53,
|
|
56
|
+
HelpFlag = 54,
|
|
57
|
+
StoreModifier = 55,
|
|
58
|
+
RunIdModifier = 56,
|
|
59
|
+
BalanceSummary = 57,
|
|
60
|
+
FeaturesFlag = 58,
|
|
61
|
+
VitestFlag = 59,
|
|
62
|
+
CucumberFlag = 60,
|
|
63
|
+
CiFlag = 61,
|
|
64
|
+
PackageJsonFlag = 62,
|
|
65
|
+
CiStepsFlag = 63,
|
|
66
|
+
TargetFlag = 64,
|
|
67
|
+
SourceShaFlag = 65,
|
|
68
|
+
FormatFlag = 66,
|
|
69
|
+
RenderFromJsonFlag = 67,
|
|
70
|
+
StrictFlag = 68,
|
|
71
|
+
ExitZeroFlag = 69,
|
|
72
|
+
ConfigurationHeading = 70,
|
|
73
|
+
DeferralTagsKey = 71,
|
|
74
|
+
DeferralTagsExtend = 72,
|
|
75
|
+
DeferralTagsNeverReplace = 73,
|
|
76
|
+
BuiltInDeferralTags = 74,
|
|
77
|
+
MeasurementsReplacement = 75,
|
|
78
|
+
AllocateSummary = 76,
|
|
79
|
+
FeaturePartArgument = 77,
|
|
80
|
+
NewFlag = 78,
|
|
81
|
+
LegacyJsonRemoved = 79,
|
|
82
|
+
InputPathMissing = 80,
|
|
83
|
+
FlaggedFile = 81,
|
|
84
|
+
FlaggedReport = 82,
|
|
85
|
+
FlaggedRecord = 83,
|
|
86
|
+
FlaggedManifest = 84,
|
|
87
|
+
FlaggedSavedReport = 85,
|
|
88
|
+
FlaggedCorpus = 86,
|
|
89
|
+
FlaggedWorkflows = 87,
|
|
90
|
+
DefaultPackageJson = 88,
|
|
91
|
+
DefaultFeatureCorpus = 89,
|
|
92
|
+
DefaultCiWorkflows = 90,
|
|
93
|
+
VitestReportShape = 91,
|
|
94
|
+
CucumberReportShape = 92,
|
|
95
|
+
CiStepRecordShape = 93,
|
|
96
|
+
PackageManifestShape = 94,
|
|
97
|
+
NotValidJson = 95,
|
|
98
|
+
NotInShape = 96,
|
|
99
|
+
NotASavedReconciliation = 97,
|
|
100
|
+
NotRenderableAsSaved = 98,
|
|
101
|
+
CorpusFileUnparseable = 99,
|
|
102
|
+
ReRenderReadsOnly = 100,
|
|
103
|
+
UnknownFormat = 101,
|
|
104
|
+
MoreThanOneToStdout = 102,
|
|
105
|
+
OutputsShareFile = 103,
|
|
106
|
+
OutputOverwritesInput = 104,
|
|
107
|
+
OutputOverwritesStoredRun = 105,
|
|
108
|
+
ReportNotWritten = 106,
|
|
109
|
+
HistoryBoundary = 107,
|
|
110
|
+
ShallowHistoryUnread = 108,
|
|
111
|
+
NoRepositoryHistoryRead = 109,
|
|
112
|
+
RiskOfPartCode = 110,
|
|
113
|
+
RiskAboveCode = 111,
|
|
114
|
+
HighestSeenNone = 112,
|
|
115
|
+
HighestSeenInTree = 113,
|
|
116
|
+
HighestSeenInCommit = 114,
|
|
117
|
+
UnknownPartRefused = 115,
|
|
118
|
+
NoPartsCarried = 116,
|
|
119
|
+
PartAlreadyHeaded = 117,
|
|
120
|
+
NoFeaturePartGiven = 118,
|
|
121
|
+
NotAFeaturePart = 119,
|
|
122
|
+
DefaultCorpusFeatureFile = 120,
|
|
123
|
+
FlaggedCorpusFeatureFile = 121,
|
|
124
|
+
DefaultCiWorkflow = 122,
|
|
125
|
+
FlaggedCiWorkflow = 123,
|
|
126
|
+
FlaggedCiFolderWorkflow = 124,
|
|
127
|
+
FormatOnStandardOutput = 125,
|
|
128
|
+
ShapeKindList = 126,
|
|
129
|
+
ShapeKindObject = 127,
|
|
130
|
+
ShapeKindOfType = 128,
|
|
131
|
+
ShapeTopLevel = 129,
|
|
132
|
+
ShapeWrongKind = 130,
|
|
133
|
+
ShapeFieldMissing = 131,
|
|
134
|
+
HostUsageError = 132,
|
|
135
|
+
HelpUsageLine = 133
|
|
136
|
+
}
|
|
137
|
+
interface AppMessageParams {
|
|
138
|
+
[AppMessage.CouldNotBeRead]: [subject: string, reason: string];
|
|
139
|
+
[AppMessage.CouldNotBeReadAt]: [subject: string, path: string, reason: string];
|
|
140
|
+
[AppMessage.UsageError]: [command: string, message: string];
|
|
141
|
+
[AppMessage.GitExited]: [args: readonly string[], status: number | null, said: string];
|
|
142
|
+
[AppMessage.FeatureCorpusDirectoryMissing]: [directory: string];
|
|
143
|
+
[AppMessage.FormatNamesStoredRunManifest]: [formatPath: string, manifestPath: string, runDir: string];
|
|
144
|
+
[AppMessage.StoredRunReadsItsManifest]: [manifestPath: string, inputPath: string, inputSubject: string];
|
|
145
|
+
[AppMessage.SeeFlags]: [scope: string];
|
|
146
|
+
[AppMessage.SeeFlagsAndValues]: [scope: string];
|
|
147
|
+
[AppMessage.SeeArguments]: [scope: string];
|
|
148
|
+
[AppMessage.NoCommandAfterModifiers]: [modifiers: string];
|
|
149
|
+
[AppMessage.ModifierTookCommand]: [modifier: string, command: string];
|
|
150
|
+
[AppMessage.GiveModifierItsOwnValue]: [modifier: string, arg: string, command: string];
|
|
151
|
+
[AppMessage.FlagBeforeCommand]: [flag: string, modifiers: string];
|
|
152
|
+
[AppMessage.UnknownCommand]: [command: string];
|
|
153
|
+
[AppMessage.ModifiersNotTaken]: [command: string, modifiers: string];
|
|
154
|
+
[AppMessage.RunWithoutModifiers]: [command: string];
|
|
155
|
+
[AppMessage.MissingValue]: [flag: string, scope: string, arg: string];
|
|
156
|
+
[AppMessage.GivenTwice]: [flag: string, scope: string];
|
|
157
|
+
[AppMessage.EqualsForm]: [token: string, scope: string, spelling: string];
|
|
158
|
+
[AppMessage.TakesNoValue]: [flag: string, scope: string, value: string];
|
|
159
|
+
[AppMessage.ExtraArgument]: [token: string, scope: string, takes: string];
|
|
160
|
+
[AppMessage.NotAFlag]: [token: string, scope: string];
|
|
161
|
+
[AppMessage.MisplacedModifier]: [modifier: string, command: string];
|
|
162
|
+
[AppMessage.UnknownFlag]: [flag: string, scope: string, toolVersion: string, command: string];
|
|
163
|
+
[AppMessage.PinDrifted]: [command: string, flag: string];
|
|
164
|
+
[AppMessage.OtherwiseSeeFlags]: [scope: string];
|
|
165
|
+
[AppMessage.RetiredFlag]: [flag: string, scope: string, retiredIn: string, toolVersion: string];
|
|
166
|
+
[AppMessage.ReRenderNotStored]: [modifiers: string];
|
|
167
|
+
[AppMessage.RunIdWithoutStore]: [runId: string];
|
|
168
|
+
[AppMessage.KeepRunUnderName]: [command: string];
|
|
169
|
+
[AppMessage.BuiltInDeferralTags]: [tags: string];
|
|
170
|
+
[AppMessage.InputPathMissing]: [flag: string, path: string];
|
|
171
|
+
[AppMessage.FlaggedFile]: [flag: string];
|
|
172
|
+
[AppMessage.FlaggedReport]: [flag: string];
|
|
173
|
+
[AppMessage.FlaggedRecord]: [flag: string];
|
|
174
|
+
[AppMessage.FlaggedManifest]: [flag: string];
|
|
175
|
+
[AppMessage.FlaggedSavedReport]: [flag: string];
|
|
176
|
+
[AppMessage.FlaggedCorpus]: [flag: string];
|
|
177
|
+
[AppMessage.FlaggedWorkflows]: [flag: string];
|
|
178
|
+
[AppMessage.NotValidJson]: [subject: string, path: string, reason: string];
|
|
179
|
+
[AppMessage.NotInShape]: [subject: string, shape: string, path: string, fault: string];
|
|
180
|
+
[AppMessage.NotASavedReconciliation]: [subject: string, path: string, fault: string];
|
|
181
|
+
[AppMessage.NotRenderableAsSaved]: [subject: string, path: string, reason: string];
|
|
182
|
+
[AppMessage.CorpusFileUnparseable]: [corpus: string, file: string, message: string];
|
|
183
|
+
[AppMessage.ReRenderReadsOnly]: [ignored: string];
|
|
184
|
+
[AppMessage.UnknownFormat]: [formats: string, supported: string];
|
|
185
|
+
[AppMessage.MoreThanOneToStdout]: [formats: string];
|
|
186
|
+
[AppMessage.OutputsShareFile]: [first: string, second: string];
|
|
187
|
+
[AppMessage.OutputOverwritesInput]: [output: string, subject: string, path: string];
|
|
188
|
+
[AppMessage.OutputOverwritesStoredRun]: [path: string, runDir: string];
|
|
189
|
+
[AppMessage.ReportNotWritten]: [format: string];
|
|
190
|
+
[AppMessage.HistoryBoundary]: [unread: string, risk: string];
|
|
191
|
+
[AppMessage.ShallowHistoryUnread]: [before: string];
|
|
192
|
+
[AppMessage.RiskOfPartCode]: [part: string];
|
|
193
|
+
[AppMessage.RiskAboveCode]: [code: string];
|
|
194
|
+
[AppMessage.HighestSeenInTree]: [code: string, path: string, line: number];
|
|
195
|
+
[AppMessage.HighestSeenInCommit]: [code: string, path: string, line: number, commit: string];
|
|
196
|
+
[AppMessage.UnknownPartRefused]: [part: string, parts: string];
|
|
197
|
+
[AppMessage.PartAlreadyHeaded]: [part: string];
|
|
198
|
+
[AppMessage.NotAFeaturePart]: [part: string];
|
|
199
|
+
[AppMessage.FormatOnStandardOutput]: [fmt: string];
|
|
200
|
+
[AppMessage.ShapeKindOfType]: [type: string];
|
|
201
|
+
[AppMessage.ShapeWrongKind]: [where: string, found: string, expected: string];
|
|
202
|
+
[AppMessage.ShapeFieldMissing]: [path: string];
|
|
203
|
+
[AppMessage.HostUsageError]: [message: string];
|
|
204
|
+
[AppMessage.HelpUsageLine]: [modifierUsage: string];
|
|
205
|
+
}
|
|
206
|
+
export type AppMessages = {
|
|
207
|
+
readonly [C in AppMessage]: (...params: C extends keyof AppMessageParams ? AppMessageParams[C] : []) => string;
|
|
208
|
+
};
|
|
209
|
+
export declare const APP_MESSAGES: AppMessages;
|
|
210
|
+
export declare const Unreadable: {
|
|
211
|
+
readonly History: AppMessage.History;
|
|
212
|
+
readonly Repository: AppMessage.Repository;
|
|
213
|
+
readonly Tree: AppMessage.Tree;
|
|
214
|
+
readonly TreeDirectory: AppMessage.TreeDirectory;
|
|
215
|
+
readonly TreeFile: AppMessage.TreeFile;
|
|
216
|
+
readonly FeatureFile: AppMessage.FeatureFile;
|
|
217
|
+
readonly FeatureCorpus: AppMessage.FeatureCorpus;
|
|
218
|
+
readonly WorkingDirectory: AppMessage.WorkingDirectory;
|
|
219
|
+
};
|
|
220
|
+
export type Unreadable = (typeof Unreadable)[keyof typeof Unreadable];
|
|
221
|
+
export declare const UNREADABLE_SUBJECTS: Readonly<Record<Unreadable, string>>;
|
|
222
|
+
export {};
|
|
223
|
+
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,OAAO,IAAA;IACP,UAAU,IAAA;IACV,IAAI,IAAA;IACJ,aAAa,IAAA;IACb,QAAQ,IAAA;IACR,WAAW,IAAA;IACX,aAAa,IAAA;IACb,gBAAgB,IAAA;IAChB,cAAc,IAAA;IACd,gBAAgB,IAAA;IAChB,UAAU,KAAA;IACV,SAAS,KAAA;IACT,wBAAwB,KAAA;IACxB,6BAA6B,KAAA;IAC7B,4BAA4B,KAAA;IAC5B,2BAA2B,KAAA;IAC3B,4BAA4B,KAAA;IAC5B,yBAAyB,KAAA;IACzB,uBAAuB,KAAA;IACvB,YAAY,KAAA;IACZ,QAAQ,KAAA;IACR,iBAAiB,KAAA;IACjB,YAAY,KAAA;IACZ,uBAAuB,KAAA;IACvB,mBAAmB,KAAA;IACnB,uBAAuB,KAAA;IACv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,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;CACrD;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,CAAC,IAAI,UAAU,GAAG,CAAC,GAAG,MAAM,EAAE,CAAC,SAAS,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,MAAM;CAC/G,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WA8N1B,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;CASb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAEtC,CAAC"}
|
package/dist/messages.js
ADDED
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
export var AppMessage;
|
|
2
|
+
(function (AppMessage) {
|
|
3
|
+
AppMessage[AppMessage["History"] = 0] = "History";
|
|
4
|
+
AppMessage[AppMessage["Repository"] = 1] = "Repository";
|
|
5
|
+
AppMessage[AppMessage["Tree"] = 2] = "Tree";
|
|
6
|
+
AppMessage[AppMessage["TreeDirectory"] = 3] = "TreeDirectory";
|
|
7
|
+
AppMessage[AppMessage["TreeFile"] = 4] = "TreeFile";
|
|
8
|
+
AppMessage[AppMessage["FeatureFile"] = 5] = "FeatureFile";
|
|
9
|
+
AppMessage[AppMessage["FeatureCorpus"] = 6] = "FeatureCorpus";
|
|
10
|
+
AppMessage[AppMessage["WorkingDirectory"] = 7] = "WorkingDirectory";
|
|
11
|
+
AppMessage[AppMessage["CouldNotBeRead"] = 8] = "CouldNotBeRead";
|
|
12
|
+
AppMessage[AppMessage["CouldNotBeReadAt"] = 9] = "CouldNotBeReadAt";
|
|
13
|
+
AppMessage[AppMessage["UsageError"] = 10] = "UsageError";
|
|
14
|
+
AppMessage[AppMessage["GitExited"] = 11] = "GitExited";
|
|
15
|
+
AppMessage[AppMessage["FeatureCorpusUnparseable"] = 12] = "FeatureCorpusUnparseable";
|
|
16
|
+
AppMessage[AppMessage["FeatureCorpusDirectoryMissing"] = 13] = "FeatureCorpusDirectoryMissing";
|
|
17
|
+
AppMessage[AppMessage["StoredRunDirectoryNotCreated"] = 14] = "StoredRunDirectoryNotCreated";
|
|
18
|
+
AppMessage[AppMessage["StoredRunManifestNotWritten"] = 15] = "StoredRunManifestNotWritten";
|
|
19
|
+
AppMessage[AppMessage["FormatNamesStoredRunManifest"] = 16] = "FormatNamesStoredRunManifest";
|
|
20
|
+
AppMessage[AppMessage["StoredRunReadsItsManifest"] = 17] = "StoredRunReadsItsManifest";
|
|
21
|
+
AppMessage[AppMessage["SeeCommandsAndModifiers"] = 18] = "SeeCommandsAndModifiers";
|
|
22
|
+
AppMessage[AppMessage["SeeModifiers"] = 19] = "SeeModifiers";
|
|
23
|
+
AppMessage[AppMessage["SeeFlags"] = 20] = "SeeFlags";
|
|
24
|
+
AppMessage[AppMessage["SeeFlagsAndValues"] = 21] = "SeeFlagsAndValues";
|
|
25
|
+
AppMessage[AppMessage["SeeArguments"] = 22] = "SeeArguments";
|
|
26
|
+
AppMessage[AppMessage["NoCommandAfterModifiers"] = 23] = "NoCommandAfterModifiers";
|
|
27
|
+
AppMessage[AppMessage["ModifierTookCommand"] = 24] = "ModifierTookCommand";
|
|
28
|
+
AppMessage[AppMessage["GiveModifierItsOwnValue"] = 25] = "GiveModifierItsOwnValue";
|
|
29
|
+
AppMessage[AppMessage["FlagBeforeCommand"] = 26] = "FlagBeforeCommand";
|
|
30
|
+
AppMessage[AppMessage["UnknownCommand"] = 27] = "UnknownCommand";
|
|
31
|
+
AppMessage[AppMessage["ModifiersNotTaken"] = 28] = "ModifiersNotTaken";
|
|
32
|
+
AppMessage[AppMessage["RunWithoutModifiers"] = 29] = "RunWithoutModifiers";
|
|
33
|
+
AppMessage[AppMessage["MissingValue"] = 30] = "MissingValue";
|
|
34
|
+
AppMessage[AppMessage["GivenTwice"] = 31] = "GivenTwice";
|
|
35
|
+
AppMessage[AppMessage["EqualsForm"] = 32] = "EqualsForm";
|
|
36
|
+
AppMessage[AppMessage["TakesNoValue"] = 33] = "TakesNoValue";
|
|
37
|
+
AppMessage[AppMessage["ExtraArgument"] = 34] = "ExtraArgument";
|
|
38
|
+
AppMessage[AppMessage["NotAFlag"] = 35] = "NotAFlag";
|
|
39
|
+
AppMessage[AppMessage["MisplacedModifier"] = 36] = "MisplacedModifier";
|
|
40
|
+
AppMessage[AppMessage["UnknownFlag"] = 37] = "UnknownFlag";
|
|
41
|
+
AppMessage[AppMessage["PinDrifted"] = 38] = "PinDrifted";
|
|
42
|
+
AppMessage[AppMessage["OtherwiseSeeFlags"] = 39] = "OtherwiseSeeFlags";
|
|
43
|
+
AppMessage[AppMessage["RetiredFlag"] = 40] = "RetiredFlag";
|
|
44
|
+
AppMessage[AppMessage["DoNotPinRetired"] = 41] = "DoNotPinRetired";
|
|
45
|
+
AppMessage[AppMessage["ReRenderNotStored"] = 42] = "ReRenderNotStored";
|
|
46
|
+
AppMessage[AppMessage["ReRenderWithoutIt"] = 43] = "ReRenderWithoutIt";
|
|
47
|
+
AppMessage[AppMessage["ReRenderWithoutThem"] = 44] = "ReRenderWithoutThem";
|
|
48
|
+
AppMessage[AppMessage["RunIdWithoutStore"] = 45] = "RunIdWithoutStore";
|
|
49
|
+
AppMessage[AppMessage["KeepRunUnderName"] = 46] = "KeepRunUnderName";
|
|
50
|
+
AppMessage[AppMessage["HelpTitle"] = 47] = "HelpTitle";
|
|
51
|
+
AppMessage[AppMessage["HelpUsage"] = 48] = "HelpUsage";
|
|
52
|
+
AppMessage[AppMessage["HelpCommands"] = 49] = "HelpCommands";
|
|
53
|
+
AppMessage[AppMessage["HelpHostModifiers"] = 50] = "HelpHostModifiers";
|
|
54
|
+
AppMessage[AppMessage["HelpOptions"] = 51] = "HelpOptions";
|
|
55
|
+
AppMessage[AppMessage["HelpArguments"] = 52] = "HelpArguments";
|
|
56
|
+
AppMessage[AppMessage["HelpPointer"] = 53] = "HelpPointer";
|
|
57
|
+
AppMessage[AppMessage["HelpFlag"] = 54] = "HelpFlag";
|
|
58
|
+
AppMessage[AppMessage["StoreModifier"] = 55] = "StoreModifier";
|
|
59
|
+
AppMessage[AppMessage["RunIdModifier"] = 56] = "RunIdModifier";
|
|
60
|
+
AppMessage[AppMessage["BalanceSummary"] = 57] = "BalanceSummary";
|
|
61
|
+
AppMessage[AppMessage["FeaturesFlag"] = 58] = "FeaturesFlag";
|
|
62
|
+
AppMessage[AppMessage["VitestFlag"] = 59] = "VitestFlag";
|
|
63
|
+
AppMessage[AppMessage["CucumberFlag"] = 60] = "CucumberFlag";
|
|
64
|
+
AppMessage[AppMessage["CiFlag"] = 61] = "CiFlag";
|
|
65
|
+
AppMessage[AppMessage["PackageJsonFlag"] = 62] = "PackageJsonFlag";
|
|
66
|
+
AppMessage[AppMessage["CiStepsFlag"] = 63] = "CiStepsFlag";
|
|
67
|
+
AppMessage[AppMessage["TargetFlag"] = 64] = "TargetFlag";
|
|
68
|
+
AppMessage[AppMessage["SourceShaFlag"] = 65] = "SourceShaFlag";
|
|
69
|
+
AppMessage[AppMessage["FormatFlag"] = 66] = "FormatFlag";
|
|
70
|
+
AppMessage[AppMessage["RenderFromJsonFlag"] = 67] = "RenderFromJsonFlag";
|
|
71
|
+
AppMessage[AppMessage["StrictFlag"] = 68] = "StrictFlag";
|
|
72
|
+
AppMessage[AppMessage["ExitZeroFlag"] = 69] = "ExitZeroFlag";
|
|
73
|
+
AppMessage[AppMessage["ConfigurationHeading"] = 70] = "ConfigurationHeading";
|
|
74
|
+
AppMessage[AppMessage["DeferralTagsKey"] = 71] = "DeferralTagsKey";
|
|
75
|
+
AppMessage[AppMessage["DeferralTagsExtend"] = 72] = "DeferralTagsExtend";
|
|
76
|
+
AppMessage[AppMessage["DeferralTagsNeverReplace"] = 73] = "DeferralTagsNeverReplace";
|
|
77
|
+
AppMessage[AppMessage["BuiltInDeferralTags"] = 74] = "BuiltInDeferralTags";
|
|
78
|
+
AppMessage[AppMessage["MeasurementsReplacement"] = 75] = "MeasurementsReplacement";
|
|
79
|
+
AppMessage[AppMessage["AllocateSummary"] = 76] = "AllocateSummary";
|
|
80
|
+
AppMessage[AppMessage["FeaturePartArgument"] = 77] = "FeaturePartArgument";
|
|
81
|
+
AppMessage[AppMessage["NewFlag"] = 78] = "NewFlag";
|
|
82
|
+
AppMessage[AppMessage["LegacyJsonRemoved"] = 79] = "LegacyJsonRemoved";
|
|
83
|
+
AppMessage[AppMessage["InputPathMissing"] = 80] = "InputPathMissing";
|
|
84
|
+
AppMessage[AppMessage["FlaggedFile"] = 81] = "FlaggedFile";
|
|
85
|
+
AppMessage[AppMessage["FlaggedReport"] = 82] = "FlaggedReport";
|
|
86
|
+
AppMessage[AppMessage["FlaggedRecord"] = 83] = "FlaggedRecord";
|
|
87
|
+
AppMessage[AppMessage["FlaggedManifest"] = 84] = "FlaggedManifest";
|
|
88
|
+
AppMessage[AppMessage["FlaggedSavedReport"] = 85] = "FlaggedSavedReport";
|
|
89
|
+
AppMessage[AppMessage["FlaggedCorpus"] = 86] = "FlaggedCorpus";
|
|
90
|
+
AppMessage[AppMessage["FlaggedWorkflows"] = 87] = "FlaggedWorkflows";
|
|
91
|
+
AppMessage[AppMessage["DefaultPackageJson"] = 88] = "DefaultPackageJson";
|
|
92
|
+
AppMessage[AppMessage["DefaultFeatureCorpus"] = 89] = "DefaultFeatureCorpus";
|
|
93
|
+
AppMessage[AppMessage["DefaultCiWorkflows"] = 90] = "DefaultCiWorkflows";
|
|
94
|
+
AppMessage[AppMessage["VitestReportShape"] = 91] = "VitestReportShape";
|
|
95
|
+
AppMessage[AppMessage["CucumberReportShape"] = 92] = "CucumberReportShape";
|
|
96
|
+
AppMessage[AppMessage["CiStepRecordShape"] = 93] = "CiStepRecordShape";
|
|
97
|
+
AppMessage[AppMessage["PackageManifestShape"] = 94] = "PackageManifestShape";
|
|
98
|
+
AppMessage[AppMessage["NotValidJson"] = 95] = "NotValidJson";
|
|
99
|
+
AppMessage[AppMessage["NotInShape"] = 96] = "NotInShape";
|
|
100
|
+
AppMessage[AppMessage["NotASavedReconciliation"] = 97] = "NotASavedReconciliation";
|
|
101
|
+
AppMessage[AppMessage["NotRenderableAsSaved"] = 98] = "NotRenderableAsSaved";
|
|
102
|
+
AppMessage[AppMessage["CorpusFileUnparseable"] = 99] = "CorpusFileUnparseable";
|
|
103
|
+
AppMessage[AppMessage["ReRenderReadsOnly"] = 100] = "ReRenderReadsOnly";
|
|
104
|
+
AppMessage[AppMessage["UnknownFormat"] = 101] = "UnknownFormat";
|
|
105
|
+
AppMessage[AppMessage["MoreThanOneToStdout"] = 102] = "MoreThanOneToStdout";
|
|
106
|
+
AppMessage[AppMessage["OutputsShareFile"] = 103] = "OutputsShareFile";
|
|
107
|
+
AppMessage[AppMessage["OutputOverwritesInput"] = 104] = "OutputOverwritesInput";
|
|
108
|
+
AppMessage[AppMessage["OutputOverwritesStoredRun"] = 105] = "OutputOverwritesStoredRun";
|
|
109
|
+
AppMessage[AppMessage["ReportNotWritten"] = 106] = "ReportNotWritten";
|
|
110
|
+
AppMessage[AppMessage["HistoryBoundary"] = 107] = "HistoryBoundary";
|
|
111
|
+
AppMessage[AppMessage["ShallowHistoryUnread"] = 108] = "ShallowHistoryUnread";
|
|
112
|
+
AppMessage[AppMessage["NoRepositoryHistoryRead"] = 109] = "NoRepositoryHistoryRead";
|
|
113
|
+
AppMessage[AppMessage["RiskOfPartCode"] = 110] = "RiskOfPartCode";
|
|
114
|
+
AppMessage[AppMessage["RiskAboveCode"] = 111] = "RiskAboveCode";
|
|
115
|
+
AppMessage[AppMessage["HighestSeenNone"] = 112] = "HighestSeenNone";
|
|
116
|
+
AppMessage[AppMessage["HighestSeenInTree"] = 113] = "HighestSeenInTree";
|
|
117
|
+
AppMessage[AppMessage["HighestSeenInCommit"] = 114] = "HighestSeenInCommit";
|
|
118
|
+
AppMessage[AppMessage["UnknownPartRefused"] = 115] = "UnknownPartRefused";
|
|
119
|
+
AppMessage[AppMessage["NoPartsCarried"] = 116] = "NoPartsCarried";
|
|
120
|
+
AppMessage[AppMessage["PartAlreadyHeaded"] = 117] = "PartAlreadyHeaded";
|
|
121
|
+
AppMessage[AppMessage["NoFeaturePartGiven"] = 118] = "NoFeaturePartGiven";
|
|
122
|
+
AppMessage[AppMessage["NotAFeaturePart"] = 119] = "NotAFeaturePart";
|
|
123
|
+
AppMessage[AppMessage["DefaultCorpusFeatureFile"] = 120] = "DefaultCorpusFeatureFile";
|
|
124
|
+
AppMessage[AppMessage["FlaggedCorpusFeatureFile"] = 121] = "FlaggedCorpusFeatureFile";
|
|
125
|
+
AppMessage[AppMessage["DefaultCiWorkflow"] = 122] = "DefaultCiWorkflow";
|
|
126
|
+
AppMessage[AppMessage["FlaggedCiWorkflow"] = 123] = "FlaggedCiWorkflow";
|
|
127
|
+
AppMessage[AppMessage["FlaggedCiFolderWorkflow"] = 124] = "FlaggedCiFolderWorkflow";
|
|
128
|
+
AppMessage[AppMessage["FormatOnStandardOutput"] = 125] = "FormatOnStandardOutput";
|
|
129
|
+
AppMessage[AppMessage["ShapeKindList"] = 126] = "ShapeKindList";
|
|
130
|
+
AppMessage[AppMessage["ShapeKindObject"] = 127] = "ShapeKindObject";
|
|
131
|
+
AppMessage[AppMessage["ShapeKindOfType"] = 128] = "ShapeKindOfType";
|
|
132
|
+
AppMessage[AppMessage["ShapeTopLevel"] = 129] = "ShapeTopLevel";
|
|
133
|
+
AppMessage[AppMessage["ShapeWrongKind"] = 130] = "ShapeWrongKind";
|
|
134
|
+
AppMessage[AppMessage["ShapeFieldMissing"] = 131] = "ShapeFieldMissing";
|
|
135
|
+
AppMessage[AppMessage["HostUsageError"] = 132] = "HostUsageError";
|
|
136
|
+
AppMessage[AppMessage["HelpUsageLine"] = 133] = "HelpUsageLine";
|
|
137
|
+
})(AppMessage || (AppMessage = {}));
|
|
138
|
+
export const APP_MESSAGES = {
|
|
139
|
+
[AppMessage.History]: () => "the repository's history",
|
|
140
|
+
[AppMessage.Repository]: () => "the repository",
|
|
141
|
+
[AppMessage.Tree]: () => "the tree",
|
|
142
|
+
[AppMessage.TreeDirectory]: () => "a directory in the tree",
|
|
143
|
+
[AppMessage.TreeFile]: () => "a file in the tree",
|
|
144
|
+
[AppMessage.FeatureFile]: () => "a feature file",
|
|
145
|
+
[AppMessage.FeatureCorpus]: () => "the feature corpus",
|
|
146
|
+
[AppMessage.WorkingDirectory]: () => "the working directory",
|
|
147
|
+
[AppMessage.CouldNotBeRead]: (subject, reason) => `${subject} could not be read (${reason})`,
|
|
148
|
+
[AppMessage.CouldNotBeReadAt]: (subject, path, reason) => `${subject} could not be read: ${path} (${reason})`,
|
|
149
|
+
[AppMessage.UsageError]: (command, message) => `spec-controller ${command}: usage error — ${message}`,
|
|
150
|
+
[AppMessage.GitExited]: (args, status, said) => `git ${args[0]} exited ${status}: ${said}`,
|
|
151
|
+
[AppMessage.FeatureCorpusUnparseable]: () => "The feature corpus contains a file that could not be parsed as Gherkin:",
|
|
152
|
+
[AppMessage.FeatureCorpusDirectoryMissing]: (directory) => `The feature corpus directory does not exist: ${directory}`,
|
|
153
|
+
[AppMessage.StoredRunDirectoryNotCreated]: () => "The stored run's directory could not be created",
|
|
154
|
+
[AppMessage.StoredRunManifestNotWritten]: () => "The stored run's run.yaml could not be written",
|
|
155
|
+
[AppMessage.FormatNamesStoredRunManifest]: (formatPath, manifestPath, runDir) => `A --format output names ${formatPath}, which is this stored run's own ${manifestPath}. ` +
|
|
156
|
+
`Give the report a path outside ${runDir}.`,
|
|
157
|
+
[AppMessage.StoredRunReadsItsManifest]: (manifestPath, inputPath, inputSubject) => `A file this stored run reads is its own ${manifestPath}: ${inputPath} is ${inputSubject}. ` +
|
|
158
|
+
`Give the store a root outside the files the run reads.`,
|
|
159
|
+
[AppMessage.SeeCommandsAndModifiers]: () => "Run 'spec-controller --help' to see the commands and host modifiers this version accepts.",
|
|
160
|
+
[AppMessage.SeeModifiers]: () => "Run 'spec-controller --help' to see the host modifiers this version accepts.",
|
|
161
|
+
[AppMessage.SeeFlags]: (scope) => `Run '${scope} --help' to see the flags this version accepts.`,
|
|
162
|
+
[AppMessage.SeeFlagsAndValues]: (scope) => `Run '${scope} --help' to see the flags this version accepts and the values they take.`,
|
|
163
|
+
[AppMessage.SeeArguments]: (scope) => `Run '${scope} --help' to see what this version accepts.`,
|
|
164
|
+
[AppMessage.NoCommandAfterModifiers]: (modifiers) => `No command followed the host modifiers given (${modifiers}), so nothing ran: ` +
|
|
165
|
+
`a host modifier needs a command after it, or --help.`,
|
|
166
|
+
[AppMessage.ModifierTookCommand]: (modifier, command) => `The ${modifier} host modifier took '${command}', a command, as its value, and left no command to run.`,
|
|
167
|
+
[AppMessage.GiveModifierItsOwnValue]: (modifier, arg, command) => `Give ${modifier} its own value, as in 'spec-controller ${modifier} ${arg} ${command} …'.`,
|
|
168
|
+
[AppMessage.FlagBeforeCommand]: (flag, modifiers) => `The ${flag} flag was given before the command. Before the command, spec-controller takes ` +
|
|
169
|
+
`only its host modifiers (${modifiers}); a command's own flags go after it, as in ` +
|
|
170
|
+
`'spec-controller <command> ${flag}'.`,
|
|
171
|
+
[AppMessage.UnknownCommand]: (command) => `unknown command "${command}".`,
|
|
172
|
+
[AppMessage.ModifiersNotTaken]: (command, modifiers) => `'${command}' takes no host modifier, and was given ${modifiers}: it answers a query and keeps no run.`,
|
|
173
|
+
[AppMessage.RunWithoutModifiers]: (command) => `Run 'spec-controller ${command} …' without them.`,
|
|
174
|
+
[AppMessage.MissingValue]: (flag, scope, arg) => `The ${flag} flag of '${scope}' needs a value — ${flag} ${arg} — and was given none.`,
|
|
175
|
+
[AppMessage.GivenTwice]: (flag, scope) => `The ${flag} flag of '${scope}' was given more than once, and is read once: give it once.`,
|
|
176
|
+
[AppMessage.EqualsForm]: (token, scope, spelling) => `The ${token} form is not read by '${scope}': a flag and its value are two arguments, as in '${spelling}'.`,
|
|
177
|
+
[AppMessage.TakesNoValue]: (flag, scope, value) => `The ${flag} flag of '${scope}' takes no value, and was given one: '${value}'.`,
|
|
178
|
+
[AppMessage.ExtraArgument]: (token, scope, takes) => `The argument '${token}' is more than '${scope}' takes: it takes ${takes} once, and its flags.`,
|
|
179
|
+
[AppMessage.NotAFlag]: (token, scope) => `The argument '${token}' is not a flag, nor the value of the flag before it: ` +
|
|
180
|
+
`'${scope}' takes only flags and their values.`,
|
|
181
|
+
[AppMessage.MisplacedModifier]: (modifier, command) => `The ${modifier} flag is a host modifier: it goes before the command, as in ` +
|
|
182
|
+
`'spec-controller ${modifier} <value> ${command} …', never after it.`,
|
|
183
|
+
[AppMessage.UnknownFlag]: (flag, scope, toolVersion, command) => `Unknown flag ${flag} for '${scope}' — this is spec-controller ` +
|
|
184
|
+
`${toolVersion}, and that flag is not in its ${command} scope.`,
|
|
185
|
+
[AppMessage.PinDrifted]: (command, flag) => `If this version is pinned, the pin and the tree it is reading have drifted apart: ` +
|
|
186
|
+
`bump the pin to a version whose '${command}' accepts ${flag}.`,
|
|
187
|
+
[AppMessage.OtherwiseSeeFlags]: (scope) => `Otherwise run '${scope} --help' to see the flags this version accepts.`,
|
|
188
|
+
[AppMessage.RetiredFlag]: (flag, scope, retiredIn, toolVersion) => `Retired flag ${flag} for '${scope}' — retired in spec-controller ` +
|
|
189
|
+
`${retiredIn}, and no later version accepts it (this is spec-controller ${toolVersion}).`,
|
|
190
|
+
[AppMessage.DoNotPinRetired]: () => "Do not pin an earlier version to get it back: that restores the route it was retired with.",
|
|
191
|
+
[AppMessage.ReRenderNotStored]: (modifiers) => `'balance --render-from-json' re-renders a saved report to stdout and keeps no run, ` +
|
|
192
|
+
`and was given ${modifiers}: a re-render is not stored.`,
|
|
193
|
+
[AppMessage.ReRenderWithoutIt]: () => "Run 'spec-controller balance --render-from-json <path>' without it.",
|
|
194
|
+
[AppMessage.ReRenderWithoutThem]: () => "Run 'spec-controller balance --render-from-json <path>' without them.",
|
|
195
|
+
[AppMessage.RunIdWithoutStore]: (runId) => `--run-id names a stored run, and was given '${runId}' with no --store, so no run is kept under it.`,
|
|
196
|
+
[AppMessage.KeepRunUnderName]: (command) => `To keep the run under that name, give --store <root> as well; otherwise run '${command}' without --run-id.`,
|
|
197
|
+
[AppMessage.HelpTitle]: () => "spec-controller — reconcile scenarios against observed evidence",
|
|
198
|
+
[AppMessage.HelpUsage]: () => "Usage:",
|
|
199
|
+
[AppMessage.HelpCommands]: () => "Commands:",
|
|
200
|
+
[AppMessage.HelpHostModifiers]: () => "Host modifiers (before the command):",
|
|
201
|
+
[AppMessage.HelpOptions]: () => "Options:",
|
|
202
|
+
[AppMessage.HelpArguments]: () => "Arguments:",
|
|
203
|
+
[AppMessage.HelpPointer]: () => "Full flags, examples, and CI wiring: doc/how_to_use.md.",
|
|
204
|
+
[AppMessage.HelpFlag]: () => "Show this help and exit.",
|
|
205
|
+
[AppMessage.StoreModifier]: () => "Store the run: write <root>/<target>/<run-id>/ with the reconciliation outputs + a run.yaml manifest. " +
|
|
206
|
+
"Required to store; there is no default (a default would write inside the repo).",
|
|
207
|
+
[AppMessage.RunIdModifier]: () => "Name the stored run (default: an ISO-8601 UTC timestamp). Read only with --store: " +
|
|
208
|
+
"given without it, the run is refused, since no run would be kept under the name.",
|
|
209
|
+
[AppMessage.BalanceSummary]: () => "Reconcile Gherkin scenarios against test/CI evidence and emit the Evidence Reconciliation " +
|
|
210
|
+
"(Markdown to stdout by default).",
|
|
211
|
+
[AppMessage.FeaturesFlag]: () => "Directory of Gherkin .feature files — the scenarios, and the `@`-tags naming what each must prove " +
|
|
212
|
+
"(@unit, @integration, @fitness, …).",
|
|
213
|
+
[AppMessage.VitestFlag]: () => "A Vitest JSON report — runtime test evidence.",
|
|
214
|
+
[AppMessage.CucumberFlag]: () => "A Cucumber JSON report — runtime test evidence.",
|
|
215
|
+
[AppMessage.CiFlag]: () => "Your CI workflows — a file, or a directory of them (default .github/workflows). " +
|
|
216
|
+
"Where a fitness function you have not converted is found running over the real source, " +
|
|
217
|
+
"and where a check step's `id:` supplies the @SCN its result cites.",
|
|
218
|
+
[AppMessage.PackageJsonFlag]: () => "The target's package.json — its `scripts`, and its specController.runners, specController.notChecks " +
|
|
219
|
+
"and specController.deferralTags. A fitness function is named by its @fitness scenario and the CI step " +
|
|
220
|
+
"whose id: is that scenario's @SCN; no manifest key names one.",
|
|
221
|
+
[AppMessage.CiStepsFlag]: () => "The CI run's own record of what each of its steps did — your pipeline's `toJSON(steps)` dump, " +
|
|
222
|
+
"evidence for the converted fitness functions. Omit it if you have converted none.",
|
|
223
|
+
[AppMessage.TargetFlag]: () => "A name recorded verbatim in the report's provenance (which project this run reconciled).",
|
|
224
|
+
[AppMessage.SourceShaFlag]: () => "Override the git commit SHA recorded in provenance (defaults to the resolved HEAD).",
|
|
225
|
+
[AppMessage.FormatFlag]: () => "Where to send output (md or json, optionally :<path> to write to a file). Repeatable.",
|
|
226
|
+
[AppMessage.RenderFromJsonFlag]: () => "Re-render Markdown from a previously saved Evidence Reconciliation JSON — no reconcile, no live inputs.",
|
|
227
|
+
[AppMessage.StrictFlag]: () => "Fail the run (exit 3) when it carries Pending Items — the opt-in that escalates " +
|
|
228
|
+
"otherwise-run-neutral deferred obligations.",
|
|
229
|
+
[AppMessage.ExitZeroFlag]: () => "Print the same report but exit 0 on an out-of-balance or scenario-code-error (1) or --strict pending (3) " +
|
|
230
|
+
"verdict — the on-ramp before gating. Usage (2), unsound (4) and nothing-to-reconcile (5) still fail.",
|
|
231
|
+
[AppMessage.ConfigurationHeading]: () => "Configuration (in the target repo's package.json):",
|
|
232
|
+
[AppMessage.DeferralTagsKey]: () => "specController.deferralTags: string[]",
|
|
233
|
+
[AppMessage.DeferralTagsExtend]: () => "Extra recognised deferral tags. A scenario carrying one defers every obligation it",
|
|
234
|
+
[AppMessage.DeferralTagsNeverReplace]: () => "names to a Pending Item, extending (never replacing) the built-in set.",
|
|
235
|
+
[AppMessage.BuiltInDeferralTags]: (tags) => `Built-in deferral tags: ${tags}`,
|
|
236
|
+
[AppMessage.MeasurementsReplacement]: () => "A fitness function's evidence observation is the outcome of its own CI step: put the check's @SCN on that step's `id:` " +
|
|
237
|
+
"and hand balance the run's step record with --ci-steps.",
|
|
238
|
+
[AppMessage.AllocateSummary]: () => "Print the next @SCN code for a feature part: one past the highest the repository has ever carried, " +
|
|
239
|
+
"the code alone on stdout.",
|
|
240
|
+
[AppMessage.FeaturePartArgument]: () => "The feature part: a feature file's header code, two to five of A-Z and 0-9.",
|
|
241
|
+
[AppMessage.NewFlag]: () => "Start a part no feature file's header carries yet: its first code, " +
|
|
242
|
+
"or one past any number the repository already carries for it.",
|
|
243
|
+
[AppMessage.LegacyJsonRemoved]: () => "The --json <path> flag has been removed. " +
|
|
244
|
+
"Use --format json:<path> to write the JSON report to a file " +
|
|
245
|
+
"(e.g. --format json:spec-reconciliation.json).",
|
|
246
|
+
[AppMessage.InputPathMissing]: (flag, path) => `The ${flag} path does not exist: ${path}`,
|
|
247
|
+
[AppMessage.FlaggedFile]: (flag) => `The ${flag} file`,
|
|
248
|
+
[AppMessage.FlaggedReport]: (flag) => `The ${flag} report`,
|
|
249
|
+
[AppMessage.FlaggedRecord]: (flag) => `The ${flag} record`,
|
|
250
|
+
[AppMessage.FlaggedManifest]: (flag) => `The ${flag} manifest`,
|
|
251
|
+
[AppMessage.FlaggedSavedReport]: (flag) => `The ${flag} saved report`,
|
|
252
|
+
[AppMessage.FlaggedCorpus]: (flag) => `The ${flag} corpus`,
|
|
253
|
+
[AppMessage.FlaggedWorkflows]: (flag) => `The ${flag} workflows`,
|
|
254
|
+
[AppMessage.DefaultPackageJson]: () => "The package.json read by default",
|
|
255
|
+
[AppMessage.DefaultFeatureCorpus]: () => "The feature corpus read by default",
|
|
256
|
+
[AppMessage.DefaultCiWorkflows]: () => "The CI workflows read by default",
|
|
257
|
+
[AppMessage.VitestReportShape]: () => "the Vitest JSON reporter writes",
|
|
258
|
+
[AppMessage.CucumberReportShape]: () => "the Cucumber JSON formatter writes",
|
|
259
|
+
[AppMessage.CiStepRecordShape]: () => "of a CI run's record of its steps",
|
|
260
|
+
[AppMessage.PackageManifestShape]: () => "of a package.json manifest",
|
|
261
|
+
[AppMessage.NotValidJson]: (subject, path, reason) => `${subject} is not valid JSON: ${path} (${reason})`,
|
|
262
|
+
[AppMessage.NotInShape]: (subject, shape, path, fault) => `${subject} is not in the shape ${shape}: ${path} (${fault})`,
|
|
263
|
+
[AppMessage.NotASavedReconciliation]: (subject, path, fault) => `${subject} is not a saved reconciliation: ${path} (${fault})`,
|
|
264
|
+
[AppMessage.NotRenderableAsSaved]: (subject, path, reason) => `${subject} could not be rendered as a saved reconciliation: ${path} (${reason})`,
|
|
265
|
+
[AppMessage.CorpusFileUnparseable]: (corpus, file, message) => `${corpus} contains a feature file that could not be parsed: ${file}\n${message}`,
|
|
266
|
+
[AppMessage.ReRenderReadsOnly]: (ignored) => `--render-from-json re-renders a saved report and reads only --strict and --exit-zero beside it; ` +
|
|
267
|
+
`${ignored} would be ignored. Remove it, or run balance without --render-from-json.`,
|
|
268
|
+
[AppMessage.UnknownFormat]: (formats, supported) => `Unknown --format ${formats}. Supported formats are ${supported} ` +
|
|
269
|
+
`(e.g. --format md, --format json:report.json).`,
|
|
270
|
+
[AppMessage.MoreThanOneToStdout]: (formats) => `More than one output routes to stdout (${formats}); at most one may. ` +
|
|
271
|
+
`Give one of them a :<path> to write it to a file instead ` +
|
|
272
|
+
`(e.g. --format json:report.json).`,
|
|
273
|
+
[AppMessage.OutputsShareFile]: (first, second) => `Two outputs name the same file: ${first} and ${second}. Give each output a file of its own.`,
|
|
274
|
+
[AppMessage.OutputOverwritesInput]: (output, subject, path) => `An output would overwrite a file this run reads: ${output} is ${subject}, ${path}. ` +
|
|
275
|
+
`Give the report a file of its own.`,
|
|
276
|
+
[AppMessage.OutputOverwritesStoredRun]: (path, runDir) => `A --format output names ${path}, a file of the earlier stored run in ${runDir}. ` +
|
|
277
|
+
`Give the report a path outside that run's directory.`,
|
|
278
|
+
[AppMessage.ReportNotWritten]: (format) => `The ${format} report could not be written`,
|
|
279
|
+
[AppMessage.HistoryBoundary]: (unread, risk) => `history: ${unread}; ${risk} may have been used before`,
|
|
280
|
+
[AppMessage.ShallowHistoryUnread]: (before) => `shallow clone — history before ${before} unread`,
|
|
281
|
+
[AppMessage.NoRepositoryHistoryRead]: () => "not a git repository — none read",
|
|
282
|
+
[AppMessage.RiskOfPartCode]: (part) => `a code of ${part}`,
|
|
283
|
+
[AppMessage.RiskAboveCode]: (code) => `a code above ${code}`,
|
|
284
|
+
[AppMessage.HighestSeenNone]: () => "highest seen: none",
|
|
285
|
+
[AppMessage.HighestSeenInTree]: (code, path, line) => `highest seen: ${code}, ${path}:${line}`,
|
|
286
|
+
[AppMessage.HighestSeenInCommit]: (code, path, line, commit) => `highest seen: ${code}, ${path}:${line} in ${commit}`,
|
|
287
|
+
[AppMessage.UnknownPartRefused]: (part, parts) => `spec-controller allocate: unknown part — no feature file's header carries ${part}.\n` +
|
|
288
|
+
`The parts this corpus's feature files carry: ${parts}.`,
|
|
289
|
+
[AppMessage.NoPartsCarried]: () => "none",
|
|
290
|
+
[AppMessage.PartAlreadyHeaded]: (part) => `note: a feature file's header already carries ${part}, so --new was not needed`,
|
|
291
|
+
[AppMessage.NoFeaturePartGiven]: () => "no feature part was given: 'spec-controller allocate <FFF>' takes one, a feature file's header code.",
|
|
292
|
+
[AppMessage.NotAFeaturePart]: (part) => `'${part}' is not a feature part: two to five characters, each A-Z or 0-9.`,
|
|
293
|
+
[AppMessage.DefaultCorpusFeatureFile]: () => "a feature file of the corpus read by default",
|
|
294
|
+
[AppMessage.FlaggedCorpusFeatureFile]: () => "a feature file of the --features corpus",
|
|
295
|
+
[AppMessage.DefaultCiWorkflow]: () => "a CI workflow read by default",
|
|
296
|
+
[AppMessage.FlaggedCiWorkflow]: () => "the --ci workflow",
|
|
297
|
+
[AppMessage.FlaggedCiFolderWorkflow]: () => "a workflow of the --ci folder",
|
|
298
|
+
[AppMessage.FormatOnStandardOutput]: (fmt) => `${fmt} on standard output`,
|
|
299
|
+
[AppMessage.ShapeKindList]: () => "a list",
|
|
300
|
+
[AppMessage.ShapeKindObject]: () => "an object",
|
|
301
|
+
[AppMessage.ShapeKindOfType]: (type) => `a ${type}`,
|
|
302
|
+
[AppMessage.ShapeTopLevel]: () => "the top level",
|
|
303
|
+
[AppMessage.ShapeWrongKind]: (where, found, expected) => `${where} is ${found}, not ${expected}`,
|
|
304
|
+
[AppMessage.ShapeFieldMissing]: (path) => `${path} is missing`,
|
|
305
|
+
[AppMessage.HostUsageError]: (message) => `spec-controller: usage error — ${message}`,
|
|
306
|
+
[AppMessage.HelpUsageLine]: (modifierUsage) => `spec-controller ${modifierUsage} <command> [command-args]`,
|
|
307
|
+
};
|
|
308
|
+
export const Unreadable = {
|
|
309
|
+
History: AppMessage.History,
|
|
310
|
+
Repository: AppMessage.Repository,
|
|
311
|
+
Tree: AppMessage.Tree,
|
|
312
|
+
TreeDirectory: AppMessage.TreeDirectory,
|
|
313
|
+
TreeFile: AppMessage.TreeFile,
|
|
314
|
+
FeatureFile: AppMessage.FeatureFile,
|
|
315
|
+
FeatureCorpus: AppMessage.FeatureCorpus,
|
|
316
|
+
WorkingDirectory: AppMessage.WorkingDirectory,
|
|
317
|
+
};
|
|
318
|
+
export const UNREADABLE_SUBJECTS = Object.fromEntries(Object.values(Unreadable).map((code) => [code, APP_MESSAGES[code]()]));
|
|
319
|
+
//# sourceMappingURL=messages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"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EAAE,UAAU,CAAC,QAAQ;IAC7B,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,aAAa,EAAE,UAAU,CAAC,aAAa;IACvC,gBAAgB,EAAE,UAAU,CAAC,gBAAgB;CACrC,CAAC;AAIX,MAAM,CAAC,MAAM,mBAAmB,GAAyC,MAAM,CAAC,WAAW,CACzF,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CACxC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare function unwritableRefusal(subject: string, path: string, err: unknown): string;
|
|
2
|
+
export declare function writeOrRefuse(subject: string, path: string, write: () => void): void;
|
|
3
|
+
export declare function refuse(message: string): never;
|
|
4
|
+
export declare function settlingRefusal<T>(run: () => T, refused: T): T;
|
|
5
|
+
export interface RegularFileIdentity {
|
|
6
|
+
readonly dev: bigint;
|
|
7
|
+
readonly ino: bigint;
|
|
8
|
+
}
|
|
9
|
+
export interface ReadInput {
|
|
10
|
+
readonly subject: string;
|
|
11
|
+
readonly path: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ProbedDestination {
|
|
14
|
+
readonly identity: RegularFileIdentity | undefined;
|
|
15
|
+
readonly created: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare function probeDestination(path: string): ProbedDestination;
|
|
18
|
+
export declare function firstSharingFile(file: string, others: readonly string[]): string | undefined;
|
|
19
|
+
export declare function regularFileIdentity(path: string): RegularFileIdentity | undefined;
|
|
20
|
+
export declare function inputAt(path: string, inputs: readonly ReadInput[]): ReadInput | undefined;
|
|
21
|
+
export declare function stdoutIdentity(): RegularFileIdentity | undefined;
|
|
22
|
+
export declare function namesStdout(path: string): boolean;
|
|
23
|
+
//# sourceMappingURL=outputLocation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outputL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