@abloh/cli 0.1.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/LICENSE +6 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +16152 -0
- package/package.json +48 -0
package/LICENSE
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare function gitRevParse(cwd: string, ref: string): Promise<string>;
|
|
2
|
+
declare function gitMergeBase(cwd: string, base: string, head: string): Promise<string>;
|
|
3
|
+
/**
|
|
4
|
+
* A typo'd --base/--head must not silently yield a cannot-attest artifact with exit 0:
|
|
5
|
+
* verify each ref resolves to a commit in the target repo before any work starts.
|
|
6
|
+
*/
|
|
7
|
+
declare function assertCommitRef(cwd: string, flag: string, ref: string): Promise<void>;
|
|
8
|
+
|
|
9
|
+
export { assertCommitRef, gitMergeBase, gitRevParse };
|