type-git 0.7.0 → 0.8.1
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 +100 -0
- package/dist/adapters/bun/index.cjs +19 -8
- package/dist/adapters/bun/index.d.cts +3 -2
- package/dist/adapters/bun/index.d.ts +3 -2
- package/dist/adapters/bun/index.js +14 -3
- package/dist/adapters/deno/index.cjs +23 -8
- package/dist/adapters/deno/index.d.cts +3 -2
- package/dist/adapters/deno/index.d.ts +3 -2
- package/dist/adapters/deno/index.js +17 -2
- package/dist/adapters/node/index.cjs +4 -4
- package/dist/adapters/node/index.d.cts +3 -2
- package/dist/adapters/node/index.d.ts +3 -2
- package/dist/adapters/node/index.js +3 -3
- package/dist/{chunk-MFY7MGIJ.cjs → chunk-6HDMSFY7.cjs} +1388 -129
- package/dist/{chunk-YIWTIIXH.js → chunk-ADC26634.js} +467 -27
- package/dist/{chunk-X3F6MDXQ.cjs → chunk-JDCCYWIX.cjs} +18 -7
- package/dist/{chunk-IAJF67MB.js → chunk-S3EFBFVP.js} +13 -2
- package/dist/{chunk-5NI3KM5Z.js → chunk-UAKOSACD.js} +1329 -70
- package/dist/{chunk-NBX6BNQF.cjs → chunk-UHZWPYTF.cjs} +1421 -981
- package/dist/{client.d-Cs32YZX6.d.ts → client.d-Cg5wWJnY.d.cts} +20 -2
- package/dist/{client.d-PRQCR2_T.d.cts → client.d-DCiFA_CK.d.ts} +20 -2
- package/dist/{git.d-DrhCzWEn.d.cts → git.d-DqAvRXEf.d.cts} +926 -117
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/strict/command-data.cjs +3 -0
- package/dist/strict/index.cjs +235 -206
- package/dist/strict/index.d.cts +66309 -124868
- package/dist/strict/index.js +32 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJDCCYWIXcjs = require('./chunk-JDCCYWIX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ var _chunkX3F6MDXQcjs = require('./chunk-X3F6MDXQ.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkUHZWPYTFcjs = require('./chunk-UHZWPYTF.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -33,7 +33,7 @@ var _chunkNBX6BNQFcjs = require('./chunk-NBX6BNQF.cjs');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunk6HDMSFY7cjs = require('./chunk-6HDMSFY7.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -65,4 +65,4 @@ var _chunkMFY7MGIJcjs = require('./chunk-MFY7MGIJ.cjs');
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
exports.CliRunner =
|
|
68
|
+
exports.CliRunner = _chunk6HDMSFY7cjs.CliRunner; exports.DEFAULT_ENV_ALLOWLIST = _chunk6HDMSFY7cjs.DEFAULT_ENV_ALLOWLIST; exports.GIT_LOG_FORMAT = _chunk6HDMSFY7cjs.GIT_LOG_FORMAT; exports.GitArgumentError = _chunk6HDMSFY7cjs.GitArgumentError; exports.GitError = _chunk6HDMSFY7cjs.GitError; exports.LEGACY_GIT_VERSION = _chunkUHZWPYTFcjs.LEGACY_GIT_VERSION; exports.MIN_GIT_VERSION = _chunkUHZWPYTFcjs.MIN_GIT_VERSION; exports.NodeExecAdapter = _chunkJDCCYWIXcjs.NodeExecAdapter; exports.NodeFsAdapter = _chunkJDCCYWIXcjs.NodeFsAdapter; exports.TypeGit = _chunkJDCCYWIXcjs.TypeGit; exports.cloneConfigArgs = _chunkUHZWPYTFcjs.cloneConfigArgs; exports.createGit = _chunkUHZWPYTFcjs.createGit; exports.createGitSync = _chunkUHZWPYTFcjs.createGitSync; exports.createNodeAdapters = _chunkJDCCYWIXcjs.createNodeAdapters; exports.detectErrorCategory = _chunk6HDMSFY7cjs.detectErrorCategory; exports.isCloneConfigKey = _chunkUHZWPYTFcjs.isCloneConfigKey; exports.isNonEmpty = _chunk6HDMSFY7cjs.isNonEmpty; exports.nonEmpty = _chunk6HDMSFY7cjs.nonEmpty; exports.parseGitLog = _chunk6HDMSFY7cjs.parseGitLog; exports.parseGitProgress = _chunk6HDMSFY7cjs.parseGitProgress; exports.parseJson = _chunk6HDMSFY7cjs.parseJson; exports.parseKeyValue = _chunk6HDMSFY7cjs.parseKeyValue; exports.parseLfsProgress = _chunk6HDMSFY7cjs.parseLfsProgress; exports.parseLines = _chunk6HDMSFY7cjs.parseLines; exports.parseLsRemote = _chunk6HDMSFY7cjs.parseLsRemote; exports.parseLsTree = _chunk6HDMSFY7cjs.parseLsTree; exports.parsePorcelainV2 = _chunk6HDMSFY7cjs.parsePorcelainV2; exports.parseRecords = _chunk6HDMSFY7cjs.parseRecords; exports.parseWorktreeList = _chunk6HDMSFY7cjs.parseWorktreeList; exports.resolveInheritedEnv = _chunk6HDMSFY7cjs.resolveInheritedEnv;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
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-
|
|
3
|
-
export {
|
|
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-Cg5wWJnY.cjs';
|
|
3
|
+
export { aQ as AddOpts, A as AuditConfig, cN as AuditEvent, cM as AuditEventEnd, cL as AuditEventStart, B as BareRepo, aT as BranchCreateOpts, aU as BranchDeleteOpts, aR as BranchInfo, cb as BranchOperations, aS as BranchOpts, C as Capabilities, aV as CheckoutBranchOpts, aX as CheckoutOpts, aW as CheckoutPathOpts, bd as CherryPickOpts, be as CleanOpts, at as CloneConfig, as as CloneConfigKey, aq as CloneConfigSchema, ar as CloneHttpVariable, f as CloneOpts, h as CommandExecOpts, cH as CommandSpec, aL as Commit, aY as CommitOpts, aZ as CommitResult, a as CompanionExecutable, cn as ConfigEntry, co as ConfigGetOpts, cs as ConfigKey, cq as ConfigListOpts, ct as ConfigOperations, cr as ConfigSchema, cp as ConfigSetOpts, cJ as Credential, cK as CredentialConfig, cI as CredentialRequest, ay as DEFAULT_ENV_ALLOWLIST, a$ as DiffEntry, a_ as DiffOpts, b0 as DiffResult, aw as EnvAllowlistAdjustment, E as EnvInheritance, ax as EnvInheritancePredicate, c as ExecOpts, b as ExecutionContext, aN as FetchOpts, aO as ForceWithLeaseOpts, a6 as GIT_LOG_FORMAT, G as Git, cD as GitArgumentError, d as GitError, cC as GitErrorCategory, cB as GitErrorKind, e as GitOpenOptions, cA as GitOutput, a4 as GitOutputMode, cy as GitProgress, a7 as GitProgressInfo, aC as GlobalConfigListOpts, i as GlobalConfigOperations, aA as GlobalLfsInstallOpts, j as GlobalLfsOperations, aB as GlobalLfsUninstallOpts, I as InitOpts, bU as LfsCheckoutOpts, bY as LfsEnvInfo, ca as LfsExtraOperations, bJ as LfsFetchOpts, bM as LfsFileEntry, bQ as LfsLockEntry, bR as LfsLockOpts, bT as LfsLocksOpts, bN as LfsLsFilesOpts, bX as LfsMigrateExportOpts, bW as LfsMigrateImportOpts, bV as LfsMigrateInfoOpts, cF as LfsMode, c9 as LfsOperations, b$ as LfsPreDownloadOpts, c0 as LfsPreDownloadResult, bZ as LfsPreUploadOpts, b_ as LfsPreUploadResult, cz as LfsProgress, a8 as LfsProgressInfo, bI as LfsPruneOpts, bF as LfsPullOpts, bG as LfsPushOpts, bE as LfsStatus, bH as LfsStatusOpts, bO as LfsTrackEntry, bP as LfsTrackOpts, bS as LfsUnlockOpts, aM as LogOpts, L as LsRemoteOpts, a9 as LsRemoteRef, g as LsRemoteResult, aG as LsTreeEntry, aa as LsTreeObjectType, aH as LsTreeOpts, b1 as MergeOpts, b2 as MergeResult, bf as MvOpts, cv as NonEmptyString, cG as OutputContract, ab as ParsedCommit, ac as ParsedLsTreeEntry, ad as ParsedWorktree, ae as PorcelainV2Entry, b3 as PullOpts, aP as PushOpts, R as RawResult, bg as RebaseOpts, cf as RemoteAddOpts, ce as RemoteInfo, cm as RemoteOperations, ci as RemotePruneOpts, ck as RemoteSetBranchesOpts, cg as RemoteSetHeadOpts, ch as RemoteShowOpts, cj as RemoteUpdateOpts, cl as RemoteUrlOpts, aD as RepoBase, bK as RepoLfsInstallOpts, bL as RepoLfsUninstallOpts, aE as RepoLsRemoteOpts, aF as RepoLsRemoteResult, b4 as ResetOpts, bh as RestoreOpts, br as RevParseAnyRefOpts, bl as RevParseBooleanQuery, bm as RevParseListOpts, bn as RevParseListQuery, bs as RevParseOtherQuery, bt as RevParsePathFormat, bu as RevParsePathOpts, bk as RevParsePathQuery, bq as RevParseQuietRefOpts, bo as RevParseRefBaseOpts, bp as RevParseRefOpts, bi as RevertOpts, b5 as RmOpts, cE as Runtime, bj as ShowOpts, b8 as StashApplyOpts, b6 as StashEntry, cc as StashOperations, b7 as StashPushOpts, aI as StatusEntry, aK as StatusOpts, aJ as StatusPorcelain, bw as SubmoduleAddOpts, bx as SubmoduleDeinitOpts, bA as SubmoduleForeachOpts, bD as SubmoduleInfo, cu as SubmoduleOperations, bv as SubmoduleOpts, bC as SubmoduleSetBranchOpts, by as SubmoduleStatusOpts, bz as SubmoduleSummaryOpts, bB as SubmoduleSyncOpts, b9 as SwitchOpts, bc as TagCreateOpts, ba as TagInfo, bb as TagListOpts, cd as TagOperations, cO as TraceEvent, c1 as Worktree, c2 as WorktreeAddOpts, c7 as WorktreeLockOpts, c5 as WorktreeMoveOpts, c8 as WorktreeOperations, c4 as WorktreePruneOpts, c3 as WorktreeRemoveOpts, c6 as WorktreeRepairOpts, W as WorktreeRepo, av as cloneConfigArgs, a5 as detectErrorCategory, au as isCloneConfigKey, cx as isNonEmpty, cw as nonEmpty, af as parseGitLog, ag as parseGitProgress, ah as parseJson, ai as parseKeyValue, aj as parseLfsProgress, ak as parseLines, al as parseLsRemote, am as parseLsTree, an as parsePorcelainV2, ao as parseRecords, ap as parseWorktreeList, az as resolveInheritedEnv } from './git.d-DqAvRXEf.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
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-
|
|
3
|
-
export {
|
|
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-DCiFA_CK.js';
|
|
3
|
+
export { aQ as AddOpts, A as AuditConfig, cN as AuditEvent, cM as AuditEventEnd, cL as AuditEventStart, B as BareRepo, aT as BranchCreateOpts, aU as BranchDeleteOpts, aR as BranchInfo, cb as BranchOperations, aS as BranchOpts, C as Capabilities, aV as CheckoutBranchOpts, aX as CheckoutOpts, aW as CheckoutPathOpts, bd as CherryPickOpts, be as CleanOpts, at as CloneConfig, as as CloneConfigKey, aq as CloneConfigSchema, ar as CloneHttpVariable, f as CloneOpts, h as CommandExecOpts, cH as CommandSpec, aL as Commit, aY as CommitOpts, aZ as CommitResult, a as CompanionExecutable, cn as ConfigEntry, co as ConfigGetOpts, cs as ConfigKey, cq as ConfigListOpts, ct as ConfigOperations, cr as ConfigSchema, cp as ConfigSetOpts, cJ as Credential, cK as CredentialConfig, cI as CredentialRequest, ay as DEFAULT_ENV_ALLOWLIST, a$ as DiffEntry, a_ as DiffOpts, b0 as DiffResult, aw as EnvAllowlistAdjustment, E as EnvInheritance, ax as EnvInheritancePredicate, c as ExecOpts, b as ExecutionContext, aN as FetchOpts, aO as ForceWithLeaseOpts, a6 as GIT_LOG_FORMAT, G as Git, cD as GitArgumentError, d as GitError, cC as GitErrorCategory, cB as GitErrorKind, e as GitOpenOptions, cA as GitOutput, a4 as GitOutputMode, cy as GitProgress, a7 as GitProgressInfo, aC as GlobalConfigListOpts, i as GlobalConfigOperations, aA as GlobalLfsInstallOpts, j as GlobalLfsOperations, aB as GlobalLfsUninstallOpts, I as InitOpts, bU as LfsCheckoutOpts, bY as LfsEnvInfo, ca as LfsExtraOperations, bJ as LfsFetchOpts, bM as LfsFileEntry, bQ as LfsLockEntry, bR as LfsLockOpts, bT as LfsLocksOpts, bN as LfsLsFilesOpts, bX as LfsMigrateExportOpts, bW as LfsMigrateImportOpts, bV as LfsMigrateInfoOpts, cF as LfsMode, c9 as LfsOperations, b$ as LfsPreDownloadOpts, c0 as LfsPreDownloadResult, bZ as LfsPreUploadOpts, b_ as LfsPreUploadResult, cz as LfsProgress, a8 as LfsProgressInfo, bI as LfsPruneOpts, bF as LfsPullOpts, bG as LfsPushOpts, bE as LfsStatus, bH as LfsStatusOpts, bO as LfsTrackEntry, bP as LfsTrackOpts, bS as LfsUnlockOpts, aM as LogOpts, L as LsRemoteOpts, a9 as LsRemoteRef, g as LsRemoteResult, aG as LsTreeEntry, aa as LsTreeObjectType, aH as LsTreeOpts, b1 as MergeOpts, b2 as MergeResult, bf as MvOpts, cv as NonEmptyString, cG as OutputContract, ab as ParsedCommit, ac as ParsedLsTreeEntry, ad as ParsedWorktree, ae as PorcelainV2Entry, b3 as PullOpts, aP as PushOpts, R as RawResult, bg as RebaseOpts, cf as RemoteAddOpts, ce as RemoteInfo, cm as RemoteOperations, ci as RemotePruneOpts, ck as RemoteSetBranchesOpts, cg as RemoteSetHeadOpts, ch as RemoteShowOpts, cj as RemoteUpdateOpts, cl as RemoteUrlOpts, aD as RepoBase, bK as RepoLfsInstallOpts, bL as RepoLfsUninstallOpts, aE as RepoLsRemoteOpts, aF as RepoLsRemoteResult, b4 as ResetOpts, bh as RestoreOpts, br as RevParseAnyRefOpts, bl as RevParseBooleanQuery, bm as RevParseListOpts, bn as RevParseListQuery, bs as RevParseOtherQuery, bt as RevParsePathFormat, bu as RevParsePathOpts, bk as RevParsePathQuery, bq as RevParseQuietRefOpts, bo as RevParseRefBaseOpts, bp as RevParseRefOpts, bi as RevertOpts, b5 as RmOpts, cE as Runtime, bj as ShowOpts, b8 as StashApplyOpts, b6 as StashEntry, cc as StashOperations, b7 as StashPushOpts, aI as StatusEntry, aK as StatusOpts, aJ as StatusPorcelain, bw as SubmoduleAddOpts, bx as SubmoduleDeinitOpts, bA as SubmoduleForeachOpts, bD as SubmoduleInfo, cu as SubmoduleOperations, bv as SubmoduleOpts, bC as SubmoduleSetBranchOpts, by as SubmoduleStatusOpts, bz as SubmoduleSummaryOpts, bB as SubmoduleSyncOpts, b9 as SwitchOpts, bc as TagCreateOpts, ba as TagInfo, bb as TagListOpts, cd as TagOperations, cO as TraceEvent, c1 as Worktree, c2 as WorktreeAddOpts, c7 as WorktreeLockOpts, c5 as WorktreeMoveOpts, c8 as WorktreeOperations, c4 as WorktreePruneOpts, c3 as WorktreeRemoveOpts, c6 as WorktreeRepairOpts, W as WorktreeRepo, av as cloneConfigArgs, a5 as detectErrorCategory, au as isCloneConfigKey, cx as isNonEmpty, cw as nonEmpty, af as parseGitLog, ag as parseGitProgress, ah as parseJson, ai as parseKeyValue, aj as parseLfsProgress, ak as parseLines, al as parseLsRemote, am as parseLsTree, an as parsePorcelainV2, ao as parseRecords, ap as parseWorktreeList, az as resolveInheritedEnv } from './git.d-DqAvRXEf.cjs';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
NodeFsAdapter,
|
|
4
4
|
TypeGit,
|
|
5
5
|
createNodeAdapters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S3EFBFVP.js";
|
|
7
7
|
import {
|
|
8
8
|
LEGACY_GIT_VERSION,
|
|
9
9
|
MIN_GIT_VERSION,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createGit,
|
|
12
12
|
createGitSync,
|
|
13
13
|
isCloneConfigKey
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ADC26634.js";
|
|
15
15
|
import {
|
|
16
16
|
CliRunner,
|
|
17
17
|
DEFAULT_ENV_ALLOWLIST,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
parseRecords,
|
|
34
34
|
parseWorktreeList,
|
|
35
35
|
resolveInheritedEnv
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UAKOSACD.js";
|
|
37
37
|
export {
|
|
38
38
|
CliRunner,
|
|
39
39
|
DEFAULT_ENV_ALLOWLIST,
|