@spences10/pi-tui-modal 0.0.15 → 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.
- package/README.md +16 -0
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @spences10/pi-tui-modal
|
|
2
2
|
|
|
3
|
+
[](https://viteplus.dev)
|
|
4
|
+
[](https://vitest.dev)
|
|
5
|
+
[](https://www.npmjs.com/package/@spences10/pi-tui-modal)
|
|
6
|
+
[](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.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "Shared Pi TUI modal helpers for picker and settings overlays",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"modal",
|
|
@@ -29,9 +29,11 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
+
"@earendil-works/pi-coding-agent": "^0.74.1",
|
|
33
|
+
"@earendil-works/pi-tui": "^0.74.1",
|
|
32
34
|
"@types/node": "^25.8.0",
|
|
33
35
|
"typescript": "^6.0.3",
|
|
34
|
-
"vitest": "
|
|
36
|
+
"vitest": "4.1.5"
|
|
35
37
|
},
|
|
36
38
|
"peerDependencies": {
|
|
37
39
|
"@earendil-works/pi-coding-agent": "*",
|
|
@@ -42,12 +44,12 @@
|
|
|
42
44
|
},
|
|
43
45
|
"scripts": {
|
|
44
46
|
"build": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run build:self",
|
|
45
|
-
"build:self": "tsc -p tsconfig.build.json",
|
|
47
|
+
"build:self": "vp exec tsc -p tsconfig.build.json",
|
|
46
48
|
"check": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run check:self",
|
|
47
|
-
"check:self": "tsc --noEmit -p tsconfig.json",
|
|
49
|
+
"check:self": "vp exec tsc --noEmit -p tsconfig.json",
|
|
48
50
|
"test": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run test:self",
|
|
49
|
-
"test:self": "vitest run",
|
|
50
|
-
"coverage:self": "vitest run --coverage",
|
|
51
|
+
"test:self": "vp exec vitest run",
|
|
52
|
+
"coverage:self": "vp exec vitest run --coverage",
|
|
51
53
|
"coverage": "pnpm --filter \"$npm_package_name^...\" run build:self && pnpm run coverage:self"
|
|
52
54
|
}
|
|
53
55
|
}
|