@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
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.initTask = void 0;
|
|
4
|
-
const InitSummary_1 = require("../responses/InitSummary");
|
|
5
|
-
const bareCommand = '--bare';
|
|
6
|
-
function hasBareCommand(command) {
|
|
7
|
-
return command.includes(bareCommand);
|
|
8
|
-
}
|
|
9
|
-
function initTask(bare = false, path, customArgs) {
|
|
10
|
-
const commands = ['init', ...customArgs];
|
|
11
|
-
if (bare && !hasBareCommand(commands)) {
|
|
12
|
-
commands.splice(1, 0, bareCommand);
|
|
13
|
-
}
|
|
14
|
-
return {
|
|
15
|
-
commands,
|
|
16
|
-
format: 'utf-8',
|
|
17
|
-
parser(text) {
|
|
18
|
-
return InitSummary_1.parseInit(commands.includes('--bare'), path, text);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
exports.initTask = initTask;
|
|
23
|
-
//# sourceMappingURL=init.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["init.ts"],"names":[],"mappings":";;;AACA,0DAAqD;AAGrD,MAAM,WAAW,GAAG,QAAQ,CAAC;AAE7B,SAAS,cAAc,CAAC,OAAiB;IACtC,OAAO,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AACxC,CAAC;AAED,SAAgB,QAAQ,CAAC,IAAI,GAAG,KAAK,EAAE,IAAY,EAAE,UAAoB;IACtE,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC;IACzC,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;QACpC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;KACrC;IAED,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,CAAC,IAAY;YAChB,OAAO,uBAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC7D,CAAC;KACH,CAAA;AACJ,CAAC;AAbD,4BAaC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.logTask = exports.parseLogOptions = void 0;
|
|
4
|
-
const parse_list_log_summary_1 = require("../parsers/parse-list-log-summary");
|
|
5
|
-
const utils_1 = require("../utils");
|
|
6
|
-
const task_1 = require("./task");
|
|
7
|
-
var excludeOptions;
|
|
8
|
-
(function (excludeOptions) {
|
|
9
|
-
excludeOptions[excludeOptions["--pretty"] = 0] = "--pretty";
|
|
10
|
-
excludeOptions[excludeOptions["max-count"] = 1] = "max-count";
|
|
11
|
-
excludeOptions[excludeOptions["maxCount"] = 2] = "maxCount";
|
|
12
|
-
excludeOptions[excludeOptions["n"] = 3] = "n";
|
|
13
|
-
excludeOptions[excludeOptions["file"] = 4] = "file";
|
|
14
|
-
excludeOptions[excludeOptions["format"] = 5] = "format";
|
|
15
|
-
excludeOptions[excludeOptions["from"] = 6] = "from";
|
|
16
|
-
excludeOptions[excludeOptions["to"] = 7] = "to";
|
|
17
|
-
excludeOptions[excludeOptions["splitter"] = 8] = "splitter";
|
|
18
|
-
excludeOptions[excludeOptions["symmetric"] = 9] = "symmetric";
|
|
19
|
-
excludeOptions[excludeOptions["mailMap"] = 10] = "mailMap";
|
|
20
|
-
excludeOptions[excludeOptions["multiLine"] = 11] = "multiLine";
|
|
21
|
-
excludeOptions[excludeOptions["strictDate"] = 12] = "strictDate";
|
|
22
|
-
})(excludeOptions || (excludeOptions = {}));
|
|
23
|
-
function prettyFormat(format, splitter) {
|
|
24
|
-
const fields = [];
|
|
25
|
-
const formatStr = [];
|
|
26
|
-
Object.keys(format).forEach((field) => {
|
|
27
|
-
fields.push(field);
|
|
28
|
-
formatStr.push(String(format[field]));
|
|
29
|
-
});
|
|
30
|
-
return [
|
|
31
|
-
fields, formatStr.join(splitter)
|
|
32
|
-
];
|
|
33
|
-
}
|
|
34
|
-
function userOptions(input) {
|
|
35
|
-
const output = Object.assign({}, input);
|
|
36
|
-
Object.keys(input).forEach(key => {
|
|
37
|
-
if (key in excludeOptions) {
|
|
38
|
-
delete output[key];
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
return output;
|
|
42
|
-
}
|
|
43
|
-
function parseLogOptions(opt = {}, customArgs = []) {
|
|
44
|
-
const splitter = opt.splitter || parse_list_log_summary_1.SPLITTER;
|
|
45
|
-
const format = opt.format || {
|
|
46
|
-
hash: '%H',
|
|
47
|
-
date: opt.strictDate === false ? '%ai' : '%aI',
|
|
48
|
-
message: '%s',
|
|
49
|
-
refs: '%D',
|
|
50
|
-
body: opt.multiLine ? '%B' : '%b',
|
|
51
|
-
author_name: opt.mailMap !== false ? '%aN' : '%an',
|
|
52
|
-
author_email: opt.mailMap !== false ? '%aE' : '%ae'
|
|
53
|
-
};
|
|
54
|
-
const [fields, formatStr] = prettyFormat(format, splitter);
|
|
55
|
-
const suffix = [];
|
|
56
|
-
const command = [
|
|
57
|
-
`--pretty=format:${parse_list_log_summary_1.START_BOUNDARY}${formatStr}${parse_list_log_summary_1.COMMIT_BOUNDARY}`,
|
|
58
|
-
...customArgs,
|
|
59
|
-
];
|
|
60
|
-
const maxCount = opt.n || opt['max-count'] || opt.maxCount;
|
|
61
|
-
if (maxCount) {
|
|
62
|
-
command.push(`--max-count=${maxCount}`);
|
|
63
|
-
}
|
|
64
|
-
if (opt.from && opt.to) {
|
|
65
|
-
const rangeOperator = (opt.symmetric !== false) ? '...' : '..';
|
|
66
|
-
suffix.push(`${opt.from}${rangeOperator}${opt.to}`);
|
|
67
|
-
}
|
|
68
|
-
if (opt.file) {
|
|
69
|
-
suffix.push('--follow', opt.file);
|
|
70
|
-
}
|
|
71
|
-
utils_1.appendTaskOptions(userOptions(opt), command);
|
|
72
|
-
return {
|
|
73
|
-
fields,
|
|
74
|
-
splitter,
|
|
75
|
-
commands: [
|
|
76
|
-
...command,
|
|
77
|
-
...suffix,
|
|
78
|
-
],
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
exports.parseLogOptions = parseLogOptions;
|
|
82
|
-
function logTask(splitter, fields, customArgs) {
|
|
83
|
-
return {
|
|
84
|
-
commands: ['log', ...customArgs],
|
|
85
|
-
format: 'utf-8',
|
|
86
|
-
parser: parse_list_log_summary_1.createListLogSummaryParser(splitter, fields),
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
exports.logTask = logTask;
|
|
90
|
-
function default_1() {
|
|
91
|
-
return {
|
|
92
|
-
log(...rest) {
|
|
93
|
-
const next = utils_1.trailingFunctionArgument(arguments);
|
|
94
|
-
const task = rejectDeprecatedSignatures(...rest) ||
|
|
95
|
-
createLogTask(parseLogOptions(utils_1.trailingOptionsArgument(arguments), utils_1.filterType(arguments[0], utils_1.filterArray)));
|
|
96
|
-
return this._runTask(task, next);
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
function createLogTask(options) {
|
|
100
|
-
return logTask(options.splitter, options.fields, options.commands);
|
|
101
|
-
}
|
|
102
|
-
function rejectDeprecatedSignatures(from, to) {
|
|
103
|
-
return (utils_1.filterString(from) &&
|
|
104
|
-
utils_1.filterString(to) &&
|
|
105
|
-
task_1.configurationErrorTask(`git.log(string, string) should be replaced with git.log({ from: string, to: string })`));
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
exports.default = default_1;
|
|
109
|
-
//# sourceMappingURL=log.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["log.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mergeTask = void 0;
|
|
4
|
-
const git_response_error_1 = require("../errors/git-response-error");
|
|
5
|
-
const parse_merge_1 = require("../parsers/parse-merge");
|
|
6
|
-
const task_1 = require("./task");
|
|
7
|
-
function mergeTask(customArgs) {
|
|
8
|
-
if (!customArgs.length) {
|
|
9
|
-
return task_1.configurationErrorTask('Git.merge requires at least one option');
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
commands: ['merge', ...customArgs],
|
|
13
|
-
format: 'utf-8',
|
|
14
|
-
parser(stdOut, stdErr) {
|
|
15
|
-
const merge = parse_merge_1.parseMergeResult(stdOut, stdErr);
|
|
16
|
-
if (merge.failed) {
|
|
17
|
-
throw new git_response_error_1.GitResponseError(merge);
|
|
18
|
-
}
|
|
19
|
-
return merge;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
exports.mergeTask = mergeTask;
|
|
24
|
-
//# sourceMappingURL=merge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["merge.ts"],"names":[],"mappings":";;;AACA,qEAAgE;AAChE,wDAA0D;AAE1D,iCAA2D;AAE3D,SAAgB,SAAS,CAAC,UAAoB;IAC3C,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE;QACrB,OAAO,6BAAsB,CAAC,wCAAwC,CAAC,CAAC;KAC1E;IAED,OAAO;QACJ,QAAQ,EAAE,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC;QAClC,MAAM,EAAE,OAAO;QACf,MAAM,CAAC,MAAM,EAAE,MAAM;YAClB,MAAM,KAAK,GAAG,8BAAgB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC/C,IAAI,KAAK,CAAC,MAAM,EAAE;gBACf,MAAM,IAAI,qCAAgB,CAAC,KAAK,CAAC,CAAC;aACpC;YAED,OAAO,KAAK,CAAC;QAChB,CAAC;KACH,CAAA;AACJ,CAAC;AAjBD,8BAiBC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.moveTask = void 0;
|
|
4
|
-
const parse_move_1 = require("../parsers/parse-move");
|
|
5
|
-
const utils_1 = require("../utils");
|
|
6
|
-
function moveTask(from, to) {
|
|
7
|
-
return {
|
|
8
|
-
commands: ['mv', '-v', ...utils_1.asArray(from), to],
|
|
9
|
-
format: 'utf-8',
|
|
10
|
-
parser: parse_move_1.parseMoveResult,
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
exports.moveTask = moveTask;
|
|
14
|
-
//# sourceMappingURL=move.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"move.js","sourceRoot":"","sources":["move.ts"],"names":[],"mappings":";;;AACA,sDAAwD;AAExD,oCAAmC;AAEnC,SAAgB,QAAQ,CAAC,IAAuB,EAAE,EAAU;IACzD,OAAO;QACJ,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,eAAO,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;QAC5C,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,4BAAe;KACzB,CAAC;AACL,CAAC;AAND,4BAMC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.pullTask = void 0;
|
|
4
|
-
const parse_pull_1 = require("../parsers/parse-pull");
|
|
5
|
-
function pullTask(remote, branch, customArgs) {
|
|
6
|
-
const commands = ['pull', ...customArgs];
|
|
7
|
-
if (remote && branch) {
|
|
8
|
-
commands.splice(1, 0, remote, branch);
|
|
9
|
-
}
|
|
10
|
-
return {
|
|
11
|
-
commands,
|
|
12
|
-
format: 'utf-8',
|
|
13
|
-
parser(stdOut, stdErr) {
|
|
14
|
-
return parse_pull_1.parsePullResult(stdOut, stdErr);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
exports.pullTask = pullTask;
|
|
19
|
-
//# sourceMappingURL=pull.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pull.js","sourceRoot":"","sources":["pull.ts"],"names":[],"mappings":";;;AACA,sDAAwD;AAGxD,SAAgB,QAAQ,CAAC,MAAqB,EAAE,MAAqB,EAAE,UAAoB;IACxF,MAAM,QAAQ,GAAa,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC;IACnD,IAAI,MAAM,IAAI,MAAM,EAAE;QACnB,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KACxC;IAED,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,CAAC,MAAM,EAAE,MAAM;YAClB,OAAO,4BAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC1C,CAAC;KACH,CAAA;AACJ,CAAC;AAbD,4BAaC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.pushTask = exports.pushTagsTask = void 0;
|
|
4
|
-
const parse_push_1 = require("../parsers/parse-push");
|
|
5
|
-
const utils_1 = require("../utils");
|
|
6
|
-
function pushTagsTask(ref = {}, customArgs) {
|
|
7
|
-
utils_1.append(customArgs, '--tags');
|
|
8
|
-
return pushTask(ref, customArgs);
|
|
9
|
-
}
|
|
10
|
-
exports.pushTagsTask = pushTagsTask;
|
|
11
|
-
function pushTask(ref = {}, customArgs) {
|
|
12
|
-
const commands = ['push', ...customArgs];
|
|
13
|
-
if (ref.branch) {
|
|
14
|
-
commands.splice(1, 0, ref.branch);
|
|
15
|
-
}
|
|
16
|
-
if (ref.remote) {
|
|
17
|
-
commands.splice(1, 0, ref.remote);
|
|
18
|
-
}
|
|
19
|
-
utils_1.remove(commands, '-v');
|
|
20
|
-
utils_1.append(commands, '--verbose');
|
|
21
|
-
utils_1.append(commands, '--porcelain');
|
|
22
|
-
return {
|
|
23
|
-
commands,
|
|
24
|
-
format: 'utf-8',
|
|
25
|
-
parser: parse_push_1.parsePushResult,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
exports.pushTask = pushTask;
|
|
29
|
-
//# sourceMappingURL=push.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"push.js","sourceRoot":"","sources":["push.ts"],"names":[],"mappings":";;;AACA,sDAAkE;AAElE,oCAA0C;AAI1C,SAAgB,YAAY,CAAC,MAAe,EAAE,EAAE,UAAoB;IACjE,cAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC7B,OAAO,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AACpC,CAAC;AAHD,oCAGC;AAED,SAAgB,QAAQ,CAAC,MAAe,EAAE,EAAE,UAAoB;IAC7D,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC;IACzC,IAAI,GAAG,CAAC,MAAM,EAAE;QACb,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;KACpC;IACD,IAAI,GAAG,CAAC,MAAM,EAAE;QACb,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;KACpC;IAED,cAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACvB,cAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IAC9B,cAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;IAEhC,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,EAAN,4BAAM;KACR,CAAC;AACL,CAAC;AAlBD,4BAkBC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.removeRemoteTask = exports.remoteTask = exports.listRemotesTask = exports.getRemotesTask = exports.addRemoteTask = void 0;
|
|
4
|
-
const GetRemoteSummary_1 = require("../responses/GetRemoteSummary");
|
|
5
|
-
const task_1 = require("./task");
|
|
6
|
-
function addRemoteTask(remoteName, remoteRepo, customArgs = []) {
|
|
7
|
-
return task_1.straightThroughStringTask(['remote', 'add', ...customArgs, remoteName, remoteRepo]);
|
|
8
|
-
}
|
|
9
|
-
exports.addRemoteTask = addRemoteTask;
|
|
10
|
-
function getRemotesTask(verbose) {
|
|
11
|
-
const commands = ['remote'];
|
|
12
|
-
if (verbose) {
|
|
13
|
-
commands.push('-v');
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
commands,
|
|
17
|
-
format: 'utf-8',
|
|
18
|
-
parser: verbose ? GetRemoteSummary_1.parseGetRemotesVerbose : GetRemoteSummary_1.parseGetRemotes,
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
exports.getRemotesTask = getRemotesTask;
|
|
22
|
-
function listRemotesTask(customArgs = []) {
|
|
23
|
-
const commands = [...customArgs];
|
|
24
|
-
if (commands[0] !== 'ls-remote') {
|
|
25
|
-
commands.unshift('ls-remote');
|
|
26
|
-
}
|
|
27
|
-
return task_1.straightThroughStringTask(commands);
|
|
28
|
-
}
|
|
29
|
-
exports.listRemotesTask = listRemotesTask;
|
|
30
|
-
function remoteTask(customArgs = []) {
|
|
31
|
-
const commands = [...customArgs];
|
|
32
|
-
if (commands[0] !== 'remote') {
|
|
33
|
-
commands.unshift('remote');
|
|
34
|
-
}
|
|
35
|
-
return task_1.straightThroughStringTask(commands);
|
|
36
|
-
}
|
|
37
|
-
exports.remoteTask = remoteTask;
|
|
38
|
-
function removeRemoteTask(remoteName) {
|
|
39
|
-
return task_1.straightThroughStringTask(['remote', 'remove', remoteName]);
|
|
40
|
-
}
|
|
41
|
-
exports.removeRemoteTask = removeRemoteTask;
|
|
42
|
-
//# sourceMappingURL=remote.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote.js","sourceRoot":"","sources":["remote.ts"],"names":[],"mappings":";;;AAAA,oEAAwF;AAExF,iCAAmD;AAEnD,SAAgB,aAAa,CAAC,UAAkB,EAAE,UAAkB,EAAE,aAAuB,EAAE;IAC5F,OAAO,gCAAyB,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;AAC9F,CAAC;AAFD,sCAEC;AAED,SAAgB,cAAc,CAAC,OAAgB;IAC5C,MAAM,QAAQ,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC5B,IAAI,OAAO,EAAE;QACV,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtB;IAED,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,yCAAsB,CAAC,CAAC,CAAC,kCAAe;KAC5D,CAAC;AACL,CAAC;AAXD,wCAWC;AAED,SAAgB,eAAe,CAAC,aAAuB,EAAE;IACtD,MAAM,QAAQ,GAAG,CAAC,GAAG,UAAU,CAAC,CAAC;IACjC,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,WAAW,EAAE;QAC9B,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;KAChC;IAED,OAAO,gCAAyB,CAAC,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAPD,0CAOC;AAED,SAAgB,UAAU,CAAC,aAAuB,EAAE;IACjD,MAAM,QAAQ,GAAG,CAAC,GAAG,UAAU,CAAC,CAAC;IACjC,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE;QAC3B,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;KAC7B;IAED,OAAO,gCAAyB,CAAC,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAPD,gCAOC;AAED,SAAgB,gBAAgB,CAAC,UAAkB;IAChD,OAAO,gCAAyB,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC;AACtE,CAAC;AAFD,4CAEC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getResetMode = exports.resetTask = exports.ResetMode = void 0;
|
|
4
|
-
const task_1 = require("./task");
|
|
5
|
-
var ResetMode;
|
|
6
|
-
(function (ResetMode) {
|
|
7
|
-
ResetMode["MIXED"] = "mixed";
|
|
8
|
-
ResetMode["SOFT"] = "soft";
|
|
9
|
-
ResetMode["HARD"] = "hard";
|
|
10
|
-
ResetMode["MERGE"] = "merge";
|
|
11
|
-
ResetMode["KEEP"] = "keep";
|
|
12
|
-
})(ResetMode = exports.ResetMode || (exports.ResetMode = {}));
|
|
13
|
-
const ResetModes = Array.from(Object.values(ResetMode));
|
|
14
|
-
function resetTask(mode, customArgs) {
|
|
15
|
-
const commands = ['reset'];
|
|
16
|
-
if (isValidResetMode(mode)) {
|
|
17
|
-
commands.push(`--${mode}`);
|
|
18
|
-
}
|
|
19
|
-
commands.push(...customArgs);
|
|
20
|
-
return task_1.straightThroughStringTask(commands);
|
|
21
|
-
}
|
|
22
|
-
exports.resetTask = resetTask;
|
|
23
|
-
function getResetMode(mode) {
|
|
24
|
-
if (isValidResetMode(mode)) {
|
|
25
|
-
return mode;
|
|
26
|
-
}
|
|
27
|
-
switch (typeof mode) {
|
|
28
|
-
case 'string':
|
|
29
|
-
case 'undefined':
|
|
30
|
-
return ResetMode.SOFT;
|
|
31
|
-
}
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
exports.getResetMode = getResetMode;
|
|
35
|
-
function isValidResetMode(mode) {
|
|
36
|
-
return ResetModes.includes(mode);
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=reset.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset.js","sourceRoot":"","sources":["reset.ts"],"names":[],"mappings":";;;AAAA,iCAAmD;AAGnD,IAAY,SAMX;AAND,WAAY,SAAS;IAClB,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,0BAAa,CAAA;AAChB,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB;AAED,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;AAMxD,SAAgB,SAAS,CAAC,IAAsB,EAAE,UAAoB;IACnE,MAAM,QAAQ,GAAa,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE;QACzB,QAAQ,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;KAC7B;IACD,QAAQ,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC;IAE7B,OAAO,gCAAyB,CAAC,QAAQ,CAAC,CAAC;AAC9C,CAAC;AARD,8BAQC;AAED,SAAgB,YAAY,CAAC,IAAqB;IAC/C,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,IAAI,CAAC;KACd;IAED,QAAQ,OAAO,IAAI,EAAE;QAClB,KAAK,QAAQ,CAAC;QACd,KAAK,WAAW;YACb,OAAO,SAAS,CAAC,IAAI,CAAC;KAC3B;IAED,OAAO;AACV,CAAC;AAZD,oCAYC;AAED,SAAS,gBAAgB,CAAC,IAAqB;IAC5C,OAAO,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stashListTask = void 0;
|
|
4
|
-
const parse_list_log_summary_1 = require("../parsers/parse-list-log-summary");
|
|
5
|
-
const log_1 = require("./log");
|
|
6
|
-
function stashListTask(opt = {}, customArgs) {
|
|
7
|
-
const options = log_1.parseLogOptions(opt);
|
|
8
|
-
const parser = parse_list_log_summary_1.createListLogSummaryParser(options.splitter, options.fields);
|
|
9
|
-
return {
|
|
10
|
-
commands: ['stash', 'list', ...options.commands, ...customArgs],
|
|
11
|
-
format: 'utf-8',
|
|
12
|
-
parser,
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
exports.stashListTask = stashListTask;
|
|
16
|
-
//# sourceMappingURL=stash-list.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stash-list.js","sourceRoot":"","sources":["stash-list.ts"],"names":[],"mappings":";;;AACA,8EAA+E;AAE/E,+BAAwC;AAExC,SAAgB,aAAa,CAAC,MAAkB,EAAE,EAAE,UAAoB;IACrE,MAAM,OAAO,GAAG,qBAAe,CAAM,GAAG,CAAC,CAAC;IAC1C,MAAM,MAAM,GAAG,mDAA0B,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAE5E,OAAO;QACJ,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,GAAG,UAAU,CAAC;QAC/D,MAAM,EAAE,OAAO;QACf,MAAM;KACR,CAAC;AACL,CAAC;AATD,sCASC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.statusTask = void 0;
|
|
4
|
-
const StatusSummary_1 = require("../responses/StatusSummary");
|
|
5
|
-
function statusTask(customArgs) {
|
|
6
|
-
return {
|
|
7
|
-
format: 'utf-8',
|
|
8
|
-
commands: ['status', '--porcelain', '-b', '-u', ...customArgs],
|
|
9
|
-
parser(text) {
|
|
10
|
-
return StatusSummary_1.parseStatusSummary(text);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
exports.statusTask = statusTask;
|
|
15
|
-
//# sourceMappingURL=status.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","sourceRoot":"","sources":["status.ts"],"names":[],"mappings":";;;AACA,8DAAgE;AAGhE,SAAgB,UAAU,CAAC,UAAoB;IAC5C,OAAO;QACJ,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;QAC9D,MAAM,CAAC,IAAY;YAChB,OAAO,kCAAkB,CAAC,IAAI,CAAC,CAAC;QACnC,CAAC;KACH,CAAA;AACJ,CAAC;AARD,gCAQC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateSubModuleTask = exports.subModuleTask = exports.initSubModuleTask = exports.addSubModuleTask = void 0;
|
|
4
|
-
const task_1 = require("./task");
|
|
5
|
-
function addSubModuleTask(repo, path) {
|
|
6
|
-
return subModuleTask(['add', repo, path]);
|
|
7
|
-
}
|
|
8
|
-
exports.addSubModuleTask = addSubModuleTask;
|
|
9
|
-
function initSubModuleTask(customArgs) {
|
|
10
|
-
return subModuleTask(['init', ...customArgs]);
|
|
11
|
-
}
|
|
12
|
-
exports.initSubModuleTask = initSubModuleTask;
|
|
13
|
-
function subModuleTask(customArgs) {
|
|
14
|
-
const commands = [...customArgs];
|
|
15
|
-
if (commands[0] !== 'submodule') {
|
|
16
|
-
commands.unshift('submodule');
|
|
17
|
-
}
|
|
18
|
-
return task_1.straightThroughStringTask(commands);
|
|
19
|
-
}
|
|
20
|
-
exports.subModuleTask = subModuleTask;
|
|
21
|
-
function updateSubModuleTask(customArgs) {
|
|
22
|
-
return subModuleTask(['update', ...customArgs]);
|
|
23
|
-
}
|
|
24
|
-
exports.updateSubModuleTask = updateSubModuleTask;
|
|
25
|
-
//# sourceMappingURL=sub-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sub-module.js","sourceRoot":"","sources":["sub-module.ts"],"names":[],"mappings":";;;AACA,iCAAmD;AAEnD,SAAgB,gBAAgB,CAAC,IAAY,EAAE,IAAY;IACxD,OAAO,aAAa,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAC7C,CAAC;AAFD,4CAEC;AAED,SAAgB,iBAAiB,CAAC,UAAoB;IACnD,OAAO,aAAa,CAAC,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC;AACjD,CAAC;AAFD,8CAEC;AAED,SAAgB,aAAa,CAAC,UAAoB;IAC/C,MAAM,QAAQ,GAAG,CAAC,GAAG,UAAU,CAAC,CAAC;IACjC,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,WAAW,EAAE;QAC9B,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;KAChC;IAED,OAAO,gCAAyB,CAAC,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAPD,sCAOC;AAED,SAAgB,mBAAmB,CAAC,UAAoB;IACrD,OAAO,aAAa,CAAC,CAAC,QAAQ,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC;AACnD,CAAC;AAFD,kDAEC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addAnnotatedTagTask = exports.addTagTask = exports.tagListTask = void 0;
|
|
4
|
-
const TagList_1 = require("../responses/TagList");
|
|
5
|
-
/**
|
|
6
|
-
* Task used by `git.tags`
|
|
7
|
-
*/
|
|
8
|
-
function tagListTask(customArgs = []) {
|
|
9
|
-
const hasCustomSort = customArgs.some((option) => /^--sort=/.test(option));
|
|
10
|
-
return {
|
|
11
|
-
format: 'utf-8',
|
|
12
|
-
commands: ['tag', '-l', ...customArgs],
|
|
13
|
-
parser(text) {
|
|
14
|
-
return TagList_1.parseTagList(text, hasCustomSort);
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
exports.tagListTask = tagListTask;
|
|
19
|
-
/**
|
|
20
|
-
* Task used by `git.addTag`
|
|
21
|
-
*/
|
|
22
|
-
function addTagTask(name) {
|
|
23
|
-
return {
|
|
24
|
-
format: 'utf-8',
|
|
25
|
-
commands: ['tag', name],
|
|
26
|
-
parser() {
|
|
27
|
-
return { name };
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.addTagTask = addTagTask;
|
|
32
|
-
/**
|
|
33
|
-
* Task used by `git.addTag`
|
|
34
|
-
*/
|
|
35
|
-
function addAnnotatedTagTask(name, tagMessage) {
|
|
36
|
-
return {
|
|
37
|
-
format: 'utf-8',
|
|
38
|
-
commands: ['tag', '-a', '-m', tagMessage, name],
|
|
39
|
-
parser() {
|
|
40
|
-
return { name };
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.addAnnotatedTagTask = addAnnotatedTagTask;
|
|
45
|
-
//# sourceMappingURL=tag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tag.js","sourceRoot":"","sources":["tag.ts"],"names":[],"mappings":";;;AACA,kDAAoD;AAGpD;;GAEG;AACH,SAAgB,WAAW,CAAE,aAAuB,EAAE;IACnD,MAAM,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAE3E,OAAO;QACJ,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;QACtC,MAAM,CAAE,IAAY;YACjB,OAAO,sBAAY,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC;QAC5C,CAAC;KACH,CAAA;AACJ,CAAC;AAVD,kCAUC;AAED;;GAEG;AACH,SAAgB,UAAU,CAAE,IAAY;IACrC,OAAO;QACJ,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QACvB,MAAM;YACH,OAAO,EAAC,IAAI,EAAC,CAAC;QACjB,CAAC;KACH,CAAA;AACJ,CAAC;AARD,gCAQC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CAAE,IAAY,EAAE,UAAkB;IAClE,OAAO;QACJ,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC;QAC/C,MAAM;YACH,OAAO,EAAC,IAAI,EAAC,CAAC;QACjB,CAAC;KACH,CAAA;AACJ,CAAC;AARD,kDAQC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isEmptyTask = exports.isBufferTask = exports.straightThroughBufferTask = exports.straightThroughStringTask = exports.configurationErrorTask = exports.adhocExecTask = exports.EMPTY_COMMANDS = void 0;
|
|
4
|
-
const task_configuration_error_1 = require("../errors/task-configuration-error");
|
|
5
|
-
exports.EMPTY_COMMANDS = [];
|
|
6
|
-
function adhocExecTask(parser) {
|
|
7
|
-
return {
|
|
8
|
-
commands: exports.EMPTY_COMMANDS,
|
|
9
|
-
format: 'empty',
|
|
10
|
-
parser,
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
exports.adhocExecTask = adhocExecTask;
|
|
14
|
-
function configurationErrorTask(error) {
|
|
15
|
-
return {
|
|
16
|
-
commands: exports.EMPTY_COMMANDS,
|
|
17
|
-
format: 'empty',
|
|
18
|
-
parser() {
|
|
19
|
-
throw typeof error === 'string' ? new task_configuration_error_1.TaskConfigurationError(error) : error;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
exports.configurationErrorTask = configurationErrorTask;
|
|
24
|
-
function straightThroughStringTask(commands, trimmed = false) {
|
|
25
|
-
return {
|
|
26
|
-
commands,
|
|
27
|
-
format: 'utf-8',
|
|
28
|
-
parser(text) {
|
|
29
|
-
return trimmed ? String(text).trim() : text;
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
exports.straightThroughStringTask = straightThroughStringTask;
|
|
34
|
-
function straightThroughBufferTask(commands) {
|
|
35
|
-
return {
|
|
36
|
-
commands,
|
|
37
|
-
format: 'buffer',
|
|
38
|
-
parser(buffer) {
|
|
39
|
-
return buffer;
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.straightThroughBufferTask = straightThroughBufferTask;
|
|
44
|
-
function isBufferTask(task) {
|
|
45
|
-
return task.format === 'buffer';
|
|
46
|
-
}
|
|
47
|
-
exports.isBufferTask = isBufferTask;
|
|
48
|
-
function isEmptyTask(task) {
|
|
49
|
-
return task.format === 'empty' || !task.commands.length;
|
|
50
|
-
}
|
|
51
|
-
exports.isEmptyTask = isEmptyTask;
|
|
52
|
-
//# sourceMappingURL=task.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task.js","sourceRoot":"","sources":["task.ts"],"names":[],"mappings":";;;AAAA,iFAA4E;AAG/D,QAAA,cAAc,GAAO,EAAE,CAAC;AAUrC,SAAgB,aAAa,CAAC,MAAuB;IAClD,OAAO;QACJ,QAAQ,EAAE,sBAAc;QACxB,MAAM,EAAE,OAAO;QACf,MAAM;KACR,CAAC;AACL,CAAC;AAND,sCAMC;AAED,SAAgB,sBAAsB,CAAC,KAAqB;IACzD,OAAO;QACJ,QAAQ,EAAE,sBAAc;QACxB,MAAM,EAAE,OAAO;QACf,MAAM;YACH,MAAM,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,iDAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QAC/E,CAAC;KACH,CAAA;AACJ,CAAC;AARD,wDAQC;AAED,SAAgB,yBAAyB,CAAC,QAAkB,EAAE,OAAO,GAAG,KAAK;IAC1E,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,CAAC,IAAI;YACR,OAAO,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QAC/C,CAAC;KACH,CAAA;AACJ,CAAC;AARD,8DAQC;AAED,SAAgB,yBAAyB,CAAC,QAAkB;IACzD,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,QAAQ;QAChB,MAAM,CAAC,MAAM;YACV,OAAO,MAAM,CAAC;QACjB,CAAC;KACH,CAAA;AACJ,CAAC;AARD,8DAQC;AAED,SAAgB,YAAY,CAAI,IAAsB;IACnD,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC;AACnC,CAAC;AAFD,oCAEC;AAED,SAAgB,WAAW,CAAI,IAAsB;IAClD,OAAO,IAAI,CAAC,MAAM,KAAK,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC;AAC3D,CAAC;AAFD,kCAEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.js","sourceRoot":"","sources":["handlers.ts"],"names":[],"mappings":""}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./handlers"), exports);
|
|
14
|
-
__exportStar(require("./tasks"), exports);
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["tasks.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.filterHasLength = exports.filterFunction = exports.filterPlainObject = exports.filterStringOrStringArray = exports.filterStringArray = exports.filterString = exports.filterPrimitives = exports.filterArray = exports.filterType = void 0;
|
|
4
|
-
const util_1 = require("./util");
|
|
5
|
-
function filterType(input, filter, def) {
|
|
6
|
-
if (filter(input)) {
|
|
7
|
-
return input;
|
|
8
|
-
}
|
|
9
|
-
return (arguments.length > 2) ? def : undefined;
|
|
10
|
-
}
|
|
11
|
-
exports.filterType = filterType;
|
|
12
|
-
const filterArray = (input) => {
|
|
13
|
-
return Array.isArray(input);
|
|
14
|
-
};
|
|
15
|
-
exports.filterArray = filterArray;
|
|
16
|
-
function filterPrimitives(input, omit) {
|
|
17
|
-
return /number|string|boolean/.test(typeof input) && (!omit || !omit.includes((typeof input)));
|
|
18
|
-
}
|
|
19
|
-
exports.filterPrimitives = filterPrimitives;
|
|
20
|
-
const filterString = (input) => {
|
|
21
|
-
return typeof input === 'string';
|
|
22
|
-
};
|
|
23
|
-
exports.filterString = filterString;
|
|
24
|
-
const filterStringArray = (input) => {
|
|
25
|
-
return Array.isArray(input) && input.every(exports.filterString);
|
|
26
|
-
};
|
|
27
|
-
exports.filterStringArray = filterStringArray;
|
|
28
|
-
const filterStringOrStringArray = (input) => {
|
|
29
|
-
return exports.filterString(input) || (Array.isArray(input) && input.every(exports.filterString));
|
|
30
|
-
};
|
|
31
|
-
exports.filterStringOrStringArray = filterStringOrStringArray;
|
|
32
|
-
function filterPlainObject(input) {
|
|
33
|
-
return !!input && util_1.objectToString(input) === '[object Object]';
|
|
34
|
-
}
|
|
35
|
-
exports.filterPlainObject = filterPlainObject;
|
|
36
|
-
function filterFunction(input) {
|
|
37
|
-
return typeof input === 'function';
|
|
38
|
-
}
|
|
39
|
-
exports.filterFunction = filterFunction;
|
|
40
|
-
const filterHasLength = (input) => {
|
|
41
|
-
if (input == null || 'number|boolean|function'.includes(typeof input)) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
return Array.isArray(input) || typeof input === 'string' || typeof input.length === 'number';
|
|
45
|
-
};
|
|
46
|
-
exports.filterHasLength = filterHasLength;
|
|
47
|
-
//# sourceMappingURL=argument-filters.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"argument-filters.js","sourceRoot":"","sources":["argument-filters.ts"],"names":[],"mappings":";;;AACA,iCAAwC;AAQxC,SAAgB,UAAU,CAAO,KAAQ,EAAE,MAAkC,EAAE,GAAO;IACnF,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE;QAChB,OAAO,KAAK,CAAC;KACf;IACD,OAAO,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAA;AAClD,CAAC;AALD,gCAKC;AAEM,MAAM,WAAW,GAAwC,CAAC,KAAK,EAAuB,EAAE;IAC5F,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC/B,CAAC,CAAA;AAFY,QAAA,WAAW,eAEvB;AAED,SAAgB,gBAAgB,CAAC,KAAc,EAAE,IAA6C;IAC3F,OAAO,uBAAuB,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,KAAK,CAAoC,CAAC,CAAC,CAAC;AACrI,CAAC;AAFD,4CAEC;AAEM,MAAM,YAAY,GAAoC,CAAC,KAAK,EAAmB,EAAE;IACrF,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AACpC,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB;AAEK,MAAM,iBAAiB,GAAsC,CAAC,KAAK,EAAqB,EAAE;IAC9F,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,oBAAY,CAAC,CAAC;AAC5D,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAEK,MAAM,yBAAyB,GAA+C,CAAC,KAAK,EAA8B,EAAE;IACxH,OAAO,oBAAY,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,oBAAY,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAFW,QAAA,yBAAyB,6BAEpC;AAGF,SAAgB,iBAAiB,CAAmB,KAAkB;IACnE,OAAO,CAAC,CAAC,KAAK,IAAI,qBAAc,CAAC,KAAK,CAAC,KAAK,iBAAiB,CAAC;AACjE,CAAC;AAFD,8CAEC;AAED,SAAgB,cAAc,CAAC,KAAc;IAC1C,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;AACtC,CAAC;AAFD,wCAEC;AAEM,MAAM,eAAe,GAAgD,CAAC,KAAK,EAA+B,EAAE;IAChH,IAAI,KAAK,IAAI,IAAI,IAAI,yBAAyB,CAAC,QAAQ,CAAC,OAAO,KAAK,CAAC,EAAE;QACpE,OAAO,KAAK,CAAC;KACf;IACD,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,CAAC;AAChG,CAAC,CAAA;AALY,QAAA,eAAe,mBAK3B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExitCodes = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Known process exit codes used by the task parsers to determine whether an error
|
|
6
|
-
* was one they can automatically handle
|
|
7
|
-
*/
|
|
8
|
-
var ExitCodes;
|
|
9
|
-
(function (ExitCodes) {
|
|
10
|
-
ExitCodes[ExitCodes["SUCCESS"] = 0] = "SUCCESS";
|
|
11
|
-
ExitCodes[ExitCodes["ERROR"] = 1] = "ERROR";
|
|
12
|
-
ExitCodes[ExitCodes["UNCLEAN"] = 128] = "UNCLEAN";
|
|
13
|
-
})(ExitCodes = exports.ExitCodes || (exports.ExitCodes = {}));
|
|
14
|
-
//# sourceMappingURL=exit-codes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exit-codes.js","sourceRoot":"","sources":["exit-codes.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,SAIX;AAJD,WAAY,SAAS;IAClB,+CAAO,CAAA;IACP,2CAAK,CAAA;IACL,iDAAa,CAAA;AAChB,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB"}
|