@spences10/pi-confirm-destructive 0.0.4 → 0.0.6
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 +6 -2
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# @spences10/pi-confirm-destructive
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@spences10/pi-confirm-destructive)
|
|
4
|
+
[](https://viteplus.dev)
|
|
5
|
+
[](https://vitest.dev)
|
|
4
6
|
|
|
5
7
|
Git-aware destructive action guard for the Pi coding agent.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
Maintained in the `my-pi` Vite+ workspace and tested with Vitest.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
8
12
|
|
|
9
13
|
```bash
|
|
10
14
|
pi install npm:@spences10/pi-confirm-destructive
|
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.6",
|
|
4
4
|
"description": "Pi extension that confirms destructive actions before they run",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"confirm",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@mariozechner/pi-coding-agent": "^0.
|
|
31
|
+
"@mariozechner/pi-coding-agent": "^0.72.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^25.6.0",
|
|
35
|
-
"typescript": "^6.0.
|
|
35
|
+
"typescript": "^6.0.3",
|
|
36
36
|
"vitest": "^4.1.5"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
39
|
+
"node": ">=24.15.0"
|
|
40
40
|
},
|
|
41
41
|
"pi": {
|
|
42
42
|
"extensions": [
|
|
@@ -44,9 +44,12 @@
|
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
|
-
"build": "
|
|
48
|
-
"
|
|
49
|
-
"
|
|
47
|
+
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
48
|
+
"build:self": "tsc -p tsconfig.build.json",
|
|
49
|
+
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
50
|
+
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
51
|
+
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
52
|
+
"test:self": "vitest run",
|
|
50
53
|
"test:watch": "vitest"
|
|
51
54
|
}
|
|
52
55
|
}
|