@operad-io/review-grading 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@operad-io/review-grading",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
7
7
  },
8
8
  "dependencies": {
9
- "@operad-io/engine": "0.1.1"
9
+ "@operad-io/engine": "0.2.0"
10
10
  },
11
11
  "description": "operad: review report grading",
12
12
  "repository": {
@@ -22,18 +22,20 @@
22
22
  "description": "What each severity means, given to the reviewer verbatim.",
23
23
  "type": "object",
24
24
  "properties": {
25
- "critical": { "type": "string" },
26
- "major": { "type": "string" },
27
- "minor": { "type": "string" }
25
+ "critical": { "type": "string", "title": "Critical level" },
26
+ "major": { "type": "string", "title": "Major level" },
27
+ "minor": { "type": "string", "title": "Minor level" }
28
28
  },
29
29
  "additionalProperties": false
30
30
  },
31
31
  "rules": {
32
+ "title": "Review rules",
32
33
  "description": "Rules for grading, given to the reviewer verbatim.",
33
34
  "type": "array",
34
35
  "items": { "type": "string" }
35
36
  },
36
37
  "fixLevel": {
38
+ "title": "Rework threshold",
37
39
  "description": "The lowest severity that fails a review. Wins over dev.json's reviewer.fixLevel.",
38
40
  "enum": ["critical", "major", "minor"]
39
41
  }