@spences10/pi-tui-modal 0.0.16 → 0.0.17

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 +16 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @spences10/pi-tui-modal
2
2
 
3
+ [![built with Vite+](https://img.shields.io/badge/built%20with-Vite+-646CFF?logo=vite&logoColor=white)](https://viteplus.dev)
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-tui-modal?color=CB3837&logo=npm&logoColor=white)](https://www.npmjs.com/package/@spences10/pi-tui-modal)
6
+ [![license](https://img.shields.io/npm/l/@spences10/pi-tui-modal)](https://www.npmjs.com/package/@spences10/pi-tui-modal)
7
+
3
8
  Shared Pi TUI modal helpers for consistent picker, settings, input,
4
9
  confirmation, and scrollable text overlays.
5
10
 
@@ -29,3 +34,14 @@ footers remain visible on small terminals.
29
34
  IME-safe focus propagation.
30
35
  - `show_confirm_modal(ctx, options)` — confirm/cancel destructive or
31
36
  replacing actions.
37
+
38
+ ## Development
39
+
40
+ Package scripts build transitive workspace dependencies first, then
41
+ run local tools through Vite+ with `vp exec`.
42
+
43
+ ```bash
44
+ pnpm --filter @spences10/pi-tui-modal run check
45
+ pnpm --filter @spences10/pi-tui-modal run test
46
+ pnpm --filter @spences10/pi-tui-modal run build
47
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spences10/pi-tui-modal",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Shared Pi TUI modal helpers for picker and settings overlays",
5
5
  "keywords": [
6
6
  "modal",
@@ -44,12 +44,12 @@
44
44
  },
45
45
  "scripts": {
46
46
  "build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
47
- "build:self": "tsc -p tsconfig.build.json",
47
+ "build:self": "vp exec tsc -p tsconfig.build.json",
48
48
  "check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
49
- "check:self": "tsc --noEmit -p tsconfig.json",
49
+ "check:self": "vp exec tsc --noEmit -p tsconfig.json",
50
50
  "test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
51
- "test:self": "vitest run",
52
- "coverage:self": "vitest run --coverage",
51
+ "test:self": "vp exec vitest run",
52
+ "coverage:self": "vp exec vitest run --coverage",
53
53
  "coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
54
54
  }
55
55
  }