specgov 0.1.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/CHANGELOG.md +8 -0
- package/LICENSE +22 -0
- package/README.md +389 -0
- package/RELEASING.md +50 -0
- package/SECURITY.md +14 -0
- package/action.yml +36 -0
- package/dist/action/action.d.ts +1 -0
- package/dist/action/artifacts.d.ts +6 -0
- package/dist/action/checks.d.ts +16 -0
- package/dist/action/cli-app.d.ts +5 -0
- package/dist/action/cli.d.ts +2 -0
- package/dist/action/errors.d.ts +4 -0
- package/dist/action/git.d.ts +7 -0
- package/dist/action/index.d.ts +5 -0
- package/dist/action/index.js +42 -0
- package/dist/action/licenses.txt +561 -0
- package/dist/action/manifest.d.ts +6 -0
- package/dist/action/match.d.ts +1 -0
- package/dist/action/package.json +3 -0
- package/dist/action/paths.d.ts +3 -0
- package/dist/action/report.d.ts +6 -0
- package/dist/action/types.d.ts +84 -0
- package/dist/action.d.ts +1 -0
- package/dist/action.js +45 -0
- package/dist/artifacts.d.ts +6 -0
- package/dist/artifacts.js +151 -0
- package/dist/checks.d.ts +16 -0
- package/dist/checks.js +121 -0
- package/dist/cli-app.d.ts +5 -0
- package/dist/cli-app.js +125 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +7 -0
- package/dist/errors.d.ts +4 -0
- package/dist/errors.js +8 -0
- package/dist/git.d.ts +7 -0
- package/dist/git.js +47 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/manifest.d.ts +6 -0
- package/dist/manifest.js +232 -0
- package/dist/match.d.ts +1 -0
- package/dist/match.js +9 -0
- package/dist/paths.d.ts +3 -0
- package/dist/paths.js +13 -0
- package/dist/report.d.ts +6 -0
- package/dist/report.js +95 -0
- package/dist/types.d.ts +84 -0
- package/dist/types.js +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
@actions/core
|
|
2
|
+
MIT
|
|
3
|
+
The MIT License (MIT)
|
|
4
|
+
|
|
5
|
+
Copyright 2019 GitHub
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
8
|
+
|
|
9
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
12
|
+
|
|
13
|
+
@actions/exec
|
|
14
|
+
MIT
|
|
15
|
+
The MIT License (MIT)
|
|
16
|
+
|
|
17
|
+
Copyright 2019 GitHub
|
|
18
|
+
|
|
19
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
22
|
+
|
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
24
|
+
|
|
25
|
+
@actions/http-client
|
|
26
|
+
MIT
|
|
27
|
+
Actions Http Client for Node.js
|
|
28
|
+
|
|
29
|
+
Copyright (c) GitHub, Inc.
|
|
30
|
+
|
|
31
|
+
All rights reserved.
|
|
32
|
+
|
|
33
|
+
MIT License
|
|
34
|
+
|
|
35
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
|
36
|
+
associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
37
|
+
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
38
|
+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
39
|
+
subject to the following conditions:
|
|
40
|
+
|
|
41
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
42
|
+
|
|
43
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
44
|
+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
45
|
+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
46
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
47
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@actions/io
|
|
51
|
+
MIT
|
|
52
|
+
The MIT License (MIT)
|
|
53
|
+
|
|
54
|
+
Copyright 2019 GitHub
|
|
55
|
+
|
|
56
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
57
|
+
|
|
58
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
59
|
+
|
|
60
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
61
|
+
|
|
62
|
+
@nodelib/fs.scandir
|
|
63
|
+
MIT
|
|
64
|
+
The MIT License (MIT)
|
|
65
|
+
|
|
66
|
+
Copyright (c) Denis Malinochkin
|
|
67
|
+
|
|
68
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
69
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
70
|
+
in the Software without restriction, including without limitation the rights
|
|
71
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
72
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
73
|
+
furnished to do so, subject to the following conditions:
|
|
74
|
+
|
|
75
|
+
The above copyright notice and this permission notice shall be included in all
|
|
76
|
+
copies or substantial portions of the Software.
|
|
77
|
+
|
|
78
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
79
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
80
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
81
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
82
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
83
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
84
|
+
SOFTWARE.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
@nodelib/fs.stat
|
|
88
|
+
MIT
|
|
89
|
+
The MIT License (MIT)
|
|
90
|
+
|
|
91
|
+
Copyright (c) Denis Malinochkin
|
|
92
|
+
|
|
93
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
94
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
95
|
+
in the Software without restriction, including without limitation the rights
|
|
96
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
97
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
98
|
+
furnished to do so, subject to the following conditions:
|
|
99
|
+
|
|
100
|
+
The above copyright notice and this permission notice shall be included in all
|
|
101
|
+
copies or substantial portions of the Software.
|
|
102
|
+
|
|
103
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
104
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
105
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
106
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
107
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
108
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
109
|
+
SOFTWARE.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@nodelib/fs.walk
|
|
113
|
+
MIT
|
|
114
|
+
The MIT License (MIT)
|
|
115
|
+
|
|
116
|
+
Copyright (c) Denis Malinochkin
|
|
117
|
+
|
|
118
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
119
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
120
|
+
in the Software without restriction, including without limitation the rights
|
|
121
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
122
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
123
|
+
furnished to do so, subject to the following conditions:
|
|
124
|
+
|
|
125
|
+
The above copyright notice and this permission notice shall be included in all
|
|
126
|
+
copies or substantial portions of the Software.
|
|
127
|
+
|
|
128
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
129
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
130
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
131
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
132
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
133
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
134
|
+
SOFTWARE.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
braces
|
|
138
|
+
MIT
|
|
139
|
+
The MIT License (MIT)
|
|
140
|
+
|
|
141
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
142
|
+
|
|
143
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
144
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
145
|
+
in the Software without restriction, including without limitation the rights
|
|
146
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
147
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
148
|
+
furnished to do so, subject to the following conditions:
|
|
149
|
+
|
|
150
|
+
The above copyright notice and this permission notice shall be included in
|
|
151
|
+
all copies or substantial portions of the Software.
|
|
152
|
+
|
|
153
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
154
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
155
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
156
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
157
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
158
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
159
|
+
THE SOFTWARE.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
fast-glob
|
|
163
|
+
MIT
|
|
164
|
+
The MIT License (MIT)
|
|
165
|
+
|
|
166
|
+
Copyright (c) Denis Malinochkin
|
|
167
|
+
|
|
168
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
169
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
170
|
+
in the Software without restriction, including without limitation the rights
|
|
171
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
172
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
173
|
+
furnished to do so, subject to the following conditions:
|
|
174
|
+
|
|
175
|
+
The above copyright notice and this permission notice shall be included in all
|
|
176
|
+
copies or substantial portions of the Software.
|
|
177
|
+
|
|
178
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
179
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
180
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
181
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
182
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
183
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
184
|
+
SOFTWARE.
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
fastq
|
|
188
|
+
ISC
|
|
189
|
+
Copyright (c) 2015-2020, Matteo Collina <matteo.collina@gmail.com>
|
|
190
|
+
|
|
191
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
192
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
193
|
+
copyright notice and this permission notice appear in all copies.
|
|
194
|
+
|
|
195
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
196
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
197
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
198
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
199
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
200
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
201
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
fill-range
|
|
205
|
+
MIT
|
|
206
|
+
The MIT License (MIT)
|
|
207
|
+
|
|
208
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
209
|
+
|
|
210
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
211
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
212
|
+
in the Software without restriction, including without limitation the rights
|
|
213
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
214
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
215
|
+
furnished to do so, subject to the following conditions:
|
|
216
|
+
|
|
217
|
+
The above copyright notice and this permission notice shall be included in
|
|
218
|
+
all copies or substantial portions of the Software.
|
|
219
|
+
|
|
220
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
221
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
222
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
223
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
224
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
225
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
226
|
+
THE SOFTWARE.
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
glob-parent
|
|
230
|
+
ISC
|
|
231
|
+
The ISC License
|
|
232
|
+
|
|
233
|
+
Copyright (c) 2015, 2019 Elan Shanker
|
|
234
|
+
|
|
235
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
236
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
237
|
+
copyright notice and this permission notice appear in all copies.
|
|
238
|
+
|
|
239
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
240
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
241
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
242
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
243
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
244
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
245
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
is-extglob
|
|
249
|
+
MIT
|
|
250
|
+
The MIT License (MIT)
|
|
251
|
+
|
|
252
|
+
Copyright (c) 2014-2016, Jon Schlinkert
|
|
253
|
+
|
|
254
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
255
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
256
|
+
in the Software without restriction, including without limitation the rights
|
|
257
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
258
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
259
|
+
furnished to do so, subject to the following conditions:
|
|
260
|
+
|
|
261
|
+
The above copyright notice and this permission notice shall be included in
|
|
262
|
+
all copies or substantial portions of the Software.
|
|
263
|
+
|
|
264
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
265
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
266
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
267
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
268
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
269
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
270
|
+
THE SOFTWARE.
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
is-glob
|
|
274
|
+
MIT
|
|
275
|
+
The MIT License (MIT)
|
|
276
|
+
|
|
277
|
+
Copyright (c) 2014-2017, Jon Schlinkert.
|
|
278
|
+
|
|
279
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
280
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
281
|
+
in the Software without restriction, including without limitation the rights
|
|
282
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
283
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
284
|
+
furnished to do so, subject to the following conditions:
|
|
285
|
+
|
|
286
|
+
The above copyright notice and this permission notice shall be included in
|
|
287
|
+
all copies or substantial portions of the Software.
|
|
288
|
+
|
|
289
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
290
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
291
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
292
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
293
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
294
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
295
|
+
THE SOFTWARE.
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
is-number
|
|
299
|
+
MIT
|
|
300
|
+
The MIT License (MIT)
|
|
301
|
+
|
|
302
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
303
|
+
|
|
304
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
305
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
306
|
+
in the Software without restriction, including without limitation the rights
|
|
307
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
308
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
309
|
+
furnished to do so, subject to the following conditions:
|
|
310
|
+
|
|
311
|
+
The above copyright notice and this permission notice shall be included in
|
|
312
|
+
all copies or substantial portions of the Software.
|
|
313
|
+
|
|
314
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
315
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
316
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
317
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
318
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
319
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
320
|
+
THE SOFTWARE.
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
merge2
|
|
324
|
+
MIT
|
|
325
|
+
The MIT License (MIT)
|
|
326
|
+
|
|
327
|
+
Copyright (c) 2014-2020 Teambition
|
|
328
|
+
|
|
329
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
330
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
331
|
+
in the Software without restriction, including without limitation the rights
|
|
332
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
333
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
334
|
+
furnished to do so, subject to the following conditions:
|
|
335
|
+
|
|
336
|
+
The above copyright notice and this permission notice shall be included in all
|
|
337
|
+
copies or substantial portions of the Software.
|
|
338
|
+
|
|
339
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
340
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
341
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
342
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
343
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
344
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
345
|
+
SOFTWARE.
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
micromatch
|
|
349
|
+
MIT
|
|
350
|
+
The MIT License (MIT)
|
|
351
|
+
|
|
352
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
353
|
+
|
|
354
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
355
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
356
|
+
in the Software without restriction, including without limitation the rights
|
|
357
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
358
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
359
|
+
furnished to do so, subject to the following conditions:
|
|
360
|
+
|
|
361
|
+
The above copyright notice and this permission notice shall be included in
|
|
362
|
+
all copies or substantial portions of the Software.
|
|
363
|
+
|
|
364
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
365
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
366
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
367
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
368
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
369
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
370
|
+
THE SOFTWARE.
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
picomatch
|
|
374
|
+
MIT
|
|
375
|
+
The MIT License (MIT)
|
|
376
|
+
|
|
377
|
+
Copyright (c) 2017-present, Jon Schlinkert.
|
|
378
|
+
|
|
379
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
380
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
381
|
+
in the Software without restriction, including without limitation the rights
|
|
382
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
383
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
384
|
+
furnished to do so, subject to the following conditions:
|
|
385
|
+
|
|
386
|
+
The above copyright notice and this permission notice shall be included in
|
|
387
|
+
all copies or substantial portions of the Software.
|
|
388
|
+
|
|
389
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
390
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
391
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
392
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
393
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
394
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
395
|
+
THE SOFTWARE.
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
queue-microtask
|
|
399
|
+
MIT
|
|
400
|
+
The MIT License (MIT)
|
|
401
|
+
|
|
402
|
+
Copyright (c) Feross Aboukhadijeh
|
|
403
|
+
|
|
404
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
405
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
406
|
+
the Software without restriction, including without limitation the rights to
|
|
407
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
408
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
409
|
+
subject to the following conditions:
|
|
410
|
+
|
|
411
|
+
The above copyright notice and this permission notice shall be included in all
|
|
412
|
+
copies or substantial portions of the Software.
|
|
413
|
+
|
|
414
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
415
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
416
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
417
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
418
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
419
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
reusify
|
|
423
|
+
MIT
|
|
424
|
+
The MIT License (MIT)
|
|
425
|
+
|
|
426
|
+
Copyright (c) 2015-2024 Matteo Collina
|
|
427
|
+
|
|
428
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
429
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
430
|
+
in the Software without restriction, including without limitation the rights
|
|
431
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
432
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
433
|
+
furnished to do so, subject to the following conditions:
|
|
434
|
+
|
|
435
|
+
The above copyright notice and this permission notice shall be included in all
|
|
436
|
+
copies or substantial portions of the Software.
|
|
437
|
+
|
|
438
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
439
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
440
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
441
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
442
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
443
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
444
|
+
SOFTWARE.
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
run-parallel
|
|
449
|
+
MIT
|
|
450
|
+
The MIT License (MIT)
|
|
451
|
+
|
|
452
|
+
Copyright (c) Feross Aboukhadijeh
|
|
453
|
+
|
|
454
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
455
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
456
|
+
the Software without restriction, including without limitation the rights to
|
|
457
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
458
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
459
|
+
subject to the following conditions:
|
|
460
|
+
|
|
461
|
+
The above copyright notice and this permission notice shall be included in all
|
|
462
|
+
copies or substantial portions of the Software.
|
|
463
|
+
|
|
464
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
465
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
466
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
467
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
468
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
469
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
to-regex-range
|
|
473
|
+
MIT
|
|
474
|
+
The MIT License (MIT)
|
|
475
|
+
|
|
476
|
+
Copyright (c) 2015-present, Jon Schlinkert.
|
|
477
|
+
|
|
478
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
479
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
480
|
+
in the Software without restriction, including without limitation the rights
|
|
481
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
482
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
483
|
+
furnished to do so, subject to the following conditions:
|
|
484
|
+
|
|
485
|
+
The above copyright notice and this permission notice shall be included in
|
|
486
|
+
all copies or substantial portions of the Software.
|
|
487
|
+
|
|
488
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
489
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
490
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
491
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
492
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
493
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
494
|
+
THE SOFTWARE.
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
tunnel
|
|
498
|
+
MIT
|
|
499
|
+
The MIT License (MIT)
|
|
500
|
+
|
|
501
|
+
Copyright (c) 2012 Koichi Kobayashi
|
|
502
|
+
|
|
503
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
504
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
505
|
+
in the Software without restriction, including without limitation the rights
|
|
506
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
507
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
508
|
+
furnished to do so, subject to the following conditions:
|
|
509
|
+
|
|
510
|
+
The above copyright notice and this permission notice shall be included in
|
|
511
|
+
all copies or substantial portions of the Software.
|
|
512
|
+
|
|
513
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
514
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
515
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
516
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
517
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
518
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
519
|
+
THE SOFTWARE.
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
undici
|
|
523
|
+
MIT
|
|
524
|
+
MIT License
|
|
525
|
+
|
|
526
|
+
Copyright (c) Matteo Collina and Undici contributors
|
|
527
|
+
|
|
528
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
529
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
530
|
+
in the Software without restriction, including without limitation the rights
|
|
531
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
532
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
533
|
+
furnished to do so, subject to the following conditions:
|
|
534
|
+
|
|
535
|
+
The above copyright notice and this permission notice shall be included in all
|
|
536
|
+
copies or substantial portions of the Software.
|
|
537
|
+
|
|
538
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
539
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
540
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
541
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
542
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
543
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
544
|
+
SOFTWARE.
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
yaml
|
|
548
|
+
ISC
|
|
549
|
+
Copyright Eemeli Aro <eemeli@gmail.com>
|
|
550
|
+
|
|
551
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
552
|
+
with or without fee is hereby granted, provided that the above copyright notice
|
|
553
|
+
and this permission notice appear in all copies.
|
|
554
|
+
|
|
555
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
556
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
557
|
+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
558
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
559
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
560
|
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
561
|
+
THIS SOFTWARE.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SpecGovConfig } from "./types.js";
|
|
2
|
+
export declare const DEFAULT_CONFIG_PATH = ".specgov.yml";
|
|
3
|
+
export declare const DEFAULT_CONFIG_TEMPLATE = "version: 1\nmode: advisory\n\nartifacts:\n - path: \"docs/**/*.md\"\n kind: documentation\n owner: docs\n - path: \"adr/**/*.md\"\n kind: decision\n owner: architecture\n - path: \".specs/**/*.md\"\n kind: specification\n owner: engineering\n\nmappings:\n - code: \"src/**\"\n specs:\n - \"docs/**\"\n - \"adr/**\"\n - \".specs/**\"\n\nrules:\n require_spec_impact_for_code_changes: true\n require_lifecycle_status: false\n require_owner_for_active_specs: false\n stale_after_days: 180\n\nignore:\n - \"node_modules/**\"\n - \"dist/**\"\n - \".git/**\"\n";
|
|
4
|
+
export declare function loadConfig(cwd: string, configPath?: string): Promise<SpecGovConfig>;
|
|
5
|
+
export declare function writeDefaultConfig(cwd: string, configPath?: string, force?: boolean): Promise<void>;
|
|
6
|
+
export declare function normalizeConfig(input: unknown, source?: string): SpecGovConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function matchesAny(filePath: string, patterns: string | string[] | undefined): boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EnforcementMode, Finding, ReportStatus, SpecGovReport } from "./types.js";
|
|
2
|
+
export declare function evaluateStatus(findings: Finding[], mode: EnforcementMode): ReportStatus;
|
|
3
|
+
export declare function makeReport(input: Omit<SpecGovReport, "status" | "summary">): SpecGovReport;
|
|
4
|
+
export declare function exitCodeForReport(report: SpecGovReport): number;
|
|
5
|
+
export declare function renderReport(report: SpecGovReport, format?: "json" | "markdown"): string;
|
|
6
|
+
export declare function renderMarkdownReport(report: SpecGovReport): string;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export type EnforcementMode = "advisory" | "strict";
|
|
2
|
+
export type ArtifactStatus = "draft" | "active" | "superseded" | "deprecated" | "archived";
|
|
3
|
+
export type ReportStatus = "pass" | "warn" | "fail" | "error";
|
|
4
|
+
export type Severity = "info" | "warning" | "error";
|
|
5
|
+
export interface ArtifactRule {
|
|
6
|
+
path: string | string[];
|
|
7
|
+
kind: string;
|
|
8
|
+
owner?: string;
|
|
9
|
+
status?: ArtifactStatus;
|
|
10
|
+
}
|
|
11
|
+
export interface MappingRule {
|
|
12
|
+
code: string | string[];
|
|
13
|
+
specs: string | string[];
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GovernanceRules {
|
|
17
|
+
require_spec_impact_for_code_changes: boolean;
|
|
18
|
+
require_lifecycle_status: boolean;
|
|
19
|
+
require_owner_for_active_specs: boolean;
|
|
20
|
+
stale_after_days: number;
|
|
21
|
+
}
|
|
22
|
+
export interface SpecGovConfig {
|
|
23
|
+
version: number;
|
|
24
|
+
mode: EnforcementMode;
|
|
25
|
+
artifacts: ArtifactRule[];
|
|
26
|
+
mappings: MappingRule[];
|
|
27
|
+
rules: GovernanceRules;
|
|
28
|
+
ignore: string[];
|
|
29
|
+
}
|
|
30
|
+
export interface ArtifactMetadata {
|
|
31
|
+
status?: ArtifactStatus;
|
|
32
|
+
owner?: string;
|
|
33
|
+
last_verified?: string;
|
|
34
|
+
superseded_by?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface GovernedArtifact {
|
|
37
|
+
path: string;
|
|
38
|
+
kind: string;
|
|
39
|
+
owner?: string;
|
|
40
|
+
status?: ArtifactStatus;
|
|
41
|
+
lastVerified?: string;
|
|
42
|
+
supersededBy?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface ArtifactDiscovery {
|
|
45
|
+
artifacts: GovernedArtifact[];
|
|
46
|
+
ruleMatchCounts: Array<{
|
|
47
|
+
path: string | string[];
|
|
48
|
+
kind: string;
|
|
49
|
+
count: number;
|
|
50
|
+
}>;
|
|
51
|
+
}
|
|
52
|
+
export interface Finding {
|
|
53
|
+
code: string;
|
|
54
|
+
severity: Severity;
|
|
55
|
+
message: string;
|
|
56
|
+
file?: string;
|
|
57
|
+
relatedFiles?: string[];
|
|
58
|
+
suggestion?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface SpecGovReport {
|
|
61
|
+
command: string;
|
|
62
|
+
status: ReportStatus;
|
|
63
|
+
mode: EnforcementMode;
|
|
64
|
+
summary: {
|
|
65
|
+
findings: number;
|
|
66
|
+
errors: number;
|
|
67
|
+
warnings: number;
|
|
68
|
+
infos: number;
|
|
69
|
+
};
|
|
70
|
+
findings: Finding[];
|
|
71
|
+
artifacts?: GovernedArtifact[];
|
|
72
|
+
changedFiles?: string[];
|
|
73
|
+
trace?: TraceIndex;
|
|
74
|
+
}
|
|
75
|
+
export interface TraceIndex {
|
|
76
|
+
generatedAt: string;
|
|
77
|
+
artifacts: GovernedArtifact[];
|
|
78
|
+
mappings: Array<{
|
|
79
|
+
code: string[];
|
|
80
|
+
specs: string[];
|
|
81
|
+
matchedArtifacts: string[];
|
|
82
|
+
description?: string;
|
|
83
|
+
}>;
|
|
84
|
+
}
|
package/dist/action.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|