@linghun/tools 0.1.2 → 0.1.3
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/chunk-236QJATI.js +678 -0
- package/dist/{chunk-VZWMPUSS.js → chunk-2DIXRINW.js} +1 -1
- package/dist/{chunk-DWXJBDPQ.js → chunk-F7UOI3YR.js} +16 -16
- package/dist/chunk-FI4YPDFE.js +38 -0
- package/dist/{chunk-2R75FXZG.js → chunk-J7O24FJB.js} +16 -16
- package/dist/chunk-PKMIDA5A.js +6 -0
- package/dist/chunk-SPAD4DZS.js +319 -0
- package/dist/chunk-XG6HNLY6.js +166 -0
- package/dist/index.d.ts +81 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +984 -26
- package/dist/tools/Bash/BashTool.d.ts +1 -1
- package/dist/tools/Bash/BashTool.js +2 -2
- package/dist/tools/Bash/artifact-checker.d.ts +33 -0
- package/dist/tools/Bash/artifact-checker.d.ts.map +1 -0
- package/dist/tools/Bash/artifact-checker.js +6 -0
- package/dist/tools/Bash/binary-helper.d.ts +7 -0
- package/dist/tools/Bash/binary-helper.d.ts.map +1 -0
- package/dist/tools/Bash/binary-helper.js +6 -0
- package/dist/tools/Bash/command-semantics.d.ts +11 -0
- package/dist/tools/Bash/command-semantics.d.ts.map +1 -0
- package/dist/tools/Bash/command-semantics.js +6 -0
- package/dist/tools/Bash/prompt.d.ts +1 -1
- package/dist/tools/Bash/prompt.d.ts.map +1 -1
- package/dist/tools/Bash/prompt.js +1 -1
- package/dist/tools/Bash/service-kernel.d.ts +75 -0
- package/dist/tools/Bash/service-kernel.d.ts.map +1 -0
- package/dist/tools/Bash/service-kernel.js +8 -0
- package/dist/tools/Glob/GlobTool.js +2 -2
- package/dist/tools/Todo/TodoTool.js +2 -2
- package/dist/tools/prompts.js +18 -18
- package/dist/tools/ui.js +18 -18
- package/package.json +4 -1
- package/dist/chunk-E75PYM7V.js +0 -6
- package/dist/{chunk-MFHY7PBM.js → chunk-4567YAXM.js} +3 -3
- package/dist/{chunk-DN3KJZRV.js → chunk-Z3H6SZBS.js} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const BashTool: {
|
|
2
2
|
readonly name: "Bash";
|
|
3
|
-
readonly prompt: "Use Bash for verification and project commands after considering risk. Prefer read-only commands unless the user asked for changes and permissions allow them.";
|
|
3
|
+
readonly prompt: "Use Bash for verification and project commands after considering risk. Prefer read-only commands unless the user asked for changes and permissions allow them. Prefer python3 over bare python; probe imports before relying on optional Python packages. After starting a server, poll the port or health endpoint and inspect logs before claiming it is ready.";
|
|
4
4
|
readonly userFacingName: "执行命令";
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=BashTool.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ToolContext, ToolOutput } from "../../index.js";
|
|
2
|
+
export type BashArtifactCheckInput = {
|
|
3
|
+
path: string;
|
|
4
|
+
expectHeader?: string;
|
|
5
|
+
expectMagic?: string;
|
|
6
|
+
json?: boolean;
|
|
7
|
+
executable?: boolean;
|
|
8
|
+
protectPaths?: string[];
|
|
9
|
+
text?: {
|
|
10
|
+
exact?: string;
|
|
11
|
+
contains?: string | string[];
|
|
12
|
+
lineSet?: string[];
|
|
13
|
+
};
|
|
14
|
+
preserve?: {
|
|
15
|
+
mode: "rawPreserve" | "compareNormalizedHtml";
|
|
16
|
+
expectedPath?: string;
|
|
17
|
+
expectedText?: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type ResolvedArtifactPath = {
|
|
21
|
+
input: string;
|
|
22
|
+
absolute: string;
|
|
23
|
+
relative: string;
|
|
24
|
+
};
|
|
25
|
+
type ArtifactCheckOptions = {
|
|
26
|
+
input: BashArtifactCheckInput;
|
|
27
|
+
target: ResolvedArtifactPath;
|
|
28
|
+
protectPaths: ResolvedArtifactPath[];
|
|
29
|
+
context: ToolContext;
|
|
30
|
+
};
|
|
31
|
+
export declare function checkArtifact(input: ArtifactCheckOptions): Promise<ToolOutput>;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=artifact-checker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact-checker.d.ts","sourceRoot":"","sources":["../../../src/tools/Bash/artifact-checker.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAgB,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5E,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,IAAI,CAAC,EAAE;QACL,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;QAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;KACpB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,aAAa,GAAG,uBAAuB,CAAC;QAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;CACH,CAAC;AAUF,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,MAAM,EAAE,oBAAoB,CAAC;IAC7B,YAAY,EAAE,oBAAoB,EAAE,CAAC;IACrC,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,wBAAsB,aAAa,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,CAwFpF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ToolOutput } from "../../index.js";
|
|
2
|
+
export type BashBinaryInspectInput = {
|
|
3
|
+
path: string;
|
|
4
|
+
previewBytes?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare function inspectBinaryFile(input: BashBinaryInspectInput, targetPath: string): Promise<ToolOutput>;
|
|
7
|
+
//# sourceMappingURL=binary-helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"binary-helper.d.ts","sourceRoot":"","sources":["../../../src/tools/Bash/binary-helper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAeF,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,sBAAsB,EAC7B,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,UAAU,CAAC,CA4DrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Command exit-code semantics: certain commands use non-zero exit codes
|
|
3
|
+
* for non-error outcomes (grep exit 1 = no matches, diff exit 1 = files differ).
|
|
4
|
+
* This module interprets exit codes per command to avoid false-positive "error" signals.
|
|
5
|
+
*/
|
|
6
|
+
export type CommandInterpretation = {
|
|
7
|
+
isError: boolean;
|
|
8
|
+
message?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function interpretCommandResult(command: string, exitCode: number): CommandInterpretation;
|
|
11
|
+
//# sourceMappingURL=command-semantics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-semantics.d.ts","sourceRoot":"","sources":["../../../src/tools/Bash/command-semantics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAgBF,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,qBAAqB,CA0BvB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const prompt = "Use Bash for verification and project commands after considering risk. Prefer read-only commands unless the user asked for changes and permissions allow them.";
|
|
1
|
+
export declare const prompt = "Use Bash for verification and project commands after considering risk. Prefer read-only commands unless the user asked for changes and permissions allow them. Prefer python3 over bare python; probe imports before relying on optional Python packages. After starting a server, poll the port or health endpoint and inspect logs before claiming it is ready.";
|
|
2
2
|
//# sourceMappingURL=prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../src/tools/Bash/prompt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../src/tools/Bash/prompt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,sWACkV,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { ChildProcess } from "node:child_process";
|
|
2
|
+
import type { ToolContext, ToolOutput } from "../../index.js";
|
|
3
|
+
export type BashServiceReadiness = {
|
|
4
|
+
type: "tcp";
|
|
5
|
+
port: number;
|
|
6
|
+
host?: string;
|
|
7
|
+
timeoutMs?: number;
|
|
8
|
+
intervalMs?: number;
|
|
9
|
+
} | {
|
|
10
|
+
type: "http";
|
|
11
|
+
url: string;
|
|
12
|
+
timeoutMs?: number;
|
|
13
|
+
intervalMs?: number;
|
|
14
|
+
};
|
|
15
|
+
export type BashServiceLifecycleAction = {
|
|
16
|
+
action: "status";
|
|
17
|
+
serviceId: string;
|
|
18
|
+
} | {
|
|
19
|
+
action: "probe";
|
|
20
|
+
serviceId: string;
|
|
21
|
+
} | {
|
|
22
|
+
action: "logs";
|
|
23
|
+
serviceId: string;
|
|
24
|
+
tailBytes?: number;
|
|
25
|
+
} | {
|
|
26
|
+
action: "stop";
|
|
27
|
+
serviceId: string;
|
|
28
|
+
} | {
|
|
29
|
+
action: "fetch";
|
|
30
|
+
url: string;
|
|
31
|
+
expectStatus?: number;
|
|
32
|
+
bodyContains?: string | string[];
|
|
33
|
+
timeoutMs?: number;
|
|
34
|
+
retry?: number;
|
|
35
|
+
intervalMs?: number;
|
|
36
|
+
};
|
|
37
|
+
export type BashServiceInput = BashServiceReadiness | BashServiceLifecycleAction;
|
|
38
|
+
export type BashManagedServiceStatus = "starting" | "ready" | "not_ready" | "exited" | "stopped" | "error";
|
|
39
|
+
export type BashManagedServiceRecord = {
|
|
40
|
+
serviceId: string;
|
|
41
|
+
pid?: number;
|
|
42
|
+
cwd: string;
|
|
43
|
+
command: string;
|
|
44
|
+
logPath: string;
|
|
45
|
+
target?: string;
|
|
46
|
+
targetHost?: string;
|
|
47
|
+
targetPort?: number;
|
|
48
|
+
readiness: BashServiceReadiness;
|
|
49
|
+
ready: boolean;
|
|
50
|
+
startedAt: string;
|
|
51
|
+
updatedAt: string;
|
|
52
|
+
lastProbeAt?: string;
|
|
53
|
+
lastOutputTail: string;
|
|
54
|
+
status: BashManagedServiceStatus;
|
|
55
|
+
exitCode?: number | null;
|
|
56
|
+
signalCode?: NodeJS.Signals | null;
|
|
57
|
+
process?: ChildProcess;
|
|
58
|
+
detached?: boolean;
|
|
59
|
+
};
|
|
60
|
+
type BashServiceStartInput = {
|
|
61
|
+
command: string;
|
|
62
|
+
logCommand: string;
|
|
63
|
+
cwd: string;
|
|
64
|
+
fullOutputPath: string;
|
|
65
|
+
readiness: BashServiceReadiness;
|
|
66
|
+
context: ToolContext;
|
|
67
|
+
abortSignal?: AbortSignal;
|
|
68
|
+
onProgress?: (stream: "stdout" | "stderr" | "system", text: string) => void;
|
|
69
|
+
trackChildProcess?: ToolContext["trackChildProcess"];
|
|
70
|
+
sanitizeText: (text: string) => string;
|
|
71
|
+
};
|
|
72
|
+
export declare function startBashService(input: BashServiceStartInput): Promise<ToolOutput>;
|
|
73
|
+
export declare function runBashServiceLifecycleAction(action: BashServiceLifecycleAction, context: ToolContext): Promise<ToolOutput>;
|
|
74
|
+
export {};
|
|
75
|
+
//# sourceMappingURL=service-kernel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service-kernel.d.ts","sourceRoot":"","sources":["../../../src/tools/Bash/service-kernel.ts"],"names":[],"mappings":"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"}
|
package/dist/tools/prompts.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolPrompts
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-F7UOI3YR.js";
|
|
4
|
+
import "../chunk-4EZHIDZ6.js";
|
|
4
5
|
import "../chunk-I3Z4OKMS.js";
|
|
5
6
|
import "../chunk-PS2ZOFZ6.js";
|
|
6
7
|
import "../chunk-NPKLGVDQ.js";
|
|
8
|
+
import "../chunk-VJDLOFCF.js";
|
|
9
|
+
import "../chunk-3RP665TH.js";
|
|
10
|
+
import "../chunk-IOC3BSPT.js";
|
|
7
11
|
import "../chunk-LGZOG7IQ.js";
|
|
8
12
|
import "../chunk-ZYAEUABC.js";
|
|
9
13
|
import "../chunk-SWK6XRZQ.js";
|
|
10
|
-
import "../chunk-4EZHIDZ6.js";
|
|
11
14
|
import "../chunk-YR4HWOR2.js";
|
|
12
15
|
import "../chunk-VAFW24RN.js";
|
|
16
|
+
import "../chunk-TZ6QK52L.js";
|
|
17
|
+
import "../chunk-K3YDFDLP.js";
|
|
13
18
|
import "../chunk-GI5XI4HN.js";
|
|
14
19
|
import "../chunk-WEWXKRKL.js";
|
|
15
20
|
import "../chunk-A6FUAM64.js";
|
|
16
21
|
import "../chunk-YCO6C7KF.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-SZFZPQGL.js";
|
|
22
|
+
import "../chunk-4567YAXM.js";
|
|
19
23
|
import "../chunk-XZWSO5CM.js";
|
|
24
|
+
import "../chunk-SZFZPQGL.js";
|
|
25
|
+
import "../chunk-WLQ7DGMG.js";
|
|
26
|
+
import "../chunk-SQP6SJRP.js";
|
|
27
|
+
import "../chunk-BRG64AEC.js";
|
|
20
28
|
import "../chunk-AZCQL24J.js";
|
|
21
29
|
import "../chunk-HUIZOB4A.js";
|
|
22
30
|
import "../chunk-MK3YP2VR.js";
|
|
23
|
-
import "../chunk-VJDLOFCF.js";
|
|
24
|
-
import "../chunk-3RP665TH.js";
|
|
25
|
-
import "../chunk-IOC3BSPT.js";
|
|
26
|
-
import "../chunk-TZ6QK52L.js";
|
|
27
|
-
import "../chunk-K3YDFDLP.js";
|
|
28
31
|
import "../chunk-HNIVNZIS.js";
|
|
29
|
-
import "../chunk-DN3KJZRV.js";
|
|
30
|
-
import "../chunk-2U4BZXAI.js";
|
|
31
|
-
import "../chunk-ITBZHMZQ.js";
|
|
32
|
-
import "../chunk-WLQ7DGMG.js";
|
|
33
|
-
import "../chunk-SQP6SJRP.js";
|
|
34
|
-
import "../chunk-BRG64AEC.js";
|
|
35
|
-
import "../chunk-VZWMPUSS.js";
|
|
36
|
-
import "../chunk-E75PYM7V.js";
|
|
37
|
-
import "../chunk-GAWMEMXB.js";
|
|
38
32
|
import "../chunk-7ZOADACP.js";
|
|
39
33
|
import "../chunk-H5OOD2OS.js";
|
|
40
34
|
import "../chunk-IQP3XE32.js";
|
|
35
|
+
import "../chunk-Z3H6SZBS.js";
|
|
36
|
+
import "../chunk-ITBZHMZQ.js";
|
|
37
|
+
import "../chunk-2U4BZXAI.js";
|
|
38
|
+
import "../chunk-2DIXRINW.js";
|
|
39
|
+
import "../chunk-PKMIDA5A.js";
|
|
40
|
+
import "../chunk-GAWMEMXB.js";
|
|
41
41
|
export {
|
|
42
42
|
toolPrompts
|
|
43
43
|
};
|
package/dist/tools/ui.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolUserFacingNames
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-J7O24FJB.js";
|
|
4
|
+
import "../chunk-4EZHIDZ6.js";
|
|
4
5
|
import "../chunk-I3Z4OKMS.js";
|
|
5
6
|
import "../chunk-PS2ZOFZ6.js";
|
|
6
7
|
import "../chunk-NPKLGVDQ.js";
|
|
8
|
+
import "../chunk-VJDLOFCF.js";
|
|
9
|
+
import "../chunk-3RP665TH.js";
|
|
10
|
+
import "../chunk-IOC3BSPT.js";
|
|
7
11
|
import "../chunk-LGZOG7IQ.js";
|
|
8
12
|
import "../chunk-ZYAEUABC.js";
|
|
9
13
|
import "../chunk-SWK6XRZQ.js";
|
|
10
|
-
import "../chunk-4EZHIDZ6.js";
|
|
11
14
|
import "../chunk-YR4HWOR2.js";
|
|
12
15
|
import "../chunk-VAFW24RN.js";
|
|
16
|
+
import "../chunk-TZ6QK52L.js";
|
|
17
|
+
import "../chunk-K3YDFDLP.js";
|
|
13
18
|
import "../chunk-GI5XI4HN.js";
|
|
14
19
|
import "../chunk-WEWXKRKL.js";
|
|
15
20
|
import "../chunk-A6FUAM64.js";
|
|
16
21
|
import "../chunk-YCO6C7KF.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-SZFZPQGL.js";
|
|
22
|
+
import "../chunk-4567YAXM.js";
|
|
19
23
|
import "../chunk-XZWSO5CM.js";
|
|
24
|
+
import "../chunk-SZFZPQGL.js";
|
|
25
|
+
import "../chunk-WLQ7DGMG.js";
|
|
26
|
+
import "../chunk-SQP6SJRP.js";
|
|
27
|
+
import "../chunk-BRG64AEC.js";
|
|
20
28
|
import "../chunk-AZCQL24J.js";
|
|
21
29
|
import "../chunk-HUIZOB4A.js";
|
|
22
30
|
import "../chunk-MK3YP2VR.js";
|
|
23
|
-
import "../chunk-VJDLOFCF.js";
|
|
24
|
-
import "../chunk-3RP665TH.js";
|
|
25
|
-
import "../chunk-IOC3BSPT.js";
|
|
26
|
-
import "../chunk-TZ6QK52L.js";
|
|
27
|
-
import "../chunk-K3YDFDLP.js";
|
|
28
31
|
import "../chunk-HNIVNZIS.js";
|
|
29
|
-
import "../chunk-DN3KJZRV.js";
|
|
30
|
-
import "../chunk-2U4BZXAI.js";
|
|
31
|
-
import "../chunk-ITBZHMZQ.js";
|
|
32
|
-
import "../chunk-WLQ7DGMG.js";
|
|
33
|
-
import "../chunk-SQP6SJRP.js";
|
|
34
|
-
import "../chunk-BRG64AEC.js";
|
|
35
|
-
import "../chunk-VZWMPUSS.js";
|
|
36
|
-
import "../chunk-E75PYM7V.js";
|
|
37
|
-
import "../chunk-GAWMEMXB.js";
|
|
38
32
|
import "../chunk-7ZOADACP.js";
|
|
39
33
|
import "../chunk-H5OOD2OS.js";
|
|
40
34
|
import "../chunk-IQP3XE32.js";
|
|
35
|
+
import "../chunk-Z3H6SZBS.js";
|
|
36
|
+
import "../chunk-ITBZHMZQ.js";
|
|
37
|
+
import "../chunk-2U4BZXAI.js";
|
|
38
|
+
import "../chunk-2DIXRINW.js";
|
|
39
|
+
import "../chunk-PKMIDA5A.js";
|
|
40
|
+
import "../chunk-GAWMEMXB.js";
|
|
41
41
|
export {
|
|
42
42
|
toolUserFacingNames
|
|
43
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linghun/tools",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"parse5": "^8.0.1"
|
|
24
|
+
},
|
|
22
25
|
"scripts": {
|
|
23
26
|
"build": "tsup \"src/**/*.ts\" \"!src/**/*.test.ts\" --format esm --clean && tsc -p tsconfig.json --emitDeclarationOnly --noEmit false --tsBuildInfoFile dist/tsconfig.tsbuildinfo",
|
|
24
27
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
package/dist/chunk-E75PYM7V.js
DELETED