@builder.io/dev-tools 1.68.1-dev.202606251237.e0a89fd34 → 1.68.1-dev.202606251948.51748eb27
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/cli/index.cjs +56 -13
- package/cli/index.cjs.map +3 -3
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/cli/utils/codegen-utils.d.ts +6 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -105,6 +105,12 @@ export declare function parseAheadBehind(line: string): {
|
|
|
105
105
|
ahead: number;
|
|
106
106
|
behind: number;
|
|
107
107
|
};
|
|
108
|
+
/**
|
|
109
|
+
* Parse the output of `git rev-list --count <base>..HEAD` into an
|
|
110
|
+
* "ahead of base" boolean. Returns undefined when the count can't be parsed so
|
|
111
|
+
* callers can fail open (treat as ahead) rather than wrongly reporting no work.
|
|
112
|
+
*/
|
|
113
|
+
export declare function parseAheadOfBaseCount(out: string): boolean | undefined;
|
|
108
114
|
export declare class BashError extends Error {
|
|
109
115
|
readonly code: number | string | undefined;
|
|
110
116
|
readonly stdout: string;
|