type-git 0.5.0 → 0.7.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/README.md +27 -7
- package/dist/adapters/bun/index.cjs +82 -13348
- package/dist/adapters/bun/index.d.cts +7 -1
- package/dist/adapters/bun/index.d.ts +7 -1
- package/dist/adapters/bun/index.js +49 -13275
- package/dist/adapters/deno/index.cjs +76 -13344
- package/dist/adapters/deno/index.d.cts +7 -1
- package/dist/adapters/deno/index.d.ts +7 -1
- package/dist/adapters/deno/index.js +44 -13272
- package/dist/adapters/node/index.cjs +5 -13617
- package/dist/adapters/node/index.d.cts +44 -6
- package/dist/adapters/node/index.d.ts +44 -6
- package/dist/adapters/node/index.js +8 -13580
- package/dist/chunk-5NI3KM5Z.js +4822 -0
- package/dist/chunk-IAJF67MB.js +392 -0
- package/dist/chunk-MFY7MGIJ.cjs +4822 -0
- package/dist/chunk-NBX6BNQF.cjs +5588 -0
- package/dist/chunk-X3F6MDXQ.cjs +392 -0
- package/dist/chunk-YIWTIIXH.js +5588 -0
- package/dist/client.d-Cs32YZX6.d.ts +566 -0
- package/dist/client.d-PRQCR2_T.d.cts +566 -0
- package/dist/{client-KHa1WMIH.d.cts → git.d-DrhCzWEn.d.cts} +4541 -6876
- package/dist/index.cjs +42 -13717
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +38 -13649
- package/dist/strict/index.cjs +2919 -0
- package/dist/strict/index.d.cts +134022 -0
- package/dist/strict/index.d.ts +1 -0
- package/dist/strict/index.js +2919 -0
- package/docs/adapters.md +168 -0
- package/docs/migrations/0.7.0.md +152 -0
- package/package.json +58 -21
- package/dist/adapters/bun/index.cjs.map +0 -1
- package/dist/adapters/bun/index.js.map +0 -1
- package/dist/adapters/deno/index.cjs.map +0 -1
- package/dist/adapters/deno/index.js.map +0 -1
- package/dist/adapters/node/index.cjs.map +0 -1
- package/dist/adapters/node/index.js.map +0 -1
- package/dist/client-KHa1WMIH.d.ts +0 -12041
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { NodeExecAdapter, NodeFsAdapter, TypeGit, TypeGitOptions, createNodeAdapters } from './adapters/node/index.cjs';
|
|
2
|
-
export {
|
|
1
|
+
export { NodeAdaptersOptions, NodeExecAdapter, NodeExecAdapterOptions, NodeFsAdapter, TypeGit, TypeGitOptions, createNodeAdapters } from './adapters/node/index.cjs';
|
|
2
|
+
export { A as AdapterFactory, g as CliRunner, h as CliRunnerOptions, C as CreateGitOptions, E as ExecAdapter, F as FsAdapter, L as LEGACY_GIT_VERSION, M as MIN_GIT_VERSION, R as RuntimeAdapters, c as SpawnHandle, S as SpawnOptions, b as SpawnResult, a as StreamHandler, d as TailHandle, T as TailOptions, e as createGit, f as createGitSync } from './client.d-PRQCR2_T.cjs';
|
|
3
|
+
export { aP as AddOpts, A as AuditConfig, cM as AuditEvent, cL as AuditEventEnd, cK as AuditEventStart, B as BareRepo, aS as BranchCreateOpts, aT as BranchDeleteOpts, aQ as BranchInfo, ca as BranchOperations, aR as BranchOpts, C as Capabilities, aU as CheckoutBranchOpts, aW as CheckoutOpts, aV as CheckoutPathOpts, bc as CherryPickOpts, bd as CleanOpts, as as CloneConfig, ar as CloneConfigKey, ap as CloneConfigSchema, aq as CloneHttpVariable, f as CloneOpts, h as CommandExecOpts, cG as CommandSpec, aK as Commit, aX as CommitOpts, aY as CommitResult, a as CompanionExecutable, cm as ConfigEntry, cn as ConfigGetOpts, cr as ConfigKey, cp as ConfigListOpts, cs as ConfigOperations, cq as ConfigSchema, co as ConfigSetOpts, cI as Credential, cJ as CredentialConfig, cH as CredentialRequest, ax as DEFAULT_ENV_ALLOWLIST, a_ as DiffEntry, aZ as DiffOpts, a$ as DiffResult, av as EnvAllowlistAdjustment, E as EnvInheritance, aw as EnvInheritancePredicate, c as ExecOpts, b as ExecutionContext, aM as FetchOpts, aN as ForceWithLeaseOpts, a5 as GIT_LOG_FORMAT, G as Git, cC as GitArgumentError, d as GitError, cB as GitErrorCategory, cA as GitErrorKind, e as GitOpenOptions, cz as GitOutput, a3 as GitOutputMode, cx as GitProgress, a6 as GitProgressInfo, aB as GlobalConfigListOpts, i as GlobalConfigOperations, az as GlobalLfsInstallOpts, j as GlobalLfsOperations, aA as GlobalLfsUninstallOpts, I as InitOpts, bT as LfsCheckoutOpts, bX as LfsEnvInfo, c9 as LfsExtraOperations, bI as LfsFetchOpts, bL as LfsFileEntry, bP as LfsLockEntry, bQ as LfsLockOpts, bS as LfsLocksOpts, bM as LfsLsFilesOpts, bW as LfsMigrateExportOpts, bV as LfsMigrateImportOpts, bU as LfsMigrateInfoOpts, cE as LfsMode, c8 as LfsOperations, b_ as LfsPreDownloadOpts, b$ as LfsPreDownloadResult, bY as LfsPreUploadOpts, bZ as LfsPreUploadResult, cy as LfsProgress, a7 as LfsProgressInfo, bH as LfsPruneOpts, bE as LfsPullOpts, bF as LfsPushOpts, bD as LfsStatus, bG as LfsStatusOpts, bN as LfsTrackEntry, bO as LfsTrackOpts, bR as LfsUnlockOpts, aL as LogOpts, L as LsRemoteOpts, a8 as LsRemoteRef, g as LsRemoteResult, aF as LsTreeEntry, a9 as LsTreeObjectType, aG as LsTreeOpts, b0 as MergeOpts, b1 as MergeResult, be as MvOpts, cu as NonEmptyString, cF as OutputContract, aa as ParsedCommit, ab as ParsedLsTreeEntry, ac as ParsedWorktree, ad as PorcelainV2Entry, b2 as PullOpts, aO as PushOpts, R as RawResult, bf as RebaseOpts, ce as RemoteAddOpts, cd as RemoteInfo, cl as RemoteOperations, ch as RemotePruneOpts, cj as RemoteSetBranchesOpts, cf as RemoteSetHeadOpts, cg as RemoteShowOpts, ci as RemoteUpdateOpts, ck as RemoteUrlOpts, aC as RepoBase, bJ as RepoLfsInstallOpts, bK as RepoLfsUninstallOpts, aD as RepoLsRemoteOpts, aE as RepoLsRemoteResult, b3 as ResetOpts, bg as RestoreOpts, bq as RevParseAnyRefOpts, bk as RevParseBooleanQuery, bl as RevParseListOpts, bm as RevParseListQuery, br as RevParseOtherQuery, bs as RevParsePathFormat, bt as RevParsePathOpts, bj as RevParsePathQuery, bp as RevParseQuietRefOpts, bn as RevParseRefBaseOpts, bo as RevParseRefOpts, bh as RevertOpts, b4 as RmOpts, cD as Runtime, bi as ShowOpts, b7 as StashApplyOpts, b5 as StashEntry, cb as StashOperations, b6 as StashPushOpts, aH as StatusEntry, aJ as StatusOpts, aI as StatusPorcelain, bv as SubmoduleAddOpts, bw as SubmoduleDeinitOpts, bz as SubmoduleForeachOpts, bC as SubmoduleInfo, ct as SubmoduleOperations, bu as SubmoduleOpts, bB as SubmoduleSetBranchOpts, bx as SubmoduleStatusOpts, by as SubmoduleSummaryOpts, bA as SubmoduleSyncOpts, b8 as SwitchOpts, bb as TagCreateOpts, b9 as TagInfo, ba as TagListOpts, cc as TagOperations, cN as TraceEvent, c0 as Worktree, c1 as WorktreeAddOpts, c6 as WorktreeLockOpts, c4 as WorktreeMoveOpts, c7 as WorktreeOperations, c3 as WorktreePruneOpts, c2 as WorktreeRemoveOpts, c5 as WorktreeRepairOpts, W as WorktreeRepo, au as cloneConfigArgs, a4 as detectErrorCategory, at as isCloneConfigKey, cw as isNonEmpty, cv as nonEmpty, ae as parseGitLog, af as parseGitProgress, ag as parseJson, ah as parseKeyValue, ai as parseLfsProgress, aj as parseLines, ak as parseLsRemote, al as parseLsTree, am as parsePorcelainV2, an as parseRecords, ao as parseWorktreeList, ay as resolveInheritedEnv } from './git.d-DrhCzWEn.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { NodeExecAdapter, NodeFsAdapter, TypeGit, TypeGitOptions, createNodeAdapters } from './adapters/node/index.js';
|
|
2
|
-
export {
|
|
1
|
+
export { NodeAdaptersOptions, NodeExecAdapter, NodeExecAdapterOptions, NodeFsAdapter, TypeGit, TypeGitOptions, createNodeAdapters } from './adapters/node/index.js';
|
|
2
|
+
export { A as AdapterFactory, g as CliRunner, h as CliRunnerOptions, C as CreateGitOptions, E as ExecAdapter, F as FsAdapter, L as LEGACY_GIT_VERSION, M as MIN_GIT_VERSION, R as RuntimeAdapters, c as SpawnHandle, S as SpawnOptions, b as SpawnResult, a as StreamHandler, d as TailHandle, T as TailOptions, e as createGit, f as createGitSync } from './client.d-Cs32YZX6.js';
|
|
3
|
+
export { aP as AddOpts, A as AuditConfig, cM as AuditEvent, cL as AuditEventEnd, cK as AuditEventStart, B as BareRepo, aS as BranchCreateOpts, aT as BranchDeleteOpts, aQ as BranchInfo, ca as BranchOperations, aR as BranchOpts, C as Capabilities, aU as CheckoutBranchOpts, aW as CheckoutOpts, aV as CheckoutPathOpts, bc as CherryPickOpts, bd as CleanOpts, as as CloneConfig, ar as CloneConfigKey, ap as CloneConfigSchema, aq as CloneHttpVariable, f as CloneOpts, h as CommandExecOpts, cG as CommandSpec, aK as Commit, aX as CommitOpts, aY as CommitResult, a as CompanionExecutable, cm as ConfigEntry, cn as ConfigGetOpts, cr as ConfigKey, cp as ConfigListOpts, cs as ConfigOperations, cq as ConfigSchema, co as ConfigSetOpts, cI as Credential, cJ as CredentialConfig, cH as CredentialRequest, ax as DEFAULT_ENV_ALLOWLIST, a_ as DiffEntry, aZ as DiffOpts, a$ as DiffResult, av as EnvAllowlistAdjustment, E as EnvInheritance, aw as EnvInheritancePredicate, c as ExecOpts, b as ExecutionContext, aM as FetchOpts, aN as ForceWithLeaseOpts, a5 as GIT_LOG_FORMAT, G as Git, cC as GitArgumentError, d as GitError, cB as GitErrorCategory, cA as GitErrorKind, e as GitOpenOptions, cz as GitOutput, a3 as GitOutputMode, cx as GitProgress, a6 as GitProgressInfo, aB as GlobalConfigListOpts, i as GlobalConfigOperations, az as GlobalLfsInstallOpts, j as GlobalLfsOperations, aA as GlobalLfsUninstallOpts, I as InitOpts, bT as LfsCheckoutOpts, bX as LfsEnvInfo, c9 as LfsExtraOperations, bI as LfsFetchOpts, bL as LfsFileEntry, bP as LfsLockEntry, bQ as LfsLockOpts, bS as LfsLocksOpts, bM as LfsLsFilesOpts, bW as LfsMigrateExportOpts, bV as LfsMigrateImportOpts, bU as LfsMigrateInfoOpts, cE as LfsMode, c8 as LfsOperations, b_ as LfsPreDownloadOpts, b$ as LfsPreDownloadResult, bY as LfsPreUploadOpts, bZ as LfsPreUploadResult, cy as LfsProgress, a7 as LfsProgressInfo, bH as LfsPruneOpts, bE as LfsPullOpts, bF as LfsPushOpts, bD as LfsStatus, bG as LfsStatusOpts, bN as LfsTrackEntry, bO as LfsTrackOpts, bR as LfsUnlockOpts, aL as LogOpts, L as LsRemoteOpts, a8 as LsRemoteRef, g as LsRemoteResult, aF as LsTreeEntry, a9 as LsTreeObjectType, aG as LsTreeOpts, b0 as MergeOpts, b1 as MergeResult, be as MvOpts, cu as NonEmptyString, cF as OutputContract, aa as ParsedCommit, ab as ParsedLsTreeEntry, ac as ParsedWorktree, ad as PorcelainV2Entry, b2 as PullOpts, aO as PushOpts, R as RawResult, bf as RebaseOpts, ce as RemoteAddOpts, cd as RemoteInfo, cl as RemoteOperations, ch as RemotePruneOpts, cj as RemoteSetBranchesOpts, cf as RemoteSetHeadOpts, cg as RemoteShowOpts, ci as RemoteUpdateOpts, ck as RemoteUrlOpts, aC as RepoBase, bJ as RepoLfsInstallOpts, bK as RepoLfsUninstallOpts, aD as RepoLsRemoteOpts, aE as RepoLsRemoteResult, b3 as ResetOpts, bg as RestoreOpts, bq as RevParseAnyRefOpts, bk as RevParseBooleanQuery, bl as RevParseListOpts, bm as RevParseListQuery, br as RevParseOtherQuery, bs as RevParsePathFormat, bt as RevParsePathOpts, bj as RevParsePathQuery, bp as RevParseQuietRefOpts, bn as RevParseRefBaseOpts, bo as RevParseRefOpts, bh as RevertOpts, b4 as RmOpts, cD as Runtime, bi as ShowOpts, b7 as StashApplyOpts, b5 as StashEntry, cb as StashOperations, b6 as StashPushOpts, aH as StatusEntry, aJ as StatusOpts, aI as StatusPorcelain, bv as SubmoduleAddOpts, bw as SubmoduleDeinitOpts, bz as SubmoduleForeachOpts, bC as SubmoduleInfo, ct as SubmoduleOperations, bu as SubmoduleOpts, bB as SubmoduleSetBranchOpts, bx as SubmoduleStatusOpts, by as SubmoduleSummaryOpts, bA as SubmoduleSyncOpts, b8 as SwitchOpts, bb as TagCreateOpts, b9 as TagInfo, ba as TagListOpts, cc as TagOperations, cN as TraceEvent, c0 as Worktree, c1 as WorktreeAddOpts, c6 as WorktreeLockOpts, c4 as WorktreeMoveOpts, c7 as WorktreeOperations, c3 as WorktreePruneOpts, c2 as WorktreeRemoveOpts, c5 as WorktreeRepairOpts, W as WorktreeRepo, au as cloneConfigArgs, a4 as detectErrorCategory, at as isCloneConfigKey, cw as isNonEmpty, cv as nonEmpty, ae as parseGitLog, af as parseGitProgress, ag as parseJson, ah as parseKeyValue, ai as parseLfsProgress, aj as parseLines, ak as parseLsRemote, al as parseLsTree, am as parsePorcelainV2, an as parseRecords, ao as parseWorktreeList, ay as resolveInheritedEnv } from './git.d-DrhCzWEn.cjs';
|