@lumpcode/core 0.1.0 → 0.2.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 +18 -16
- package/dist/helpers/execAsync/main.d.ts +14 -9
- package/dist/helpers/execAsync/main.d.ts.map +1 -1
- package/dist/helpers/executeStepsForContextList/main.d.ts +4 -9
- package/dist/helpers/executeStepsForContextList/main.d.ts.map +1 -1
- package/dist/helpers/getContextStatus/main.d.ts.map +1 -1
- package/dist/index.cjs +303 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +299 -175
- package/dist/index.js.map +1 -1
- package/dist/testing/processTreeTestHelpers.d.ts +3 -0
- package/dist/testing/processTreeTestHelpers.d.ts.map +1 -1
- package/dist/types/ExecuteStepsFailureReason.d.ts +1 -1
- package/dist/types/ExecuteStepsFailureReason.d.ts.map +1 -1
- package/dist/types/GitAddCommitFn.d.ts +16 -0
- package/dist/types/GitAddCommitFn.d.ts.map +1 -0
- package/dist/types/GitPushFn.d.ts +12 -0
- package/dist/types/GitPushFn.d.ts.map +1 -0
- package/dist/types/PostCommandExecFn.d.ts +2 -0
- package/dist/types/PostCommandExecFn.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/usages/runLump/defaultInjectedFns.d.ts +3 -4
- package/dist/usages/runLump/defaultInjectedFns.d.ts.map +1 -1
- package/dist/usages/runLump/index.d.ts +1 -1
- package/dist/usages/runLump/index.d.ts.map +1 -1
- package/dist/usages/runLump/main.d.ts +3 -4
- package/dist/usages/runLump/main.d.ts.map +1 -1
- package/dist/utils/commitMessageIncludesMarker/index.d.ts +2 -0
- package/dist/utils/commitMessageIncludesMarker/index.d.ts.map +1 -0
- package/dist/utils/commitMessageIncludesMarker/main.d.ts +3 -0
- package/dist/utils/commitMessageIncludesMarker/main.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/parseGitLogHashBodyRecords/index.d.ts +2 -0
- package/dist/utils/parseGitLogHashBodyRecords/index.d.ts.map +1 -0
- package/dist/utils/parseGitLogHashBodyRecords/main.d.ts +8 -0
- package/dist/utils/parseGitLogHashBodyRecords/main.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -5,6 +5,9 @@ export declare function waitForPidGone(pid: number, timeoutMs?: number): Promise
|
|
|
5
5
|
/**
|
|
6
6
|
* Poll until a ready file contains a non-empty `pids` array.
|
|
7
7
|
* Ready-file contract: JSON `{ "pids": number[] }`.
|
|
8
|
+
*
|
|
9
|
+
* Default 10s: under parallel vitest load, Node fixture spawn can exceed a
|
|
10
|
+
* tighter wait before the child writes the file (see execBinary E4/E5).
|
|
8
11
|
*/
|
|
9
12
|
export declare function waitForReadyFile(readyFile: string, timeoutMs?: number): Promise<{
|
|
10
13
|
pids: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processTreeTestHelpers.d.ts","sourceRoot":"","sources":["../../src/testing/processTreeTestHelpers.ts"],"names":[],"mappings":"AAEA,0DAA0D;AAC1D,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAO/C;AAMD,2EAA2E;AAC3E,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,SAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAOjF;AAED
|
|
1
|
+
{"version":3,"file":"processTreeTestHelpers.d.ts","sourceRoot":"","sources":["../../src/testing/processTreeTestHelpers.ts"],"names":[],"mappings":"AAEA,0DAA0D;AAC1D,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAO/C;AAMD,2EAA2E;AAC3E,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,SAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAOjF;AAED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CAClC,SAAS,EAAE,MAAM,EACjB,SAAS,SAAS,GACnB,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAe7B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ExecuteStepsFailureReason = 'stepWalkFailed' | 'workspaceTeardownFailed';
|
|
1
|
+
export type ExecuteStepsFailureReason = 'stepWalkFailed' | 'workspaceTeardownFailed' | 'gitAddCommitFailed';
|
|
2
2
|
//# sourceMappingURL=ExecuteStepsFailureReason.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecuteStepsFailureReason.d.ts","sourceRoot":"","sources":["../../src/types/ExecuteStepsFailureReason.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAC/B,gBAAgB,GAChB,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ExecuteStepsFailureReason.d.ts","sourceRoot":"","sources":["../../src/types/ExecuteStepsFailureReason.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAC/B,gBAAgB,GAChB,yBAAyB,GACzB,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Context } from "./Context";
|
|
2
|
+
import { Failure } from "./Failure";
|
|
3
|
+
import { GitAndWorkspaceFnsInput } from "./GitAndWorkspaceFnsInput";
|
|
4
|
+
import { Maybe } from "./Maybe";
|
|
5
|
+
import { MaybePromise } from "./MaybePromise";
|
|
6
|
+
import { Success } from "./Success";
|
|
7
|
+
/**
|
|
8
|
+
* Per-context add+commit. Return `success(string)` for core to `execAsync`,
|
|
9
|
+
* `success(null|undefined)` when work is already done / intentional skip,
|
|
10
|
+
* or `failure(msg)` to hard-fail the run.
|
|
11
|
+
*/
|
|
12
|
+
export type GitAddCommitFn = (input: Omit<GitAndWorkspaceFnsInput, 'contextList'> & {
|
|
13
|
+
context: Context;
|
|
14
|
+
commitMessage: string;
|
|
15
|
+
}) => MaybePromise<Success<Maybe<string>> | Failure<string>>;
|
|
16
|
+
//# sourceMappingURL=GitAddCommitFn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitAddCommitFn.d.ts","sourceRoot":"","sources":["../../src/types/GitAddCommitFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,CACzB,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,aAAa,CAAC,GAAG;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB,KACA,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Failure } from "./Failure";
|
|
2
|
+
import { GitAndWorkspaceFnsInput } from "./GitAndWorkspaceFnsInput";
|
|
3
|
+
import { Maybe } from "./Maybe";
|
|
4
|
+
import { MaybePromise } from "./MaybePromise";
|
|
5
|
+
import { Success } from "./Success";
|
|
6
|
+
/**
|
|
7
|
+
* Once-per-branch push. Return `success(string)` for core to `execAsync`,
|
|
8
|
+
* `success(null|undefined)` when work is already done / intentional skip,
|
|
9
|
+
* or `failure(msg)` (log-only; run stays success).
|
|
10
|
+
*/
|
|
11
|
+
export type GitPushFn = (input: GitAndWorkspaceFnsInput) => MaybePromise<Success<Maybe<string>> | Failure<string>>;
|
|
12
|
+
//# sourceMappingURL=GitPushFn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitPushFn.d.ts","sourceRoot":"","sources":["../../src/types/GitPushFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,CACpB,KAAK,EAAE,uBAAuB,KAC7B,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -14,5 +14,7 @@ export type PostCommandExecFn<V extends LumpVariables = LumpVariables, SV extend
|
|
|
14
14
|
lumpVariables: V;
|
|
15
15
|
stepVariables?: SV;
|
|
16
16
|
projectRoot: string;
|
|
17
|
+
/** When aborted, hooks should return promptly so the step walk can unwind and release locks. */
|
|
18
|
+
signal?: AbortSignal;
|
|
17
19
|
}) => MaybePromise<void | Steps<V, SV>>;
|
|
18
20
|
//# sourceMappingURL=PostCommandExecFn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostCommandExecFn.d.ts","sourceRoot":"","sources":["../../src/types/PostCommandExecFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,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EAAE,MAAM,CAAC;IACpB,gGAAgG;IAChG,MAAM,CAAC,EAAE,WAAW,CAAC;CACxB,KAAK,YAAY,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,10 +9,9 @@ export * from './ContextStatus';
|
|
|
9
9
|
export * from './Failure';
|
|
10
10
|
export * from './GetContextListFn';
|
|
11
11
|
export * from './HistoryEntry';
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './GitCommitCommandFn';
|
|
12
|
+
export * from './GitAddCommitFn';
|
|
14
13
|
export * from './GitCommitMessageFn';
|
|
15
|
-
export * from './
|
|
14
|
+
export * from './GitPushFn';
|
|
16
15
|
export * from './Logger';
|
|
17
16
|
export * from './LumpVariables';
|
|
18
17
|
export * from './Maybe';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GitAddCommitFn, GitCommitMessageFn, GitPushFn, SetupWorkspaceFn, TeardownWorkspaceFn } from "../../types";
|
|
2
2
|
export declare const defaultGitCommitMessageFn: GitCommitMessageFn;
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const defaultGitCommitCommandFn: GitCommitCommandFn;
|
|
3
|
+
export declare const defaultGitAddCommitFn: GitAddCommitFn;
|
|
4
|
+
export declare const defaultGitPushFn: GitPushFn;
|
|
6
5
|
export declare const defaultSetupWorkspaceFn: SetupWorkspaceFn;
|
|
7
6
|
export declare const defaultTeardownWorkspaceFn: TeardownWorkspaceFn;
|
|
8
7
|
export declare const defaultTeardownWorkspaceFnWithWorktree: TeardownWorkspaceFn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultInjectedFns.d.ts","sourceRoot":"","sources":["../../../src/usages/runLump/defaultInjectedFns.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,
|
|
1
|
+
{"version":3,"file":"defaultInjectedFns.d.ts","sourceRoot":"","sources":["../../../src/usages/runLump/defaultInjectedFns.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,mBAAmB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,yBAAyB,EAAE,kBAEvC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAInC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,SAE9B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,gBAcrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,mBAGxC,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,mBAEpD,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,gBAajD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './main';
|
|
2
|
-
export {
|
|
2
|
+
export { defaultGitAddCommitFn, defaultGitCommitMessageFn, defaultGitPushFn, defaultSetupWorkspaceFn, defaultTeardownWorkspaceFn, defaultSetupWorkspaceFnWithWorktree, defaultTeardownWorkspaceFnWithWorktree, } from './defaultInjectedFns';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/usages/runLump/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAEvB,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/usages/runLump/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAEvB,OAAO,EACH,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,mCAAmC,EACnC,sCAAsC,GACzC,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Success, Failure, BranchFn, GetContextListFn, SetupFn, LumpVariables, StepVariables, TeardownFn, Steps,
|
|
1
|
+
import { Success, Failure, BranchFn, GetContextListFn, SetupFn, LumpVariables, StepVariables, TeardownFn, Steps, GitAddCommitFn, GitCommitMessageFn, GitPushFn, SetupWorkspaceFn, TeardownWorkspaceFn, ExtractSuccess, Context, Logger, ExecuteStepsFailureData } from "../../types";
|
|
2
2
|
import { ExecuteStepsForContextListResult, type RefreshRemoteTrackingRefsFn } from "../../helpers";
|
|
3
3
|
export declare function runLump<V extends LumpVariables = LumpVariables, SV extends StepVariables = StepVariables>(input: RunLumpInput<V, SV>): Promise<Success<RunLumpOutput> | Failure<ExecuteStepsFailureData>>;
|
|
4
4
|
export interface RunLumpInput<V extends LumpVariables = LumpVariables, SV extends StepVariables = StepVariables> {
|
|
@@ -11,10 +11,9 @@ export interface RunLumpInput<V extends LumpVariables = LumpVariables, SV extend
|
|
|
11
11
|
lumpVariables?: V;
|
|
12
12
|
setupFn?: SetupFn<V>;
|
|
13
13
|
teardownFn?: TeardownFn<V>;
|
|
14
|
-
|
|
15
|
-
gitCommitCommandFn?: GitCommitCommandFn;
|
|
14
|
+
gitAddCommitFn?: GitAddCommitFn;
|
|
16
15
|
gitCommitMessageFn?: GitCommitMessageFn<V>;
|
|
17
|
-
|
|
16
|
+
gitPushFn?: GitPushFn;
|
|
18
17
|
setupWorkspaceFn?: SetupWorkspaceFn;
|
|
19
18
|
teardownWorkspaceFn?: TeardownWorkspaceFn;
|
|
20
19
|
logger?: Logger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/usages/runLump/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,E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AC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,qGAAqG;IACrG,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;OAGG;IACH,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;CAC7D;AAED,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,cAAc,CAAC,gCAAgC,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/commitMessageIncludesMarker/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/utils/commitMessageIncludesMarker/main.ts"],"names":[],"mappings":"AAMA,qGAAqG;AACrG,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAGpF"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './formatExecFailureMessage';
|
|
|
8
8
|
export * from './historyFile';
|
|
9
9
|
export * from './pathExists';
|
|
10
10
|
export * from './parseGitLogHashSubjectLines';
|
|
11
|
+
export * from './parseGitLogHashBodyRecords';
|
|
12
|
+
export * from './commitMessageIncludesMarker';
|
|
11
13
|
export * from './nodeErrnoCode';
|
|
12
14
|
export * from './isProcessAlive';
|
|
13
15
|
export * from './killProcessTree';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/parseGitLogHashBodyRecords/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const GIT_LOG_HASH_BODY_FORMAT = "%x1e%H%x00%B";
|
|
2
|
+
export type GitLogHashBodyRecord = {
|
|
3
|
+
hash: string;
|
|
4
|
+
message: string;
|
|
5
|
+
};
|
|
6
|
+
/** Parses `git log --format='%x1e%H%x00%B'` stdout into commit hash and full-message pairs. */
|
|
7
|
+
export declare function parseGitLogHashBodyRecords(stdout: string): GitLogHashBodyRecord[];
|
|
8
|
+
//# sourceMappingURL=main.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/utils/parseGitLogHashBodyRecords/main.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,iBAAiB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAKF,+FAA+F;AAC/F,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,GAAG,oBAAoB,EAAE,CAcjF"}
|