ts-repo-utils 7.0.0 → 7.0.2
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/dist/cmd/assert-repo-is-clean.mjs +1 -1
- package/dist/cmd/check-should-run-type-checks.mjs +1 -1
- package/dist/cmd/format-diff-from.mjs +1 -1
- package/dist/cmd/format-uncommitted.mjs +1 -1
- package/dist/cmd/gen-index-ts.mjs +1 -1
- package/dist/functions/exec-async.d.mts +4 -5
- package/dist/functions/exec-async.d.mts.map +1 -1
- package/dist/functions/exec-async.mjs.map +1 -1
- package/package.json +4 -4
- package/src/cmd/assert-repo-is-clean.mts +1 -1
- package/src/cmd/check-should-run-type-checks.mts +1 -1
- package/src/cmd/format-diff-from.mts +1 -1
- package/src/cmd/format-uncommitted.mts +1 -1
- package/src/cmd/gen-index-ts.mts +1 -1
- package/src/functions/exec-async.mts +6 -8
|
@@ -15,12 +15,11 @@ export type ExecResult<T extends string | Buffer> = Result<Readonly<{
|
|
|
15
15
|
* @param options - Optional configuration for command execution.
|
|
16
16
|
* @returns A promise that resolves with the command result.
|
|
17
17
|
*/
|
|
18
|
-
export declare function $(command: string, options?: ExecOptionsCustom
|
|
19
|
-
export declare function $(command: string, options: Readonly<{
|
|
20
|
-
encoding: 'buffer' | null;
|
|
21
|
-
} & ExecOptions>): Promise<ExecResult<Buffer>>;
|
|
22
|
-
export declare function $(command: string, options: Readonly<{
|
|
18
|
+
export declare function $(command: string, options?: ExecOptionsCustom | Readonly<{
|
|
23
19
|
encoding: BufferEncoding;
|
|
24
20
|
} & ExecOptions>): Promise<ExecResult<string>>;
|
|
21
|
+
export declare function $(command: string, options?: Readonly<{
|
|
22
|
+
encoding: 'buffer' | null;
|
|
23
|
+
} & ExecOptions>): Promise<ExecResult<Buffer>>;
|
|
25
24
|
export {};
|
|
26
25
|
//# sourceMappingURL=exec-async.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exec-async.d.mts","sourceRoot":"","sources":["../../src/functions/exec-async.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,KAAK,iBAAiB,GAAG,QAAQ,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEvE,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CACxD,QAAQ,CAAC;IAAE,MAAM,EAAE,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,CAAA;CAAE,CAAC,EAClC,YAAY,CAAC,aAAa,CAC3B,CAAC;AAEF;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"exec-async.d.mts","sourceRoot":"","sources":["../../src/functions/exec-async.mts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,KAAK,iBAAiB,GAAG,QAAQ,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEvE,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CACxD,QAAQ,CAAC;IAAE,MAAM,EAAE,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,CAAA;CAAE,CAAC,EAClC,YAAY,CAAC,aAAa,CAC3B,CAAC;AAEF;;;;;;GAMG;AAEH,wBAAgB,CAAC,CACf,OAAO,EAAE,MAAM,EAEf,OAAO,CAAC,EACJ,iBAAiB,GACjB,QAAQ,CAAC;IAAE,QAAQ,EAAE,cAAc,CAAA;CAAE,GAAG,WAAW,CAAC,GACvD,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;AAE/B,wBAAgB,CAAC,CACf,OAAO,EAAE,MAAM,EAEf,OAAO,CAAC,EAAE,QAAQ,CAAC;IAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAA;CAAE,GAAG,WAAW,CAAC,GAC9D,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exec-async.mjs","sources":["../../src/functions/exec-async.mts"],"sourcesContent":[null],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"exec-async.mjs","sources":["../../src/functions/exec-async.mts"],"sourcesContent":[null],"names":[],"mappings":";;;AAoCM,SAAU,CAAC,CACf,OAAe;AACf;AACA,OAEC,EAAA;AAED,IAAA,MAAM,EAAE,MAAM,GAAG,KAAK,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,IAAI,EAAE;IAExD,IAAI,CAAC,MAAM,EAAE;AACX,QAAA,IAAI,CAAC,CAAA,EAAA,EAAK,OAAO,CAAA,CAAE,CAAC;IACtB;AAEA,IAAA,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,KAAI;;AAE7B,QAAA,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,KAAI;YAChE,IAAI,CAAC,MAAM,EAAE;AACX,gBAAA,IAAI,MAAM,KAAK,EAAE,EAAE;oBACjB,IAAI,CAAC,MAAM,CAAC;gBACd;AACA,gBAAA,IAAI,MAAM,KAAK,EAAE,EAAE;AACjB,oBAAA,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;gBACvB;YACF;AAEA,YAAA,IAAI,KAAK,KAAK,IAAI,EAAE;gBAClB,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAC5B;iBAAO;AACL,gBAAA,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;YACxC;AACF,QAAA,CAAC,CAAC;AACJ,IAAA,CAAC,CAAC;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-repo-utils",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"micromatch": "^4.0.8",
|
|
69
69
|
"prettier": "^3.6.2",
|
|
70
70
|
"ts-data-forge": "^3.1.0",
|
|
71
|
-
"tsx": "^4.20.
|
|
71
|
+
"tsx": "^4.20.5"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@eslint/js": "^9.34.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
80
80
|
"@semantic-release/exec": "^7.1.0",
|
|
81
81
|
"@semantic-release/git": "^10.0.1",
|
|
82
|
-
"@semantic-release/github": "^11.0.
|
|
82
|
+
"@semantic-release/github": "^11.0.5",
|
|
83
83
|
"@semantic-release/npm": "^12.0.2",
|
|
84
84
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
85
85
|
"@types/node": "^24.3.0",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"semantic-release": "^24.2.7",
|
|
109
109
|
"ts-type-forge": "^2.1.1",
|
|
110
110
|
"tslib": "^2.8.1",
|
|
111
|
-
"typedoc": "^0.28.
|
|
111
|
+
"typedoc": "^0.28.11",
|
|
112
112
|
"typedoc-plugin-markdown": "^4.8.1",
|
|
113
113
|
"typescript": "^5.9.2",
|
|
114
114
|
"typescript-eslint": "^8.40.0",
|
package/src/cmd/gen-index-ts.mts
CHANGED
|
@@ -19,22 +19,20 @@ export type ExecResult<T extends string | Buffer> = Result<
|
|
|
19
19
|
* @param options - Optional configuration for command execution.
|
|
20
20
|
* @returns A promise that resolves with the command result.
|
|
21
21
|
*/
|
|
22
|
-
export function $(
|
|
23
|
-
command: string,
|
|
24
|
-
options?: ExecOptionsCustom,
|
|
25
|
-
): Promise<ExecResult<string>>;
|
|
26
22
|
|
|
27
23
|
export function $(
|
|
28
24
|
command: string,
|
|
29
25
|
// eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
|
|
30
|
-
options
|
|
31
|
-
|
|
26
|
+
options?:
|
|
27
|
+
| ExecOptionsCustom
|
|
28
|
+
| Readonly<{ encoding: BufferEncoding } & ExecOptions>,
|
|
29
|
+
): Promise<ExecResult<string>>;
|
|
32
30
|
|
|
33
31
|
export function $(
|
|
34
32
|
command: string,
|
|
35
33
|
// eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
|
|
36
|
-
options
|
|
37
|
-
): Promise<ExecResult<
|
|
34
|
+
options?: Readonly<{ encoding: 'buffer' | null } & ExecOptions>,
|
|
35
|
+
): Promise<ExecResult<Buffer>>;
|
|
38
36
|
|
|
39
37
|
export function $(
|
|
40
38
|
command: string,
|