@spences10/pi-redact 0.0.9 → 0.0.10

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 +5 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,14 +1,13 @@
1
1
  # @spences10/pi-redact
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@spences10/pi-redact?color=CB3837&logo=npm)](https://www.npmjs.com/package/@spences10/pi-redact)
4
3
  [![built with Vite+](https://img.shields.io/badge/built%20with-Vite+-646CFF?logo=vite&logoColor=white)](https://viteplus.dev)
5
4
  [![tested with Vitest](https://img.shields.io/badge/tested%20with-Vitest-6E9F18?logo=vitest&logoColor=white)](https://vitest.dev)
5
+ [![npm version](https://img.shields.io/npm/v/@spences10/pi-redact?color=CB3837&logo=npm&logoColor=white)](https://www.npmjs.com/package/@spences10/pi-redact)
6
+ [![license](https://img.shields.io/npm/l/@spences10/pi-redact)](https://www.npmjs.com/package/@spences10/pi-redact)
6
7
 
7
8
  Pi extension that redacts likely secrets from tool output before the
8
9
  model sees them.
9
10
 
10
- Maintained in the `my-pi` Vite+ workspace and tested with Vitest.
11
-
12
11
  ## Installation
13
12
 
14
13
  ```bash
@@ -92,6 +91,9 @@ proper secret hygiene as the primary control:
92
91
 
93
92
  ## Development
94
93
 
94
+ Package scripts build transitive workspace dependencies first, then
95
+ run local tools through Vite+ with `vp exec`.
96
+
95
97
  ```bash
96
98
  pnpm --filter @spences10/pi-redact run check
97
99
  pnpm --filter @spences10/pi-redact run test
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spences10/pi-redact",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Pi extension that redacts secrets from tool output before the model sees them",
5
5
  "keywords": [
6
6
  "pi",
@@ -54,12 +54,12 @@
54
54
  },
55
55
  "scripts": {
56
56
  "build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
57
- "build:self": "tsc -p tsconfig.build.json",
57
+ "build:self": "vp exec tsc -p tsconfig.build.json",
58
58
  "check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
59
- "check:self": "tsc --noEmit -p tsconfig.json",
59
+ "check:self": "vp exec tsc --noEmit -p tsconfig.json",
60
60
  "test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
61
- "test:self": "vitest run",
62
- "coverage:self": "vitest run --coverage",
61
+ "test:self": "vp exec vitest run",
62
+ "coverage:self": "vp exec vitest run --coverage",
63
63
  "coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
64
64
  }
65
65
  }