@odarino/backlog.md 1.56.1 → 1.57.0-next.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.
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "backlog",
3
+ "harenApi": "1",
4
+ "description": "Two-way sync between haren tasks and a Backlog.md board",
5
+ "requires": [
6
+ {
7
+ "bin": "backlog",
8
+ "version": ">=1.57.0-0",
9
+ "install": "npm i -g @odarino/backlog.md"
10
+ }
11
+ ],
12
+ "setup": [
13
+ "sh -c 'if [ -f backlog/config.yml ] || [ -f backlog/config.yaml ] || [ -f .backlog/config.yml ] || [ -f .backlog/config.yaml ] || [ -f backlog.config.yml ] || [ -f backlog.json ]; then exit 0; fi; if git rev-parse --git-dir >/dev/null 2>&1; then backlog init \"$0\" --defaults; else backlog init \"$0\" --defaults --no-git; fi' '{{project}}'"
14
+ ],
15
+ "hooks": {
16
+ "session-start": "backlog haren-hook session-start",
17
+ "after-plan": "backlog haren-hook after-plan",
18
+ "on-task-status": "backlog haren-hook on-task-status"
19
+ },
20
+ "config": {},
21
+ "skills": ["skills/haren-board"]
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odarino/backlog.md",
3
- "version": "1.56.1",
3
+ "version": "1.57.0-next.0",
4
4
  "module": "src/cli.ts",
5
5
  "files": [
6
6
  "cli.js",
@@ -8,18 +8,20 @@
8
8
  "postuninstall.cjs",
9
9
  "package.json",
10
10
  "README.md",
11
- "LICENSE"
11
+ "LICENSE",
12
+ "haren-plugin.json",
13
+ "skills/"
12
14
  ],
13
15
  "bin": {
14
16
  "backlog": "cli.js"
15
17
  },
16
18
  "optionalDependencies": {
17
- "@odarino/backlog.md-darwin-arm64": "1.56.1",
18
- "@odarino/backlog.md-darwin-x64": "1.56.1",
19
- "@odarino/backlog.md-linux-arm64": "1.56.1",
20
- "@odarino/backlog.md-linux-x64": "1.56.1",
21
- "@odarino/backlog.md-windows-arm64": "1.56.1",
22
- "@odarino/backlog.md-windows-x64": "1.56.1"
19
+ "@odarino/backlog.md-darwin-arm64": "1.57.0-next.0",
20
+ "@odarino/backlog.md-darwin-x64": "1.57.0-next.0",
21
+ "@odarino/backlog.md-linux-arm64": "1.57.0-next.0",
22
+ "@odarino/backlog.md-linux-x64": "1.57.0-next.0",
23
+ "@odarino/backlog.md-windows-arm64": "1.57.0-next.0",
24
+ "@odarino/backlog.md-windows-x64": "1.57.0-next.0"
23
25
  },
24
26
  "scripts": {
25
27
  "postuninstall": "node postuninstall.cjs"
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: haren-board
3
+ description: Use the Backlog.md board inside a haren project. Open the board, read task status, and change status through haren.
4
+ ---
5
+
6
+ # Backlog board for haren
7
+
8
+ haren syncs its planned features with Backlog.md tasks. Each synced task has the label `haren:<module>/<feature>`.
9
+
10
+ ## Open the board
11
+
12
+ - Terminal board: `backlog board`
13
+ - Web board: `backlog browser`
14
+
15
+ ## Rules
16
+
17
+ 1. In a haren session, change a feature status with the haren `update-tracking` skill. Do not change it with `backlog task edit`. haren then updates the board.
18
+ 2. A person can move a task on the board. haren reads the change at the next session start.
19
+ 3. haren owns the title, the description, and the dependencies of a synced task. Change them in the haren plan, not on the board.
20
+ 4. Do not remove the `haren:` label from a task. haren uses it to find the task.