Skip to content

Commit a8d4aad

Browse files
committed
chore: 🤖 update docs & bump version
1 parent fec9da9 commit a8d4aad

File tree

5 files changed

+255
-198
lines changed

5 files changed

+255
-198
lines changed

.changeset/fine-peas-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperse/exec-program": patch
3+
---
4+
5+
update docs & bump version

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Executes a TypeScript file and returns its output.
5555
/**
5656
* Process execute typescript script file using `@hyperse/ts-node`
5757
* @param program - The absolute typescript file path
58-
* @param options - The configuration of `execa` { env: { TS_NODE_PROJECT: tsconfig } }
58+
* @param options - The configuration of `execa` { env: { HPS_TS_NODE_PROJECT: tsconfig } }
5959
* @param args - The runtime argv for program
6060
*/
6161
declare const runTsScript: <T extends ExecOptions>(

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
}
6363
},
6464
"dependencies": {
65-
"@hyperse/ts-node": "^1.0.1",
65+
"@hyperse/ts-node": "^1.0.3",
6666
"execa": "^9.6.0"
6767
},
6868
"devDependencies": {
@@ -71,7 +71,7 @@
7171
"@commitlint/cli": "19.8.1",
7272
"@commitlint/config-conventional": "19.8.1",
7373
"@hyperse/eslint-config-hyperse": "^1.4.4",
74-
"@types/node": "^22.15.29",
74+
"@types/node": "^24.0.0",
7575
"commitizen": "4.3.1",
7676
"cz-conventional-changelog": "3.3.0",
7777
"eslint": "^9.28.0",
@@ -80,7 +80,7 @@
8080
"npm-run-all": "^4.1.5",
8181
"tsup": "^8.5.0",
8282
"typescript": "^5.8.3",
83-
"vitest": "^3.1.4"
83+
"vitest": "^3.2.3"
8484
},
8585
"packageManager": "[email protected]",
8686
"engines": {

src/runTsScript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { ExecOptions, ExecResultPromise } from './types.js';
44
/**
55
* Process execute typescript script file using `@hyperse/ts-node`
66
* @param program - The absolute typescript file path
7-
* @param options - The configuration of `execa` { env: { TS_NODE_PROJECT: tsconfig } }
7+
* @param options - The configuration of `execa` { env: { HPS_TS_NODE_PROJECT: tsconfig } }
88
* @param args - The runtime argv for program
99
*/
1010
export const runTsScript = <T extends ExecOptions>(

0 commit comments

Comments
 (0)