pi-powerline 0.3.0 → 0.3.1

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 (1) hide show
  1. package/package.json +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-powerline",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Powerline-style UI extensions for pi coding agent (custom editor, breadcrumb, footer, header)",
5
5
  "homepage": "https://github.com/jwu/pi-powerline#readme",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "typecheck": "bun tsc --noEmit --ignoreDeprecations 6.0",
32
32
  "format": "prettier --write '**/*.ts'",
33
33
  "format:check": "prettier --check '**/*.ts'",
34
- "prepare": "[ -d .git ] && husky || true",
34
+ "prepare": "[ -d .git ] && simple-git-hooks || true",
35
35
  "release": "GH_TOKEN=$(gh auth token) semantic-release --no-ci",
36
36
  "release:dry": "GH_TOKEN=$(gh auth token) semantic-release --no-ci --dry-run"
37
37
  },
@@ -66,6 +66,10 @@
66
66
  ]
67
67
  ]
68
68
  },
69
+ "simple-git-hooks": {
70
+ "pre-commit": "bun prettier --check '**/*.ts' && bun test",
71
+ "commit-msg": "bun commitlint --edit \"$1\""
72
+ },
69
73
  "pi": {
70
74
  "extensions": [
71
75
  "./index.ts"
@@ -86,9 +90,9 @@
86
90
  "@semantic-release/github": "^12.0.6",
87
91
  "@semantic-release/npm": "^13.1.5",
88
92
  "@semantic-release/release-notes-generator": "^14.1.0",
89
- "husky": "^9.1.7",
90
93
  "prettier": "^3.8.3",
91
94
  "semantic-release": "^25.0.3",
95
+ "simple-git-hooks": "^2.13.1",
92
96
  "typescript": "^6.0.3"
93
97
  }
94
98
  }