@attalabs/vinaya 0.1.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aeg-root/enforcement.md +2 -1
- package/aeg-root/roles/archivist.md +1 -1
- package/aeg-root/roles/developer.md +2 -2
- package/aeg-root/state-machine.md +17 -3
- package/aeg-root/tranche-model.md +5 -3
- package/dist/checks/bin/check-branch-topology.js +69 -11
- package/dist/checks/bin/check-brief-shape.js +69 -11
- package/dist/checks/bin/check-closes-n.js +69 -11
- package/dist/checks/bin/check-coherence.js +69 -11
- package/dist/checks/bin/check-dead-branch-push.js +69 -11
- package/dist/checks/bin/check-dispatch-readiness.js +69 -11
- package/dist/checks/bin/check-doc-coverage-push.js +69 -11
- package/dist/checks/bin/check-doc-coverage.js +69 -11
- package/dist/checks/bin/check-first-push-dispatch.js +69 -11
- package/dist/checks/bin/check-issue-assignment.js +69 -11
- package/dist/checks/bin/check-no-disk-state.js +69 -11
- package/dist/checks/bin/check-reader-resolvable-prose.js +69 -11
- package/dist/checks/bin/check-registry-gates.js +69 -11
- package/dist/checks/bin/check-review-gate.js +69 -11
- package/dist/checks/bin/check-single-plan-pr.js +69 -11
- package/dist/checks/bin/check-test-plan.js +69 -11
- package/dist/index.js +362 -70
- package/package.json +1 -1
- package/templates/custom-check.template.ts +10 -0
package/package.json
CHANGED
|
@@ -7,6 +7,16 @@
|
|
|
7
7
|
* never sleep past it inside this file. This file is standalone (no import
|
|
8
8
|
* from the vinaya CLI's own source tree) because it lives in YOUR repo, not
|
|
9
9
|
* inside `@attalabs/vinaya`.
|
|
10
|
+
*
|
|
11
|
+
* If this check reads `process.env` directly, declare which variables it
|
|
12
|
+
* needs on its REGISTRATION in `vinaya.config.json` (not in this file —
|
|
13
|
+
* there is no CheckSpec type to attach it to here) via `checks.{{CHECK_NAME}}.env`.
|
|
14
|
+
* Four forms: `"MY_VAR": true` forwards your value verbatim; `{ "optional":
|
|
15
|
+
* true }` forwards it if set, tolerating absence; `{ "anyOf": ["A", "B"] }`
|
|
16
|
+
* forwards whichever of those you've set, each under its own name; a
|
|
17
|
+
* literal string sets the key to that exact value. Example:
|
|
18
|
+
* { "checks": { "{{CHECK_NAME}}": { "run": "...", "scope": "diff",
|
|
19
|
+
* "env": { "MY_TOKEN": { "optional": true } } } } }
|
|
10
20
|
*/
|
|
11
21
|
|
|
12
22
|
type CheckError = {
|