@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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -1,10 +1,14 @@
1
1
  # @spences10/pi-confirm-destructive
2
2
 
3
- [![built with vite+](https://img.shields.io/badge/built%20with-vite+-646CFF)](https://github.com/badlogic/vite-plus)
3
+ [![npm version](https://img.shields.io/npm/v/@spences10/pi-confirm-destructive?color=CB3837&logo=npm)](https://www.npmjs.com/package/@spences10/pi-confirm-destructive)
4
+ [![built with Vite+](https://img.shields.io/badge/built%20with-Vite+-646CFF?logo=vite&logoColor=white)](https://viteplus.dev)
5
+ [![tested with Vitest](https://img.shields.io/badge/tested%20with-Vitest-6E9F18?logo=vitest&logoColor=white)](https://vitest.dev)
4
6
 
5
7
  Git-aware destructive action guard for the Pi coding agent.
6
8
 
7
- ## Install
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.4",
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.70.6"
31
+ "@mariozechner/pi-coding-agent": "^0.72.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^25.6.0",
35
- "typescript": "^6.0.0",
35
+ "typescript": "^6.0.3",
36
36
  "vitest": "^4.1.5"
37
37
  },
38
38
  "engines": {
39
- "node": ">=22.0.0"
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": "tsc -p tsconfig.build.json",
48
- "check": "tsc --noEmit -p tsconfig.json",
49
- "test": "vitest run",
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
  }