@builder.io/dev-tools 1.70.0-dev.202606260546.82f278dad → 1.70.0-dev.202606260734.d150a66b3
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 +31 -52
- 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 +4 -3
- package/server/index.mjs +4 -3
- package/types/cli/constants.d.ts +1 -0
- package/types/cli/utils/codegen-utils.d.ts +5 -6
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/constants.d.ts
CHANGED
|
@@ -116,12 +116,6 @@ export declare function parseAheadBehind(line: string): {
|
|
|
116
116
|
ahead: number;
|
|
117
117
|
behind: number;
|
|
118
118
|
};
|
|
119
|
-
/**
|
|
120
|
-
* Parse the output of `git rev-list --count <base>..HEAD` into an
|
|
121
|
-
* "ahead of base" boolean. Returns undefined when the count can't be parsed so
|
|
122
|
-
* callers can fail open (treat as ahead) rather than wrongly reporting no work.
|
|
123
|
-
*/
|
|
124
|
-
export declare function parseAheadOfBaseCount(out: string): boolean | undefined;
|
|
125
119
|
export declare class BashError extends Error {
|
|
126
120
|
readonly code: number | string | undefined;
|
|
127
121
|
readonly stdout: string;
|
|
@@ -131,6 +125,11 @@ export declare class BashError extends Error {
|
|
|
131
125
|
cause?: Error;
|
|
132
126
|
});
|
|
133
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* True when a failed git command looks like an auth/token failure (expired or
|
|
130
|
+
* born-expired embedded token), so the caller can re-mint credentials and retry.
|
|
131
|
+
*/
|
|
132
|
+
export declare function isGitAuthError(error: unknown): boolean;
|
|
134
133
|
export declare class ParentBranchNotFoundError extends Error {
|
|
135
134
|
readonly branchName: string;
|
|
136
135
|
constructor(branchName: string, opts?: {
|