type-git 0.3.0-alpha.3 → 0.4.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.
@@ -1,4 +1,4 @@
1
- import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters } from '../../adapters-CZ8wj9Kr.cjs';
1
+ import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters, e as CreateGitOptions, G as GitClient, f as Git } from '../../client-DAAbUvgo.cjs';
2
2
 
3
3
  /**
4
4
  * Bun ExecAdapter implementation
@@ -32,13 +32,18 @@ declare class BunFsAdapter implements FsAdapter {
32
32
  }): TailHandle;
33
33
  }
34
34
 
35
- /**
36
- * Bun adapter exports
37
- */
38
-
39
35
  /**
40
36
  * Create Bun runtime adapters
41
37
  */
42
38
  declare function createBunAdapters(): RuntimeAdapters;
39
+ type TypeGitOptions = Omit<CreateGitOptions, 'adapters'>;
40
+ /** Git client preconfigured for Bun. */
41
+ declare class TypeGit extends GitClient {
42
+ static create(options?: TypeGitOptions): Promise<TypeGit>;
43
+ /** @deprecated Use TypeGit.create() to check Git compatibility. */
44
+ constructor(constructorOptions?: TypeGitOptions);
45
+ /** @internal */
46
+ constructor(git: Git);
47
+ }
43
48
 
44
- export { BunExecAdapter, BunFsAdapter, createBunAdapters };
49
+ export { BunExecAdapter, BunFsAdapter, TypeGit, type TypeGitOptions, createBunAdapters };
@@ -1,4 +1,4 @@
1
- import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters } from '../../adapters-CZ8wj9Kr.js';
1
+ import { E as ExecAdapter, C as Capabilities, S as SpawnOptions, a as StreamHandler, b as SpawnResult, c as SpawnHandle, F as FsAdapter, T as TailOptions, d as TailHandle, R as RuntimeAdapters, e as CreateGitOptions, G as GitClient, f as Git } from '../../client-DAAbUvgo.js';
2
2
 
3
3
  /**
4
4
  * Bun ExecAdapter implementation
@@ -32,13 +32,18 @@ declare class BunFsAdapter implements FsAdapter {
32
32
  }): TailHandle;
33
33
  }
34
34
 
35
- /**
36
- * Bun adapter exports
37
- */
38
-
39
35
  /**
40
36
  * Create Bun runtime adapters
41
37
  */
42
38
  declare function createBunAdapters(): RuntimeAdapters;
39
+ type TypeGitOptions = Omit<CreateGitOptions, 'adapters'>;
40
+ /** Git client preconfigured for Bun. */
41
+ declare class TypeGit extends GitClient {
42
+ static create(options?: TypeGitOptions): Promise<TypeGit>;
43
+ /** @deprecated Use TypeGit.create() to check Git compatibility. */
44
+ constructor(constructorOptions?: TypeGitOptions);
45
+ /** @internal */
46
+ constructor(git: Git);
47
+ }
43
48
 
44
- export { BunExecAdapter, BunFsAdapter, createBunAdapters };
49
+ export { BunExecAdapter, BunFsAdapter, TypeGit, type TypeGitOptions, createBunAdapters };