@gotgenes/pi-permission-system 3.0.4 → 3.0.5
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/CHANGELOG.md +7 -0
- package/README.md +9 -9
- package/package.json +20 -25
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.0.5](https://github.com/gotgenes/pi-permission-system/compare/v3.0.4...v3.0.5) (2026-05-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependencies and clean up unused peers ([d8482a9](https://github.com/gotgenes/pi-permission-system/commit/d8482a9aab4a41798ba50e7b5db9ede1dcb7897a))
|
|
14
|
+
|
|
8
15
|
## [3.0.4](https://github.com/gotgenes/pi-permission-system/compare/v3.0.3...v3.0.4) (2026-05-03)
|
|
9
16
|
|
|
10
17
|
|
package/README.md
CHANGED
|
@@ -626,14 +626,14 @@ The old extension-root `config.json` is no longer read from the install director
|
|
|
626
626
|
## Development
|
|
627
627
|
|
|
628
628
|
```bash
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
629
|
+
pnpm run build # Type-check TypeScript (no emit)
|
|
630
|
+
pnpm run lint # Biome lint + format check
|
|
631
|
+
pnpm run lint:fix # Biome lint + format auto-fix
|
|
632
|
+
pnpm run lint:md # markdownlint-cli2 on README etc.
|
|
633
|
+
pnpm run lint:all # lint + lint:md
|
|
634
|
+
pnpm run format # Biome format --write
|
|
635
|
+
pnpm run test # Run tests from ./tests
|
|
636
|
+
pnpm run check # build + lint:all + test
|
|
637
637
|
```
|
|
638
638
|
|
|
639
639
|
### Pre-commit hooks
|
|
@@ -642,7 +642,7 @@ This project uses [prek](https://prek.j178.dev/) to run Biome and markdownlint o
|
|
|
642
642
|
This catches lint and formatting issues locally instead of waiting for CI.
|
|
643
643
|
|
|
644
644
|
1. Install prek ([installation guide](https://prek.j178.dev/installation/)).
|
|
645
|
-
2. Run `
|
|
645
|
+
2. Run `pnpm install` — the `prepare` script calls `prek install` automatically.
|
|
646
646
|
If prek is not installed, the script prints a warning and continues.
|
|
647
647
|
3. Hooks run automatically on `git commit`.
|
|
648
648
|
To skip in emergencies: `git commit --no-verify`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gotgenes/pi-permission-system",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Permission enforcement extension for the Pi coding agent.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.ts",
|
|
@@ -17,20 +17,6 @@
|
|
|
17
17
|
"CHANGELOG.md",
|
|
18
18
|
"LICENSE"
|
|
19
19
|
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"prepare": "command -v prek >/dev/null 2>&1 && prek install || echo 'prek not found — skipping hook install (see README)'",
|
|
22
|
-
"build": "tsc -p tsconfig.json",
|
|
23
|
-
"lint": "biome check .",
|
|
24
|
-
"lint:fix": "biome check --write .",
|
|
25
|
-
"lint:md": "markdownlint-cli2 '*.md' 'docs/**/*.md' '.pi/prompts/**/*.md'",
|
|
26
|
-
"lint:md:fix": "markdownlint-cli2 --fix '*.md' 'docs/**/*.md' '.pi/prompts/**/*.md'",
|
|
27
|
-
"lint:imports": "! grep -rn --include='*.ts' 'from \"\\.[./][^\"]*\\.js\"' src/ tests/ index.ts",
|
|
28
|
-
"lint:all": "npm run lint && npm run lint:md && npm run lint:imports",
|
|
29
|
-
"format": "biome format --write .",
|
|
30
|
-
"test": "vitest run",
|
|
31
|
-
"test:watch": "vitest",
|
|
32
|
-
"check": "npm run build && npm run lint:all && npm run test"
|
|
33
|
-
},
|
|
34
20
|
"keywords": [
|
|
35
21
|
"pi-package",
|
|
36
22
|
"pi",
|
|
@@ -67,20 +53,29 @@
|
|
|
67
53
|
]
|
|
68
54
|
},
|
|
69
55
|
"peerDependencies": {
|
|
70
|
-
"@mariozechner/pi-
|
|
71
|
-
"@mariozechner/pi-
|
|
72
|
-
"@mariozechner/pi-tui": "^0.70.5",
|
|
73
|
-
"@sinclair/typebox": "^0.34.49"
|
|
56
|
+
"@mariozechner/pi-coding-agent": "*",
|
|
57
|
+
"@mariozechner/pi-tui": "*"
|
|
74
58
|
},
|
|
75
59
|
"devDependencies": {
|
|
76
60
|
"@biomejs/biome": "^2.4.13",
|
|
77
|
-
"@mariozechner/pi-
|
|
78
|
-
"@mariozechner/pi-
|
|
79
|
-
"@
|
|
80
|
-
"@sinclair/typebox": "^0.34.49",
|
|
81
|
-
"@types/node": "^22.19.17",
|
|
61
|
+
"@mariozechner/pi-coding-agent": "^0.72.1",
|
|
62
|
+
"@mariozechner/pi-tui": "^0.72.1",
|
|
63
|
+
"@types/node": "^25.6.0",
|
|
82
64
|
"markdownlint-cli2": "^0.22.1",
|
|
83
65
|
"typescript": "6.0.3",
|
|
84
66
|
"vitest": "^4.1.5"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsc -p tsconfig.json",
|
|
70
|
+
"lint": "biome check .",
|
|
71
|
+
"lint:fix": "biome check --write .",
|
|
72
|
+
"lint:md": "markdownlint-cli2 '*.md' 'docs/**/*.md' '.pi/prompts/**/*.md'",
|
|
73
|
+
"lint:md:fix": "markdownlint-cli2 --fix '*.md' 'docs/**/*.md' '.pi/prompts/**/*.md'",
|
|
74
|
+
"lint:imports": "! grep -rn --include='*.ts' 'from \"\\.[./][^\"]*\\.js\"' src/ tests/ index.ts",
|
|
75
|
+
"lint:all": "pnpm run lint && pnpm run lint:md && pnpm run lint:imports",
|
|
76
|
+
"format": "biome format --write .",
|
|
77
|
+
"test": "vitest run",
|
|
78
|
+
"test:watch": "vitest",
|
|
79
|
+
"check": "pnpm run build && pnpm run lint:all && pnpm run test"
|
|
85
80
|
}
|
|
86
|
-
}
|
|
81
|
+
}
|