pi-powerline 0.2.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.
Files changed (1) hide show
  1. package/package.json +47 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-powerline",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
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": {
@@ -27,11 +27,44 @@
27
27
  "author": "",
28
28
  "license": "MIT",
29
29
  "scripts": {
30
- "test": "node --experimental-strip-types --test tests/**/*.test.ts",
31
- "test:bun": "bun test",
30
+ "test": "bun test",
31
+ "typecheck": "bun tsc --noEmit --ignoreDeprecations 6.0",
32
32
  "format": "prettier --write '**/*.ts'",
33
33
  "format:check": "prettier --check '**/*.ts'",
34
- "prepare": "husky || true"
34
+ "prepare": "[ -d .git ] && husky || true",
35
+ "release": "GH_TOKEN=$(gh auth token) semantic-release --no-ci",
36
+ "release:dry": "GH_TOKEN=$(gh auth token) semantic-release --no-ci --dry-run"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public"
40
+ },
41
+ "release": {
42
+ "repositoryUrl": "https://github.com/jwu/pi-powerline.git",
43
+ "branches": [
44
+ "main"
45
+ ],
46
+ "plugins": [
47
+ "@semantic-release/commit-analyzer",
48
+ "@semantic-release/release-notes-generator",
49
+ [
50
+ "@semantic-release/changelog",
51
+ {
52
+ "changelogFile": "CHANGELOG.md"
53
+ }
54
+ ],
55
+ "@semantic-release/npm",
56
+ "@semantic-release/github",
57
+ [
58
+ "@semantic-release/git",
59
+ {
60
+ "assets": [
61
+ "package.json",
62
+ "CHANGELOG.md"
63
+ ],
64
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
65
+ }
66
+ ]
67
+ ]
35
68
  },
36
69
  "pi": {
37
70
  "extensions": [
@@ -40,13 +73,22 @@
40
73
  "image": "https://raw.githubusercontent.com/jwu/pi-powerline/refs/heads/main/assets/pi-powerline.png"
41
74
  },
42
75
  "peerDependencies": {
43
- "@mariozechner/pi-coding-agent": "*",
44
76
  "@mariozechner/pi-ai": "*",
77
+ "@mariozechner/pi-coding-agent": "*",
45
78
  "@mariozechner/pi-tui": "*"
46
79
  },
47
80
  "devDependencies": {
81
+ "@commitlint/cli": "^20.5.3",
82
+ "@commitlint/config-conventional": "^20.5.3",
83
+ "@semantic-release/changelog": "^6.0.3",
84
+ "@semantic-release/commit-analyzer": "^13.0.1",
85
+ "@semantic-release/git": "^10.0.1",
86
+ "@semantic-release/github": "^12.0.6",
87
+ "@semantic-release/npm": "^13.1.5",
88
+ "@semantic-release/release-notes-generator": "^14.1.0",
48
89
  "husky": "^9.1.7",
49
90
  "prettier": "^3.8.3",
91
+ "semantic-release": "^25.0.3",
50
92
  "typescript": "^6.0.3"
51
93
  }
52
94
  }