@basementuniverse/kanbn 2.1.0 → 2.5.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.
Files changed (65) hide show
  1. package/README.md +1 -0
  2. package/coverage/tmp/coverage-916017-1788028598821-0.json +1 -0
  3. package/coverage/tmp/{coverage-214293-1787777184569-0.json → coverage-916018-1788028597179-0.json} +1 -1
  4. package/coverage/tmp/coverage-916036-1788028598796-0.json +1 -0
  5. package/docs/actions.md +337 -0
  6. package/docs/advanced-configuration.md +32 -0
  7. package/docs/commands/add.txt +8 -1
  8. package/docs/commands/archive.txt +6 -0
  9. package/docs/commands/board.txt +4 -0
  10. package/docs/commands/burndown.txt +1 -0
  11. package/docs/commands/comment.txt +8 -1
  12. package/docs/commands/contributors.txt +58 -0
  13. package/docs/commands/edit.txt +13 -1
  14. package/docs/commands/find.txt +28 -1
  15. package/docs/commands/gantt.txt +1 -0
  16. package/docs/commands/help.txt +1 -0
  17. package/docs/commands/history.txt +1 -0
  18. package/docs/commands/move.txt +17 -0
  19. package/docs/commands/remove.txt +10 -0
  20. package/docs/commands/restore.txt +6 -0
  21. package/docs/commands/sort.txt +18 -0
  22. package/docs/commands/task.txt +4 -0
  23. package/docs/commands/validate.txt +14 -1
  24. package/docs/contributors.md +145 -0
  25. package/docs/filtering-and-sorting.md +60 -3
  26. package/docs/index-structure.md +119 -11
  27. package/docs/index.md +3 -1
  28. package/docs/multiple-boards.md +1 -0
  29. package/docs/task-structure.md +9 -2
  30. package/example/advanced/kanbn.yml +65 -0
  31. package/package.json +1 -1
  32. package/routes/add.json +5 -1
  33. package/routes/archive.json +6 -2
  34. package/routes/comment.json +5 -1
  35. package/routes/contributors.json +18 -0
  36. package/routes/edit.json +5 -1
  37. package/routes/move.json +4 -2
  38. package/routes/remove.json +6 -2
  39. package/routes/restore.json +6 -0
  40. package/routes/sort.json +5 -0
  41. package/src/actions.js +904 -0
  42. package/src/board.js +24 -1
  43. package/src/controller/add.js +21 -10
  44. package/src/controller/archive.js +1 -0
  45. package/src/controller/board.js +13 -4
  46. package/src/controller/burndown.js +5 -2
  47. package/src/controller/comment.js +5 -2
  48. package/src/controller/contributors.js +166 -0
  49. package/src/controller/edit.js +40 -14
  50. package/src/controller/find.js +75 -4
  51. package/src/controller/gantt.js +5 -2
  52. package/src/controller/history.js +5 -2
  53. package/src/controller/move.js +84 -10
  54. package/src/controller/remove.js +39 -2
  55. package/src/controller/restore.js +1 -0
  56. package/src/controller/sort.js +40 -0
  57. package/src/controller/task.js +12 -1
  58. package/src/controller/validate.js +141 -4
  59. package/src/git-user-name.js +5 -15
  60. package/src/git-user.js +55 -0
  61. package/src/main.d.ts +204 -4
  62. package/src/main.js +1412 -38
  63. package/src/parse-index.js +205 -17
  64. package/src/utility.js +135 -1
  65. package/coverage/tmp/coverage-214292-1787777191526-0.json +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basementuniverse/kanbn",
3
- "version": "2.1.0",
3
+ "version": "2.5.0",
4
4
  "description": "A CLI Kanban application",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/routes/add.json CHANGED
@@ -6,7 +6,8 @@
6
6
  ],
7
7
  "args": {
8
8
  "boolean": [
9
- "interactive"
9
+ "interactive",
10
+ "actions"
10
11
  ],
11
12
  "string": [
12
13
  "name",
@@ -55,6 +56,9 @@
55
56
  "board": [
56
57
  "b"
57
58
  ]
59
+ },
60
+ "default": {
61
+ "actions": true
58
62
  }
59
63
  },
60
64
  "controller": "./src/controller/add",
@@ -6,7 +6,8 @@
6
6
  ],
7
7
  "args": {
8
8
  "boolean": [
9
- "list"
9
+ "list",
10
+ "actions"
10
11
  ],
11
12
  "alias": {
12
13
  "list": [
@@ -18,7 +19,10 @@
18
19
  },
19
20
  "string": [
20
21
  "board"
21
- ]
22
+ ],
23
+ "default": {
24
+ "actions": true
25
+ }
22
26
  },
23
27
  "controller": "./src/controller/archive",
24
28
  "help": "./docs/commands/archive.txt"
@@ -6,7 +6,8 @@
6
6
  ],
7
7
  "args": {
8
8
  "boolean": [
9
- "interactive"
9
+ "interactive",
10
+ "actions"
10
11
  ],
11
12
  "string": [
12
13
  "text",
@@ -25,6 +26,9 @@
25
26
  "board": [
26
27
  "b"
27
28
  ]
29
+ },
30
+ "default": {
31
+ "actions": true
28
32
  }
29
33
  },
30
34
  "controller": "./src/controller/comment",
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "Contributors",
3
+ "commands": [
4
+ "contributors"
5
+ ],
6
+ "args": {
7
+ "boolean": [
8
+ "json",
9
+ "usage"
10
+ ],
11
+ "alias": {
12
+ "json": ["j"],
13
+ "usage": ["u"]
14
+ }
15
+ },
16
+ "controller": "./src/controller/contributors",
17
+ "help": "./docs/commands/contributors.txt"
18
+ }
package/routes/edit.json CHANGED
@@ -6,7 +6,8 @@
6
6
  ],
7
7
  "args": {
8
8
  "boolean": [
9
- "interactive"
9
+ "interactive",
10
+ "actions"
10
11
  ],
11
12
  "string": [
12
13
  "name",
@@ -56,6 +57,9 @@
56
57
  "board": [
57
58
  "b"
58
59
  ]
60
+ },
61
+ "default": {
62
+ "actions": true
59
63
  }
60
64
  },
61
65
  "controller": "./src/controller/edit",
package/routes/move.json CHANGED
@@ -8,7 +8,8 @@
8
8
  "boolean": [
9
9
  "interactive",
10
10
  "relative",
11
- "add"
11
+ "add",
12
+ "actions"
12
13
  ],
13
14
  "string": [
14
15
  "column",
@@ -33,7 +34,8 @@
33
34
  ]
34
35
  },
35
36
  "default": {
36
- "add": true
37
+ "add": true,
38
+ "actions": true
37
39
  }
38
40
  },
39
41
  "controller": "./src/controller/move",
@@ -8,7 +8,8 @@
8
8
  "boolean": [
9
9
  "force",
10
10
  "index",
11
- "all-boards"
11
+ "all-boards",
12
+ "actions"
12
13
  ],
13
14
  "alias": {
14
15
  "force": [
@@ -23,7 +24,10 @@
23
24
  },
24
25
  "string": [
25
26
  "board"
26
- ]
27
+ ],
28
+ "default": {
29
+ "actions": true
30
+ }
27
31
  },
28
32
  "controller": "./src/controller/remove",
29
33
  "help": "./docs/commands/remove.txt"
@@ -16,6 +16,12 @@
16
16
  "board": [
17
17
  "b"
18
18
  ]
19
+ },
20
+ "boolean": [
21
+ "actions"
22
+ ],
23
+ "default": {
24
+ "actions": true
19
25
  }
20
26
  },
21
27
  "controller": "./src/controller/restore",
package/routes/sort.json CHANGED
@@ -32,6 +32,11 @@
32
32
  "workload",
33
33
  "progress",
34
34
  "assigned",
35
+ "overdue",
36
+ "is-started",
37
+ "is-completed",
38
+ "in-started-column",
39
+ "in-completed-column",
35
40
  "board"
36
41
  ],
37
42
  "alias": {