@emulsify/cli 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -13
- package/dist/node_modules/.package-lock.json +37 -24
- package/dist/node_modules/@types/node/README.md +5 -6
- package/dist/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/dist/node_modules/@types/node/assert.d.ts +955 -45
- package/dist/node_modules/@types/node/async_hooks.d.ts +391 -87
- package/dist/node_modules/@types/node/buffer.d.ts +2210 -17
- package/dist/node_modules/@types/node/child_process.d.ts +1051 -189
- package/dist/node_modules/@types/node/cluster.d.ts +421 -143
- package/dist/node_modules/@types/node/console.d.ts +359 -49
- package/dist/node_modules/@types/node/constants.d.ts +3 -3
- package/dist/node_modules/@types/node/crypto.d.ts +3528 -291
- package/dist/node_modules/@types/node/dgram.d.ts +446 -30
- package/dist/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
- package/dist/node_modules/@types/node/dns/promises.d.ts +476 -0
- package/dist/node_modules/@types/node/dns.d.ts +588 -240
- package/dist/node_modules/@types/node/dom-events.d.ts +124 -0
- package/dist/node_modules/@types/node/domain.d.ts +159 -16
- package/dist/node_modules/@types/node/events.d.ts +890 -41
- package/dist/node_modules/@types/node/fs/promises.d.ts +980 -369
- package/dist/node_modules/@types/node/fs.d.ts +2599 -869
- package/dist/node_modules/@types/node/globals.d.ts +374 -727
- package/dist/node_modules/@types/node/globals.global.d.ts +1 -1
- package/dist/node_modules/@types/node/http.d.ts +1459 -132
- package/dist/node_modules/@types/node/http2.d.ts +1333 -123
- package/dist/node_modules/@types/node/https.d.ts +289 -13
- package/dist/node_modules/@types/node/index.d.ts +37 -46
- package/dist/node_modules/@types/node/inspector.d.ts +367 -671
- package/dist/node_modules/@types/node/module.d.ts +273 -14
- package/dist/node_modules/@types/node/net.d.ts +741 -66
- package/dist/node_modules/@types/node/os.d.ts +275 -23
- package/dist/node_modules/@types/node/package.json +95 -110
- package/dist/node_modules/@types/node/path.d.ts +27 -4
- package/dist/node_modules/@types/node/perf_hooks.d.ts +756 -125
- package/dist/node_modules/@types/node/process.d.ts +1429 -127
- package/dist/node_modules/@types/node/punycode.d.ts +65 -26
- package/dist/node_modules/@types/node/querystring.d.ts +121 -9
- package/dist/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/dist/node_modules/@types/node/readline.d.ts +405 -49
- package/dist/node_modules/@types/node/repl.d.ts +99 -73
- package/dist/node_modules/@types/node/sea.d.ts +153 -0
- package/dist/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/dist/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/dist/node_modules/@types/node/stream/web.d.ts +367 -0
- package/dist/node_modules/@types/node/stream.d.ts +1462 -273
- package/dist/node_modules/@types/node/string_decoder.d.ts +59 -2
- package/dist/node_modules/@types/node/test.d.ts +1719 -0
- package/dist/node_modules/@types/node/timers/promises.d.ts +97 -0
- package/dist/node_modules/@types/node/timers.d.ts +233 -12
- package/dist/node_modules/@types/node/tls.d.ts +540 -189
- package/dist/node_modules/@types/node/trace_events.d.ts +143 -10
- package/dist/node_modules/@types/node/tty.d.ts +156 -17
- package/dist/node_modules/@types/node/url.d.ts +812 -47
- package/dist/node_modules/@types/node/util.d.ts +2159 -145
- package/dist/node_modules/@types/node/v8.d.ts +693 -74
- package/dist/node_modules/@types/node/vm.d.ts +813 -44
- package/dist/node_modules/@types/node/wasi.d.ts +121 -28
- package/dist/node_modules/@types/node/worker_threads.d.ts +514 -61
- package/dist/node_modules/@types/node/zlib.d.ts +220 -54
- package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +10 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +5 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +1 -0
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +2 -2
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/uri.ts +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +3 -3
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +10 -10
- package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +4 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +5 -5
- package/dist/node_modules/commander/Readme.md +10 -8
- package/dist/node_modules/commander/esm.mjs +1 -1
- package/dist/node_modules/commander/lib/argument.js +9 -5
- package/dist/node_modules/commander/lib/command.js +406 -196
- package/dist/node_modules/commander/lib/error.js +0 -4
- package/dist/node_modules/commander/lib/help.js +101 -38
- package/dist/node_modules/commander/lib/option.js +11 -8
- package/dist/node_modules/commander/lib/suggestSimilar.js +5 -4
- package/dist/node_modules/commander/package.json +23 -19
- package/dist/node_modules/commander/typings/index.d.ts +110 -40
- package/dist/node_modules/debug/package.json +4 -3
- package/dist/node_modules/debug/src/browser.js +3 -1
- package/dist/node_modules/debug/src/node.js +2 -2
- package/dist/node_modules/fast-uri/.gitattributes +2 -0
- package/dist/node_modules/fast-uri/.github/.stale.yml +21 -0
- package/dist/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/dist/node_modules/fast-uri/.github/tests_checker.yml +8 -0
- package/dist/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
- package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
- package/dist/node_modules/fast-uri/.taprc +3 -0
- package/dist/node_modules/fast-uri/LICENSE +30 -0
- package/dist/node_modules/fast-uri/README.md +125 -0
- package/dist/node_modules/fast-uri/benchmark.js +105 -0
- package/dist/node_modules/fast-uri/index.js +309 -0
- package/dist/node_modules/fast-uri/lib/schemes.js +188 -0
- package/dist/node_modules/fast-uri/lib/scopedChars.js +30 -0
- package/dist/node_modules/fast-uri/lib/utils.js +242 -0
- package/dist/node_modules/fast-uri/package.json +39 -0
- package/dist/node_modules/fast-uri/test/.gitkeep +0 -0
- package/dist/node_modules/fast-uri/test/ajv.test.js +39 -0
- package/dist/node_modules/fast-uri/test/compatibility.test.js +130 -0
- package/dist/node_modules/fast-uri/test/equal.test.js +104 -0
- package/dist/node_modules/fast-uri/test/parse.test.js +319 -0
- package/dist/node_modules/fast-uri/test/resolve.test.js +76 -0
- package/dist/node_modules/fast-uri/test/serialize.test.js +144 -0
- package/dist/node_modules/fast-uri/test/uri-js.test.js +940 -0
- package/dist/node_modules/fast-uri/test/util.test.js +24 -0
- package/dist/node_modules/fast-uri/types/index.d.ts +53 -0
- package/dist/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/dist/node_modules/fs-extra/README.md +32 -2
- package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +3 -11
- package/dist/node_modules/fs-extra/lib/copy/copy.js +120 -178
- package/dist/node_modules/fs-extra/lib/copy/index.js +1 -1
- package/dist/node_modules/fs-extra/lib/ensure/file.js +31 -34
- package/dist/node_modules/fs-extra/lib/ensure/link.js +27 -27
- package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +57 -55
- package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +16 -13
- package/dist/node_modules/fs-extra/lib/ensure/symlink.js +29 -44
- package/dist/node_modules/fs-extra/lib/esm.mjs +68 -0
- package/dist/node_modules/fs-extra/lib/fs/index.js +29 -17
- package/dist/node_modules/fs-extra/lib/move/index.js +1 -1
- package/dist/node_modules/fs-extra/lib/move/move-sync.js +2 -1
- package/dist/node_modules/fs-extra/lib/move/move.js +38 -54
- package/dist/node_modules/fs-extra/lib/output-file/index.js +10 -19
- package/dist/node_modules/fs-extra/lib/remove/index.js +2 -7
- package/dist/node_modules/fs-extra/lib/util/stat.js +46 -42
- package/dist/node_modules/fs-extra/lib/util/utimes.js +21 -11
- package/dist/node_modules/fs-extra/package.json +11 -7
- package/dist/node_modules/simple-git/dist/cjs/index.js +4958 -0
- package/dist/node_modules/simple-git/dist/cjs/index.js.map +7 -0
- package/dist/node_modules/simple-git/dist/esm/index.js +4813 -0
- package/dist/node_modules/simple-git/dist/esm/index.js.map +7 -0
- package/dist/node_modules/simple-git/dist/esm/package.json +3 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/api.d.ts +3 -13
- package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +9 -0
- package/dist/node_modules/simple-git/dist/src/lib/args/pathspec.d.ts +3 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-error.d.ts +3 -2
- package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +7 -0
- package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +15 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-branch.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +3 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-list-log-summary.d.ts +2 -1
- package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-pull.d.ts +2 -0
- package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +3 -0
- package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +3 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/completion-detection.plugin.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +3 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/index.d.ts +3 -0
- package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +11 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/progress-monitor-plugin.d.ts +1 -1
- package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/simple-git-plugin.d.ts +10 -0
- package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +2 -0
- package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +3 -0
- package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +14 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/FileStatusSummary.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +25 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/StatusSummary.d.ts +2 -1
- package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/git-executor-chain.d.ts +1 -1
- package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/git-executor.d.ts +3 -4
- package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +2 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/clone.d.ts +3 -2
- package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +4 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/config.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +12 -0
- package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +12 -0
- package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +5 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/fetch.d.ts +2 -1
- package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +2 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/log.d.ts +3 -3
- package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/remote.d.ts +3 -3
- package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +2 -0
- package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +4 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/task.d.ts +1 -1
- package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +9 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/types/index.d.ts +64 -5
- package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/exit-codes.d.ts +1 -0
- package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/line-parser.d.ts +1 -1
- package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/task-parser.d.ts +2 -2
- package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/util.d.ts +3 -1
- package/dist/node_modules/simple-git/{typings → dist/typings}/errors.d.ts +0 -1
- package/dist/node_modules/simple-git/{typings → dist/typings}/index.d.ts +2 -1
- package/dist/node_modules/simple-git/{typings → dist/typings}/response.d.ts +68 -25
- package/dist/node_modules/simple-git/{typings → dist/typings}/simple-git.d.ts +493 -110
- package/dist/node_modules/simple-git/dist/typings/types.d.ts +23 -0
- package/dist/node_modules/simple-git/package.json +32 -35
- package/dist/node_modules/simple-git/promise.js +14 -4
- package/dist/node_modules/simple-git/readme.md +372 -389
- package/dist/node_modules/undici-types/README.md +6 -0
- package/dist/node_modules/undici-types/agent.d.ts +31 -0
- package/dist/node_modules/undici-types/api.d.ts +43 -0
- package/dist/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/dist/node_modules/undici-types/cache.d.ts +36 -0
- package/dist/node_modules/undici-types/client.d.ts +97 -0
- package/dist/node_modules/undici-types/connector.d.ts +34 -0
- package/dist/node_modules/undici-types/content-type.d.ts +21 -0
- package/dist/node_modules/undici-types/cookies.d.ts +28 -0
- package/dist/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/dist/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/dist/node_modules/undici-types/errors.d.ts +128 -0
- package/dist/node_modules/undici-types/fetch.d.ts +209 -0
- package/dist/node_modules/undici-types/file.d.ts +39 -0
- package/dist/node_modules/undici-types/filereader.d.ts +54 -0
- package/dist/node_modules/undici-types/formdata.d.ts +108 -0
- package/dist/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/dist/node_modules/undici-types/global-origin.d.ts +7 -0
- package/dist/node_modules/undici-types/handlers.d.ts +9 -0
- package/dist/node_modules/undici-types/header.d.ts +4 -0
- package/dist/node_modules/undici-types/index.d.ts +63 -0
- package/dist/node_modules/undici-types/interceptors.d.ts +5 -0
- package/dist/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/dist/node_modules/undici-types/mock-client.d.ts +25 -0
- package/dist/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/dist/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/dist/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/dist/node_modules/undici-types/package.json +55 -0
- package/dist/node_modules/undici-types/patch.d.ts +71 -0
- package/dist/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/dist/node_modules/undici-types/pool.d.ts +28 -0
- package/dist/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/dist/node_modules/undici-types/readable.d.ts +61 -0
- package/dist/node_modules/undici-types/webidl.d.ts +220 -0
- package/dist/node_modules/undici-types/websocket.d.ts +131 -0
- package/dist/package-lock.json +10146 -0
- package/dist/package.json +23 -23
- package/dist/schemas/variant.json +5 -21
- package/package.json +24 -24
- package/dist/node_modules/@types/node/ts4.8/assert.d.ts +0 -130
- package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -237
- package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +0 -89
- package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +0 -682
- package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +0 -300
- package/dist/node_modules/@types/node/ts4.8/console.d.ts +0 -142
- package/dist/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
- package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +0 -1287
- package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +0 -180
- package/dist/node_modules/@types/node/ts4.8/dns.d.ts +0 -516
- package/dist/node_modules/@types/node/ts4.8/domain.d.ts +0 -27
- package/dist/node_modules/@types/node/ts4.8/events.d.ts +0 -82
- package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -634
- package/dist/node_modules/@types/node/ts4.8/fs.d.ts +0 -2587
- package/dist/node_modules/@types/node/ts4.8/globals.d.ts +0 -763
- package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/dist/node_modules/@types/node/ts4.8/http.d.ts +0 -580
- package/dist/node_modules/@types/node/ts4.8/http2.d.ts +0 -1208
- package/dist/node_modules/@types/node/ts4.8/https.d.ts +0 -274
- package/dist/node_modules/@types/node/ts4.8/index.d.ts +0 -53
- package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +0 -3050
- package/dist/node_modules/@types/node/ts4.8/module.d.ts +0 -56
- package/dist/node_modules/@types/node/ts4.8/net.d.ts +0 -324
- package/dist/node_modules/@types/node/ts4.8/os.d.ts +0 -243
- package/dist/node_modules/@types/node/ts4.8/path.d.ts +0 -168
- package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -274
- package/dist/node_modules/@types/node/ts4.8/process.d.ts +0 -452
- package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +0 -78
- package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +0 -41
- package/dist/node_modules/@types/node/ts4.8/readline.d.ts +0 -184
- package/dist/node_modules/@types/node/ts4.8/repl.d.ts +0 -404
- package/dist/node_modules/@types/node/ts4.8/stream.d.ts +0 -518
- package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -10
- package/dist/node_modules/@types/node/ts4.8/timers.d.ts +0 -19
- package/dist/node_modules/@types/node/ts4.8/tls.d.ts +0 -866
- package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -64
- package/dist/node_modules/@types/node/ts4.8/tty.d.ts +0 -69
- package/dist/node_modules/@types/node/ts4.8/url.d.ts +0 -187
- package/dist/node_modules/@types/node/ts4.8/util.d.ts +0 -278
- package/dist/node_modules/@types/node/ts4.8/v8.d.ts +0 -189
- package/dist/node_modules/@types/node/ts4.8/vm.d.ts +0 -155
- package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +0 -88
- package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -241
- package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +0 -364
- package/dist/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
- package/dist/node_modules/simple-git/CHANGELOG.md +0 -529
- package/dist/node_modules/simple-git/LICENSE +0 -20
- package/dist/node_modules/simple-git/promise.d.ts +0 -46
- package/dist/node_modules/simple-git/src/git.js +0 -700
- package/dist/node_modules/simple-git/src/index.js +0 -7
- package/dist/node_modules/simple-git/src/lib/api.js +0 -26
- package/dist/node_modules/simple-git/src/lib/api.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/errors/git-construct-error.js +0 -21
- package/dist/node_modules/simple-git/src/lib/errors/git-construct-error.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/errors/git-error.js +0 -37
- package/dist/node_modules/simple-git/src/lib/errors/git-error.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts +0 -6
- package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.js +0 -14
- package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/errors/git-response-error.js +0 -36
- package/dist/node_modules/simple-git/src/lib/errors/git-response-error.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/errors/task-configuration-error.js +0 -19
- package/dist/node_modules/simple-git/src/lib/errors/task-configuration-error.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/git-factory.d.ts +0 -25
- package/dist/node_modules/simple-git/src/lib/git-factory.js +0 -45
- package/dist/node_modules/simple-git/src/lib/git-factory.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/git-logger.js +0 -101
- package/dist/node_modules/simple-git/src/lib/git-logger.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-branch-delete.js +0 -29
- package/dist/node_modules/simple-git/src/lib/parsers/parse-branch-delete.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-branch.js +0 -18
- package/dist/node_modules/simple-git/src/lib/parsers/parse-branch.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-commit.js +0 -53
- package/dist/node_modules/simple-git/src/lib/parsers/parse-commit.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts +0 -2
- package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.js +0 -74
- package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-fetch.js +0 -32
- package/dist/node_modules/simple-git/src/lib/parsers/parse-fetch.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.js +0 -35
- package/dist/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-merge.js +0 -39
- package/dist/node_modules/simple-git/src/lib/parsers/parse-merge.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-move.js +0 -14
- package/dist/node_modules/simple-git/src/lib/parsers/parse-move.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-pull.js +0 -42
- package/dist/node_modules/simple-git/src/lib/parsers/parse-pull.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-push.js +0 -58
- package/dist/node_modules/simple-git/src/lib/parsers/parse-push.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-messages.js +0 -33
- package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-messages.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-objects.js +0 -41
- package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-objects.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.js +0 -15
- package/dist/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js +0 -80
- package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js +0 -39
- package/dist/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/index.js +0 -21
- package/dist/node_modules/simple-git/src/lib/plugins/index.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts +0 -6
- package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.js +0 -28
- package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js +0 -45
- package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.js +0 -3
- package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.js +0 -15
- package/dist/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts +0 -3
- package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.js +0 -37
- package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.js +0 -31
- package/dist/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts +0 -10
- package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.js +0 -26
- package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/CheckIgnore.js +0 -13
- package/dist/node_modules/simple-git/src/lib/responses/CheckIgnore.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/CleanSummary.js +0 -28
- package/dist/node_modules/simple-git/src/lib/responses/CleanSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js +0 -89
- package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/DiffSummary.js +0 -16
- package/dist/node_modules/simple-git/src/lib/responses/DiffSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/FileStatusSummary.js +0 -18
- package/dist/node_modules/simple-git/src/lib/responses/FileStatusSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/GetRemoteSummary.js +0 -30
- package/dist/node_modules/simple-git/src/lib/responses/GetRemoteSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/InitSummary.js +0 -36
- package/dist/node_modules/simple-git/src/lib/responses/InitSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/MergeSummary.js +0 -35
- package/dist/node_modules/simple-git/src/lib/responses/MergeSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/PullSummary.d.ts +0 -12
- package/dist/node_modules/simple-git/src/lib/responses/PullSummary.js +0 -22
- package/dist/node_modules/simple-git/src/lib/responses/PullSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js +0 -128
- package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/responses/TagList.js +0 -56
- package/dist/node_modules/simple-git/src/lib/responses/TagList.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js +0 -173
- package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/runners/git-executor.js +0 -21
- package/dist/node_modules/simple-git/src/lib/runners/git-executor.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/runners/promise-wrapped.js +0 -133
- package/dist/node_modules/simple-git/src/lib/runners/promise-wrapped.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/runners/scheduler.js +0 -48
- package/dist/node_modules/simple-git/src/lib/runners/scheduler.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/runners/tasks-pending-queue.js +0 -64
- package/dist/node_modules/simple-git/src/lib/runners/tasks-pending-queue.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js +0 -80
- package/dist/node_modules/simple-git/src/lib/simple-git-api.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/task-callback.js +0 -39
- package/dist/node_modules/simple-git/src/lib/task-callback.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/apply-patch.js +0 -9
- package/dist/node_modules/simple-git/src/lib/tasks/apply-patch.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/branch.js +0 -76
- package/dist/node_modules/simple-git/src/lib/tasks/branch.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/change-working-directory.js +0 -15
- package/dist/node_modules/simple-git/src/lib/tasks/change-working-directory.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/check-ignore.js +0 -13
- package/dist/node_modules/simple-git/src/lib/tasks/check-ignore.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/check-is-repo.js +0 -61
- package/dist/node_modules/simple-git/src/lib/tasks/check-is-repo.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/clean.js +0 -85
- package/dist/node_modules/simple-git/src/lib/tasks/clean.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/clone.js +0 -22
- package/dist/node_modules/simple-git/src/lib/tasks/clone.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/commit.d.ts +0 -3
- package/dist/node_modules/simple-git/src/lib/tasks/commit.js +0 -16
- package/dist/node_modules/simple-git/src/lib/tasks/commit.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/config.js +0 -73
- package/dist/node_modules/simple-git/src/lib/tasks/config.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/diff.d.ts +0 -3
- package/dist/node_modules/simple-git/src/lib/tasks/diff.js +0 -15
- package/dist/node_modules/simple-git/src/lib/tasks/diff.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/fetch.js +0 -17
- package/dist/node_modules/simple-git/src/lib/tasks/fetch.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js +0 -76
- package/dist/node_modules/simple-git/src/lib/tasks/grep.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/hash-object.js +0 -16
- package/dist/node_modules/simple-git/src/lib/tasks/hash-object.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/init.js +0 -23
- package/dist/node_modules/simple-git/src/lib/tasks/init.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/log.js +0 -109
- package/dist/node_modules/simple-git/src/lib/tasks/log.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/merge.js +0 -24
- package/dist/node_modules/simple-git/src/lib/tasks/merge.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/move.js +0 -14
- package/dist/node_modules/simple-git/src/lib/tasks/move.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/pull.js +0 -19
- package/dist/node_modules/simple-git/src/lib/tasks/pull.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/push.js +0 -29
- package/dist/node_modules/simple-git/src/lib/tasks/push.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/remote.js +0 -42
- package/dist/node_modules/simple-git/src/lib/tasks/remote.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/reset.js +0 -38
- package/dist/node_modules/simple-git/src/lib/tasks/reset.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/stash-list.d.ts +0 -3
- package/dist/node_modules/simple-git/src/lib/tasks/stash-list.js +0 -16
- package/dist/node_modules/simple-git/src/lib/tasks/stash-list.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/status.js +0 -15
- package/dist/node_modules/simple-git/src/lib/tasks/status.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/sub-module.js +0 -25
- package/dist/node_modules/simple-git/src/lib/tasks/sub-module.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/tag.js +0 -45
- package/dist/node_modules/simple-git/src/lib/tasks/tag.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/tasks/task.js +0 -52
- package/dist/node_modules/simple-git/src/lib/tasks/task.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/types/handlers.js +0 -3
- package/dist/node_modules/simple-git/src/lib/types/handlers.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/types/index.js +0 -15
- package/dist/node_modules/simple-git/src/lib/types/index.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/types/tasks.js +0 -3
- package/dist/node_modules/simple-git/src/lib/types/tasks.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/argument-filters.js +0 -47
- package/dist/node_modules/simple-git/src/lib/utils/argument-filters.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/exit-codes.js +0 -14
- package/dist/node_modules/simple-git/src/lib/utils/exit-codes.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/git-output-streams.js +0 -14
- package/dist/node_modules/simple-git/src/lib/utils/git-output-streams.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/index.js +0 -21
- package/dist/node_modules/simple-git/src/lib/utils/index.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/line-parser.js +0 -52
- package/dist/node_modules/simple-git/src/lib/utils/line-parser.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/simple-git-options.js +0 -16
- package/dist/node_modules/simple-git/src/lib/utils/simple-git-options.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/task-options.js +0 -58
- package/dist/node_modules/simple-git/src/lib/utils/task-options.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/task-parser.js +0 -24
- package/dist/node_modules/simple-git/src/lib/utils/task-parser.js.map +0 -1
- package/dist/node_modules/simple-git/src/lib/utils/util.js +0 -146
- package/dist/node_modules/simple-git/src/lib/utils/util.js.map +0 -1
- package/dist/node_modules/simple-git/typings/types.d.ts +0 -14
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-construct-error.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-response-error.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/task-configuration-error.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/git-logger.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-branch-delete.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-commit.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-fetch.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-merge.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-move.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-push.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-remote-messages.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-remote-objects.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/command-config-prefixing-plugin.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/error-detection.plugin.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/spawn-options-plugin.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/BranchDeleteSummary.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/CheckIgnore.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/CleanSummary.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/ConfigList.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/DiffSummary.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/GetRemoteSummary.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/InitSummary.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/MergeSummary.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/TagList.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/promise-wrapped.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/scheduler.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/tasks-pending-queue.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/simple-git-api.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/task-callback.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/apply-patch.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/branch.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/change-working-directory.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/check-ignore.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/check-is-repo.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/clean.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/grep.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/hash-object.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/init.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/merge.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/move.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/pull.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/push.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/reset.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/status.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/sub-module.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/tag.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/types/handlers.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/types/tasks.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/argument-filters.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/git-output-streams.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/index.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/simple-git-options.d.ts +0 -0
- /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/task-options.d.ts +0 -0
|
@@ -21,25 +21,45 @@ export interface SimpleGitBase {
|
|
|
21
21
|
/**
|
|
22
22
|
* Sets the working directory of the subsequent commands.
|
|
23
23
|
*/
|
|
24
|
-
cwd(
|
|
24
|
+
cwd(
|
|
25
|
+
directory: { path: string; root?: boolean },
|
|
26
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
27
|
+
): Response<string>;
|
|
25
28
|
|
|
26
|
-
cwd<path extends string>(
|
|
29
|
+
cwd<path extends string>(
|
|
30
|
+
directory: path,
|
|
31
|
+
callback?: types.SimpleGitTaskCallback<path>
|
|
32
|
+
): Response<path>;
|
|
27
33
|
|
|
28
34
|
/**
|
|
29
35
|
* Compute object ID from a file
|
|
30
36
|
*/
|
|
31
37
|
hashObject(path: string, callback?: types.SimpleGitTaskCallback): Response<string>;
|
|
32
38
|
|
|
33
|
-
hashObject(
|
|
39
|
+
hashObject(
|
|
40
|
+
path: string,
|
|
41
|
+
write?: boolean,
|
|
42
|
+
callback?: types.SimpleGitTaskCallback
|
|
43
|
+
): Response<string>;
|
|
34
44
|
|
|
35
45
|
/**
|
|
36
46
|
* Initialize a git repo
|
|
37
47
|
*/
|
|
38
|
-
init(
|
|
48
|
+
init(
|
|
49
|
+
bare: boolean,
|
|
50
|
+
options?: types.TaskOptions,
|
|
51
|
+
callback?: types.SimpleGitTaskCallback<resp.InitResult>
|
|
52
|
+
): Response<resp.InitResult>;
|
|
39
53
|
|
|
40
|
-
init(
|
|
54
|
+
init(
|
|
55
|
+
bare: boolean,
|
|
56
|
+
callback?: types.SimpleGitTaskCallback<resp.InitResult>
|
|
57
|
+
): Response<resp.InitResult>;
|
|
41
58
|
|
|
42
|
-
init(
|
|
59
|
+
init(
|
|
60
|
+
options?: types.TaskOptions,
|
|
61
|
+
callback?: types.SimpleGitTaskCallback<resp.InitResult>
|
|
62
|
+
): Response<resp.InitResult>;
|
|
43
63
|
|
|
44
64
|
init(callback?: types.SimpleGitTaskCallback<resp.InitResult>): Response<resp.InitResult>;
|
|
45
65
|
|
|
@@ -55,15 +75,27 @@ export interface SimpleGitBase {
|
|
|
55
75
|
* @see https://github.com/steveukx/git-js/blob/master/src/responses/MergeSummary.js
|
|
56
76
|
* @see https://github.com/steveukx/git-js/blob/master/src/responses/PullSummary.js
|
|
57
77
|
*/
|
|
58
|
-
merge(
|
|
78
|
+
merge(
|
|
79
|
+
options: types.TaskOptions,
|
|
80
|
+
callback?: types.SimpleGitTaskCallback<resp.MergeResult>
|
|
81
|
+
): Response<resp.MergeResult>;
|
|
59
82
|
|
|
60
83
|
/**
|
|
61
84
|
* Merges from one branch to another, equivalent to running `git merge ${remote} ${branch}`, the `options` argument can
|
|
62
85
|
* either be an array of additional parameters to pass to the command or null / omitted to be ignored.
|
|
63
86
|
*/
|
|
64
|
-
mergeFromTo<E extends GitError>(
|
|
87
|
+
mergeFromTo<E extends GitError>(
|
|
88
|
+
remote: string,
|
|
89
|
+
branch: string,
|
|
90
|
+
options?: types.TaskOptions,
|
|
91
|
+
callback?: types.SimpleGitTaskCallback<resp.MergeResult, E>
|
|
92
|
+
): Response<resp.MergeResult>;
|
|
65
93
|
|
|
66
|
-
mergeFromTo<E extends GitError>(
|
|
94
|
+
mergeFromTo<E extends GitError>(
|
|
95
|
+
remote: string,
|
|
96
|
+
branch: string,
|
|
97
|
+
callback?: types.SimpleGitTaskCallback<resp.MergeResult, E>
|
|
98
|
+
): Response<resp.MergeResult>;
|
|
67
99
|
|
|
68
100
|
/**
|
|
69
101
|
* Sets a handler function to be called whenever a new child process is created, the handler function will be called
|
|
@@ -85,58 +117,101 @@ export interface SimpleGitBase {
|
|
|
85
117
|
* Pushes the current committed changes to a remote, optionally specify the names of the remote and branch to use
|
|
86
118
|
* when pushing. Supply multiple options as an array of strings in the first argument - see examples below.
|
|
87
119
|
*/
|
|
88
|
-
push(
|
|
120
|
+
push(
|
|
121
|
+
remote?: string,
|
|
122
|
+
branch?: string,
|
|
123
|
+
options?: types.TaskOptions,
|
|
124
|
+
callback?: types.SimpleGitTaskCallback<resp.PushResult>
|
|
125
|
+
): Response<resp.PushResult>;
|
|
89
126
|
|
|
90
|
-
push(
|
|
127
|
+
push(
|
|
128
|
+
options?: types.TaskOptions,
|
|
129
|
+
callback?: types.SimpleGitTaskCallback<resp.PushResult>
|
|
130
|
+
): Response<resp.PushResult>;
|
|
91
131
|
|
|
92
132
|
push(callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
|
93
133
|
|
|
94
134
|
/**
|
|
95
135
|
* Stash the local repo
|
|
96
136
|
*/
|
|
97
|
-
stash(
|
|
137
|
+
stash(
|
|
138
|
+
options?: types.TaskOptions,
|
|
139
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
140
|
+
): Response<string>;
|
|
98
141
|
|
|
99
142
|
stash(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
100
143
|
|
|
101
144
|
/**
|
|
102
145
|
* Show the working tree status.
|
|
103
146
|
*/
|
|
104
|
-
status(
|
|
147
|
+
status(
|
|
148
|
+
options?: types.TaskOptions,
|
|
149
|
+
callback?: types.SimpleGitTaskCallback<resp.StatusResult>
|
|
150
|
+
): Response<resp.StatusResult>;
|
|
105
151
|
|
|
106
152
|
status(callback?: types.SimpleGitTaskCallback<resp.StatusResult>): Response<resp.StatusResult>;
|
|
107
|
-
|
|
108
153
|
}
|
|
109
154
|
|
|
110
155
|
export interface SimpleGit extends SimpleGitBase {
|
|
111
|
-
|
|
112
156
|
/**
|
|
113
157
|
* Add an annotated tag to the head of the current branch
|
|
114
158
|
*/
|
|
115
|
-
addAnnotatedTag(
|
|
159
|
+
addAnnotatedTag(
|
|
160
|
+
tagName: string,
|
|
161
|
+
tagMessage: string,
|
|
162
|
+
callback?: types.SimpleGitTaskCallback<{ name: string }>
|
|
163
|
+
): Response<{ name: string }>;
|
|
116
164
|
|
|
117
165
|
/**
|
|
118
166
|
* Add config to local git instance for the specified `key` (eg: user.name) and value (eg: 'your name').
|
|
119
167
|
* Set `append` to true to append to rather than overwrite the key
|
|
120
168
|
*/
|
|
121
|
-
addConfig(
|
|
169
|
+
addConfig(
|
|
170
|
+
key: string,
|
|
171
|
+
value: string,
|
|
172
|
+
append?: boolean,
|
|
173
|
+
scope?: keyof typeof types.GitConfigScope,
|
|
174
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
175
|
+
): Response<string>;
|
|
122
176
|
|
|
123
|
-
addConfig(
|
|
177
|
+
addConfig(
|
|
178
|
+
key: string,
|
|
179
|
+
value: string,
|
|
180
|
+
append?: boolean,
|
|
181
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
182
|
+
): Response<string>;
|
|
124
183
|
|
|
125
|
-
addConfig(
|
|
184
|
+
addConfig(
|
|
185
|
+
key: string,
|
|
186
|
+
value: string,
|
|
187
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
188
|
+
): Response<string>;
|
|
126
189
|
|
|
127
190
|
/**
|
|
128
191
|
* Applies a patch to the repo
|
|
129
192
|
*/
|
|
130
|
-
applyPatch(
|
|
193
|
+
applyPatch(
|
|
194
|
+
patches: string | string[],
|
|
195
|
+
options: types.TaskOptions<types.ApplyOptions>,
|
|
196
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
197
|
+
): Response<string>;
|
|
131
198
|
|
|
132
|
-
applyPatch(
|
|
199
|
+
applyPatch(
|
|
200
|
+
patches: string | string[],
|
|
201
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
202
|
+
): Response<string>;
|
|
133
203
|
|
|
134
204
|
/**
|
|
135
205
|
* Configuration values visible to git in the current working directory
|
|
136
206
|
*/
|
|
137
|
-
listConfig(
|
|
207
|
+
listConfig(
|
|
208
|
+
scope: keyof typeof types.GitConfigScope,
|
|
209
|
+
callback?: types.SimpleGitTaskCallback<resp.ConfigListSummary>
|
|
210
|
+
): Response<resp.ConfigListSummary>;
|
|
138
211
|
|
|
139
|
-
listConfig(
|
|
212
|
+
listConfig(
|
|
213
|
+
callback?: types.SimpleGitTaskCallback<resp.ConfigListSummary>
|
|
214
|
+
): Response<resp.ConfigListSummary>;
|
|
140
215
|
|
|
141
216
|
/**
|
|
142
217
|
* Adds a remote to the list of remotes.
|
|
@@ -145,14 +220,26 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
145
220
|
* - `remoteRepo` Fully qualified SSH or HTTP(S) path to the remote repo
|
|
146
221
|
* - `options` Optional additional settings permitted by the `git remote add` command, merged into the command prior to the repo name and remote url
|
|
147
222
|
*/
|
|
148
|
-
addRemote(
|
|
223
|
+
addRemote(
|
|
224
|
+
remoteName: string,
|
|
225
|
+
remoteRepo: string,
|
|
226
|
+
options?: types.TaskOptions,
|
|
227
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
228
|
+
): Response<string>;
|
|
149
229
|
|
|
150
|
-
addRemote(
|
|
230
|
+
addRemote(
|
|
231
|
+
remoteName: string,
|
|
232
|
+
remoteRepo: string,
|
|
233
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
234
|
+
): Response<string>;
|
|
151
235
|
|
|
152
236
|
/**
|
|
153
237
|
* Add a lightweight tag to the head of the current branch
|
|
154
238
|
*/
|
|
155
|
-
addTag(
|
|
239
|
+
addTag(
|
|
240
|
+
name: string,
|
|
241
|
+
callback?: types.SimpleGitTaskCallback<{ name: string }>
|
|
242
|
+
): Response<{ name: string }>;
|
|
156
243
|
|
|
157
244
|
/**
|
|
158
245
|
* Equivalent to `catFile` but will return the native `Buffer` of content from the git command's stdout.
|
|
@@ -162,12 +249,17 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
162
249
|
/**
|
|
163
250
|
* List all branches
|
|
164
251
|
*/
|
|
165
|
-
branch(
|
|
252
|
+
branch(
|
|
253
|
+
options?: types.TaskOptions,
|
|
254
|
+
callback?: types.SimpleGitTaskCallback<resp.BranchSummary>
|
|
255
|
+
): Response<resp.BranchSummary>;
|
|
166
256
|
|
|
167
257
|
/**
|
|
168
258
|
* List of local branches
|
|
169
259
|
*/
|
|
170
|
-
branchLocal(
|
|
260
|
+
branchLocal(
|
|
261
|
+
callback?: types.SimpleGitTaskCallback<resp.BranchSummary>
|
|
262
|
+
): Response<resp.BranchSummary>;
|
|
171
263
|
|
|
172
264
|
/**
|
|
173
265
|
* Returns a list of objects in a tree based on commit hash.
|
|
@@ -185,7 +277,10 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
185
277
|
* Check if a pathname or pathnames are excluded by .gitignore
|
|
186
278
|
*
|
|
187
279
|
*/
|
|
188
|
-
checkIgnore(
|
|
280
|
+
checkIgnore(
|
|
281
|
+
pathNames: string[],
|
|
282
|
+
callback?: types.SimpleGitTaskCallback<string[]>
|
|
283
|
+
): Response<string[]>;
|
|
189
284
|
|
|
190
285
|
checkIgnore(path: string, callback?: types.SimpleGitTaskCallback<string[]>): Response<string[]>;
|
|
191
286
|
|
|
@@ -199,7 +294,10 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
199
294
|
* - `tree` (default value when omitted) to simply validate that the working
|
|
200
295
|
* directory is the descendent of a repo
|
|
201
296
|
*/
|
|
202
|
-
checkIsRepo(
|
|
297
|
+
checkIsRepo(
|
|
298
|
+
action?: types.CheckRepoActions,
|
|
299
|
+
callback?: types.SimpleGitTaskCallback<boolean>
|
|
300
|
+
): Response<boolean>;
|
|
203
301
|
|
|
204
302
|
checkIsRepo(callback?: types.SimpleGitTaskCallback<boolean>): Response<boolean>;
|
|
205
303
|
|
|
@@ -207,29 +305,60 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
207
305
|
* Checkout a tag or revision, any number of additional arguments can be passed to the `git checkout` command
|
|
208
306
|
* by supplying either a string or array of strings as the `what` parameter.
|
|
209
307
|
*/
|
|
210
|
-
checkout(
|
|
308
|
+
checkout(
|
|
309
|
+
what: string,
|
|
310
|
+
options?: types.TaskOptions,
|
|
311
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
312
|
+
): Response<string>;
|
|
211
313
|
|
|
212
314
|
checkout(what: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
213
315
|
|
|
214
|
-
checkout(
|
|
316
|
+
checkout(
|
|
317
|
+
options?: types.TaskOptions,
|
|
318
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
319
|
+
): Response<string>;
|
|
215
320
|
|
|
216
321
|
/**
|
|
217
|
-
* Checkout a remote branch
|
|
322
|
+
* Checkout a remote branch - equivalent to `git checkout -b ${branchName} ${startPoint}`
|
|
218
323
|
*
|
|
219
324
|
* - branchName name of branch.
|
|
220
325
|
* - startPoint (e.g origin/development).
|
|
221
326
|
*/
|
|
222
|
-
checkoutBranch(
|
|
327
|
+
checkoutBranch(
|
|
328
|
+
branchName: string,
|
|
329
|
+
startPoint: string,
|
|
330
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
331
|
+
): Response<void>;
|
|
332
|
+
|
|
333
|
+
checkoutBranch(
|
|
334
|
+
branchName: string,
|
|
335
|
+
startPoint: string,
|
|
336
|
+
options?: types.TaskOptions,
|
|
337
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
338
|
+
): Response<void>;
|
|
223
339
|
|
|
224
340
|
/**
|
|
225
341
|
* Internally uses pull and tags to get the list of tags then checks out the latest tag.
|
|
226
342
|
*/
|
|
227
|
-
checkoutLatestTag(
|
|
343
|
+
checkoutLatestTag(
|
|
344
|
+
branchName: string,
|
|
345
|
+
startPoint: string,
|
|
346
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
347
|
+
): Response<void>;
|
|
228
348
|
|
|
229
349
|
/**
|
|
230
|
-
* Checkout a local branch
|
|
350
|
+
* Checkout a local branch - equivalent to `git checkout -b ${branchName}`
|
|
231
351
|
*/
|
|
232
|
-
checkoutLocalBranch(
|
|
352
|
+
checkoutLocalBranch(
|
|
353
|
+
branchName: string,
|
|
354
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
355
|
+
): Response<void>;
|
|
356
|
+
|
|
357
|
+
checkoutLocalBranch(
|
|
358
|
+
branchName: string,
|
|
359
|
+
options?: types.TaskOptions,
|
|
360
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
361
|
+
): Response<void>;
|
|
233
362
|
|
|
234
363
|
/**
|
|
235
364
|
* Deletes unwanted content from the local repo - when supplying the first argument as
|
|
@@ -245,11 +374,22 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
245
374
|
await git.clean(CleanOptions.IGNORED + CleanOptions.FORCE, {'./path': null});
|
|
246
375
|
* ```
|
|
247
376
|
*/
|
|
248
|
-
clean(
|
|
377
|
+
clean(
|
|
378
|
+
args: types.CleanOptions[],
|
|
379
|
+
options?: types.TaskOptions,
|
|
380
|
+
callback?: types.SimpleGitTaskCallback<resp.CleanSummary>
|
|
381
|
+
): Response<resp.CleanSummary>;
|
|
249
382
|
|
|
250
|
-
clean(
|
|
383
|
+
clean(
|
|
384
|
+
mode: types.CleanMode | string,
|
|
385
|
+
options?: types.TaskOptions,
|
|
386
|
+
callback?: types.SimpleGitTaskCallback<resp.CleanSummary>
|
|
387
|
+
): Response<resp.CleanSummary>;
|
|
251
388
|
|
|
252
|
-
clean(
|
|
389
|
+
clean(
|
|
390
|
+
mode: types.CleanMode | string,
|
|
391
|
+
callback?: types.SimpleGitTaskCallback<resp.CleanSummary>
|
|
392
|
+
): Response<resp.CleanSummary>;
|
|
253
393
|
|
|
254
394
|
clean(options?: types.TaskOptions): Response<resp.CleanSummary>;
|
|
255
395
|
|
|
@@ -267,9 +407,18 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
267
407
|
* - localPath local folder path to clone to.
|
|
268
408
|
* - options supported by [git](https://git-scm.com/docs/git-clone).
|
|
269
409
|
*/
|
|
270
|
-
clone(
|
|
410
|
+
clone(
|
|
411
|
+
repoPath: string,
|
|
412
|
+
localPath: string,
|
|
413
|
+
options?: types.TaskOptions,
|
|
414
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
415
|
+
): Response<string>;
|
|
271
416
|
|
|
272
|
-
clone(
|
|
417
|
+
clone(
|
|
418
|
+
repoPath: string,
|
|
419
|
+
options?: types.TaskOptions,
|
|
420
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
421
|
+
): Response<string>;
|
|
273
422
|
|
|
274
423
|
/**
|
|
275
424
|
* Commits changes in the current working directory - when specific file paths are supplied, only changes on those
|
|
@@ -279,27 +428,38 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
279
428
|
message: string | string[],
|
|
280
429
|
files?: string | string[],
|
|
281
430
|
options?: types.Options,
|
|
282
|
-
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
431
|
+
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
432
|
+
): Response<resp.CommitResult>;
|
|
283
433
|
|
|
284
434
|
commit(
|
|
285
435
|
message: string | string[],
|
|
286
436
|
options?: types.TaskOptions,
|
|
287
|
-
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
437
|
+
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
438
|
+
): Response<resp.CommitResult>;
|
|
288
439
|
|
|
289
440
|
commit(
|
|
290
441
|
message: string | string[],
|
|
291
442
|
files?: string | string[],
|
|
292
|
-
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
443
|
+
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
444
|
+
): Response<resp.CommitResult>;
|
|
293
445
|
|
|
294
446
|
commit(
|
|
295
447
|
message: string | string[],
|
|
296
|
-
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
448
|
+
callback?: types.SimpleGitTaskCallback<resp.CommitResult>
|
|
449
|
+
): Response<resp.CommitResult>;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Retrieves `git` disk usage information, see https://git-scm.com/docs/git-count-objects
|
|
453
|
+
*/
|
|
454
|
+
countObjects(
|
|
455
|
+
callback?: types.SimpleGitTaskCallback<types.VersionResult>
|
|
456
|
+
): Response<types.CountObjectsResult>;
|
|
297
457
|
|
|
298
458
|
/**
|
|
299
459
|
* Sets the path to a custom git binary, should either be `git` when there is an installation of git available on
|
|
300
460
|
* the system path, or a fully qualified path to the executable.
|
|
301
461
|
*/
|
|
302
|
-
customBinary(command:
|
|
462
|
+
customBinary(command: Exclude<types.SimpleGitOptions['binary'], undefined>): this;
|
|
303
463
|
|
|
304
464
|
/**
|
|
305
465
|
* Delete one local branch. Supply the branchName as a string to return a
|
|
@@ -308,9 +468,16 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
308
468
|
* - branchName name of branch
|
|
309
469
|
* - forceDelete (optional, defaults to false) set to true to forcibly delete unmerged branches
|
|
310
470
|
*/
|
|
311
|
-
deleteLocalBranch(
|
|
471
|
+
deleteLocalBranch(
|
|
472
|
+
branchName: string,
|
|
473
|
+
forceDelete?: boolean,
|
|
474
|
+
callback?: types.SimpleGitTaskCallback<resp.BranchSingleDeleteResult>
|
|
475
|
+
): Response<resp.BranchSingleDeleteResult>;
|
|
312
476
|
|
|
313
|
-
deleteLocalBranch(
|
|
477
|
+
deleteLocalBranch(
|
|
478
|
+
branchName: string,
|
|
479
|
+
callback?: types.SimpleGitTaskCallback<resp.BranchSingleDeleteResult>
|
|
480
|
+
): Response<resp.BranchSingleDeleteResult>;
|
|
314
481
|
|
|
315
482
|
/**
|
|
316
483
|
* Delete one or more local branches. Supply the branchName as a string to return a
|
|
@@ -320,23 +487,40 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
320
487
|
* - branchNames name of branch or array of branch names
|
|
321
488
|
* - forceDelete (optional, defaults to false) set to true to forcibly delete unmerged branches
|
|
322
489
|
*/
|
|
323
|
-
deleteLocalBranches(
|
|
490
|
+
deleteLocalBranches(
|
|
491
|
+
branchNames: string[],
|
|
492
|
+
forceDelete?: boolean,
|
|
493
|
+
callback?: types.SimpleGitTaskCallback<resp.BranchMultiDeleteResult>
|
|
494
|
+
): Response<resp.BranchMultiDeleteResult>;
|
|
324
495
|
|
|
325
496
|
/**
|
|
326
497
|
* Get the diff of the current repo compared to the last commit with a set of options supplied as a string.
|
|
327
498
|
*/
|
|
328
|
-
diff(
|
|
499
|
+
diff(
|
|
500
|
+
options?: types.TaskOptions,
|
|
501
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
502
|
+
): Response<string>;
|
|
329
503
|
|
|
330
504
|
/**
|
|
331
505
|
* Gets a summary of the diff for files in the repo, uses the `git diff --stat` format to calculate changes.
|
|
332
506
|
*
|
|
333
507
|
* in order to get staged (only): `--cached` or `--staged`.
|
|
334
508
|
*/
|
|
335
|
-
diffSummary(
|
|
509
|
+
diffSummary(
|
|
510
|
+
command: string | number,
|
|
511
|
+
options: types.TaskOptions,
|
|
512
|
+
callback?: types.SimpleGitTaskCallback<resp.DiffResult>
|
|
513
|
+
): Response<resp.DiffResult>;
|
|
336
514
|
|
|
337
|
-
diffSummary(
|
|
515
|
+
diffSummary(
|
|
516
|
+
command: string | number,
|
|
517
|
+
callback?: types.SimpleGitTaskCallback<resp.DiffResult>
|
|
518
|
+
): Response<resp.DiffResult>;
|
|
338
519
|
|
|
339
|
-
diffSummary(
|
|
520
|
+
diffSummary(
|
|
521
|
+
options: types.TaskOptions,
|
|
522
|
+
callback?: types.SimpleGitTaskCallback<resp.DiffResult>
|
|
523
|
+
): Response<resp.DiffResult>;
|
|
340
524
|
|
|
341
525
|
diffSummary(callback?: types.SimpleGitTaskCallback<resp.DiffResult>): Response<resp.DiffResult>;
|
|
342
526
|
|
|
@@ -353,52 +537,95 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
353
537
|
|
|
354
538
|
/**
|
|
355
539
|
* Calls the supplied `handle` function at the next step in the chain, used to run arbitrary functions synchronously
|
|
356
|
-
* before the next task in the git
|
|
540
|
+
* before the next task in the git API.
|
|
357
541
|
*/
|
|
358
542
|
exec(handle: () => void): Response<void>;
|
|
359
543
|
|
|
360
544
|
/**
|
|
361
545
|
* Updates the local working copy database with changes from the default remote repo and branch.
|
|
362
546
|
*/
|
|
363
|
-
fetch(
|
|
547
|
+
fetch(
|
|
548
|
+
remote: string,
|
|
549
|
+
branch: string,
|
|
550
|
+
options?: types.TaskOptions,
|
|
551
|
+
callback?: types.SimpleGitTaskCallback<resp.FetchResult>
|
|
552
|
+
): Response<resp.FetchResult>;
|
|
364
553
|
|
|
365
|
-
fetch(
|
|
554
|
+
fetch(
|
|
555
|
+
remote: string,
|
|
556
|
+
branch: string,
|
|
557
|
+
callback?: types.SimpleGitTaskCallback<resp.FetchResult>
|
|
558
|
+
): Response<resp.FetchResult>;
|
|
366
559
|
|
|
367
|
-
fetch(
|
|
560
|
+
fetch(
|
|
561
|
+
remote: string,
|
|
562
|
+
options?: types.TaskOptions,
|
|
563
|
+
callback?: types.SimpleGitTaskCallback<resp.FetchResult>
|
|
564
|
+
): Response<resp.FetchResult>;
|
|
368
565
|
|
|
369
|
-
fetch(
|
|
566
|
+
fetch(
|
|
567
|
+
options?: types.TaskOptions,
|
|
568
|
+
callback?: types.SimpleGitTaskCallback<resp.FetchResult>
|
|
569
|
+
): Response<resp.FetchResult>;
|
|
370
570
|
|
|
371
571
|
fetch(callback?: types.SimpleGitTaskCallback<resp.FetchResult>): Response<resp.FetchResult>;
|
|
372
572
|
|
|
573
|
+
/**
|
|
574
|
+
* Gets the commit hash of the first commit in the repo
|
|
575
|
+
*/
|
|
576
|
+
firstCommit(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
577
|
+
|
|
373
578
|
/**
|
|
374
579
|
* Gets the current value of a configuration property by it key, optionally specify the scope in which
|
|
375
580
|
* to run the command (omit / set to `undefined` to check in the complete overlaid configuration visible
|
|
376
581
|
* to the `git` process).
|
|
377
582
|
*/
|
|
378
|
-
getConfig(
|
|
583
|
+
getConfig(
|
|
584
|
+
key: string,
|
|
585
|
+
scope?: keyof typeof types.GitConfigScope,
|
|
586
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
587
|
+
): Response<resp.ConfigGetResult>;
|
|
379
588
|
|
|
380
589
|
/**
|
|
381
590
|
* Gets the currently available remotes, setting the optional verbose argument to true includes additional
|
|
382
591
|
* detail on the remotes themselves.
|
|
383
592
|
*/
|
|
384
|
-
getRemotes(
|
|
593
|
+
getRemotes(
|
|
594
|
+
callback?: types.SimpleGitTaskCallback<types.RemoteWithoutRefs[]>
|
|
595
|
+
): Response<types.RemoteWithoutRefs[]>;
|
|
385
596
|
|
|
386
|
-
getRemotes(
|
|
597
|
+
getRemotes(
|
|
598
|
+
verbose?: false,
|
|
599
|
+
callback?: types.SimpleGitTaskCallback<types.RemoteWithoutRefs[]>
|
|
600
|
+
): Response<types.RemoteWithoutRefs[]>;
|
|
387
601
|
|
|
388
|
-
getRemotes(
|
|
602
|
+
getRemotes(
|
|
603
|
+
verbose: true,
|
|
604
|
+
callback?: types.SimpleGitTaskCallback<types.RemoteWithRefs[]>
|
|
605
|
+
): Response<types.RemoteWithRefs[]>;
|
|
389
606
|
|
|
390
607
|
/**
|
|
391
608
|
* Search for files matching the supplied search terms
|
|
392
609
|
*/
|
|
393
|
-
grep(
|
|
610
|
+
grep(
|
|
611
|
+
searchTerm: string | types.GitGrepQuery,
|
|
612
|
+
callback?: types.SimpleGitTaskCallback<resp.GrepResult>
|
|
613
|
+
): Response<resp.GrepResult>;
|
|
394
614
|
|
|
395
|
-
grep(
|
|
615
|
+
grep(
|
|
616
|
+
searchTerm: string | types.GitGrepQuery,
|
|
617
|
+
options?: types.TaskOptions,
|
|
618
|
+
callback?: types.SimpleGitTaskCallback<resp.GrepResult>
|
|
619
|
+
): Response<resp.GrepResult>;
|
|
396
620
|
|
|
397
621
|
/**
|
|
398
622
|
* List remotes by running the `ls-remote` command with any number of arbitrary options
|
|
399
623
|
* in either array of object form.
|
|
400
624
|
*/
|
|
401
|
-
listRemote(
|
|
625
|
+
listRemote(
|
|
626
|
+
args?: types.TaskOptions,
|
|
627
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
628
|
+
): Response<string>;
|
|
402
629
|
|
|
403
630
|
/**
|
|
404
631
|
* Show commit logs from `HEAD` to the first commit.
|
|
@@ -424,7 +651,10 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
424
651
|
*
|
|
425
652
|
* @see https://git-scm.com/docs/git-log
|
|
426
653
|
*/
|
|
427
|
-
log<T = types.DefaultLogFields>(
|
|
654
|
+
log<T = types.DefaultLogFields>(
|
|
655
|
+
options?: types.TaskOptions | types.LogOptions<T>,
|
|
656
|
+
callback?: types.SimpleGitTaskCallback<resp.LogResult<T>>
|
|
657
|
+
): Response<resp.LogResult<T>>;
|
|
428
658
|
|
|
429
659
|
/**
|
|
430
660
|
* Mirror a git repo
|
|
@@ -432,21 +662,38 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
432
662
|
* Equivalent to `git.clone(repoPath, localPath, ['--mirror'])`, `clone` allows
|
|
433
663
|
* for additional task options.
|
|
434
664
|
*/
|
|
435
|
-
mirror(
|
|
665
|
+
mirror(
|
|
666
|
+
repoPath: string,
|
|
667
|
+
localPath: string,
|
|
668
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
669
|
+
): Response<string>;
|
|
436
670
|
|
|
437
671
|
/**
|
|
438
672
|
* Moves one or more files to a new destination.
|
|
439
673
|
*
|
|
440
674
|
* @see https://git-scm.com/docs/git-mv
|
|
441
675
|
*/
|
|
442
|
-
mv(
|
|
676
|
+
mv(
|
|
677
|
+
from: string | string[],
|
|
678
|
+
to: string,
|
|
679
|
+
callback?: types.SimpleGitTaskCallback<resp.MoveSummary>
|
|
680
|
+
): Response<resp.MoveSummary>;
|
|
443
681
|
|
|
444
682
|
/**
|
|
445
|
-
* Fetch from and integrate with another repository or a local branch.
|
|
683
|
+
* Fetch from and integrate with another repository or a local branch. In the case that the `git pull` fails with a
|
|
684
|
+
* recognised fatal error, the exception thrown by this function will be a `GitResponseError<PullFailedResult>`.
|
|
446
685
|
*/
|
|
447
|
-
pull(
|
|
686
|
+
pull(
|
|
687
|
+
remote?: string,
|
|
688
|
+
branch?: string,
|
|
689
|
+
options?: types.TaskOptions,
|
|
690
|
+
callback?: types.SimpleGitTaskCallback<resp.PullResult>
|
|
691
|
+
): Response<resp.PullResult>;
|
|
448
692
|
|
|
449
|
-
pull(
|
|
693
|
+
pull(
|
|
694
|
+
options?: types.TaskOptions,
|
|
695
|
+
callback?: types.SimpleGitTaskCallback<resp.PullResult>
|
|
696
|
+
): Response<resp.PullResult>;
|
|
450
697
|
|
|
451
698
|
pull(callback?: types.SimpleGitTaskCallback<resp.PullResult>): Response<resp.PullResult>;
|
|
452
699
|
|
|
@@ -454,55 +701,122 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
454
701
|
* Pushes the current tag changes to a remote which can be either a URL or named remote. When not specified uses the
|
|
455
702
|
* default configured remote spec.
|
|
456
703
|
*/
|
|
457
|
-
pushTags(
|
|
704
|
+
pushTags(
|
|
705
|
+
remote: string,
|
|
706
|
+
options?: types.TaskOptions,
|
|
707
|
+
callback?: types.SimpleGitTaskCallback<resp.PushResult>
|
|
708
|
+
): Response<resp.PushResult>;
|
|
458
709
|
|
|
459
|
-
pushTags(
|
|
710
|
+
pushTags(
|
|
711
|
+
options?: types.TaskOptions,
|
|
712
|
+
callback?: types.SimpleGitTaskCallback<resp.PushResult>
|
|
713
|
+
): Response<resp.PushResult>;
|
|
460
714
|
|
|
461
715
|
pushTags(callback?: types.SimpleGitTaskCallback<resp.PushResult>): Response<resp.PushResult>;
|
|
462
716
|
|
|
463
717
|
/**
|
|
464
718
|
* Executes any command against the git binary.
|
|
465
719
|
*/
|
|
466
|
-
raw(
|
|
720
|
+
raw(
|
|
721
|
+
commands: string | string[] | types.TaskOptions,
|
|
722
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
723
|
+
): Response<string>;
|
|
467
724
|
|
|
468
|
-
raw(
|
|
725
|
+
raw(
|
|
726
|
+
options: types.TaskOptions,
|
|
727
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
728
|
+
): Response<string>;
|
|
469
729
|
|
|
470
730
|
raw(...commands: string[]): Response<string>;
|
|
471
731
|
|
|
472
732
|
// leading varargs with trailing options/callback
|
|
473
|
-
raw(
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
raw(
|
|
480
|
-
|
|
481
|
-
|
|
733
|
+
raw(
|
|
734
|
+
a: string,
|
|
735
|
+
options: types.TaskOptions,
|
|
736
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
737
|
+
): Response<string>;
|
|
738
|
+
|
|
739
|
+
raw(
|
|
740
|
+
a: string,
|
|
741
|
+
b: string,
|
|
742
|
+
options: types.TaskOptions,
|
|
743
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
744
|
+
): Response<string>;
|
|
745
|
+
|
|
746
|
+
raw(
|
|
747
|
+
a: string,
|
|
748
|
+
b: string,
|
|
749
|
+
c: string,
|
|
750
|
+
options: types.TaskOptions,
|
|
751
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
752
|
+
): Response<string>;
|
|
753
|
+
|
|
754
|
+
raw(
|
|
755
|
+
a: string,
|
|
756
|
+
b: string,
|
|
757
|
+
c: string,
|
|
758
|
+
d: string,
|
|
759
|
+
options: types.TaskOptions,
|
|
760
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
761
|
+
): Response<string>;
|
|
762
|
+
|
|
763
|
+
raw(
|
|
764
|
+
a: string,
|
|
765
|
+
b: string,
|
|
766
|
+
c: string,
|
|
767
|
+
d: string,
|
|
768
|
+
e: string,
|
|
769
|
+
options: types.TaskOptions,
|
|
770
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
771
|
+
): Response<string>;
|
|
482
772
|
|
|
483
773
|
// leading varargs with trailing callback
|
|
484
774
|
raw(a: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
485
775
|
|
|
486
776
|
raw(a: string, b: string, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
487
777
|
|
|
488
|
-
raw(
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
778
|
+
raw(
|
|
779
|
+
a: string,
|
|
780
|
+
b: string,
|
|
781
|
+
c: string,
|
|
782
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
783
|
+
): Response<string>;
|
|
784
|
+
|
|
785
|
+
raw(
|
|
786
|
+
a: string,
|
|
787
|
+
b: string,
|
|
788
|
+
c: string,
|
|
789
|
+
d: string,
|
|
790
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
791
|
+
): Response<string>;
|
|
792
|
+
|
|
793
|
+
raw(
|
|
794
|
+
a: string,
|
|
795
|
+
b: string,
|
|
796
|
+
c: string,
|
|
797
|
+
d: string,
|
|
798
|
+
e: string,
|
|
799
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
800
|
+
): Response<string>;
|
|
493
801
|
|
|
494
802
|
/**
|
|
495
803
|
* Rebases the current working copy. Options can be supplied either as an array of string parameters
|
|
496
804
|
* to be sent to the `git rebase` command, or a standard options object.
|
|
497
805
|
*/
|
|
498
|
-
rebase(
|
|
806
|
+
rebase(
|
|
807
|
+
options?: types.TaskOptions,
|
|
808
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
809
|
+
): Response<string>;
|
|
499
810
|
|
|
500
811
|
rebase(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
501
812
|
|
|
502
813
|
/**
|
|
503
814
|
* Call any `git remote` function with arguments passed as an array of strings.
|
|
504
815
|
*/
|
|
505
|
-
remote(
|
|
816
|
+
remote(
|
|
817
|
+
options: string[],
|
|
818
|
+
callback?: types.SimpleGitTaskCallback<void | string>
|
|
819
|
+
): Response<void | string>;
|
|
506
820
|
|
|
507
821
|
/**
|
|
508
822
|
* Removes an entry from the list of remotes.
|
|
@@ -528,18 +842,29 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
528
842
|
simpleGit().reset({'--hard': null, '--': null, 'my-file.txt': null});
|
|
529
843
|
```
|
|
530
844
|
*/
|
|
531
|
-
reset(
|
|
845
|
+
reset(
|
|
846
|
+
mode: types.ResetMode,
|
|
847
|
+
options?: types.TaskOptions<types.ResetOptions>,
|
|
848
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
849
|
+
): Response<string>;
|
|
532
850
|
|
|
533
851
|
reset(mode: types.ResetMode, callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
534
852
|
|
|
535
|
-
reset(
|
|
853
|
+
reset(
|
|
854
|
+
options?: types.TaskOptions<types.ResetOptions>,
|
|
855
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
856
|
+
): Response<string>;
|
|
536
857
|
|
|
537
858
|
/**
|
|
538
859
|
* Revert one or more commits in the local working copy
|
|
539
860
|
*
|
|
540
861
|
* - commit The commit to revert. Can be any hash, offset (eg: `HEAD~2`) or range (eg: `master~5..master~2`)
|
|
541
862
|
*/
|
|
542
|
-
revert(
|
|
863
|
+
revert(
|
|
864
|
+
commit: String,
|
|
865
|
+
options?: types.TaskOptions,
|
|
866
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
867
|
+
): Response<void>;
|
|
543
868
|
|
|
544
869
|
revert(commit: String, callback?: types.SimpleGitTaskCallback<void>): Response<void>;
|
|
545
870
|
|
|
@@ -551,9 +876,16 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
551
876
|
* and retrieving meta details about the current repo (eg: the root directory, and whether it was created as
|
|
552
877
|
* a bare repo).
|
|
553
878
|
*/
|
|
554
|
-
revparse(
|
|
879
|
+
revparse(
|
|
880
|
+
option: string,
|
|
881
|
+
options?: types.TaskOptions,
|
|
882
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
883
|
+
): Response<string>;
|
|
555
884
|
|
|
556
|
-
revparse(
|
|
885
|
+
revparse(
|
|
886
|
+
options?: types.TaskOptions,
|
|
887
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
888
|
+
): Response<string>;
|
|
557
889
|
|
|
558
890
|
/**
|
|
559
891
|
* Removes the named files from source control.
|
|
@@ -564,15 +896,23 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
564
896
|
* Removes the named files from source control but keeps them on disk rather than deleting them entirely. To
|
|
565
897
|
* completely remove the files, use `rm`.
|
|
566
898
|
*/
|
|
567
|
-
rmKeepLocal(
|
|
899
|
+
rmKeepLocal(
|
|
900
|
+
paths: string | string[],
|
|
901
|
+
callback?: types.SimpleGitTaskCallback<void>
|
|
902
|
+
): Response<void>;
|
|
568
903
|
|
|
569
904
|
/**
|
|
570
905
|
* Show various types of objects, for example the file at a certain commit
|
|
571
906
|
*/
|
|
572
|
-
show(
|
|
907
|
+
show(
|
|
908
|
+
option: string | types.TaskOptions,
|
|
909
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
910
|
+
): Response<string>;
|
|
573
911
|
|
|
574
912
|
show(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
575
913
|
|
|
914
|
+
showBuffer(option: string | types.TaskOptions): Response<Buffer>;
|
|
915
|
+
|
|
576
916
|
/**
|
|
577
917
|
* @deprecated
|
|
578
918
|
*
|
|
@@ -591,39 +931,69 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
591
931
|
/**
|
|
592
932
|
* List the stash(s) of the local repo
|
|
593
933
|
*/
|
|
594
|
-
stashList(
|
|
934
|
+
stashList(
|
|
935
|
+
options?: types.TaskOptions,
|
|
936
|
+
callback?: types.SimpleGitTaskCallback<resp.LogResult>
|
|
937
|
+
): Response<resp.LogResult>;
|
|
595
938
|
|
|
596
939
|
stashList(callback?: types.SimpleGitTaskCallback<resp.LogResult>): Response<resp.LogResult>;
|
|
597
940
|
|
|
598
941
|
/**
|
|
599
942
|
* Call any `git submodule` function with arguments passed as an array of strings.
|
|
600
943
|
*/
|
|
601
|
-
subModule(
|
|
944
|
+
subModule(
|
|
945
|
+
options?: types.TaskOptions,
|
|
946
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
947
|
+
): Response<string>;
|
|
602
948
|
|
|
603
949
|
/**
|
|
604
950
|
* Add a submodule
|
|
605
951
|
*/
|
|
606
|
-
submoduleAdd(
|
|
952
|
+
submoduleAdd(
|
|
953
|
+
repo: string,
|
|
954
|
+
path: string,
|
|
955
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
956
|
+
): Response<string>;
|
|
607
957
|
|
|
608
958
|
/**
|
|
609
959
|
* Initialise submodules
|
|
610
960
|
*/
|
|
611
|
-
submoduleInit(
|
|
961
|
+
submoduleInit(
|
|
962
|
+
moduleName: string,
|
|
963
|
+
options?: types.TaskOptions,
|
|
964
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
965
|
+
): Response<string>;
|
|
612
966
|
|
|
613
|
-
submoduleInit(
|
|
967
|
+
submoduleInit(
|
|
968
|
+
moduleName: string,
|
|
969
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
970
|
+
): Response<string>;
|
|
614
971
|
|
|
615
|
-
submoduleInit(
|
|
972
|
+
submoduleInit(
|
|
973
|
+
options?: types.TaskOptions,
|
|
974
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
975
|
+
): Response<string>;
|
|
616
976
|
|
|
617
977
|
submoduleInit(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
618
978
|
|
|
619
979
|
/**
|
|
620
980
|
* Update submodules
|
|
621
981
|
*/
|
|
622
|
-
submoduleUpdate(
|
|
982
|
+
submoduleUpdate(
|
|
983
|
+
moduleName: string,
|
|
984
|
+
options?: types.TaskOptions,
|
|
985
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
986
|
+
): Response<string>;
|
|
623
987
|
|
|
624
|
-
submoduleUpdate(
|
|
988
|
+
submoduleUpdate(
|
|
989
|
+
moduleName: string,
|
|
990
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
991
|
+
): Response<string>;
|
|
625
992
|
|
|
626
|
-
submoduleUpdate(
|
|
993
|
+
submoduleUpdate(
|
|
994
|
+
options?: types.TaskOptions,
|
|
995
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
996
|
+
): Response<string>;
|
|
627
997
|
|
|
628
998
|
submoduleUpdate(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
629
999
|
|
|
@@ -633,12 +1003,18 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
633
1003
|
*
|
|
634
1004
|
* Note, supplying this option when it is not supported by your Git version will cause the operation to fail.
|
|
635
1005
|
*/
|
|
636
|
-
tag(
|
|
1006
|
+
tag(
|
|
1007
|
+
options?: types.TaskOptions,
|
|
1008
|
+
callback?: types.SimpleGitTaskCallback<string>
|
|
1009
|
+
): Response<string>;
|
|
637
1010
|
|
|
638
1011
|
/**
|
|
639
1012
|
* Gets a list of tagged versions.
|
|
640
1013
|
*/
|
|
641
|
-
tags(
|
|
1014
|
+
tags(
|
|
1015
|
+
options?: types.TaskOptions,
|
|
1016
|
+
callback?: types.SimpleGitTaskCallback<resp.TagResult>
|
|
1017
|
+
): Response<resp.TagResult>;
|
|
642
1018
|
|
|
643
1019
|
tags(callback?: types.SimpleGitTaskCallback<resp.TagResult>): Response<resp.TagResult>;
|
|
644
1020
|
|
|
@@ -646,4 +1022,11 @@ export interface SimpleGit extends SimpleGitBase {
|
|
|
646
1022
|
* Updates repository server info
|
|
647
1023
|
*/
|
|
648
1024
|
updateServerInfo(callback?: types.SimpleGitTaskCallback<string>): Response<string>;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Retrieves `git` version information, including whether `git` is installed on the `PATH`
|
|
1028
|
+
*/
|
|
1029
|
+
version(
|
|
1030
|
+
callback?: types.SimpleGitTaskCallback<types.VersionResult>
|
|
1031
|
+
): Response<types.VersionResult>;
|
|
649
1032
|
}
|