@lumpcode/core 0.0.16 → 0.1.1
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 +3 -3
- package/dist/helpers/executeStepsForContextList/main.d.ts.map +1 -1
- package/dist/helpers/getContextStatus/main.d.ts +5 -0
- package/dist/helpers/getContextStatus/main.d.ts.map +1 -1
- package/dist/helpers/getToDoContextList/main.d.ts +6 -0
- package/dist/helpers/getToDoContextList/main.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/refreshRemoteTrackingRefs/index.d.ts +2 -0
- package/dist/helpers/refreshRemoteTrackingRefs/index.d.ts.map +1 -0
- package/dist/helpers/refreshRemoteTrackingRefs/main.d.ts +11 -0
- package/dist/helpers/refreshRemoteTrackingRefs/main.d.ts.map +1 -0
- package/dist/index.cjs +289 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +286 -145
- package/dist/index.js.map +1 -1
- package/dist/types/ExecShellFn.d.ts +16 -0
- package/dist/types/ExecShellFn.d.ts.map +1 -0
- package/dist/types/GitAddCommandFn.d.ts +7 -1
- package/dist/types/GitAddCommandFn.d.ts.map +1 -1
- package/dist/types/GitCommitCommandFn.d.ts +7 -1
- package/dist/types/GitCommitCommandFn.d.ts.map +1 -1
- package/dist/types/GitPushCommandFn.d.ts +7 -1
- package/dist/types/GitPushCommandFn.d.ts.map +1 -1
- package/dist/types/PostCommandExecFn.d.ts +2 -0
- package/dist/types/PostCommandExecFn.d.ts.map +1 -1
- package/dist/usages/runLump/main.d.ts +6 -1
- 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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ExecFailureData } from './ExecFailureData';
|
|
2
|
+
import type { Failure } from './Failure';
|
|
3
|
+
import type { MaybePromise } from './MaybePromise';
|
|
4
|
+
import type { Success } from './Success';
|
|
5
|
+
export type ExecShellResult = Success<{
|
|
6
|
+
stdout: unknown;
|
|
7
|
+
stderr: unknown;
|
|
8
|
+
}> | Failure<ExecFailureData>;
|
|
9
|
+
/**
|
|
10
|
+
* Shell runner used by the engine for workspace setup/teardown and git add/commit/push.
|
|
11
|
+
* Defaults to `execAsync`. CLI may wrap it (e.g. git-common-dir lock).
|
|
12
|
+
*/
|
|
13
|
+
export type ExecShellFn = (command: string, options?: {
|
|
14
|
+
cwd?: string;
|
|
15
|
+
}) => MaybePromise<ExecShellResult>;
|
|
16
|
+
//# sourceMappingURL=ExecShellFn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExecShellFn.d.ts","sourceRoot":"","sources":["../../src/types/ExecShellFn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,MAAM,eAAe,GACrB,OAAO,CAAC;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC,GAC7C,OAAO,CAAC,eAAe,CAAC,CAAC;AAE/B;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,CACtB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,KACzB,YAAY,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Context } from "./Context";
|
|
2
2
|
import { GitAndWorkspaceFnsInput } from "./GitAndWorkspaceFnsInput";
|
|
3
|
+
import { Maybe } from "./Maybe";
|
|
4
|
+
import { MaybePromise } from "./MaybePromise";
|
|
5
|
+
/**
|
|
6
|
+
* Returns a shell command for core to `execAsync`, or null/undefined when the
|
|
7
|
+
* injector already performed the work (or intentionally no-ops).
|
|
8
|
+
*/
|
|
3
9
|
export type GitAddCommandFn = (input: Omit<GitAndWorkspaceFnsInput, 'contextList'> & {
|
|
4
10
|
context: Context;
|
|
5
|
-
}) => string
|
|
11
|
+
}) => MaybePromise<Maybe<string>>;
|
|
6
12
|
//# sourceMappingURL=GitAddCommandFn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitAddCommandFn.d.ts","sourceRoot":"","sources":["../../src/types/GitAddCommandFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"GitAddCommandFn.d.ts","sourceRoot":"","sources":["../../src/types/GitAddCommandFn.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;AAE9C;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,CAC1B,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,aAAa,CAAC,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,KACzE,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Context } from "./Context";
|
|
2
2
|
import { GitAndWorkspaceFnsInput } from "./GitAndWorkspaceFnsInput";
|
|
3
|
+
import { Maybe } from "./Maybe";
|
|
4
|
+
import { MaybePromise } from "./MaybePromise";
|
|
5
|
+
/**
|
|
6
|
+
* Returns a shell command for core to `execAsync`, or null/undefined when the
|
|
7
|
+
* injector already performed the work (or intentionally no-ops).
|
|
8
|
+
*/
|
|
3
9
|
export type GitCommitCommandFn = (input: Omit<GitAndWorkspaceFnsInput, 'contextList'> & {
|
|
4
10
|
context: Context;
|
|
5
11
|
commitMessage: string;
|
|
6
|
-
}) => string
|
|
12
|
+
}) => MaybePromise<Maybe<string>>;
|
|
7
13
|
//# sourceMappingURL=GitCommitCommandFn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitCommitCommandFn.d.ts","sourceRoot":"","sources":["../../src/types/GitCommitCommandFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"GitCommitCommandFn.d.ts","sourceRoot":"","sources":["../../src/types/GitCommitCommandFn.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;AAE9C;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAC7B,KAAK,EAAE,IAAI,CAAC,uBAAuB,EAAE,aAAa,CAAC,GAAG;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB,KACA,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { GitAndWorkspaceFnsInput } from "./GitAndWorkspaceFnsInput";
|
|
2
|
-
|
|
2
|
+
import { Maybe } from "./Maybe";
|
|
3
|
+
import { MaybePromise } from "./MaybePromise";
|
|
4
|
+
/**
|
|
5
|
+
* Returns a shell command for core to `execAsync`, or null/undefined when the
|
|
6
|
+
* injector already performed the work (or intentionally no-ops).
|
|
7
|
+
*/
|
|
8
|
+
export type GitPushCommandFn = (input: GitAndWorkspaceFnsInput) => MaybePromise<Maybe<string>>;
|
|
3
9
|
//# sourceMappingURL=GitPushCommandFn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitPushCommandFn.d.ts","sourceRoot":"","sources":["../../src/types/GitPushCommandFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"GitPushCommandFn.d.ts","sourceRoot":"","sources":["../../src/types/GitPushCommandFn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAC3B,KAAK,EAAE,uBAAuB,KAC7B,YAAY,CAAC,KAAK,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,SAAS,CAAC;AAEhC,MAAM,MAAM,iBAAiB,CACzB,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,EAAE,SAAS,aAAa,GAAG,aAAa,IACxC,CAAC,KAAK,EAAE;IACR,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC;IACjB,aAAa,CAAC,EAAE,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;
|
|
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,SAAS,CAAC;AAEhC,MAAM,MAAM,iBAAiB,CACzB,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,EAAE,SAAS,aAAa,GAAG,aAAa,IACxC,CAAC,KAAK,EAAE;IACR,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC;IACjB,aAAa,CAAC,EAAE,EAAE,CAAC;IACnB,WAAW,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Success, Failure, BranchFn, GetContextListFn, SetupFn, LumpVariables, StepVariables, TeardownFn, Steps, GitAddCommandFn, GitCommitCommandFn, GitCommitMessageFn, GitPushCommandFn, SetupWorkspaceFn, TeardownWorkspaceFn, ExtractSuccess, Context, Logger, ExecuteStepsFailureData } from "../../types";
|
|
2
|
-
import { ExecuteStepsForContextListResult } from "../../helpers";
|
|
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> {
|
|
5
5
|
projectRoot: string;
|
|
@@ -21,6 +21,11 @@ export interface RunLumpInput<V extends LumpVariables = LumpVariables, SV extend
|
|
|
21
21
|
getKeepHistoryFilePathFn?: (context: Context) => string | undefined;
|
|
22
22
|
/** When aborted, in-flight commands are killed and the step walk stops (ignores continueOnError). */
|
|
23
23
|
signal?: AbortSignal;
|
|
24
|
+
/**
|
|
25
|
+
* Optional one-shot remote refresh before context status (CLI locks this).
|
|
26
|
+
* Defaults to unlocked core `refreshRemoteTrackingRefs` inside getToDoContextList.
|
|
27
|
+
*/
|
|
28
|
+
refreshRemoteTrackingRefsFn?: RefreshRemoteTrackingRefsFn;
|
|
24
29
|
}
|
|
25
30
|
export interface RunLumpOutput {
|
|
26
31
|
result: ExtractSuccess<ExecuteStepsForContextListResult>;
|
|
@@ -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,EAAE,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEjT,OAAO,EAGH,gCAAgC,EACnC,MAAM,eAAe,CAAC;AAGvB,wBAAsB,OAAO,CACzB,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,EAAE,SAAS,aAAa,GAAG,aAAa,EAC1C,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,OAAO,CACtC,OAAO,CAAC,aAAa,CAAC,GACtB,OAAO,CAAC,uBAAuB,CAAC,CAC/B,
|
|
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,EAAE,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEjT,OAAO,EAGH,gCAAgC,EAChC,KAAK,2BAA2B,EACnC,MAAM,eAAe,CAAC;AAGvB,wBAAsB,OAAO,CACzB,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,EAAE,SAAS,aAAa,GAAG,aAAa,EAC1C,KAAK,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,OAAO,CACtC,OAAO,CAAC,aAAa,CAAC,GACtB,OAAO,CAAC,uBAAuB,CAAC,CAC/B,CAgGA;AAED,MAAM,WAAW,YAAY,CACzB,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,EAAE,SAAS,aAAa,GAAG,aAAa;IAExC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IACtB,gBAAgB,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACpB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,aAAa,CAAC,EAAE,CAAC,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACrB,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAC3B,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC3C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,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"}
|