dollar-shell 1.1.11 → 1.1.12
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/AGENTS.md +3 -3
- package/README.md +2 -2
- package/package.json +5 -2
- package/src/index.d.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -20,6 +20,7 @@ The wiki is a git submodule in `wiki/`.
|
|
|
20
20
|
- **Test (Bun):** `npm run test:bun`
|
|
21
21
|
- **Test (Deno):** `npm run test:deno`
|
|
22
22
|
- **TypeScript check:** `npm run ts-check` (`tsc --noEmit`)
|
|
23
|
+
- **TypeScript tests:** `npm run ts-test` (run `.ts` test files with tape6)
|
|
23
24
|
- **Lint:** `npm run lint` (Prettier check)
|
|
24
25
|
- **Lint fix:** `npm run lint:fix` (Prettier write)
|
|
25
26
|
|
|
@@ -42,9 +43,8 @@ dollar-shell/
|
|
|
42
43
|
│ └── shell/ # Platform-specific shell escaping and command building
|
|
43
44
|
│ ├── unix.js # Unix: single-quote escaping, $SHELL detection
|
|
44
45
|
│ └── windows.js # Windows: cmd.exe and PowerShell escaping
|
|
45
|
-
├── tests/ # Automated tests (tape-six)
|
|
46
|
+
├── tests/ # Automated tests (tape-six): .js, .cjs, .ts
|
|
46
47
|
├── tests/manual/ # Manual verification scripts
|
|
47
|
-
├── ts-check/ # TypeScript usage examples (compiled but not executed)
|
|
48
48
|
└── wiki/ # GitHub wiki documentation (git submodule)
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -94,4 +94,4 @@ await $verbose`ls -l .`;
|
|
|
94
94
|
- All public API is exported from `src/index.js` and typed in `src/index.d.ts`. Keep them in sync.
|
|
95
95
|
- Wiki documentation lives in the `wiki/` submodule — update it alongside code changes.
|
|
96
96
|
- Tests are in `tests/` (automated, tape-six) and `tests/manual/` (manual verification scripts).
|
|
97
|
-
- TypeScript
|
|
97
|
+
- TypeScript typing tests (`.ts`) are in `tests/` and checked by `npm run ts-check`. They can also be run as tests via `npm run ts-test`.
|
package/README.md
CHANGED
|
@@ -97,9 +97,8 @@ dollar-shell/
|
|
|
97
97
|
│ ├── utils.js # Shared utilities (raw, isWindows, winCmdEscape, etc.)
|
|
98
98
|
│ ├── spawn/ # Runtime-specific Subprocess implementations
|
|
99
99
|
│ └── shell/ # Platform-specific shell escaping and command building
|
|
100
|
-
├── tests/ # Automated tests (tape-six)
|
|
100
|
+
├── tests/ # Automated tests (tape-six): .js, .cjs, .ts
|
|
101
101
|
├── tests/manual/ # Manual verification scripts
|
|
102
|
-
├── ts-check/ # TypeScript usage examples (compiled but not executed)
|
|
103
102
|
└── wiki/ # GitHub wiki documentation (git submodule)
|
|
104
103
|
```
|
|
105
104
|
|
|
@@ -238,6 +237,7 @@ BSD-3-Clause
|
|
|
238
237
|
|
|
239
238
|
## Release History
|
|
240
239
|
|
|
240
|
+
- 1.1.12 _Consolidated TypeScript tests into `tests/`, removed `ts-check/`, added CJS test, improved test coverage and documentation._
|
|
241
241
|
- 1.1.11 _Updated dev dependencies._
|
|
242
242
|
- 1.1.10 _Fixed a bug with options chaining for attached functions, fixed Bun spawn on invalid commands, Windows-compatible tests, updated dev dependencies._
|
|
243
243
|
- 1.1.9 _Updated dev dependencies, cleaned up docs, added info for AI agents._
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dollar-shell",
|
|
3
3
|
"description": "Run shell commands and use them in stream pipelines with ease in Node, Deno, Bun. Template tag API, web streams, TypeScript typings, zero dependencies.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.12",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"types": "./src/index.d.ts",
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"test:seq:bun": "bun run `tape6-seq --self` --flags FO",
|
|
21
21
|
"test:seq:deno": "deno run -A `tape6-seq --self` --flags FO",
|
|
22
22
|
"ts-check": "tsc --noEmit",
|
|
23
|
+
"ts-test": "tape6 --flags FO 'tests/test-*.*ts'",
|
|
24
|
+
"ts-test:bun": "tape6-bun --flags FO 'tests/test-*.*ts'",
|
|
25
|
+
"ts-test:deno": "tape6-deno --flags FO 'tests/test-*.*ts'",
|
|
23
26
|
"lint": "prettier --check .",
|
|
24
27
|
"lint:fix": "prettier --write ."
|
|
25
28
|
},
|
|
@@ -72,7 +75,7 @@
|
|
|
72
75
|
"license": "BSD-3-Clause",
|
|
73
76
|
"devDependencies": {
|
|
74
77
|
"prettier": "^3.8.1",
|
|
75
|
-
"tape-six": "^1.7.
|
|
78
|
+
"tape-six": "^1.7.11",
|
|
76
79
|
"typescript": "^5.9.3"
|
|
77
80
|
},
|
|
78
81
|
"tape6": {
|
package/src/index.d.ts
CHANGED