xsh 1.0.0 → 1.1.0
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 +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ npm install xsh --save-dev
|
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
xsh >= 1.0.0 is an ES module written in TypeScript, requiring node >= 22.
|
|
15
|
+
xsh >= 1.0.0 is an ES module written in TypeScript, requiring node >= 22.18.
|
|
16
16
|
|
|
17
17
|
```js
|
|
18
18
|
import xsh from "xsh";
|
|
@@ -20,7 +20,7 @@ import xsh from "xsh";
|
|
|
20
20
|
xsh.exec("echo hello");
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
CJS consumers can still `require` it (node >= 22.
|
|
23
|
+
CJS consumers can still `require` it (node >= 22.18 `require(esm)`):
|
|
24
24
|
|
|
25
25
|
```js
|
|
26
26
|
const xsh = require("xsh");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xsh",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Some random NodeJS helper functions for shell execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
},
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"engines": {
|
|
17
|
-
"node": ">=22.
|
|
17
|
+
"node": ">=22.18.0"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "rm -rf dist && tsc -p tsconfig.json",
|
|
21
21
|
"test": "vitest run",
|
|
22
22
|
"coverage": "vitest run --coverage",
|
|
23
|
-
"ci:check": "tsc --noEmit -p tsconfig.json && vitest run",
|
|
23
|
+
"ci:check": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.test.json && vitest run",
|
|
24
24
|
"prepublishOnly": "npm run build",
|
|
25
25
|
"postpack": "publish-util-postpack"
|
|
26
26
|
},
|