@spences10/pi-coding-preferences 0.0.5 → 0.0.7
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/README.md +16 -0
- package/package.json +9 -6
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @spences10/pi-coding-preferences
|
|
2
2
|
|
|
3
|
+
[](https://viteplus.dev)
|
|
4
|
+
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-coding-preferences)
|
|
6
|
+
[](https://www.npmjs.com/package/@spences10/pi-coding-preferences)
|
|
7
|
+
|
|
3
8
|
Pi extension that blocks configured coding workflow anti-patterns
|
|
4
9
|
before agents run them.
|
|
5
10
|
|
|
@@ -32,3 +37,14 @@ pi install npm:@spences10/pi-coding-preferences
|
|
|
32
37
|
This is opt-in: installing the package globally applies it to your Pi
|
|
33
38
|
sessions, but projects and downstream users do not inherit it unless
|
|
34
39
|
they install the package.
|
|
40
|
+
|
|
41
|
+
## Development
|
|
42
|
+
|
|
43
|
+
Package scripts build transitive workspace dependencies first, then
|
|
44
|
+
run local tools through Vite+ with `vp exec`.
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
pnpm --filter @spences10/pi-coding-preferences run check
|
|
48
|
+
pnpm --filter @spences10/pi-coding-preferences run test
|
|
49
|
+
pnpm --filter @spences10/pi-coding-preferences run build
|
|
50
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-coding-preferences",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Pi extension that nudges agents toward configured coding workflow preferences",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-guardrails",
|
|
@@ -27,9 +27,10 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
+
"@earendil-works/pi-coding-agent": "^0.74.1",
|
|
30
31
|
"@types/node": "^25.8.0",
|
|
31
32
|
"typescript": "^6.0.3",
|
|
32
|
-
"vitest": "
|
|
33
|
+
"vitest": "4.1.5"
|
|
33
34
|
},
|
|
34
35
|
"peerDependencies": {
|
|
35
36
|
"@earendil-works/pi-coding-agent": "*"
|
|
@@ -45,11 +46,13 @@
|
|
|
45
46
|
},
|
|
46
47
|
"scripts": {
|
|
47
48
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
48
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
49
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
49
50
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
50
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
51
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
51
52
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
52
|
-
"test:self": "vitest run",
|
|
53
|
-
"test:watch": "vitest"
|
|
53
|
+
"test:self": "vp exec vitest run",
|
|
54
|
+
"test:watch": "vp exec vitest",
|
|
55
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
56
|
+
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
54
57
|
}
|
|
55
58
|
}
|