@spences10/pi-confirm-destructive 0.0.11 → 0.0.13
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 +5 -3
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
# @spences10/pi-confirm-destructive
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@spences10/pi-confirm-destructive)
|
|
4
3
|
[](https://viteplus.dev)
|
|
5
4
|
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-confirm-destructive)
|
|
6
|
+
[](https://www.npmjs.com/package/@spences10/pi-confirm-destructive)
|
|
6
7
|
|
|
7
8
|
Git-aware destructive action guard for the Pi coding agent.
|
|
8
9
|
|
|
9
|
-
Maintained in the `my-pi` Vite+ workspace and tested with Vitest.
|
|
10
|
-
|
|
11
10
|
## Installation
|
|
12
11
|
|
|
13
12
|
```bash
|
|
@@ -64,6 +63,9 @@ confirm-destructive guard.
|
|
|
64
63
|
|
|
65
64
|
## Development
|
|
66
65
|
|
|
66
|
+
Package scripts build transitive workspace dependencies first, then
|
|
67
|
+
run local tools through Vite+ with `vp exec`.
|
|
68
|
+
|
|
67
69
|
```bash
|
|
68
70
|
pnpm --filter @spences10/pi-confirm-destructive run check
|
|
69
71
|
pnpm --filter @spences10/pi-confirm-destructive run test
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spences10/pi-confirm-destructive",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Pi extension that confirms destructive actions before they run",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"confirm",
|
|
@@ -29,9 +29,10 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
+
"@earendil-works/pi-coding-agent": "^0.74.1",
|
|
32
33
|
"@types/node": "^25.8.0",
|
|
33
34
|
"typescript": "^6.0.3",
|
|
34
|
-
"vitest": "
|
|
35
|
+
"vitest": "4.1.5"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"@earendil-works/pi-coding-agent": "*"
|
|
@@ -47,13 +48,13 @@
|
|
|
47
48
|
},
|
|
48
49
|
"scripts": {
|
|
49
50
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
50
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
51
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
51
52
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
52
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
53
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
53
54
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
54
|
-
"test:self": "vitest run",
|
|
55
|
-
"test:watch": "vitest",
|
|
56
|
-
"coverage:self": "vitest run --coverage",
|
|
55
|
+
"test:self": "vp exec vitest run",
|
|
56
|
+
"test:watch": "vp exec vitest",
|
|
57
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
57
58
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
58
59
|
}
|
|
59
60
|
}
|