From 4081c2036a5af21519095da1b8b99c507b0fba93 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 17 Apr 2022 17:37:10 +0200 Subject: Deprecation --- node_modules/simple-git/src/lib/api.d.ts | 11 --- .../src/lib/errors/git-construct-error.d.ts | 15 ---- .../simple-git/src/lib/errors/git-error.d.ts | 29 ------- .../src/lib/errors/git-plugin-error.d.ts | 6 -- .../src/lib/errors/git-response-error.d.ts | 32 ------- .../src/lib/errors/task-configuration-error.d.ts | 12 --- node_modules/simple-git/src/lib/git-factory.d.ts | 15 ---- node_modules/simple-git/src/lib/git-logger.d.ts | 21 ----- .../src/lib/parsers/parse-branch-delete.d.ts | 5 -- .../simple-git/src/lib/parsers/parse-branch.d.ts | 2 - .../simple-git/src/lib/parsers/parse-commit.d.ts | 2 - .../src/lib/parsers/parse-diff-summary.d.ts | 2 - .../simple-git/src/lib/parsers/parse-fetch.d.ts | 2 - .../src/lib/parsers/parse-list-log-summary.d.ts | 5 -- .../simple-git/src/lib/parsers/parse-merge.d.ts | 11 --- .../simple-git/src/lib/parsers/parse-move.d.ts | 2 - .../simple-git/src/lib/parsers/parse-pull.d.ts | 6 -- .../simple-git/src/lib/parsers/parse-push.d.ts | 4 - .../src/lib/parsers/parse-remote-messages.d.ts | 5 -- .../src/lib/parsers/parse-remote-objects.d.ts | 3 - .../plugins/command-config-prefixing-plugin.d.ts | 2 - .../lib/plugins/completion-detection.plugin.d.ts | 3 - .../src/lib/plugins/error-detection.plugin.d.ts | 8 -- node_modules/simple-git/src/lib/plugins/index.d.ts | 8 -- .../simple-git/src/lib/plugins/plugin-store.d.ts | 6 -- .../src/lib/plugins/progress-monitor-plugin.d.ts | 3 - .../src/lib/plugins/simple-git-plugin.d.ts | 37 -------- .../src/lib/plugins/spawn-options-plugin.d.ts | 4 - .../simple-git/src/lib/plugins/timout-plugin.d.ts | 3 - .../src/lib/responses/BranchDeleteSummary.d.ts | 12 --- .../src/lib/responses/BranchSummary.d.ts | 10 --- .../simple-git/src/lib/responses/CheckIgnore.d.ts | 4 - .../simple-git/src/lib/responses/CleanSummary.d.ts | 9 -- .../simple-git/src/lib/responses/ConfigList.d.ts | 13 --- .../simple-git/src/lib/responses/DiffSummary.d.ts | 10 --- .../src/lib/responses/FileStatusSummary.d.ts | 9 -- .../src/lib/responses/GetRemoteSummary.d.ts | 11 --- .../simple-git/src/lib/responses/InitSummary.d.ts | 9 -- .../simple-git/src/lib/responses/MergeSummary.d.ts | 16 ---- .../simple-git/src/lib/responses/PullSummary.d.ts | 25 ------ .../src/lib/responses/StatusSummary.d.ts | 19 ----- .../simple-git/src/lib/responses/TagList.d.ts | 7 -- .../src/lib/runners/git-executor-chain.d.ts | 25 ------ .../simple-git/src/lib/runners/git-executor.d.ts | 15 ---- .../src/lib/runners/promise-wrapped.d.ts | 2 - .../simple-git/src/lib/runners/scheduler.d.ts | 11 --- .../src/lib/runners/tasks-pending-queue.d.ts | 23 ----- .../simple-git/src/lib/simple-git-api.d.ts | 20 ----- node_modules/simple-git/src/lib/task-callback.d.ts | 2 - .../simple-git/src/lib/tasks/apply-patch.d.ts | 3 - node_modules/simple-git/src/lib/tasks/branch.d.ts | 7 -- .../src/lib/tasks/change-working-directory.d.ts | 2 - .../simple-git/src/lib/tasks/check-ignore.d.ts | 2 - .../simple-git/src/lib/tasks/check-is-repo.d.ts | 9 -- node_modules/simple-git/src/lib/tasks/clean.d.ts | 25 ------ node_modules/simple-git/src/lib/tasks/clone.d.ts | 4 - node_modules/simple-git/src/lib/tasks/commit.d.ts | 3 - node_modules/simple-git/src/lib/tasks/config.d.ts | 8 -- node_modules/simple-git/src/lib/tasks/diff.d.ts | 3 - node_modules/simple-git/src/lib/tasks/fetch.d.ts | 3 - node_modules/simple-git/src/lib/tasks/grep.d.ts | 12 --- .../simple-git/src/lib/tasks/hash-object.d.ts | 5 -- node_modules/simple-git/src/lib/tasks/init.d.ts | 3 - node_modules/simple-git/src/lib/tasks/log.d.ts | 32 ------- node_modules/simple-git/src/lib/tasks/merge.d.ts | 4 - node_modules/simple-git/src/lib/tasks/move.d.ts | 3 - node_modules/simple-git/src/lib/tasks/pull.d.ts | 3 - node_modules/simple-git/src/lib/tasks/push.d.ts | 9 -- node_modules/simple-git/src/lib/tasks/remote.d.ts | 6 -- node_modules/simple-git/src/lib/tasks/reset.d.ts | 11 --- .../simple-git/src/lib/tasks/stash-list.d.ts | 3 - node_modules/simple-git/src/lib/tasks/status.d.ts | 3 - .../simple-git/src/lib/tasks/sub-module.d.ts | 5 -- node_modules/simple-git/src/lib/tasks/tag.d.ts | 18 ---- node_modules/simple-git/src/lib/tasks/task.d.ts | 14 --- .../simple-git/src/lib/types/handlers.d.ts | 21 ----- node_modules/simple-git/src/lib/types/index.d.ts | 99 ---------------------- node_modules/simple-git/src/lib/types/tasks.d.ts | 20 ----- .../simple-git/src/lib/utils/argument-filters.d.ts | 16 ---- .../simple-git/src/lib/utils/exit-codes.d.ts | 9 -- .../src/lib/utils/git-output-streams.d.ts | 8 -- node_modules/simple-git/src/lib/utils/index.d.ts | 8 -- .../simple-git/src/lib/utils/line-parser.d.ts | 15 ---- .../src/lib/utils/simple-git-options.d.ts | 2 - .../simple-git/src/lib/utils/task-options.d.ts | 13 --- .../simple-git/src/lib/utils/task-parser.d.ts | 5 -- node_modules/simple-git/src/lib/utils/util.d.ts | 45 ---------- 87 files changed, 977 deletions(-) delete mode 100644 node_modules/simple-git/src/lib/api.d.ts delete mode 100644 node_modules/simple-git/src/lib/errors/git-construct-error.d.ts delete mode 100644 node_modules/simple-git/src/lib/errors/git-error.d.ts delete mode 100644 node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts delete mode 100644 node_modules/simple-git/src/lib/errors/git-response-error.d.ts delete mode 100644 node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts delete mode 100644 node_modules/simple-git/src/lib/git-factory.d.ts delete mode 100644 node_modules/simple-git/src/lib/git-logger.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-branch.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-commit.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-merge.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-move.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-pull.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-push.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts delete mode 100644 node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/index.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/plugin-store.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/BranchSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/CleanSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/ConfigList.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/DiffSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/InitSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/MergeSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/PullSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/StatusSummary.d.ts delete mode 100644 node_modules/simple-git/src/lib/responses/TagList.d.ts delete mode 100644 node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts delete mode 100644 node_modules/simple-git/src/lib/runners/git-executor.d.ts delete mode 100644 node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts delete mode 100644 node_modules/simple-git/src/lib/runners/scheduler.d.ts delete mode 100644 node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts delete mode 100644 node_modules/simple-git/src/lib/simple-git-api.d.ts delete mode 100644 node_modules/simple-git/src/lib/task-callback.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/apply-patch.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/branch.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/check-ignore.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/clean.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/clone.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/commit.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/config.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/diff.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/fetch.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/grep.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/hash-object.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/init.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/log.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/merge.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/move.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/pull.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/push.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/remote.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/reset.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/stash-list.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/status.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/sub-module.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/tag.d.ts delete mode 100644 node_modules/simple-git/src/lib/tasks/task.d.ts delete mode 100644 node_modules/simple-git/src/lib/types/handlers.d.ts delete mode 100644 node_modules/simple-git/src/lib/types/index.d.ts delete mode 100644 node_modules/simple-git/src/lib/types/tasks.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/argument-filters.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/exit-codes.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/git-output-streams.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/index.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/line-parser.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/simple-git-options.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/task-options.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/task-parser.d.ts delete mode 100644 node_modules/simple-git/src/lib/utils/util.d.ts (limited to 'node_modules/simple-git/src/lib') diff --git a/node_modules/simple-git/src/lib/api.d.ts b/node_modules/simple-git/src/lib/api.d.ts deleted file mode 100644 index 38f6fe4..0000000 --- a/node_modules/simple-git/src/lib/api.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { GitConstructError } from './errors/git-construct-error'; -import { GitError } from './errors/git-error'; -import { GitPluginError } from './errors/git-plugin-error'; -import { GitResponseError } from './errors/git-response-error'; -import { TaskConfigurationError } from './errors/task-configuration-error'; -import { CheckRepoActions } from './tasks/check-is-repo'; -import { CleanOptions } from './tasks/clean'; -import { GitConfigScope } from './tasks/config'; -import { grepQueryBuilder } from './tasks/grep'; -import { ResetMode } from './tasks/reset'; -export { CheckRepoActions, CleanOptions, GitConfigScope, GitConstructError, GitError, GitPluginError, GitResponseError, ResetMode, TaskConfigurationError, grepQueryBuilder, }; diff --git a/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts b/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts deleted file mode 100644 index 6c6f067..0000000 --- a/node_modules/simple-git/src/lib/errors/git-construct-error.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { GitError } from './git-error'; -import { SimpleGitOptions } from '../types'; -/** - * The `GitConstructError` is thrown when an error occurs in the constructor - * of the `simple-git` instance itself. Most commonly as a result of using - * a `baseDir` option that points to a folder that either does not exist, - * or cannot be read by the user the node script is running as. - * - * Check the `.message` property for more detail including the properties - * passed to the constructor. - */ -export declare class GitConstructError extends GitError { - readonly config: SimpleGitOptions; - constructor(config: SimpleGitOptions, message: string); -} diff --git a/node_modules/simple-git/src/lib/errors/git-error.d.ts b/node_modules/simple-git/src/lib/errors/git-error.d.ts deleted file mode 100644 index a0677ab..0000000 --- a/node_modules/simple-git/src/lib/errors/git-error.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * The `GitError` is thrown when the underlying `git` process throws a - * fatal exception (eg an `ENOENT` exception when attempting to use a - * non-writable directory as the root for your repo), and acts as the - * base class for more specific errors thrown by the parsing of the - * git response or errors in the configuration of the task about to - * be run. - * - * When an exception is thrown, pending tasks in the same instance will - * not be executed. The recommended way to run a series of tasks that - * can independently fail without needing to prevent future tasks from - * running is to catch them individually: - * - * ```typescript - import { gitP, SimpleGit, GitError, PullResult } from 'simple-git'; - - function catchTask (e: GitError) { - return e. - } - - const git = gitP(repoWorkingDir); - const pulled: PullResult | GitError = await git.pull().catch(catchTask); - const pushed: string | GitError = await git.pushTags().catch(catchTask); - ``` - */ -export declare class GitError extends Error { - task?: import("../tasks/task").EmptyTask | import("../types").StringTask | import("../types").BufferTask | undefined; - constructor(task?: import("../tasks/task").EmptyTask | import("../types").StringTask | import("../types").BufferTask | undefined, message?: string); -} diff --git a/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts b/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts deleted file mode 100644 index 17aed24..0000000 --- a/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { GitError } from './git-error'; -export declare class GitPluginError extends GitError { - task?: import("../tasks/task").EmptyTask | import("../types").StringTask | import("../types").BufferTask | undefined; - readonly plugin?: "progress" | "timeout" | "completion" | "errors" | "spawnOptions" | "baseDir" | "binary" | "maxConcurrentProcesses" | "config" | undefined; - constructor(task?: import("../tasks/task").EmptyTask | import("../types").StringTask | import("../types").BufferTask | undefined, plugin?: "progress" | "timeout" | "completion" | "errors" | "spawnOptions" | "baseDir" | "binary" | "maxConcurrentProcesses" | "config" | undefined, message?: string); -} diff --git a/node_modules/simple-git/src/lib/errors/git-response-error.d.ts b/node_modules/simple-git/src/lib/errors/git-response-error.d.ts deleted file mode 100644 index 5d77bb0..0000000 --- a/node_modules/simple-git/src/lib/errors/git-response-error.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { GitError } from './git-error'; -/** - * The `GitResponseError` is the wrapper for a parsed response that is treated as - * a fatal error, for example attempting a `merge` can leave the repo in a corrupted - * state when there are conflicts so the task will reject rather than resolve. - * - * For example, catching the merge conflict exception: - * - * ```typescript - import { gitP, SimpleGit, GitResponseError, MergeSummary } from 'simple-git'; - - const git = gitP(repoRoot); - const mergeOptions: string[] = ['--no-ff', 'other-branch']; - const mergeSummary: MergeSummary = await git.merge(mergeOptions) - .catch((e: GitResponseError) => e.git); - - if (mergeSummary.failed) { - // deal with the error - } - ``` - */ -export declare class GitResponseError extends GitError { - /** - * `.git` access the parsed response that is treated as being an error - */ - readonly git: T; - constructor( - /** - * `.git` access the parsed response that is treated as being an error - */ - git: T, message?: string); -} diff --git a/node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts b/node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts deleted file mode 100644 index 9f8a957..0000000 --- a/node_modules/simple-git/src/lib/errors/task-configuration-error.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { GitError } from './git-error'; -/** - * The `TaskConfigurationError` is thrown when a command was incorrectly - * configured. An error of this kind means that no attempt was made to - * run your command through the underlying `git` binary. - * - * Check the `.message` property for more detail on why your configuration - * resulted in an error. - */ -export declare class TaskConfigurationError extends GitError { - constructor(message?: string); -} diff --git a/node_modules/simple-git/src/lib/git-factory.d.ts b/node_modules/simple-git/src/lib/git-factory.d.ts deleted file mode 100644 index ed550dd..0000000 --- a/node_modules/simple-git/src/lib/git-factory.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { SimpleGitFactory } from '../../typings'; -import * as api from './api'; -import { SimpleGitOptions } from './types'; -/** - * Adds the necessary properties to the supplied object to enable it for use as - * the default export of a module. - * - * Eg: `module.exports = esModuleFactory({ something () {} })` - */ -export declare function esModuleFactory(defaultExport: T): T & { - __esModule: true; - default: T; -}; -export declare function gitExportFactory(factory: SimpleGitFactory, extra: T): ((options: Partial) => import("../../typings").SimpleGit) & typeof api; -export declare function gitInstanceFactory(baseDir?: string | Partial, options?: Partial): any; diff --git a/node_modules/simple-git/src/lib/git-logger.d.ts b/node_modules/simple-git/src/lib/git-logger.d.ts deleted file mode 100644 index 7f3748d..0000000 --- a/node_modules/simple-git/src/lib/git-logger.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Debugger } from 'debug'; -declare type OutputLoggingHandler = (message: string, ...args: any[]) => void; -export interface OutputLogger extends OutputLoggingHandler { - readonly label: string; - info: OutputLoggingHandler; - step(nextStep?: string): OutputLogger; - sibling(name: string): OutputLogger; -} -export declare function createLogger(label: string, verbose?: string | Debugger, initialStep?: string, infoDebugger?: Debugger): OutputLogger; -/** - * The `GitLogger` is used by the main `SimpleGit` runner to handle logging - * any warnings or errors. - */ -export declare class GitLogger { - private _out; - error: OutputLoggingHandler; - warn: OutputLoggingHandler; - constructor(_out?: Debugger); - silent(silence?: boolean): void; -} -export {}; diff --git a/node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts b/node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts deleted file mode 100644 index ee05b45..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-branch-delete.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BranchMultiDeleteResult } from '../../../typings'; -import { TaskParser } from '../types'; -import { ExitCodes } from '../utils'; -export declare const parseBranchDeletions: TaskParser; -export declare function hasBranchDeletionError(data: string, processExitCode: ExitCodes): boolean; diff --git a/node_modules/simple-git/src/lib/parsers/parse-branch.d.ts b/node_modules/simple-git/src/lib/parsers/parse-branch.d.ts deleted file mode 100644 index 3c39c29..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-branch.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { BranchSummary } from '../../../typings'; -export declare function parseBranchSummary(stdOut: string): BranchSummary; diff --git a/node_modules/simple-git/src/lib/parsers/parse-commit.d.ts b/node_modules/simple-git/src/lib/parsers/parse-commit.d.ts deleted file mode 100644 index 1b47298..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-commit.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { CommitResult } from '../../../typings'; -export declare function parseCommitResult(stdOut: string): CommitResult; diff --git a/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts b/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts deleted file mode 100644 index baaeb64..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { DiffResult } from '../../../typings'; -export declare function parseDiffResult(stdOut: string): DiffResult; diff --git a/node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts b/node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts deleted file mode 100644 index 98dc1a3..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-fetch.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { FetchResult } from '../../../typings'; -export declare function parseFetchResult(stdOut: string, stdErr: string): FetchResult; diff --git a/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts b/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts deleted file mode 100644 index 113af34..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { LogResult } from '../../../typings'; -export declare const START_BOUNDARY = "\u00F2\u00F2\u00F2\u00F2\u00F2\u00F2 "; -export declare const COMMIT_BOUNDARY = " \u00F2\u00F2"; -export declare const SPLITTER = " \u00F2 "; -export declare function createListLogSummaryParser(splitter?: string, fields?: string[]): (stdOut: string) => LogResult; diff --git a/node_modules/simple-git/src/lib/parsers/parse-merge.d.ts b/node_modules/simple-git/src/lib/parsers/parse-merge.d.ts deleted file mode 100644 index 42435fd..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-merge.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { MergeDetail, MergeResult } from '../../../typings'; -import { TaskParser } from '../types'; -/** - * Parse the complete response from `git.merge` - */ -export declare const parseMergeResult: TaskParser; -/** - * Parse the merge specific detail (ie: not the content also available in the pull detail) from `git.mnerge` - * @param stdOut - */ -export declare const parseMergeDetail: TaskParser; diff --git a/node_modules/simple-git/src/lib/parsers/parse-move.d.ts b/node_modules/simple-git/src/lib/parsers/parse-move.d.ts deleted file mode 100644 index a2af49d..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-move.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { MoveResult } from '../../../typings'; -export declare function parseMoveResult(stdOut: string): MoveResult; diff --git a/node_modules/simple-git/src/lib/parsers/parse-pull.d.ts b/node_modules/simple-git/src/lib/parsers/parse-pull.d.ts deleted file mode 100644 index 95d2877..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-pull.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PullDetail, PullResult } from '../../../typings'; -import { PullFailedSummary } from '../responses/PullSummary'; -import { TaskParser } from '../types'; -export declare const parsePullDetail: TaskParser; -export declare const parsePullResult: TaskParser; -export declare function parsePullErrorResult(stdOut: string, stdErr: string): "" | PullFailedSummary; diff --git a/node_modules/simple-git/src/lib/parsers/parse-push.d.ts b/node_modules/simple-git/src/lib/parsers/parse-push.d.ts deleted file mode 100644 index 9bb39b4..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-push.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { PushDetail, PushResult } from '../../../typings'; -import { TaskParser } from '../types'; -export declare const parsePushResult: TaskParser; -export declare const parsePushDetail: TaskParser; diff --git a/node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts b/node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts deleted file mode 100644 index 9c24989..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-remote-messages.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { RemoteMessageResult, RemoteMessages } from '../../../typings'; -export declare function parseRemoteMessages(_stdOut: string, stdErr: string): RemoteMessageResult; -export declare class RemoteMessageSummary implements RemoteMessages { - readonly all: string[]; -} diff --git a/node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts b/node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts deleted file mode 100644 index 513b58a..0000000 --- a/node_modules/simple-git/src/lib/parsers/parse-remote-objects.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { RemoteMessageResult, RemoteMessages } from '../../../typings'; -import { RemoteLineParser } from '../utils'; -export declare const remoteMessagesObjectParsers: RemoteLineParser>[]; diff --git a/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts deleted file mode 100644 index b5e4181..0000000 --- a/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { SimpleGitPlugin } from './simple-git-plugin'; -export declare function commandConfigPrefixingPlugin(configuration: string[]): SimpleGitPlugin<'spawn.args'>; diff --git a/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts b/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts deleted file mode 100644 index a3c08de..0000000 --- a/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { SimpleGitPluginConfig } from '../types'; -import { SimpleGitPlugin } from './simple-git-plugin'; -export declare function completionDetectionPlugin({ onClose, onExit }?: SimpleGitPluginConfig['completion']): SimpleGitPlugin<'spawn.after'>; diff --git a/node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts b/node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts deleted file mode 100644 index 095c73a..0000000 --- a/node_modules/simple-git/src/lib/plugins/error-detection.plugin.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// -import { GitExecutorResult, SimpleGitPluginConfig } from '../types'; -import { SimpleGitPlugin } from './simple-git-plugin'; -declare type TaskResult = Omit; -declare function isTaskError(result: TaskResult): boolean; -export declare function errorDetectionHandler(overwrite?: boolean, isError?: typeof isTaskError, errorMessage?: (result: TaskResult) => Buffer | Error): (error: Buffer | Error | undefined, result: TaskResult) => Error | Buffer | undefined; -export declare function errorDetectionPlugin(config: SimpleGitPluginConfig['errors']): SimpleGitPlugin<'task.error'>; -export {}; diff --git a/node_modules/simple-git/src/lib/plugins/index.d.ts b/node_modules/simple-git/src/lib/plugins/index.d.ts deleted file mode 100644 index 0cfb54e..0000000 --- a/node_modules/simple-git/src/lib/plugins/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './command-config-prefixing-plugin'; -export * from './completion-detection.plugin'; -export * from './error-detection.plugin'; -export * from './plugin-store'; -export * from './progress-monitor-plugin'; -export * from './simple-git-plugin'; -export * from './spawn-options-plugin'; -export * from './timout-plugin'; diff --git a/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts b/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts deleted file mode 100644 index ceeef56..0000000 --- a/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { SimpleGitPlugin, SimpleGitPluginType, SimpleGitPluginTypes } from './simple-git-plugin'; -export declare class PluginStore { - private plugins; - add(plugin: void | SimpleGitPlugin | SimpleGitPlugin[]): () => void; - exec(type: T, data: SimpleGitPluginTypes[T]['data'], context: SimpleGitPluginTypes[T]['context']): typeof data; -} diff --git a/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts deleted file mode 100644 index ddd36b1..0000000 --- a/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { SimpleGitOptions } from '../types'; -import { SimpleGitPlugin } from './simple-git-plugin'; -export declare function progressMonitorPlugin(progress: Exclude): (SimpleGitPlugin<"spawn.args"> | SimpleGitPlugin<"spawn.after">)[]; diff --git a/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts deleted file mode 100644 index cdb4f0b..0000000 --- a/node_modules/simple-git/src/lib/plugins/simple-git-plugin.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -/// -import { ChildProcess, SpawnOptions } from 'child_process'; -import { GitExecutorResult } from '../types'; -declare type SimpleGitTaskPluginContext = { - readonly method: string; - readonly commands: string[]; -}; -export interface SimpleGitPluginTypes { - 'spawn.args': { - data: string[]; - context: SimpleGitTaskPluginContext & {}; - }; - 'spawn.options': { - data: Partial; - context: SimpleGitTaskPluginContext & {}; - }; - 'spawn.after': { - data: void; - context: SimpleGitTaskPluginContext & { - spawned: ChildProcess; - close(exitCode: number, reason?: Error): void; - kill(reason: Error): void; - }; - }; - 'task.error': { - data: { - error?: Error; - }; - context: SimpleGitTaskPluginContext & GitExecutorResult; - }; -} -export declare type SimpleGitPluginType = keyof SimpleGitPluginTypes; -export interface SimpleGitPlugin { - action(data: SimpleGitPluginTypes[T]['data'], context: SimpleGitPluginTypes[T]['context']): typeof data; - type: T; -} -export {}; diff --git a/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts deleted file mode 100644 index 77770fe..0000000 --- a/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/// -import { SpawnOptions } from 'child_process'; -import { SimpleGitPlugin } from './simple-git-plugin'; -export declare function spawnOptionsPlugin(spawnOptions: Partial): SimpleGitPlugin<'spawn.options'>; diff --git a/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts b/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts deleted file mode 100644 index bebbf21..0000000 --- a/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { SimpleGitOptions } from '../types'; -import { SimpleGitPlugin } from './simple-git-plugin'; -export declare function timeoutPlugin({ block }: Exclude): SimpleGitPlugin<'spawn.after'> | void; diff --git a/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts b/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts deleted file mode 100644 index e7d3517..0000000 --- a/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { BranchMultiDeleteResult, BranchSingleDeleteFailure, BranchSingleDeleteResult, BranchSingleDeleteSuccess } from '../../../typings'; -export declare class BranchDeletionBatch implements BranchMultiDeleteResult { - all: BranchSingleDeleteResult[]; - branches: { - [branchName: string]: BranchSingleDeleteResult; - }; - errors: BranchSingleDeleteResult[]; - get success(): boolean; -} -export declare function branchDeletionSuccess(branch: string, hash: string): BranchSingleDeleteSuccess; -export declare function branchDeletionFailure(branch: string): BranchSingleDeleteFailure; -export declare function isSingleBranchDeleteFailure(test: BranchSingleDeleteResult): test is BranchSingleDeleteSuccess; diff --git a/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts b/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts deleted file mode 100644 index 69cd698..0000000 --- a/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { BranchSummary, BranchSummaryBranch } from '../../../typings'; -export declare class BranchSummaryResult implements BranchSummary { - all: string[]; - branches: { - [p: string]: BranchSummaryBranch; - }; - current: string; - detached: boolean; - push(current: boolean, detached: boolean, name: string, commit: string, label: string): void; -} diff --git a/node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts b/node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts deleted file mode 100644 index e15478f..0000000 --- a/node_modules/simple-git/src/lib/responses/CheckIgnore.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Parser for the `check-ignore` command - returns each file as a string array - */ -export declare const parseCheckIgnore: (text: string) => string[]; diff --git a/node_modules/simple-git/src/lib/responses/CleanSummary.d.ts b/node_modules/simple-git/src/lib/responses/CleanSummary.d.ts deleted file mode 100644 index d49ef04..0000000 --- a/node_modules/simple-git/src/lib/responses/CleanSummary.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { CleanSummary } from '../../../typings'; -export declare class CleanResponse implements CleanSummary { - readonly dryRun: boolean; - paths: string[]; - files: string[]; - folders: string[]; - constructor(dryRun: boolean); -} -export declare function cleanSummaryParser(dryRun: boolean, text: string): CleanSummary; diff --git a/node_modules/simple-git/src/lib/responses/ConfigList.d.ts b/node_modules/simple-git/src/lib/responses/ConfigList.d.ts deleted file mode 100644 index f01ed6a..0000000 --- a/node_modules/simple-git/src/lib/responses/ConfigList.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { ConfigGetResult, ConfigListSummary, ConfigValues } from '../../../typings'; -export declare class ConfigList implements ConfigListSummary { - files: string[]; - values: { - [fileName: string]: ConfigValues; - }; - private _all; - get all(): ConfigValues; - addFile(file: string): ConfigValues; - addValue(file: string, key: string, value: string): void; -} -export declare function configListParser(text: string): ConfigList; -export declare function configGetParser(text: string, key: string): ConfigGetResult; diff --git a/node_modules/simple-git/src/lib/responses/DiffSummary.d.ts b/node_modules/simple-git/src/lib/responses/DiffSummary.d.ts deleted file mode 100644 index 16d63f0..0000000 --- a/node_modules/simple-git/src/lib/responses/DiffSummary.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { DiffResult, DiffResultBinaryFile, DiffResultTextFile } from '../../../typings'; -/*** - * The DiffSummary is returned as a response to getting `git().status()` - */ -export declare class DiffSummary implements DiffResult { - changed: number; - deletions: number; - insertions: number; - files: Array; -} diff --git a/node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts b/node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts deleted file mode 100644 index fd680a4..0000000 --- a/node_modules/simple-git/src/lib/responses/FileStatusSummary.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { FileStatusResult } from '../../../typings/response'; -export declare const fromPathRegex: RegExp; -export declare class FileStatusSummary implements FileStatusResult { - path: string; - index: string; - working_dir: string; - readonly from: string | undefined; - constructor(path: string, index: string, working_dir: string); -} diff --git a/node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts b/node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts deleted file mode 100644 index 3ef9109..0000000 --- a/node_modules/simple-git/src/lib/responses/GetRemoteSummary.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export interface RemoteWithoutRefs { - name: string; -} -export interface RemoteWithRefs extends RemoteWithoutRefs { - refs: { - fetch: string; - push: string; - }; -} -export declare function parseGetRemotes(text: string): RemoteWithoutRefs[]; -export declare function parseGetRemotesVerbose(text: string): RemoteWithRefs[]; diff --git a/node_modules/simple-git/src/lib/responses/InitSummary.d.ts b/node_modules/simple-git/src/lib/responses/InitSummary.d.ts deleted file mode 100644 index 634911f..0000000 --- a/node_modules/simple-git/src/lib/responses/InitSummary.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { InitResult } from '../../../typings'; -export declare class InitSummary implements InitResult { - readonly bare: boolean; - readonly path: string; - readonly existing: boolean; - readonly gitDir: string; - constructor(bare: boolean, path: string, existing: boolean, gitDir: string); -} -export declare function parseInit(bare: boolean, path: string, text: string): InitSummary; diff --git a/node_modules/simple-git/src/lib/responses/MergeSummary.d.ts b/node_modules/simple-git/src/lib/responses/MergeSummary.d.ts deleted file mode 100644 index 519e954..0000000 --- a/node_modules/simple-git/src/lib/responses/MergeSummary.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { MergeConflict, MergeConflictDeletion, MergeDetail, MergeResultStatus } from '../../../typings'; -export declare class MergeSummaryConflict implements MergeConflict { - readonly reason: string; - readonly file: string | null; - readonly meta?: MergeConflictDeletion | undefined; - constructor(reason: string, file?: string | null, meta?: MergeConflictDeletion | undefined); - toString(): string; -} -export declare class MergeSummaryDetail implements MergeDetail { - conflicts: MergeConflict[]; - merges: string[]; - result: MergeResultStatus; - get failed(): boolean; - get reason(): string; - toString(): string; -} diff --git a/node_modules/simple-git/src/lib/responses/PullSummary.d.ts b/node_modules/simple-git/src/lib/responses/PullSummary.d.ts deleted file mode 100644 index c5bc9bc..0000000 --- a/node_modules/simple-git/src/lib/responses/PullSummary.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { PullDetailFileChanges, PullDetailSummary, PullFailedResult, PullResult } from '../../../typings'; -export declare class PullSummary implements PullResult { - remoteMessages: { - all: never[]; - }; - created: never[]; - deleted: string[]; - files: string[]; - deletions: PullDetailFileChanges; - insertions: PullDetailFileChanges; - summary: PullDetailSummary; -} -export declare class PullFailedSummary implements PullFailedResult { - remote: string; - hash: { - local: string; - remote: string; - }; - branch: { - local: string; - remote: string; - }; - message: string; - toString(): string; -} diff --git a/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts b/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts deleted file mode 100644 index d70ade5..0000000 --- a/node_modules/simple-git/src/lib/responses/StatusSummary.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { StatusResult } from '../../../typings'; -export declare class StatusSummary implements StatusResult { - not_added: never[]; - conflicted: never[]; - created: never[]; - deleted: never[]; - ignored: undefined; - modified: never[]; - renamed: never[]; - files: never[]; - staged: never[]; - ahead: number; - behind: number; - current: null; - tracking: null; - detached: boolean; - isClean(): boolean; -} -export declare const parseStatusSummary: (text: string) => StatusResult; diff --git a/node_modules/simple-git/src/lib/responses/TagList.d.ts b/node_modules/simple-git/src/lib/responses/TagList.d.ts deleted file mode 100644 index b72180d..0000000 --- a/node_modules/simple-git/src/lib/responses/TagList.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { TagResult } from '../../../typings'; -export declare class TagList implements TagResult { - readonly all: string[]; - readonly latest: string | undefined; - constructor(all: string[], latest: string | undefined); -} -export declare const parseTagList: (data: string, customSort?: boolean) => TagList; diff --git a/node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts b/node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts deleted file mode 100644 index 7e13e09..0000000 --- a/node_modules/simple-git/src/lib/runners/git-executor-chain.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { PluginStore } from '../plugins'; -import { outputHandler, SimpleGitExecutor, SimpleGitTask } from '../types'; -import { Scheduler } from './scheduler'; -export declare class GitExecutorChain implements SimpleGitExecutor { - private _executor; - private _scheduler; - private _plugins; - private _chain; - private _queue; - private _cwd; - get binary(): string; - get cwd(): string; - set cwd(cwd: string); - get env(): import("../types").GitExecutorEnv; - get outputHandler(): outputHandler | undefined; - constructor(_executor: SimpleGitExecutor, _scheduler: Scheduler, _plugins: PluginStore); - chain(): this; - push(task: SimpleGitTask): Promise; - private attemptTask; - private onFatalException; - private attemptRemoteTask; - private attemptEmptyTask; - private handleTaskData; - private gitResponse; -} diff --git a/node_modules/simple-git/src/lib/runners/git-executor.d.ts b/node_modules/simple-git/src/lib/runners/git-executor.d.ts deleted file mode 100644 index c145af1..0000000 --- a/node_modules/simple-git/src/lib/runners/git-executor.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { PluginStore } from '../plugins'; -import { GitExecutorEnv, outputHandler, SimpleGitExecutor, SimpleGitTask } from '../types'; -import { Scheduler } from './scheduler'; -export declare class GitExecutor implements SimpleGitExecutor { - binary: string; - cwd: string; - private _scheduler; - private _plugins; - private _chain; - env: GitExecutorEnv; - outputHandler?: outputHandler; - constructor(binary: string, cwd: string, _scheduler: Scheduler, _plugins: PluginStore); - chain(): SimpleGitExecutor; - push(task: SimpleGitTask): Promise; -} diff --git a/node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts b/node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts deleted file mode 100644 index 4f8d694..0000000 --- a/node_modules/simple-git/src/lib/runners/promise-wrapped.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { SimpleGit, SimpleGitOptions } from '../../../typings'; -export declare function gitP(...args: [] | [string] | [Partial] | [string, Partial]): SimpleGit; diff --git a/node_modules/simple-git/src/lib/runners/scheduler.d.ts b/node_modules/simple-git/src/lib/runners/scheduler.d.ts deleted file mode 100644 index 847ed31..0000000 --- a/node_modules/simple-git/src/lib/runners/scheduler.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare type ScheduleCompleteCallback = () => void; -export declare class Scheduler { - private concurrency; - private logger; - private pending; - private running; - constructor(concurrency?: number); - private schedule; - next(): Promise; -} -export {}; diff --git a/node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts b/node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts deleted file mode 100644 index 61d6073..0000000 --- a/node_modules/simple-git/src/lib/runners/tasks-pending-queue.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { SimpleGitTask } from '../types'; -import { GitError } from '../errors/git-error'; -import { OutputLogger } from '../git-logger'; -declare type AnySimpleGitTask = SimpleGitTask; -declare type TaskInProgress = { - name: string; - logger: OutputLogger; - task: AnySimpleGitTask; -}; -export declare class TasksPendingQueue { - private logLabel; - private _queue; - constructor(logLabel?: string); - private withProgress; - private createProgress; - push(task: AnySimpleGitTask): TaskInProgress; - fatal(err: GitError): void; - complete(task: AnySimpleGitTask): void; - attempt(task: AnySimpleGitTask): TaskInProgress; - static getName(name?: string): string; - private static counter; -} -export {}; diff --git a/node_modules/simple-git/src/lib/simple-git-api.d.ts b/node_modules/simple-git/src/lib/simple-git-api.d.ts deleted file mode 100644 index 0fd7761..0000000 --- a/node_modules/simple-git/src/lib/simple-git-api.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { SimpleGitBase } from '../../typings'; -import { outputHandler, SimpleGitExecutor, SimpleGitTask, SimpleGitTaskCallback } from './types'; -export declare class SimpleGitApi implements SimpleGitBase { - private _executor; - constructor(_executor: SimpleGitExecutor); - protected _runTask(task: SimpleGitTask, then?: SimpleGitTaskCallback): any; - add(files: string | string[]): any; - cwd(directory: string | { - path: string; - root?: boolean; - }): any; - hashObject(path: string, write: boolean | unknown): any; - init(bare?: boolean | unknown): any; - merge(): any; - mergeFromTo(remote: string, branch: string): any; - outputHandler(handler: outputHandler): this; - push(): any; - stash(): any; - status(): any; -} diff --git a/node_modules/simple-git/src/lib/task-callback.d.ts b/node_modules/simple-git/src/lib/task-callback.d.ts deleted file mode 100644 index dda89af..0000000 --- a/node_modules/simple-git/src/lib/task-callback.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { SimpleGitTask, SimpleGitTaskCallback } from './types'; -export declare function taskCallback(task: SimpleGitTask, response: Promise, callback?: SimpleGitTaskCallback): void; diff --git a/node_modules/simple-git/src/lib/tasks/apply-patch.d.ts b/node_modules/simple-git/src/lib/tasks/apply-patch.d.ts deleted file mode 100644 index c1e1551..0000000 --- a/node_modules/simple-git/src/lib/tasks/apply-patch.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { OptionFlags, Options, StringTask } from '../types'; -export declare type ApplyOptions = Options & OptionFlags<'--stat' | '--numstat' | '--summary' | '--check' | '--index' | '--intent-to-add' | '--3way' | '--apply' | '--no-add' | '-R' | '--reverse' | '--allow-binary-replacement' | '--binary' | '--reject' | '-z' | '--inaccurate-eof' | '--recount' | '--cached' | '--ignore-space-change' | '--ignore-whitespace' | '--verbose' | '--unsafe-paths'> & OptionFlags<'--whitespace', 'nowarn' | 'warn' | 'fix' | 'error' | 'error-all'> & OptionFlags<'--build-fake-ancestor' | '--exclude' | '--include' | '--directory', string> & OptionFlags<'-p' | '-C', number>; -export declare function applyPatchTask(patches: string[], customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/branch.d.ts b/node_modules/simple-git/src/lib/tasks/branch.d.ts deleted file mode 100644 index 157b2ae..0000000 --- a/node_modules/simple-git/src/lib/tasks/branch.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BranchMultiDeleteResult, BranchSingleDeleteResult, BranchSummary } from '../../../typings'; -import { StringTask } from '../types'; -export declare function containsDeleteBranchCommand(commands: string[]): boolean; -export declare function branchTask(customArgs: string[]): StringTask; -export declare function branchLocalTask(): StringTask; -export declare function deleteBranchesTask(branches: string[], forceDelete?: boolean): StringTask; -export declare function deleteBranchTask(branch: string, forceDelete?: boolean): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts b/node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts deleted file mode 100644 index 1ad1009..0000000 --- a/node_modules/simple-git/src/lib/tasks/change-working-directory.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { SimpleGitExecutor } from '../types'; -export declare function changeWorkingDirectoryTask(directory: string, root?: SimpleGitExecutor): import("./task").EmptyTask; diff --git a/node_modules/simple-git/src/lib/tasks/check-ignore.d.ts b/node_modules/simple-git/src/lib/tasks/check-ignore.d.ts deleted file mode 100644 index 7b34b8d..0000000 --- a/node_modules/simple-git/src/lib/tasks/check-ignore.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { StringTask } from '../types'; -export declare function checkIgnoreTask(paths: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts b/node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts deleted file mode 100644 index 580846f..0000000 --- a/node_modules/simple-git/src/lib/tasks/check-is-repo.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Maybe, StringTask } from '../types'; -export declare enum CheckRepoActions { - BARE = "bare", - IN_TREE = "tree", - IS_REPO_ROOT = "root" -} -export declare function checkIsRepoTask(action: Maybe): StringTask; -export declare function checkIsRepoRootTask(): StringTask; -export declare function checkIsBareRepoTask(): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/clean.d.ts b/node_modules/simple-git/src/lib/tasks/clean.d.ts deleted file mode 100644 index c3f7ce7..0000000 --- a/node_modules/simple-git/src/lib/tasks/clean.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { CleanSummary } from '../../../typings'; -import { StringTask } from '../types'; -export declare const CONFIG_ERROR_INTERACTIVE_MODE = "Git clean interactive mode is not supported"; -export declare const CONFIG_ERROR_MODE_REQUIRED = "Git clean mode parameter (\"n\" or \"f\") is required"; -export declare const CONFIG_ERROR_UNKNOWN_OPTION = "Git clean unknown option found in: "; -/** - * All supported option switches available for use in a `git.clean` operation - */ -export declare enum CleanOptions { - DRY_RUN = "n", - FORCE = "f", - IGNORED_INCLUDED = "x", - IGNORED_ONLY = "X", - EXCLUDING = "e", - QUIET = "q", - RECURSIVE = "d" -} -/** - * The two modes `git.clean` can run in - one of these must be supplied in order - * for the command to not throw a `TaskConfigurationError` - */ -export declare type CleanMode = CleanOptions.FORCE | CleanOptions.DRY_RUN; -export declare function cleanWithOptionsTask(mode: CleanMode | string, customArgs: string[]): import("./task").EmptyTask | StringTask; -export declare function cleanTask(mode: CleanMode, customArgs: string[]): StringTask; -export declare function isCleanOptionsArray(input: string[]): input is CleanOptions[]; diff --git a/node_modules/simple-git/src/lib/tasks/clone.d.ts b/node_modules/simple-git/src/lib/tasks/clone.d.ts deleted file mode 100644 index 2662ece..0000000 --- a/node_modules/simple-git/src/lib/tasks/clone.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { OptionFlags, Options, StringTask } from '../types'; -export declare type CloneOptions = Options & OptionFlags<'--bare' | '--dissociate' | '--mirror' | '--no-checkout' | '--no-remote-submodules' | '--no-shallow-submodules' | '--no-single-branch' | '--no-tags' | '--remote-submodules' | '--single-branch' | '--shallow-submodules' | '--verbose'> & OptionFlags<'--depth' | '-j' | '--jobs', number> & OptionFlags<'--branch' | '--origin' | '--recurse-submodules' | '--separate-git-dir' | '--shallow-exclude' | '--shallow-since' | '--template', string>; -export declare function cloneTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask; -export declare function cloneMirrorTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/commit.d.ts b/node_modules/simple-git/src/lib/tasks/commit.d.ts deleted file mode 100644 index a84d2f5..0000000 --- a/node_modules/simple-git/src/lib/tasks/commit.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { CommitResult } from '../../../typings'; -import { StringTask } from '../types'; -export declare function commitTask(message: string[], files: string[], customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/config.d.ts b/node_modules/simple-git/src/lib/tasks/config.d.ts deleted file mode 100644 index 14bc2bb..0000000 --- a/node_modules/simple-git/src/lib/tasks/config.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { SimpleGit } from '../../../typings'; -export declare enum GitConfigScope { - system = "system", - global = "global", - local = "local", - worktree = "worktree" -} -export default function (): Pick; diff --git a/node_modules/simple-git/src/lib/tasks/diff.d.ts b/node_modules/simple-git/src/lib/tasks/diff.d.ts deleted file mode 100644 index c1e37aa..0000000 --- a/node_modules/simple-git/src/lib/tasks/diff.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { StringTask } from '../types'; -import { DiffResult } from '../../../typings'; -export declare function diffSummaryTask(customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/fetch.d.ts b/node_modules/simple-git/src/lib/tasks/fetch.d.ts deleted file mode 100644 index db4626d..0000000 --- a/node_modules/simple-git/src/lib/tasks/fetch.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { FetchResult } from '../../../typings'; -import { StringTask } from '../types'; -export declare function fetchTask(remote: string, branch: string, customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/grep.d.ts b/node_modules/simple-git/src/lib/tasks/grep.d.ts deleted file mode 100644 index 653159a..0000000 --- a/node_modules/simple-git/src/lib/tasks/grep.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { SimpleGit } from '../../../typings'; -export interface GitGrepQuery extends Iterable { - /** Adds one or more terms to be grouped as an "and" to any other terms */ - and(...and: string[]): this; - /** Adds one or more search terms - git.grep will "or" this to other terms */ - param(...param: string[]): this; -} -/** - * Creates a new builder for a `git.grep` query with optional params - */ -export declare function grepQueryBuilder(...params: string[]): GitGrepQuery; -export default function (): Pick; diff --git a/node_modules/simple-git/src/lib/tasks/hash-object.d.ts b/node_modules/simple-git/src/lib/tasks/hash-object.d.ts deleted file mode 100644 index cedf3e0..0000000 --- a/node_modules/simple-git/src/lib/tasks/hash-object.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { StringTask } from '../types'; -/** - * Task used by `git.hashObject` - */ -export declare function hashObjectTask(filePath: string, write: boolean): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/init.d.ts b/node_modules/simple-git/src/lib/tasks/init.d.ts deleted file mode 100644 index ca7f126..0000000 --- a/node_modules/simple-git/src/lib/tasks/init.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { InitResult } from '../../../typings'; -import { StringTask } from '../types'; -export declare function initTask(bare: boolean | undefined, path: string, customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/log.d.ts b/node_modules/simple-git/src/lib/tasks/log.d.ts deleted file mode 100644 index b4ae73f..0000000 --- a/node_modules/simple-git/src/lib/tasks/log.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Options, StringTask } from '../types'; -import { LogResult, SimpleGit } from '../../../typings'; -export interface DefaultLogFields { - hash: string; - date: string; - message: string; - refs: string; - body: string; - author_name: string; - author_email: string; -} -export declare type LogOptions = { - file?: string; - format?: T; - from?: string; - mailMap?: boolean; - maxCount?: number; - multiLine?: boolean; - splitter?: string; - strictDate?: boolean; - symmetric?: boolean; - to?: string; -}; -interface ParsedLogOptions { - fields: string[]; - splitter: string; - commands: string[]; -} -export declare function parseLogOptions(opt?: LogOptions, customArgs?: string[]): ParsedLogOptions; -export declare function logTask(splitter: string, fields: string[], customArgs: string[]): StringTask>; -export default function (): Pick; -export {}; diff --git a/node_modules/simple-git/src/lib/tasks/merge.d.ts b/node_modules/simple-git/src/lib/tasks/merge.d.ts deleted file mode 100644 index 663e80b..0000000 --- a/node_modules/simple-git/src/lib/tasks/merge.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { MergeResult } from '../../../typings'; -import { StringTask } from '../types'; -import { EmptyTask } from './task'; -export declare function mergeTask(customArgs: string[]): EmptyTask | StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/move.d.ts b/node_modules/simple-git/src/lib/tasks/move.d.ts deleted file mode 100644 index 75ae9af..0000000 --- a/node_modules/simple-git/src/lib/tasks/move.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { MoveResult } from '../../../typings'; -import { StringTask } from '../types'; -export declare function moveTask(from: string | string[], to: string): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/pull.d.ts b/node_modules/simple-git/src/lib/tasks/pull.d.ts deleted file mode 100644 index c08062f..0000000 --- a/node_modules/simple-git/src/lib/tasks/pull.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { PullResult } from '../../../typings'; -import { Maybe, StringTask } from '../types'; -export declare function pullTask(remote: Maybe, branch: Maybe, customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/push.d.ts b/node_modules/simple-git/src/lib/tasks/push.d.ts deleted file mode 100644 index 4d18c71..0000000 --- a/node_modules/simple-git/src/lib/tasks/push.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { PushResult } from '../../../typings'; -import { StringTask } from '../types'; -declare type PushRef = { - remote?: string; - branch?: string; -}; -export declare function pushTagsTask(ref: PushRef | undefined, customArgs: string[]): StringTask; -export declare function pushTask(ref: PushRef | undefined, customArgs: string[]): StringTask; -export {}; diff --git a/node_modules/simple-git/src/lib/tasks/remote.d.ts b/node_modules/simple-git/src/lib/tasks/remote.d.ts deleted file mode 100644 index fbaae7a..0000000 --- a/node_modules/simple-git/src/lib/tasks/remote.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { StringTask } from '../types'; -export declare function addRemoteTask(remoteName: string, remoteRepo: string, customArgs?: string[]): StringTask; -export declare function getRemotesTask(verbose: boolean): StringTask; -export declare function listRemotesTask(customArgs?: string[]): StringTask; -export declare function remoteTask(customArgs?: string[]): StringTask; -export declare function removeRemoteTask(remoteName: string): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/reset.d.ts b/node_modules/simple-git/src/lib/tasks/reset.d.ts deleted file mode 100644 index 468fe87..0000000 --- a/node_modules/simple-git/src/lib/tasks/reset.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Maybe, OptionFlags, Options } from '../types'; -export declare enum ResetMode { - MIXED = "mixed", - SOFT = "soft", - HARD = "hard", - MERGE = "merge", - KEEP = "keep" -} -export declare type ResetOptions = Options & OptionFlags<'-q' | '--quiet' | '--no-quiet' | '--pathspec-from-nul'> & OptionFlags<'--pathspec-from-file', string>; -export declare function resetTask(mode: Maybe, customArgs: string[]): import("../types").StringTask; -export declare function getResetMode(mode: ResetMode | any): Maybe; diff --git a/node_modules/simple-git/src/lib/tasks/stash-list.d.ts b/node_modules/simple-git/src/lib/tasks/stash-list.d.ts deleted file mode 100644 index 5bf9a9c..0000000 --- a/node_modules/simple-git/src/lib/tasks/stash-list.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { LogOptions, LogResult } from '../../../typings'; -import { StringTask } from '../types'; -export declare function stashListTask(opt: LogOptions | undefined, customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/status.d.ts b/node_modules/simple-git/src/lib/tasks/status.d.ts deleted file mode 100644 index 45fec0f..0000000 --- a/node_modules/simple-git/src/lib/tasks/status.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { StatusResult } from '../../../typings'; -import { StringTask } from '../types'; -export declare function statusTask(customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/sub-module.d.ts b/node_modules/simple-git/src/lib/tasks/sub-module.d.ts deleted file mode 100644 index ac4f6f8..0000000 --- a/node_modules/simple-git/src/lib/tasks/sub-module.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { StringTask } from '../types'; -export declare function addSubModuleTask(repo: string, path: string): StringTask; -export declare function initSubModuleTask(customArgs: string[]): StringTask; -export declare function subModuleTask(customArgs: string[]): StringTask; -export declare function updateSubModuleTask(customArgs: string[]): StringTask; diff --git a/node_modules/simple-git/src/lib/tasks/tag.d.ts b/node_modules/simple-git/src/lib/tasks/tag.d.ts deleted file mode 100644 index b1dbb31..0000000 --- a/node_modules/simple-git/src/lib/tasks/tag.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { TagResult } from '../../../typings'; -import { StringTask } from '../types'; -/** - * Task used by `git.tags` - */ -export declare function tagListTask(customArgs?: string[]): StringTask; -/** - * Task used by `git.addTag` - */ -export declare function addTagTask(name: string): StringTask<{ - name: string; -}>; -/** - * Task used by `git.addTag` - */ -export declare function addAnnotatedTagTask(name: string, tagMessage: string): StringTask<{ - name: string; -}>; diff --git a/node_modules/simple-git/src/lib/tasks/task.d.ts b/node_modules/simple-git/src/lib/tasks/task.d.ts deleted file mode 100644 index 9c64e4e..0000000 --- a/node_modules/simple-git/src/lib/tasks/task.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { BufferTask, EmptyTaskParser, SimpleGitTask, StringTask } from '../types'; -export declare const EMPTY_COMMANDS: []; -export declare type EmptyTask = { - commands: typeof EMPTY_COMMANDS; - format: 'empty'; - parser: EmptyTaskParser; - onError?: undefined; -}; -export declare function adhocExecTask(parser: EmptyTaskParser): EmptyTask; -export declare function configurationErrorTask(error: Error | string): EmptyTask; -export declare function straightThroughStringTask(commands: string[], trimmed?: boolean): StringTask; -export declare function straightThroughBufferTask(commands: string[]): BufferTask; -export declare function isBufferTask(task: SimpleGitTask): task is BufferTask; -export declare function isEmptyTask(task: SimpleGitTask): task is EmptyTask; diff --git a/node_modules/simple-git/src/lib/types/handlers.d.ts b/node_modules/simple-git/src/lib/types/handlers.d.ts deleted file mode 100644 index 3a788f3..0000000 --- a/node_modules/simple-git/src/lib/types/handlers.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { GitError } from '../errors/git-error'; -/** - * The node-style callback to a task accepts either two arguments with the first as a null - * and the second as the data, or just one argument which is an error. - */ -export declare type SimpleGitTaskCallback = (err: E | null, data: T) => void; -/** - * The event data emitted to the progress handler whenever progress detail is received. - */ -export interface SimpleGitProgressEvent { - /** The underlying method called - push, pull etc */ - method: string; - /** The type of progress being reported, note that any one task may emit many stages - for example `git clone` emits both `receiving` and `resolving` */ - stage: 'compressing' | 'counting' | 'receiving' | 'resolving' | 'unknown' | 'writing' | string; - /** The percent progressed as a number 0 - 100 */ - progress: number; - /** The number of items processed so far */ - processed: number; - /** The total number of items to be processed */ - total: number; -} diff --git a/node_modules/simple-git/src/lib/types/index.d.ts b/node_modules/simple-git/src/lib/types/index.d.ts deleted file mode 100644 index 89b2f00..0000000 --- a/node_modules/simple-git/src/lib/types/index.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -/// -import { SpawnOptions } from 'child_process'; -import { SimpleGitTask } from './tasks'; -import { SimpleGitProgressEvent } from './handlers'; -export * from './handlers'; -export * from './tasks'; -/** - * Most tasks accept custom options as an array of strings as well as the - * options object. Unless the task is explicitly documented as such, the - * tasks will not accept both formats at the same time, preferring whichever - * appears last in the arguments. - */ -export declare type TaskOptions = string[] | O; -/** - * Options supplied in most tasks as an optional trailing object - */ -export declare type OptionsValues = null | string | number; -export declare type Options = Record; -export declare type OptionFlags = Partial>; -/** - * A function called by the executor immediately after creating a child - * process. Allows the calling application to implement custom handling of - * the incoming stream of data from the `git`. - */ -export declare type outputHandler = (command: string, stdout: NodeJS.ReadableStream, stderr: NodeJS.ReadableStream, args: string[]) => void; -/** - * Environment variables to be passed into the child process. - */ -export declare type GitExecutorEnv = NodeJS.ProcessEnv | undefined; -/** - * Public interface of the Executor - */ -export interface SimpleGitExecutor { - env: GitExecutorEnv; - outputHandler?: outputHandler; - binary: string; - cwd: string; - chain(): SimpleGitExecutor; - push(task: SimpleGitTask): Promise; -} -/** - * The resulting output from running the git child process - */ -export interface GitExecutorResult { - stdOut: Buffer[]; - stdErr: Buffer[]; - exitCode: number; - rejection: Maybe; -} -export interface SimpleGitPluginConfig { - /** - * Configures the events that should be used to determine when the unederlying child process has - * been terminated. - * - * Version 2 will default to use `onClose=true, onExit=50` to mean the `close` event will be - * used to immediately treat the child process as closed and start using the data from `stdOut` - * / `stdErr`, whereas the `exit` event will wait `50ms` before treating the child process - * as closed. - * - * This will be changed in version 3 to use `onClose=true, onExit=false` so that only the - * close event is used to determine the termination of the process. - */ - completion: { - onClose?: boolean | number; - onExit?: boolean | number; - }; - /** - * Configures the content of errors thrown by the `simple-git` instance for each task - */ - errors(error: Buffer | Error | undefined, result: Omit): Buffer | Error | undefined; - /** - * Handler to be called with progress events emitted through the progress plugin - */ - progress(data: SimpleGitProgressEvent): void; - /** - * Configuration for the `timeoutPlugin` - */ - timeout: { - /** - * The number of milliseconds to wait after spawning the process / receiving - * content on the stdOut/stdErr streams before forcibly closing the git process. - */ - block: number; - }; - spawnOptions: Pick; -} -/** - * Optional configuration settings to be passed to the `simpleGit` - * builder. - */ -export interface SimpleGitOptions extends Partial { - baseDir: string; - binary: string; - maxConcurrentProcesses: number; - config: string[]; -} -export declare type Maybe = T | undefined; -export declare type MaybeArray = T | T[]; -export declare type Primitives = string | number | boolean; diff --git a/node_modules/simple-git/src/lib/types/tasks.d.ts b/node_modules/simple-git/src/lib/types/tasks.d.ts deleted file mode 100644 index db96d18..0000000 --- a/node_modules/simple-git/src/lib/types/tasks.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/// -import { GitExecutorResult, SimpleGitExecutor } from './index'; -import { EmptyTask } from '../tasks/task'; -export declare type TaskResponseFormat = Buffer | string; -export interface TaskParser { - (stdOut: INPUT, stdErr: INPUT): RESPONSE; -} -export interface EmptyTaskParser { - (executor: SimpleGitExecutor): void; -} -export interface SimpleGitTaskConfiguration { - commands: string[]; - format: FORMAT; - parser: TaskParser; - onError?: (result: GitExecutorResult, error: Error, done: (result: Buffer | Buffer[]) => void, fail: (error: string | Error) => void) => void; -} -export declare type StringTask = SimpleGitTaskConfiguration; -export declare type BufferTask = SimpleGitTaskConfiguration; -export declare type RunnableTask = StringTask | BufferTask; -export declare type SimpleGitTask = RunnableTask | EmptyTask; diff --git a/node_modules/simple-git/src/lib/utils/argument-filters.d.ts b/node_modules/simple-git/src/lib/utils/argument-filters.d.ts deleted file mode 100644 index 6be6925..0000000 --- a/node_modules/simple-git/src/lib/utils/argument-filters.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Options, Primitives } from '../types'; -export interface ArgumentFilterPredicate { - (input: any): input is T; -} -export declare function filterType(input: K, filter: ArgumentFilterPredicate): K extends T ? T : undefined; -export declare function filterType(input: K, filter: ArgumentFilterPredicate, def: T): T; -export declare const filterArray: ArgumentFilterPredicate>; -export declare function filterPrimitives(input: unknown, omit?: Array<'boolean' | 'string' | 'number'>): input is Primitives; -export declare const filterString: ArgumentFilterPredicate; -export declare const filterStringArray: ArgumentFilterPredicate; -export declare const filterStringOrStringArray: ArgumentFilterPredicate; -export declare function filterPlainObject(input: T | unknown): input is T; -export declare function filterFunction(input: unknown): input is Function; -export declare const filterHasLength: ArgumentFilterPredicate<{ - length: number; -}>; diff --git a/node_modules/simple-git/src/lib/utils/exit-codes.d.ts b/node_modules/simple-git/src/lib/utils/exit-codes.d.ts deleted file mode 100644 index 1c389c7..0000000 --- a/node_modules/simple-git/src/lib/utils/exit-codes.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Known process exit codes used by the task parsers to determine whether an error - * was one they can automatically handle - */ -export declare enum ExitCodes { - SUCCESS = 0, - ERROR = 1, - UNCLEAN = 128 -} diff --git a/node_modules/simple-git/src/lib/utils/git-output-streams.d.ts b/node_modules/simple-git/src/lib/utils/git-output-streams.d.ts deleted file mode 100644 index 72db466..0000000 --- a/node_modules/simple-git/src/lib/utils/git-output-streams.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// -import { TaskResponseFormat } from '../types'; -export declare class GitOutputStreams { - readonly stdOut: T; - readonly stdErr: T; - constructor(stdOut: T, stdErr: T); - asStrings(): GitOutputStreams; -} diff --git a/node_modules/simple-git/src/lib/utils/index.d.ts b/node_modules/simple-git/src/lib/utils/index.d.ts deleted file mode 100644 index 04cb604..0000000 --- a/node_modules/simple-git/src/lib/utils/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './argument-filters'; -export * from './exit-codes'; -export * from './git-output-streams'; -export * from './line-parser'; -export * from './simple-git-options'; -export * from './task-options'; -export * from './task-parser'; -export * from './util'; diff --git a/node_modules/simple-git/src/lib/utils/line-parser.d.ts b/node_modules/simple-git/src/lib/utils/line-parser.d.ts deleted file mode 100644 index c50560a..0000000 --- a/node_modules/simple-git/src/lib/utils/line-parser.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -export declare class LineParser { - protected matches: string[]; - private _regExp; - constructor(regExp: RegExp | RegExp[], useMatches?: (target: T, match: string[]) => boolean | void); - parse: (line: (offset: number) => (string | undefined), target: T) => boolean; - protected useMatches(target: T, match: string[]): boolean | void; - protected resetMatches(): void; - protected prepareMatches(): string[]; - protected addMatch(reg: RegExp, index: number, line?: string): boolean; - protected pushMatch(_index: number, matched: string[]): void; -} -export declare class RemoteLineParser extends LineParser { - protected addMatch(reg: RegExp, index: number, line?: string): boolean; - protected pushMatch(index: number, matched: string[]): void; -} diff --git a/node_modules/simple-git/src/lib/utils/simple-git-options.d.ts b/node_modules/simple-git/src/lib/utils/simple-git-options.d.ts deleted file mode 100644 index 552d68d..0000000 --- a/node_modules/simple-git/src/lib/utils/simple-git-options.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { SimpleGitOptions } from '../types'; -export declare function createInstanceConfig(...options: Array | undefined>): SimpleGitOptions; diff --git a/node_modules/simple-git/src/lib/utils/task-options.d.ts b/node_modules/simple-git/src/lib/utils/task-options.d.ts deleted file mode 100644 index 23d3705..0000000 --- a/node_modules/simple-git/src/lib/utils/task-options.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Maybe, Options } from '../types'; -export declare function appendTaskOptions(options: Maybe, commands?: string[]): string[]; -export declare function getTrailingOptions(args: IArguments, initialPrimitive?: number, objectOnly?: boolean): string[]; -/** - * Given any number of arguments, returns the trailing options argument, ignoring a trailing function argument - * if there is one. When not found, the return value is null. - */ -export declare function trailingOptionsArgument(args: IArguments): Maybe; -/** - * Returns either the source argument when it is a `Function`, or the default - * `NOOP` function constant - */ -export declare function trailingFunctionArgument(args: unknown[] | IArguments | unknown, includeNoop?: boolean): Maybe<(...args: any[]) => unknown>; diff --git a/node_modules/simple-git/src/lib/utils/task-parser.d.ts b/node_modules/simple-git/src/lib/utils/task-parser.d.ts deleted file mode 100644 index 5734495..0000000 --- a/node_modules/simple-git/src/lib/utils/task-parser.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { TaskParser, TaskResponseFormat } from '../types'; -import { GitOutputStreams } from './git-output-streams'; -import { LineParser } from './line-parser'; -export declare function callTaskParser(parser: TaskParser, streams: GitOutputStreams): RESPONSE; -export declare function parseStringResponse(result: T, parsers: LineParser[], ...texts: string[]): T; diff --git a/node_modules/simple-git/src/lib/utils/util.d.ts b/node_modules/simple-git/src/lib/utils/util.d.ts deleted file mode 100644 index 5f0b543..0000000 --- a/node_modules/simple-git/src/lib/utils/util.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -/// -import { Maybe } from '../types'; -export declare const NULL = "\0"; -export declare const NOOP: (...args: any[]) => void; -/** - * Returns either the source argument when it is a `Function`, or the default - * `NOOP` function constant - */ -export declare function asFunction any>(source: T | any): T; -/** - * Determines whether the supplied argument is both a function, and is not - * the `NOOP` function. - */ -export declare function isUserFunction(source: T | any): source is T; -export declare function splitOn(input: string, char: string): [string, string]; -export declare function first(input: T, offset?: number): Maybe; -export declare function first(input: T, offset?: number): Maybe; -export declare function last(input: T, offset?: number): Maybe; -export declare function last(input: T, offset?: number): Maybe; -export declare function last(input: T, offset?: number): Maybe; -export declare function toLinesWithContent(input?: string, trimmed?: boolean, separator?: string): string[]; -declare type LineWithContentCallback = (line: string) => T; -export declare function forEachLineWithContent(input: string, callback: LineWithContentCallback): T[]; -export declare function folderExists(path: string): boolean; -/** - * Adds `item` into the `target` `Array` or `Set` when it is not already present and returns the `item`. - */ -export declare function append(target: T[] | Set, item: T): typeof item; -/** - * Adds `item` into the `target` `Array` when it is not already present and returns the `target`. - */ -export declare function including(target: T[], item: T): typeof target; -export declare function remove(target: Set | T[], item: T): T; -export declare const objectToString: (input: any) => string; -export declare function asArray(source: T | T[]): T[]; -export declare function asStringArray(source: T | T[]): string[]; -export declare function asNumber(source: string | null | undefined, onNaN?: number): number; -export declare function prefixedArray(input: T[], prefix: T): T[]; -export declare function bufferToString(input: Buffer | Buffer[]): string; -/** - * Get a new object from a source object with only the listed properties. - */ -export declare function pick(source: Record, properties: string[]): any; -export declare function delay(duration?: number): Promise; -export {}; -- cgit