@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.
Files changed (524) hide show
  1. package/README.md +20 -13
  2. package/dist/node_modules/.package-lock.json +37 -24
  3. package/dist/node_modules/@types/node/README.md +5 -6
  4. package/dist/node_modules/@types/node/assert/strict.d.ts +8 -0
  5. package/dist/node_modules/@types/node/assert.d.ts +955 -45
  6. package/dist/node_modules/@types/node/async_hooks.d.ts +391 -87
  7. package/dist/node_modules/@types/node/buffer.d.ts +2210 -17
  8. package/dist/node_modules/@types/node/child_process.d.ts +1051 -189
  9. package/dist/node_modules/@types/node/cluster.d.ts +421 -143
  10. package/dist/node_modules/@types/node/console.d.ts +359 -49
  11. package/dist/node_modules/@types/node/constants.d.ts +3 -3
  12. package/dist/node_modules/@types/node/crypto.d.ts +3528 -291
  13. package/dist/node_modules/@types/node/dgram.d.ts +446 -30
  14. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
  15. package/dist/node_modules/@types/node/dns/promises.d.ts +476 -0
  16. package/dist/node_modules/@types/node/dns.d.ts +588 -240
  17. package/dist/node_modules/@types/node/dom-events.d.ts +124 -0
  18. package/dist/node_modules/@types/node/domain.d.ts +159 -16
  19. package/dist/node_modules/@types/node/events.d.ts +890 -41
  20. package/dist/node_modules/@types/node/fs/promises.d.ts +980 -369
  21. package/dist/node_modules/@types/node/fs.d.ts +2599 -869
  22. package/dist/node_modules/@types/node/globals.d.ts +374 -727
  23. package/dist/node_modules/@types/node/globals.global.d.ts +1 -1
  24. package/dist/node_modules/@types/node/http.d.ts +1459 -132
  25. package/dist/node_modules/@types/node/http2.d.ts +1333 -123
  26. package/dist/node_modules/@types/node/https.d.ts +289 -13
  27. package/dist/node_modules/@types/node/index.d.ts +37 -46
  28. package/dist/node_modules/@types/node/inspector.d.ts +367 -671
  29. package/dist/node_modules/@types/node/module.d.ts +273 -14
  30. package/dist/node_modules/@types/node/net.d.ts +741 -66
  31. package/dist/node_modules/@types/node/os.d.ts +275 -23
  32. package/dist/node_modules/@types/node/package.json +95 -110
  33. package/dist/node_modules/@types/node/path.d.ts +27 -4
  34. package/dist/node_modules/@types/node/perf_hooks.d.ts +756 -125
  35. package/dist/node_modules/@types/node/process.d.ts +1429 -127
  36. package/dist/node_modules/@types/node/punycode.d.ts +65 -26
  37. package/dist/node_modules/@types/node/querystring.d.ts +121 -9
  38. package/dist/node_modules/@types/node/readline/promises.d.ts +150 -0
  39. package/dist/node_modules/@types/node/readline.d.ts +405 -49
  40. package/dist/node_modules/@types/node/repl.d.ts +99 -73
  41. package/dist/node_modules/@types/node/sea.d.ts +153 -0
  42. package/dist/node_modules/@types/node/stream/consumers.d.ts +12 -0
  43. package/dist/node_modules/@types/node/stream/promises.d.ts +83 -0
  44. package/dist/node_modules/@types/node/stream/web.d.ts +367 -0
  45. package/dist/node_modules/@types/node/stream.d.ts +1462 -273
  46. package/dist/node_modules/@types/node/string_decoder.d.ts +59 -2
  47. package/dist/node_modules/@types/node/test.d.ts +1719 -0
  48. package/dist/node_modules/@types/node/timers/promises.d.ts +97 -0
  49. package/dist/node_modules/@types/node/timers.d.ts +233 -12
  50. package/dist/node_modules/@types/node/tls.d.ts +540 -189
  51. package/dist/node_modules/@types/node/trace_events.d.ts +143 -10
  52. package/dist/node_modules/@types/node/tty.d.ts +156 -17
  53. package/dist/node_modules/@types/node/url.d.ts +812 -47
  54. package/dist/node_modules/@types/node/util.d.ts +2159 -145
  55. package/dist/node_modules/@types/node/v8.d.ts +693 -74
  56. package/dist/node_modules/@types/node/vm.d.ts +813 -44
  57. package/dist/node_modules/@types/node/wasi.d.ts +121 -28
  58. package/dist/node_modules/@types/node/worker_threads.d.ts +514 -61
  59. package/dist/node_modules/@types/node/zlib.d.ts +220 -54
  60. package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +1 -1
  61. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +1 -0
  62. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  63. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
  64. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +2 -2
  65. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  66. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +1 -1
  67. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +1 -1
  68. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -1
  69. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +3 -3
  70. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +10 -10
  71. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +5 -1
  72. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  73. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +1 -0
  74. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +2 -2
  75. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +2 -2
  76. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/uri.ts +1 -1
  77. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +3 -3
  78. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +10 -10
  79. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +4 -1
  80. package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +5 -5
  81. package/dist/node_modules/commander/Readme.md +10 -8
  82. package/dist/node_modules/commander/esm.mjs +1 -1
  83. package/dist/node_modules/commander/lib/argument.js +9 -5
  84. package/dist/node_modules/commander/lib/command.js +406 -196
  85. package/dist/node_modules/commander/lib/error.js +0 -4
  86. package/dist/node_modules/commander/lib/help.js +101 -38
  87. package/dist/node_modules/commander/lib/option.js +11 -8
  88. package/dist/node_modules/commander/lib/suggestSimilar.js +5 -4
  89. package/dist/node_modules/commander/package.json +23 -19
  90. package/dist/node_modules/commander/typings/index.d.ts +110 -40
  91. package/dist/node_modules/debug/package.json +4 -3
  92. package/dist/node_modules/debug/src/browser.js +3 -1
  93. package/dist/node_modules/debug/src/node.js +2 -2
  94. package/dist/node_modules/fast-uri/.gitattributes +2 -0
  95. package/dist/node_modules/fast-uri/.github/.stale.yml +21 -0
  96. package/dist/node_modules/fast-uri/.github/dependabot.yml +13 -0
  97. package/dist/node_modules/fast-uri/.github/tests_checker.yml +8 -0
  98. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +23 -0
  99. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +20 -0
  100. package/dist/node_modules/fast-uri/.taprc +3 -0
  101. package/dist/node_modules/fast-uri/LICENSE +30 -0
  102. package/dist/node_modules/fast-uri/README.md +125 -0
  103. package/dist/node_modules/fast-uri/benchmark.js +105 -0
  104. package/dist/node_modules/fast-uri/index.js +309 -0
  105. package/dist/node_modules/fast-uri/lib/schemes.js +188 -0
  106. package/dist/node_modules/fast-uri/lib/scopedChars.js +30 -0
  107. package/dist/node_modules/fast-uri/lib/utils.js +242 -0
  108. package/dist/node_modules/fast-uri/package.json +39 -0
  109. package/dist/node_modules/fast-uri/test/.gitkeep +0 -0
  110. package/dist/node_modules/fast-uri/test/ajv.test.js +39 -0
  111. package/dist/node_modules/fast-uri/test/compatibility.test.js +130 -0
  112. package/dist/node_modules/fast-uri/test/equal.test.js +104 -0
  113. package/dist/node_modules/fast-uri/test/parse.test.js +319 -0
  114. package/dist/node_modules/fast-uri/test/resolve.test.js +76 -0
  115. package/dist/node_modules/fast-uri/test/serialize.test.js +144 -0
  116. package/dist/node_modules/fast-uri/test/uri-js.test.js +940 -0
  117. package/dist/node_modules/fast-uri/test/util.test.js +24 -0
  118. package/dist/node_modules/fast-uri/types/index.d.ts +53 -0
  119. package/dist/node_modules/fast-uri/types/index.test-d.ts +17 -0
  120. package/dist/node_modules/fs-extra/README.md +32 -2
  121. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +3 -11
  122. package/dist/node_modules/fs-extra/lib/copy/copy.js +120 -178
  123. package/dist/node_modules/fs-extra/lib/copy/index.js +1 -1
  124. package/dist/node_modules/fs-extra/lib/ensure/file.js +31 -34
  125. package/dist/node_modules/fs-extra/lib/ensure/link.js +27 -27
  126. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +57 -55
  127. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +16 -13
  128. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +29 -44
  129. package/dist/node_modules/fs-extra/lib/esm.mjs +68 -0
  130. package/dist/node_modules/fs-extra/lib/fs/index.js +29 -17
  131. package/dist/node_modules/fs-extra/lib/move/index.js +1 -1
  132. package/dist/node_modules/fs-extra/lib/move/move-sync.js +2 -1
  133. package/dist/node_modules/fs-extra/lib/move/move.js +38 -54
  134. package/dist/node_modules/fs-extra/lib/output-file/index.js +10 -19
  135. package/dist/node_modules/fs-extra/lib/remove/index.js +2 -7
  136. package/dist/node_modules/fs-extra/lib/util/stat.js +46 -42
  137. package/dist/node_modules/fs-extra/lib/util/utimes.js +21 -11
  138. package/dist/node_modules/fs-extra/package.json +11 -7
  139. package/dist/node_modules/simple-git/dist/cjs/index.js +4958 -0
  140. package/dist/node_modules/simple-git/dist/cjs/index.js.map +7 -0
  141. package/dist/node_modules/simple-git/dist/esm/index.js +4813 -0
  142. package/dist/node_modules/simple-git/dist/esm/index.js.map +7 -0
  143. package/dist/node_modules/simple-git/dist/esm/package.json +3 -0
  144. package/dist/node_modules/simple-git/{src → dist/src}/lib/api.d.ts +3 -13
  145. package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +9 -0
  146. package/dist/node_modules/simple-git/dist/src/lib/args/pathspec.d.ts +3 -0
  147. package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-error.d.ts +3 -2
  148. package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +7 -0
  149. package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +15 -0
  150. package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-branch.d.ts +1 -1
  151. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +3 -0
  152. package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-list-log-summary.d.ts +2 -1
  153. package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-pull.d.ts +2 -0
  154. package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +3 -0
  155. package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +3 -0
  156. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/completion-detection.plugin.d.ts +1 -1
  157. package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +3 -0
  158. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/index.d.ts +3 -0
  159. package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +11 -0
  160. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/progress-monitor-plugin.d.ts +1 -1
  161. package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/simple-git-plugin.d.ts +10 -0
  162. package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +2 -0
  163. package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +3 -0
  164. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +14 -0
  165. package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/FileStatusSummary.d.ts +1 -1
  166. package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +25 -0
  167. package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/StatusSummary.d.ts +2 -1
  168. package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/git-executor-chain.d.ts +1 -1
  169. package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/git-executor.d.ts +3 -4
  170. package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +2 -0
  171. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/clone.d.ts +3 -2
  172. package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +4 -0
  173. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/config.d.ts +1 -1
  174. package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +12 -0
  175. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +12 -0
  176. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +5 -0
  177. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/fetch.d.ts +2 -1
  178. package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +2 -0
  179. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/log.d.ts +3 -3
  180. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/remote.d.ts +3 -3
  181. package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +2 -0
  182. package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +4 -0
  183. package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/task.d.ts +1 -1
  184. package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +9 -0
  185. package/dist/node_modules/simple-git/{src → dist/src}/lib/types/index.d.ts +64 -5
  186. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/exit-codes.d.ts +1 -0
  187. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/line-parser.d.ts +1 -1
  188. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/task-parser.d.ts +2 -2
  189. package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/util.d.ts +3 -1
  190. package/dist/node_modules/simple-git/{typings → dist/typings}/errors.d.ts +0 -1
  191. package/dist/node_modules/simple-git/{typings → dist/typings}/index.d.ts +2 -1
  192. package/dist/node_modules/simple-git/{typings → dist/typings}/response.d.ts +68 -25
  193. package/dist/node_modules/simple-git/{typings → dist/typings}/simple-git.d.ts +493 -110
  194. package/dist/node_modules/simple-git/dist/typings/types.d.ts +23 -0
  195. package/dist/node_modules/simple-git/package.json +32 -35
  196. package/dist/node_modules/simple-git/promise.js +14 -4
  197. package/dist/node_modules/simple-git/readme.md +372 -389
  198. package/dist/node_modules/undici-types/README.md +6 -0
  199. package/dist/node_modules/undici-types/agent.d.ts +31 -0
  200. package/dist/node_modules/undici-types/api.d.ts +43 -0
  201. package/dist/node_modules/undici-types/balanced-pool.d.ts +18 -0
  202. package/dist/node_modules/undici-types/cache.d.ts +36 -0
  203. package/dist/node_modules/undici-types/client.d.ts +97 -0
  204. package/dist/node_modules/undici-types/connector.d.ts +34 -0
  205. package/dist/node_modules/undici-types/content-type.d.ts +21 -0
  206. package/dist/node_modules/undici-types/cookies.d.ts +28 -0
  207. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  208. package/dist/node_modules/undici-types/dispatcher.d.ts +241 -0
  209. package/dist/node_modules/undici-types/errors.d.ts +128 -0
  210. package/dist/node_modules/undici-types/fetch.d.ts +209 -0
  211. package/dist/node_modules/undici-types/file.d.ts +39 -0
  212. package/dist/node_modules/undici-types/filereader.d.ts +54 -0
  213. package/dist/node_modules/undici-types/formdata.d.ts +108 -0
  214. package/dist/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  215. package/dist/node_modules/undici-types/global-origin.d.ts +7 -0
  216. package/dist/node_modules/undici-types/handlers.d.ts +9 -0
  217. package/dist/node_modules/undici-types/header.d.ts +4 -0
  218. package/dist/node_modules/undici-types/index.d.ts +63 -0
  219. package/dist/node_modules/undici-types/interceptors.d.ts +5 -0
  220. package/dist/node_modules/undici-types/mock-agent.d.ts +50 -0
  221. package/dist/node_modules/undici-types/mock-client.d.ts +25 -0
  222. package/dist/node_modules/undici-types/mock-errors.d.ts +12 -0
  223. package/dist/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  224. package/dist/node_modules/undici-types/mock-pool.d.ts +25 -0
  225. package/dist/node_modules/undici-types/package.json +55 -0
  226. package/dist/node_modules/undici-types/patch.d.ts +71 -0
  227. package/dist/node_modules/undici-types/pool-stats.d.ts +19 -0
  228. package/dist/node_modules/undici-types/pool.d.ts +28 -0
  229. package/dist/node_modules/undici-types/proxy-agent.d.ts +30 -0
  230. package/dist/node_modules/undici-types/readable.d.ts +61 -0
  231. package/dist/node_modules/undici-types/webidl.d.ts +220 -0
  232. package/dist/node_modules/undici-types/websocket.d.ts +131 -0
  233. package/dist/package-lock.json +10146 -0
  234. package/dist/package.json +23 -23
  235. package/dist/schemas/variant.json +5 -21
  236. package/package.json +24 -24
  237. package/dist/node_modules/@types/node/ts4.8/assert.d.ts +0 -130
  238. package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -237
  239. package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +0 -89
  240. package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +0 -682
  241. package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +0 -300
  242. package/dist/node_modules/@types/node/ts4.8/console.d.ts +0 -142
  243. package/dist/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  244. package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +0 -1287
  245. package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +0 -180
  246. package/dist/node_modules/@types/node/ts4.8/dns.d.ts +0 -516
  247. package/dist/node_modules/@types/node/ts4.8/domain.d.ts +0 -27
  248. package/dist/node_modules/@types/node/ts4.8/events.d.ts +0 -82
  249. package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -634
  250. package/dist/node_modules/@types/node/ts4.8/fs.d.ts +0 -2587
  251. package/dist/node_modules/@types/node/ts4.8/globals.d.ts +0 -763
  252. package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  253. package/dist/node_modules/@types/node/ts4.8/http.d.ts +0 -580
  254. package/dist/node_modules/@types/node/ts4.8/http2.d.ts +0 -1208
  255. package/dist/node_modules/@types/node/ts4.8/https.d.ts +0 -274
  256. package/dist/node_modules/@types/node/ts4.8/index.d.ts +0 -53
  257. package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +0 -3050
  258. package/dist/node_modules/@types/node/ts4.8/module.d.ts +0 -56
  259. package/dist/node_modules/@types/node/ts4.8/net.d.ts +0 -324
  260. package/dist/node_modules/@types/node/ts4.8/os.d.ts +0 -243
  261. package/dist/node_modules/@types/node/ts4.8/path.d.ts +0 -168
  262. package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -274
  263. package/dist/node_modules/@types/node/ts4.8/process.d.ts +0 -452
  264. package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +0 -78
  265. package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +0 -41
  266. package/dist/node_modules/@types/node/ts4.8/readline.d.ts +0 -184
  267. package/dist/node_modules/@types/node/ts4.8/repl.d.ts +0 -404
  268. package/dist/node_modules/@types/node/ts4.8/stream.d.ts +0 -518
  269. package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -10
  270. package/dist/node_modules/@types/node/ts4.8/timers.d.ts +0 -19
  271. package/dist/node_modules/@types/node/ts4.8/tls.d.ts +0 -866
  272. package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -64
  273. package/dist/node_modules/@types/node/ts4.8/tty.d.ts +0 -69
  274. package/dist/node_modules/@types/node/ts4.8/url.d.ts +0 -187
  275. package/dist/node_modules/@types/node/ts4.8/util.d.ts +0 -278
  276. package/dist/node_modules/@types/node/ts4.8/v8.d.ts +0 -189
  277. package/dist/node_modules/@types/node/ts4.8/vm.d.ts +0 -155
  278. package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +0 -88
  279. package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -241
  280. package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +0 -364
  281. package/dist/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
  282. package/dist/node_modules/simple-git/CHANGELOG.md +0 -529
  283. package/dist/node_modules/simple-git/LICENSE +0 -20
  284. package/dist/node_modules/simple-git/promise.d.ts +0 -46
  285. package/dist/node_modules/simple-git/src/git.js +0 -700
  286. package/dist/node_modules/simple-git/src/index.js +0 -7
  287. package/dist/node_modules/simple-git/src/lib/api.js +0 -26
  288. package/dist/node_modules/simple-git/src/lib/api.js.map +0 -1
  289. package/dist/node_modules/simple-git/src/lib/errors/git-construct-error.js +0 -21
  290. package/dist/node_modules/simple-git/src/lib/errors/git-construct-error.js.map +0 -1
  291. package/dist/node_modules/simple-git/src/lib/errors/git-error.js +0 -37
  292. package/dist/node_modules/simple-git/src/lib/errors/git-error.js.map +0 -1
  293. package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.d.ts +0 -6
  294. package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.js +0 -14
  295. package/dist/node_modules/simple-git/src/lib/errors/git-plugin-error.js.map +0 -1
  296. package/dist/node_modules/simple-git/src/lib/errors/git-response-error.js +0 -36
  297. package/dist/node_modules/simple-git/src/lib/errors/git-response-error.js.map +0 -1
  298. package/dist/node_modules/simple-git/src/lib/errors/task-configuration-error.js +0 -19
  299. package/dist/node_modules/simple-git/src/lib/errors/task-configuration-error.js.map +0 -1
  300. package/dist/node_modules/simple-git/src/lib/git-factory.d.ts +0 -25
  301. package/dist/node_modules/simple-git/src/lib/git-factory.js +0 -45
  302. package/dist/node_modules/simple-git/src/lib/git-factory.js.map +0 -1
  303. package/dist/node_modules/simple-git/src/lib/git-logger.js +0 -101
  304. package/dist/node_modules/simple-git/src/lib/git-logger.js.map +0 -1
  305. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch-delete.js +0 -29
  306. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch-delete.js.map +0 -1
  307. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch.js +0 -18
  308. package/dist/node_modules/simple-git/src/lib/parsers/parse-branch.js.map +0 -1
  309. package/dist/node_modules/simple-git/src/lib/parsers/parse-commit.js +0 -53
  310. package/dist/node_modules/simple-git/src/lib/parsers/parse-commit.js.map +0 -1
  311. package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.d.ts +0 -2
  312. package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.js +0 -74
  313. package/dist/node_modules/simple-git/src/lib/parsers/parse-diff-summary.js.map +0 -1
  314. package/dist/node_modules/simple-git/src/lib/parsers/parse-fetch.js +0 -32
  315. package/dist/node_modules/simple-git/src/lib/parsers/parse-fetch.js.map +0 -1
  316. package/dist/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.js +0 -35
  317. package/dist/node_modules/simple-git/src/lib/parsers/parse-list-log-summary.js.map +0 -1
  318. package/dist/node_modules/simple-git/src/lib/parsers/parse-merge.js +0 -39
  319. package/dist/node_modules/simple-git/src/lib/parsers/parse-merge.js.map +0 -1
  320. package/dist/node_modules/simple-git/src/lib/parsers/parse-move.js +0 -14
  321. package/dist/node_modules/simple-git/src/lib/parsers/parse-move.js.map +0 -1
  322. package/dist/node_modules/simple-git/src/lib/parsers/parse-pull.js +0 -42
  323. package/dist/node_modules/simple-git/src/lib/parsers/parse-pull.js.map +0 -1
  324. package/dist/node_modules/simple-git/src/lib/parsers/parse-push.js +0 -58
  325. package/dist/node_modules/simple-git/src/lib/parsers/parse-push.js.map +0 -1
  326. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-messages.js +0 -33
  327. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-messages.js.map +0 -1
  328. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-objects.js +0 -41
  329. package/dist/node_modules/simple-git/src/lib/parsers/parse-remote-objects.js.map +0 -1
  330. package/dist/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.js +0 -15
  331. package/dist/node_modules/simple-git/src/lib/plugins/command-config-prefixing-plugin.js.map +0 -1
  332. package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js +0 -80
  333. package/dist/node_modules/simple-git/src/lib/plugins/completion-detection.plugin.js.map +0 -1
  334. package/dist/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js +0 -39
  335. package/dist/node_modules/simple-git/src/lib/plugins/error-detection.plugin.js.map +0 -1
  336. package/dist/node_modules/simple-git/src/lib/plugins/index.js +0 -21
  337. package/dist/node_modules/simple-git/src/lib/plugins/index.js.map +0 -1
  338. package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.d.ts +0 -6
  339. package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.js +0 -28
  340. package/dist/node_modules/simple-git/src/lib/plugins/plugin-store.js.map +0 -1
  341. package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js +0 -45
  342. package/dist/node_modules/simple-git/src/lib/plugins/progress-monitor-plugin.js.map +0 -1
  343. package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.js +0 -3
  344. package/dist/node_modules/simple-git/src/lib/plugins/simple-git-plugin.js.map +0 -1
  345. package/dist/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.js +0 -15
  346. package/dist/node_modules/simple-git/src/lib/plugins/spawn-options-plugin.js.map +0 -1
  347. package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.d.ts +0 -3
  348. package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.js +0 -37
  349. package/dist/node_modules/simple-git/src/lib/plugins/timout-plugin.js.map +0 -1
  350. package/dist/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.js +0 -31
  351. package/dist/node_modules/simple-git/src/lib/responses/BranchDeleteSummary.js.map +0 -1
  352. package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.d.ts +0 -10
  353. package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.js +0 -26
  354. package/dist/node_modules/simple-git/src/lib/responses/BranchSummary.js.map +0 -1
  355. package/dist/node_modules/simple-git/src/lib/responses/CheckIgnore.js +0 -13
  356. package/dist/node_modules/simple-git/src/lib/responses/CheckIgnore.js.map +0 -1
  357. package/dist/node_modules/simple-git/src/lib/responses/CleanSummary.js +0 -28
  358. package/dist/node_modules/simple-git/src/lib/responses/CleanSummary.js.map +0 -1
  359. package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js +0 -89
  360. package/dist/node_modules/simple-git/src/lib/responses/ConfigList.js.map +0 -1
  361. package/dist/node_modules/simple-git/src/lib/responses/DiffSummary.js +0 -16
  362. package/dist/node_modules/simple-git/src/lib/responses/DiffSummary.js.map +0 -1
  363. package/dist/node_modules/simple-git/src/lib/responses/FileStatusSummary.js +0 -18
  364. package/dist/node_modules/simple-git/src/lib/responses/FileStatusSummary.js.map +0 -1
  365. package/dist/node_modules/simple-git/src/lib/responses/GetRemoteSummary.js +0 -30
  366. package/dist/node_modules/simple-git/src/lib/responses/GetRemoteSummary.js.map +0 -1
  367. package/dist/node_modules/simple-git/src/lib/responses/InitSummary.js +0 -36
  368. package/dist/node_modules/simple-git/src/lib/responses/InitSummary.js.map +0 -1
  369. package/dist/node_modules/simple-git/src/lib/responses/MergeSummary.js +0 -35
  370. package/dist/node_modules/simple-git/src/lib/responses/MergeSummary.js.map +0 -1
  371. package/dist/node_modules/simple-git/src/lib/responses/PullSummary.d.ts +0 -12
  372. package/dist/node_modules/simple-git/src/lib/responses/PullSummary.js +0 -22
  373. package/dist/node_modules/simple-git/src/lib/responses/PullSummary.js.map +0 -1
  374. package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js +0 -128
  375. package/dist/node_modules/simple-git/src/lib/responses/StatusSummary.js.map +0 -1
  376. package/dist/node_modules/simple-git/src/lib/responses/TagList.js +0 -56
  377. package/dist/node_modules/simple-git/src/lib/responses/TagList.js.map +0 -1
  378. package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js +0 -173
  379. package/dist/node_modules/simple-git/src/lib/runners/git-executor-chain.js.map +0 -1
  380. package/dist/node_modules/simple-git/src/lib/runners/git-executor.js +0 -21
  381. package/dist/node_modules/simple-git/src/lib/runners/git-executor.js.map +0 -1
  382. package/dist/node_modules/simple-git/src/lib/runners/promise-wrapped.js +0 -133
  383. package/dist/node_modules/simple-git/src/lib/runners/promise-wrapped.js.map +0 -1
  384. package/dist/node_modules/simple-git/src/lib/runners/scheduler.js +0 -48
  385. package/dist/node_modules/simple-git/src/lib/runners/scheduler.js.map +0 -1
  386. package/dist/node_modules/simple-git/src/lib/runners/tasks-pending-queue.js +0 -64
  387. package/dist/node_modules/simple-git/src/lib/runners/tasks-pending-queue.js.map +0 -1
  388. package/dist/node_modules/simple-git/src/lib/simple-git-api.js +0 -80
  389. package/dist/node_modules/simple-git/src/lib/simple-git-api.js.map +0 -1
  390. package/dist/node_modules/simple-git/src/lib/task-callback.js +0 -39
  391. package/dist/node_modules/simple-git/src/lib/task-callback.js.map +0 -1
  392. package/dist/node_modules/simple-git/src/lib/tasks/apply-patch.js +0 -9
  393. package/dist/node_modules/simple-git/src/lib/tasks/apply-patch.js.map +0 -1
  394. package/dist/node_modules/simple-git/src/lib/tasks/branch.js +0 -76
  395. package/dist/node_modules/simple-git/src/lib/tasks/branch.js.map +0 -1
  396. package/dist/node_modules/simple-git/src/lib/tasks/change-working-directory.js +0 -15
  397. package/dist/node_modules/simple-git/src/lib/tasks/change-working-directory.js.map +0 -1
  398. package/dist/node_modules/simple-git/src/lib/tasks/check-ignore.js +0 -13
  399. package/dist/node_modules/simple-git/src/lib/tasks/check-ignore.js.map +0 -1
  400. package/dist/node_modules/simple-git/src/lib/tasks/check-is-repo.js +0 -61
  401. package/dist/node_modules/simple-git/src/lib/tasks/check-is-repo.js.map +0 -1
  402. package/dist/node_modules/simple-git/src/lib/tasks/clean.js +0 -85
  403. package/dist/node_modules/simple-git/src/lib/tasks/clean.js.map +0 -1
  404. package/dist/node_modules/simple-git/src/lib/tasks/clone.js +0 -22
  405. package/dist/node_modules/simple-git/src/lib/tasks/clone.js.map +0 -1
  406. package/dist/node_modules/simple-git/src/lib/tasks/commit.d.ts +0 -3
  407. package/dist/node_modules/simple-git/src/lib/tasks/commit.js +0 -16
  408. package/dist/node_modules/simple-git/src/lib/tasks/commit.js.map +0 -1
  409. package/dist/node_modules/simple-git/src/lib/tasks/config.js +0 -73
  410. package/dist/node_modules/simple-git/src/lib/tasks/config.js.map +0 -1
  411. package/dist/node_modules/simple-git/src/lib/tasks/diff.d.ts +0 -3
  412. package/dist/node_modules/simple-git/src/lib/tasks/diff.js +0 -15
  413. package/dist/node_modules/simple-git/src/lib/tasks/diff.js.map +0 -1
  414. package/dist/node_modules/simple-git/src/lib/tasks/fetch.js +0 -17
  415. package/dist/node_modules/simple-git/src/lib/tasks/fetch.js.map +0 -1
  416. package/dist/node_modules/simple-git/src/lib/tasks/grep.js +0 -76
  417. package/dist/node_modules/simple-git/src/lib/tasks/grep.js.map +0 -1
  418. package/dist/node_modules/simple-git/src/lib/tasks/hash-object.js +0 -16
  419. package/dist/node_modules/simple-git/src/lib/tasks/hash-object.js.map +0 -1
  420. package/dist/node_modules/simple-git/src/lib/tasks/init.js +0 -23
  421. package/dist/node_modules/simple-git/src/lib/tasks/init.js.map +0 -1
  422. package/dist/node_modules/simple-git/src/lib/tasks/log.js +0 -109
  423. package/dist/node_modules/simple-git/src/lib/tasks/log.js.map +0 -1
  424. package/dist/node_modules/simple-git/src/lib/tasks/merge.js +0 -24
  425. package/dist/node_modules/simple-git/src/lib/tasks/merge.js.map +0 -1
  426. package/dist/node_modules/simple-git/src/lib/tasks/move.js +0 -14
  427. package/dist/node_modules/simple-git/src/lib/tasks/move.js.map +0 -1
  428. package/dist/node_modules/simple-git/src/lib/tasks/pull.js +0 -19
  429. package/dist/node_modules/simple-git/src/lib/tasks/pull.js.map +0 -1
  430. package/dist/node_modules/simple-git/src/lib/tasks/push.js +0 -29
  431. package/dist/node_modules/simple-git/src/lib/tasks/push.js.map +0 -1
  432. package/dist/node_modules/simple-git/src/lib/tasks/remote.js +0 -42
  433. package/dist/node_modules/simple-git/src/lib/tasks/remote.js.map +0 -1
  434. package/dist/node_modules/simple-git/src/lib/tasks/reset.js +0 -38
  435. package/dist/node_modules/simple-git/src/lib/tasks/reset.js.map +0 -1
  436. package/dist/node_modules/simple-git/src/lib/tasks/stash-list.d.ts +0 -3
  437. package/dist/node_modules/simple-git/src/lib/tasks/stash-list.js +0 -16
  438. package/dist/node_modules/simple-git/src/lib/tasks/stash-list.js.map +0 -1
  439. package/dist/node_modules/simple-git/src/lib/tasks/status.js +0 -15
  440. package/dist/node_modules/simple-git/src/lib/tasks/status.js.map +0 -1
  441. package/dist/node_modules/simple-git/src/lib/tasks/sub-module.js +0 -25
  442. package/dist/node_modules/simple-git/src/lib/tasks/sub-module.js.map +0 -1
  443. package/dist/node_modules/simple-git/src/lib/tasks/tag.js +0 -45
  444. package/dist/node_modules/simple-git/src/lib/tasks/tag.js.map +0 -1
  445. package/dist/node_modules/simple-git/src/lib/tasks/task.js +0 -52
  446. package/dist/node_modules/simple-git/src/lib/tasks/task.js.map +0 -1
  447. package/dist/node_modules/simple-git/src/lib/types/handlers.js +0 -3
  448. package/dist/node_modules/simple-git/src/lib/types/handlers.js.map +0 -1
  449. package/dist/node_modules/simple-git/src/lib/types/index.js +0 -15
  450. package/dist/node_modules/simple-git/src/lib/types/index.js.map +0 -1
  451. package/dist/node_modules/simple-git/src/lib/types/tasks.js +0 -3
  452. package/dist/node_modules/simple-git/src/lib/types/tasks.js.map +0 -1
  453. package/dist/node_modules/simple-git/src/lib/utils/argument-filters.js +0 -47
  454. package/dist/node_modules/simple-git/src/lib/utils/argument-filters.js.map +0 -1
  455. package/dist/node_modules/simple-git/src/lib/utils/exit-codes.js +0 -14
  456. package/dist/node_modules/simple-git/src/lib/utils/exit-codes.js.map +0 -1
  457. package/dist/node_modules/simple-git/src/lib/utils/git-output-streams.js +0 -14
  458. package/dist/node_modules/simple-git/src/lib/utils/git-output-streams.js.map +0 -1
  459. package/dist/node_modules/simple-git/src/lib/utils/index.js +0 -21
  460. package/dist/node_modules/simple-git/src/lib/utils/index.js.map +0 -1
  461. package/dist/node_modules/simple-git/src/lib/utils/line-parser.js +0 -52
  462. package/dist/node_modules/simple-git/src/lib/utils/line-parser.js.map +0 -1
  463. package/dist/node_modules/simple-git/src/lib/utils/simple-git-options.js +0 -16
  464. package/dist/node_modules/simple-git/src/lib/utils/simple-git-options.js.map +0 -1
  465. package/dist/node_modules/simple-git/src/lib/utils/task-options.js +0 -58
  466. package/dist/node_modules/simple-git/src/lib/utils/task-options.js.map +0 -1
  467. package/dist/node_modules/simple-git/src/lib/utils/task-parser.js +0 -24
  468. package/dist/node_modules/simple-git/src/lib/utils/task-parser.js.map +0 -1
  469. package/dist/node_modules/simple-git/src/lib/utils/util.js +0 -146
  470. package/dist/node_modules/simple-git/src/lib/utils/util.js.map +0 -1
  471. package/dist/node_modules/simple-git/typings/types.d.ts +0 -14
  472. /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-construct-error.d.ts +0 -0
  473. /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/git-response-error.d.ts +0 -0
  474. /package/dist/node_modules/simple-git/{src → dist/src}/lib/errors/task-configuration-error.d.ts +0 -0
  475. /package/dist/node_modules/simple-git/{src → dist/src}/lib/git-logger.d.ts +0 -0
  476. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-branch-delete.d.ts +0 -0
  477. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-commit.d.ts +0 -0
  478. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-fetch.d.ts +0 -0
  479. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-merge.d.ts +0 -0
  480. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-move.d.ts +0 -0
  481. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-push.d.ts +0 -0
  482. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-remote-messages.d.ts +0 -0
  483. /package/dist/node_modules/simple-git/{src → dist/src}/lib/parsers/parse-remote-objects.d.ts +0 -0
  484. /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/command-config-prefixing-plugin.d.ts +0 -0
  485. /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/error-detection.plugin.d.ts +0 -0
  486. /package/dist/node_modules/simple-git/{src → dist/src}/lib/plugins/spawn-options-plugin.d.ts +0 -0
  487. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/BranchDeleteSummary.d.ts +0 -0
  488. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/CheckIgnore.d.ts +0 -0
  489. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/CleanSummary.d.ts +0 -0
  490. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/ConfigList.d.ts +0 -0
  491. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/DiffSummary.d.ts +0 -0
  492. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/GetRemoteSummary.d.ts +0 -0
  493. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/InitSummary.d.ts +0 -0
  494. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/MergeSummary.d.ts +0 -0
  495. /package/dist/node_modules/simple-git/{src → dist/src}/lib/responses/TagList.d.ts +0 -0
  496. /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/promise-wrapped.d.ts +0 -0
  497. /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/scheduler.d.ts +0 -0
  498. /package/dist/node_modules/simple-git/{src → dist/src}/lib/runners/tasks-pending-queue.d.ts +0 -0
  499. /package/dist/node_modules/simple-git/{src → dist/src}/lib/simple-git-api.d.ts +0 -0
  500. /package/dist/node_modules/simple-git/{src → dist/src}/lib/task-callback.d.ts +0 -0
  501. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/apply-patch.d.ts +0 -0
  502. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/branch.d.ts +0 -0
  503. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/change-working-directory.d.ts +0 -0
  504. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/check-ignore.d.ts +0 -0
  505. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/check-is-repo.d.ts +0 -0
  506. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/clean.d.ts +0 -0
  507. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/grep.d.ts +0 -0
  508. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/hash-object.d.ts +0 -0
  509. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/init.d.ts +0 -0
  510. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/merge.d.ts +0 -0
  511. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/move.d.ts +0 -0
  512. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/pull.d.ts +0 -0
  513. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/push.d.ts +0 -0
  514. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/reset.d.ts +0 -0
  515. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/status.d.ts +0 -0
  516. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/sub-module.d.ts +0 -0
  517. /package/dist/node_modules/simple-git/{src → dist/src}/lib/tasks/tag.d.ts +0 -0
  518. /package/dist/node_modules/simple-git/{src → dist/src}/lib/types/handlers.d.ts +0 -0
  519. /package/dist/node_modules/simple-git/{src → dist/src}/lib/types/tasks.d.ts +0 -0
  520. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/argument-filters.d.ts +0 -0
  521. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/git-output-streams.d.ts +0 -0
  522. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/index.d.ts +0 -0
  523. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/simple-git-options.d.ts +0 -0
  524. /package/dist/node_modules/simple-git/{src → dist/src}/lib/utils/task-options.d.ts +0 -0
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.taskCallback = void 0;
4
- const git_response_error_1 = require("./errors/git-response-error");
5
- const utils_1 = require("./utils");
6
- function taskCallback(task, response, callback = utils_1.NOOP) {
7
- const onSuccess = (data) => {
8
- callback(null, data);
9
- };
10
- const onError = (err) => {
11
- if ((err === null || err === void 0 ? void 0 : err.task) === task) {
12
- callback((err instanceof git_response_error_1.GitResponseError) ? addDeprecationNoticeToError(err) : err, undefined);
13
- }
14
- };
15
- response.then(onSuccess, onError);
16
- }
17
- exports.taskCallback = taskCallback;
18
- function addDeprecationNoticeToError(err) {
19
- let log = (name) => {
20
- console.warn(`simple-git deprecation notice: accessing GitResponseError.${name} should be GitResponseError.git.${name}, this will no longer be available in version 3`);
21
- log = utils_1.NOOP;
22
- };
23
- return Object.create(err, Object.getOwnPropertyNames(err.git).reduce(descriptorReducer, {}));
24
- function descriptorReducer(all, name) {
25
- if (name in err) {
26
- return all;
27
- }
28
- all[name] = {
29
- enumerable: false,
30
- configurable: false,
31
- get() {
32
- log(name);
33
- return err.git[name];
34
- },
35
- };
36
- return all;
37
- }
38
- }
39
- //# sourceMappingURL=task-callback.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-callback.js","sourceRoot":"","sources":["task-callback.ts"],"names":[],"mappings":";;;AACA,oEAA+D;AAE/D,mCAA+B;AAE/B,SAAgB,YAAY,CAAI,IAAsB,EAAE,QAAoB,EAAE,WAAqC,YAAI;IAEpH,MAAM,SAAS,GAAG,CAAC,IAAO,EAAE,EAAE;QAC3B,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,MAAM,OAAO,GAAG,CAAC,GAAgC,EAAE,EAAE;QAClD,IAAI,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,IAAI,MAAK,IAAI,EAAE;YACrB,QAAQ,CAAC,CAAC,GAAG,YAAY,qCAAgB,CAAC,CAAC,CAAC,CAAC,2BAA2B,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,SAAgB,CAAC,CAAC;SACzG;IACJ,CAAC,CAAC;IAEF,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAErC,CAAC;AAdD,oCAcC;AAED,SAAS,2BAA2B,CAAE,GAAqB;IACxD,IAAI,GAAG,GAAG,CAAC,IAAY,EAAE,EAAE;QACxB,OAAO,CAAC,IAAI,CAAC,6DAA6D,IAAI,mCAAmC,IAAI,iDAAiD,CAAC,CAAC;QACxK,GAAG,GAAG,YAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC,CAAC;IAE7F,SAAS,iBAAiB,CAAC,GAA0B,EAAE,IAAY;QAChE,IAAI,IAAI,IAAI,GAAG,EAAE;YACd,OAAO,GAAG,CAAC;SACb;QAED,GAAG,CAAC,IAAI,CAAC,GAAG;YACT,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,KAAK;YACnB,GAAG;gBACA,GAAG,CAAC,IAAI,CAAC,CAAC;gBACV,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;SACH,CAAC;QAEF,OAAO,GAAG,CAAC;IACd,CAAC;AACJ,CAAC"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.applyPatchTask = void 0;
4
- const task_1 = require("./task");
5
- function applyPatchTask(patches, customArgs) {
6
- return task_1.straightThroughStringTask(['apply', ...customArgs, ...patches]);
7
- }
8
- exports.applyPatchTask = applyPatchTask;
9
- //# sourceMappingURL=apply-patch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apply-patch.js","sourceRoot":"","sources":["apply-patch.ts"],"names":[],"mappings":";;;AAAA,iCAAmD;AAkCnD,SAAgB,cAAc,CAAC,OAAiB,EAAE,UAAoB;IACnE,OAAO,gCAAyB,CAAC,CAAC,OAAO,EAAE,GAAG,UAAU,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC;AAC1E,CAAC;AAFD,wCAEC"}
@@ -1,76 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteBranchTask = exports.deleteBranchesTask = exports.branchLocalTask = exports.branchTask = exports.containsDeleteBranchCommand = void 0;
4
- const git_response_error_1 = require("../errors/git-response-error");
5
- const parse_branch_delete_1 = require("../parsers/parse-branch-delete");
6
- const parse_branch_1 = require("../parsers/parse-branch");
7
- const utils_1 = require("../utils");
8
- function containsDeleteBranchCommand(commands) {
9
- const deleteCommands = ['-d', '-D', '--delete'];
10
- return commands.some(command => deleteCommands.includes(command));
11
- }
12
- exports.containsDeleteBranchCommand = containsDeleteBranchCommand;
13
- function branchTask(customArgs) {
14
- const isDelete = containsDeleteBranchCommand(customArgs);
15
- const commands = ['branch', ...customArgs];
16
- if (commands.length === 1) {
17
- commands.push('-a');
18
- }
19
- if (!commands.includes('-v')) {
20
- commands.splice(1, 0, '-v');
21
- }
22
- return {
23
- format: 'utf-8',
24
- commands,
25
- parser(stdOut, stdErr) {
26
- if (isDelete) {
27
- return parse_branch_delete_1.parseBranchDeletions(stdOut, stdErr).all[0];
28
- }
29
- return parse_branch_1.parseBranchSummary(stdOut);
30
- },
31
- };
32
- }
33
- exports.branchTask = branchTask;
34
- function branchLocalTask() {
35
- const parser = parse_branch_1.parseBranchSummary;
36
- return {
37
- format: 'utf-8',
38
- commands: ['branch', '-v'],
39
- parser,
40
- };
41
- }
42
- exports.branchLocalTask = branchLocalTask;
43
- function deleteBranchesTask(branches, forceDelete = false) {
44
- return {
45
- format: 'utf-8',
46
- commands: ['branch', '-v', forceDelete ? '-D' : '-d', ...branches],
47
- parser(stdOut, stdErr) {
48
- return parse_branch_delete_1.parseBranchDeletions(stdOut, stdErr);
49
- },
50
- onError({ exitCode, stdOut }, error, done, fail) {
51
- if (!parse_branch_delete_1.hasBranchDeletionError(String(error), exitCode)) {
52
- return fail(error);
53
- }
54
- done(stdOut);
55
- },
56
- };
57
- }
58
- exports.deleteBranchesTask = deleteBranchesTask;
59
- function deleteBranchTask(branch, forceDelete = false) {
60
- const task = {
61
- format: 'utf-8',
62
- commands: ['branch', '-v', forceDelete ? '-D' : '-d', branch],
63
- parser(stdOut, stdErr) {
64
- return parse_branch_delete_1.parseBranchDeletions(stdOut, stdErr).branches[branch];
65
- },
66
- onError({ exitCode, stdErr, stdOut }, error, _, fail) {
67
- if (!parse_branch_delete_1.hasBranchDeletionError(String(error), exitCode)) {
68
- return fail(error);
69
- }
70
- throw new git_response_error_1.GitResponseError(task.parser(utils_1.bufferToString(stdOut), utils_1.bufferToString(stdErr)), String(error));
71
- },
72
- };
73
- return task;
74
- }
75
- exports.deleteBranchTask = deleteBranchTask;
76
- //# sourceMappingURL=branch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branch.js","sourceRoot":"","sources":["branch.ts"],"names":[],"mappings":";;;AAEA,qEAAgE;AAChE,wEAA8F;AAC9F,0DAA6D;AAC7D,oCAA0C;AAE1C,SAAgB,2BAA2B,CAAC,QAAkB;IAC3D,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;IAChD,OAAO,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC;AAHD,kEAGC;AAED,SAAgB,UAAU,CAAC,UAAoB;IAC5C,MAAM,QAAQ,GAAG,2BAA2B,CA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AAI;YAC1C,IAAI,CAAC,4CAAsB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,EAAE;gBACnD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;aACrB;YAED,IAAI,CAAC,MAAM,CAAC,CAAC;QAChB,CAAC;KACH,CAAA;AACJ,CAAC;AAfD,gDAeC;AAED,SAAgB,gBAAgB,CAAC,MAAc,EAAE,WAAW,GAAG,KAAK;IACjE,MAAM,IAAI,GAAyC;QAChD,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,CAAC,QAAQ,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC;QAC7D,MAAM,CAAC,MAAM,EAAE,MAAM;YAClB,OAAO,0CAAoB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAE,CAAC;QACjE,CAAC;QACD,OAAO,CAAC,EAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI;YAC/C,IAAI,CAAC,4CAAsB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,EAAE;gBACnD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;aACrB;YAED,MAAM,IAAI,qCAAgB,CACvB,IAAI,CAAC,MAAM,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,sBAAc,CAAC,MAAM,CAAC,CAAC,EAC3D,MAAM,CAAC,KAAK,CAAC,CACf,CAAC;QACL,CAAC;KACH,CAAC;IAEF,OAAO,IAAI,CAAC;AACf,CAAC;AApBD,4CAoBC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.changeWorkingDirectoryTask = void 0;
4
- const utils_1 = require("../utils");
5
- const task_1 = require("./task");
6
- function changeWorkingDirectoryTask(directory, root) {
7
- return task_1.adhocExecTask((instance) => {
8
- if (!utils_1.folderExists(directory)) {
9
- throw new Error(`Git.cwd: cannot change to non-directory "${directory}"`);
10
- }
11
- return ((root || instance).cwd = directory);
12
- });
13
- }
14
- exports.changeWorkingDirectoryTask = changeWorkingDirectoryTask;
15
- //# sourceMappingURL=change-working-directory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"change-working-directory.js","sourceRoot":"","sources":["change-working-directory.ts"],"names":[],"mappings":";;;AAAA,oCAAwC;AAExC,iCAAuC;AAEvC,SAAgB,0BAA0B,CAAE,SAAiB,EAAE,IAAwB;IACpF,OAAO,oBAAa,CAAC,CAAC,QAA2B,EAAE,EAAE;QAClD,IAAI,CAAC,oBAAY,CAAC,SAAS,CAAC,EAAE;YAC3B,MAAM,IAAI,KAAK,CAAC,4CAA6C,SAAU,GAAG,CAAC,CAAC;SAC9E;QAED,OAAO,CAAC,CAAC,IAAI,IAAI,QAAQ,CAAC,CAAC,GAAG,GAAG,SAAS,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACN,CAAC;AARD,gEAQC"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkIgnoreTask = void 0;
4
- const CheckIgnore_1 = require("../responses/CheckIgnore");
5
- function checkIgnoreTask(paths) {
6
- return {
7
- commands: ['check-ignore', ...paths],
8
- format: 'utf-8',
9
- parser: CheckIgnore_1.parseCheckIgnore,
10
- };
11
- }
12
- exports.checkIgnoreTask = checkIgnoreTask;
13
- //# sourceMappingURL=check-ignore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check-ignore.js","sourceRoot":"","sources":["check-ignore.ts"],"names":[],"mappings":";;;AACA,0DAA4D;AAE5D,SAAgB,eAAe,CAAC,KAAe;IAC5C,OAAO;QACJ,QAAQ,EAAE,CAAC,cAAc,EAAE,GAAG,KAAK,CAAC;QACpC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,8BAAgB;KAC1B,CAAC;AACL,CAAC;AAND,0CAMC"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkIsBareRepoTask = exports.checkIsRepoRootTask = exports.checkIsRepoTask = exports.CheckRepoActions = void 0;
4
- const utils_1 = require("../utils");
5
- var CheckRepoActions;
6
- (function (CheckRepoActions) {
7
- CheckRepoActions["BARE"] = "bare";
8
- CheckRepoActions["IN_TREE"] = "tree";
9
- CheckRepoActions["IS_REPO_ROOT"] = "root";
10
- })(CheckRepoActions = exports.CheckRepoActions || (exports.CheckRepoActions = {}));
11
- const onError = ({ exitCode }, error, done, fail) => {
12
- if (exitCode === utils_1.ExitCodes.UNCLEAN && isNotRepoMessage(error)) {
13
- return done(Buffer.from('false'));
14
- }
15
- fail(error);
16
- };
17
- const parser = (text) => {
18
- return text.trim() === 'true';
19
- };
20
- function checkIsRepoTask(action) {
21
- switch (action) {
22
- case CheckRepoActions.BARE:
23
- return checkIsBareRepoTask();
24
- case CheckRepoActions.IS_REPO_ROOT:
25
- return checkIsRepoRootTask();
26
- }
27
- const commands = ['rev-parse', '--is-inside-work-tree'];
28
- return {
29
- commands,
30
- format: 'utf-8',
31
- onError,
32
- parser,
33
- };
34
- }
35
- exports.checkIsRepoTask = checkIsRepoTask;
36
- function checkIsRepoRootTask() {
37
- const commands = ['rev-parse', '--git-dir'];
38
- return {
39
- commands,
40
- format: 'utf-8',
41
- onError,
42
- parser(path) {
43
- return /^\.(git)?$/.test(path.trim());
44
- },
45
- };
46
- }
47
- exports.checkIsRepoRootTask = checkIsRepoRootTask;
48
- function checkIsBareRepoTask() {
49
- const commands = ['rev-parse', '--is-bare-repository'];
50
- return {
51
- commands,
52
- format: 'utf-8',
53
- onError,
54
- parser,
55
- };
56
- }
57
- exports.checkIsBareRepoTask = checkIsBareRepoTask;
58
- function isNotRepoMessage(error) {
59
- return /(Not a git repository|Kein Git-Repository)/i.test(String(error));
60
- }
61
- //# sourceMappingURL=check-is-repo.js.map
@@ -1 +0,0 @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,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QACzC,CAAC;KACH,CAAA;AACJ,CAAC;AAXD,kDAWC;AAGD,SAAgB,mBAAmB;IAChC,MAAM,QAAQ,GAAG,CAAC,WAAW,EAAE,sBAAsB,CAAC,CAAC;IAEvD,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,OAAO;QACP,MAAM;KACR,CAAA;AACJ,CAAC;AATD,kDASC;AAGD,SAAS,gBAAgB,CAAC,KAAY;IACnC,OAAO,6CAA6C,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AAC5E,CAAC"}
@@ -1,85 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isCleanOptionsArray = exports.cleanTask = exports.cleanWithOptionsTask = exports.CleanOptions = exports.CONFIG_ERROR_UNKNOWN_OPTION = exports.CONFIG_ERROR_MODE_REQUIRED = exports.CONFIG_ERROR_INTERACTIVE_MODE = void 0;
4
- const CleanSummary_1 = require("../responses/CleanSummary");
5
- const utils_1 = require("../utils");
6
- const task_1 = require("./task");
7
- exports.CONFIG_ERROR_INTERACTIVE_MODE = 'Git clean interactive mode is not supported';
8
- exports.CONFIG_ERROR_MODE_REQUIRED = 'Git clean mode parameter ("n" or "f") is required';
9
- exports.CONFIG_ERROR_UNKNOWN_OPTION = 'Git clean unknown option found in: ';
10
- /**
11
- * All supported option switches available for use in a `git.clean` operation
12
- */
13
- var CleanOptions;
14
- (function (CleanOptions) {
15
- CleanOptions["DRY_RUN"] = "n";
16
- CleanOptions["FORCE"] = "f";
17
- CleanOptions["IGNORED_INCLUDED"] = "x";
18
- CleanOptions["IGNORED_ONLY"] = "X";
19
- CleanOptions["EXCLUDING"] = "e";
20
- CleanOptions["QUIET"] = "q";
21
- CleanOptions["RECURSIVE"] = "d";
22
- })(CleanOptions = exports.CleanOptions || (exports.CleanOptions = {}));
23
- const CleanOptionValues = new Set(['i', ...utils_1.asStringArray(Object.values(CleanOptions))]);
24
- function cleanWithOptionsTask(mode, customArgs) {
25
- const { cleanMode, options, valid } = getCleanOptions(mode);
26
- if (!cleanMode) {
27
- return task_1.configurationErrorTask(exports.CONFIG_ERROR_MODE_REQUIRED);
28
- }
29
- if (!valid.options) {
30
- return task_1.configurationErrorTask(exports.CONFIG_ERROR_UNKNOWN_OPTION + JSON.stringify(mode));
31
- }
32
- options.push(...customArgs);
33
- if (options.some(isInteractiveMode)) {
34
- return task_1.configurationErrorTask(exports.CONFIG_ERROR_INTERACTIVE_MODE);
35
- }
36
- return cleanTask(cleanMode, options);
37
- }
38
- exports.cleanWithOptionsTask = cleanWithOptionsTask;
39
- function cleanTask(mode, customArgs) {
40
- const commands = ['clean', `-${mode}`, ...customArgs];
41
- return {
42
- commands,
43
- format: 'utf-8',
44
- parser(text) {
45
- return CleanSummary_1.cleanSummaryParser(mode === CleanOptions.DRY_RUN, text);
46
- }
47
- };
48
- }
49
- exports.cleanTask = cleanTask;
50
- function isCleanOptionsArray(input) {
51
- return Array.isArray(input) && input.every(test => CleanOptionValues.has(test));
52
- }
53
- exports.isCleanOptionsArray = isCleanOptionsArray;
54
- function getCleanOptions(input) {
55
- let cleanMode;
56
- let options = [];
57
- let valid = { cleanMode: false, options: true };
58
- input.replace(/[^a-z]i/g, '').split('').forEach(char => {
59
- if (isCleanMode(char)) {
60
- cleanMode = char;
61
- valid.cleanMode = true;
62
- }
63
- else {
64
- valid.options = valid.options && isKnownOption(options[options.length] = (`-${char}`));
65
- }
66
- });
67
- return {
68
- cleanMode,
69
- options,
70
- valid,
71
- };
72
- }
73
- function isCleanMode(cleanMode) {
74
- return cleanMode === CleanOptions.FORCE || cleanMode === CleanOptions.DRY_RUN;
75
- }
76
- function isKnownOption(option) {
77
- return /^-[a-z]$/i.test(option) && CleanOptionValues.has(option.charAt(1));
78
- }
79
- function isInteractiveMode(option) {
80
- if (/^-[^\-]/.test(option)) {
81
- return option.indexOf('i') > 0;
82
- }
83
- return option === '--interactive';
84
- }
85
- //# sourceMappingURL=clean.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clean.js","sourceRoot":"","sources":["clean.ts"],"names":[],"mappings":";;;AACA,4DAA+D;AAE/D,oCAAyC;AACzC,iCAAgD;AAEnC,QAAA,6BAA6B,GAAG,6CAA6C,CAAC;AAC9E,QAAA,0BAA0B,GAAG,mDAAmD,CAAC;AACjF,QAAA,2BAA2B,GAAG,qCAAqC,CAAC;AAEjF;;GAEG;AACH,IAAY,YAQX;AARD,WAAY,YAAY;IACrB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,sCAAsB,CAAA;IACtB,kCAAkB,CAAA;IAClB,+BAAe,CAAA;IACf,2BAAW,CAAA;IACX,+BAAe,CAAA;AAClB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AAQD,MAAM,iBAAiB,GAAgB,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,qBAAa,CAAC,MAAM,CAAC,MAAM,CAAC,YAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAE5G,SAAgB,oBAAoB,CAAC,IAAwB,EAAE,UAAoB;IAChF,MAAM,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAC,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAE1D,IAAI,CAAC,SAAS,EAAE;QACb,OAAO,6BAAsB,CAAC,kCAA0B,CAAC,CAAC;KAC5D;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;QACjB,OAAO,6BAAsB,CAAC,mCAA2B,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;KACpF;IAED,OAAO,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC;IAE5B,IAAI,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE;QAClC,OAAO,6BAAsB,CAAC,qCAA6B,CAAC,CAAC;KAC/D;IAED,OAAO,SAAS,CAAC,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ACT,OAAO;QACP,KAAK;KACP,CAAA;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,SAAkB;IACpC,OAAO,SAAS,KAAK,YAAY,CAAC,KAAK,IAAI,SAAS,KAAK,YAAY,CAAC,OAAO,CAAC;AACjF,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IAClC,OAAO,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACtC,IAAI,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;QACzB,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;KACjC;IAED,OAAO,MAAM,KAAK,eAAe,CAAC;AACrC,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.cloneMirrorTask = exports.cloneTask = void 0;
4
- const task_1 = require("./task");
5
- const utils_1 = require("../utils");
6
- function cloneTask(repo, directory, customArgs) {
7
- const commands = ['clone', ...customArgs];
8
- if (typeof repo === 'string') {
9
- commands.push(repo);
10
- }
11
- if (typeof directory === 'string') {
12
- commands.push(directory);
13
- }
14
- return task_1.straightThroughStringTask(commands);
15
- }
16
- exports.cloneTask = cloneTask;
17
- function cloneMirrorTask(repo, directory, customArgs) {
18
- utils_1.append(customArgs, '--mirror');
19
- return cloneTask(repo, directory, customArgs);
20
- }
21
- exports.cloneMirrorTask = cloneMirrorTask;
22
- //# sourceMappingURL=clone.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clone.js","sourceRoot":"","sources":["clone.ts"],"names":[],"mappings":";;;AAAA,iCAAmD;AAEnD,oCAAkC;AAoBlC,SAAgB,SAAS,CAAC,IAAwB,EAAE,SAA6B,EAAE,UAAoB;IACpG,MAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC,CAAC;IAC1C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC3B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtB;IACD,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;QAChC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC3B;IAED,OAAO,gCAAyB,CAAC,QAAQ,CAAC,CAAC;AAC9C,CAAC;AAVD,8BAUC;AAED,SAAgB,eAAe,CAAC,IAAwB,EAAE,SAA6B,EAAE,UAAoB;IAC1G,cAAM,CAAC,UAAU,EAAC,UAAU,CAAC,CAAC;IAE9B,OAAO,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AACjD,CAAC;AAJD,0CAIC"}
@@ -1,3 +0,0 @@
1
- import { CommitResult } from '../../../typings';
2
- import { StringTask } from '../types';
3
- export declare function commitTask(message: string[], files: string[], customArgs: string[]): StringTask<CommitResult>;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commitTask = void 0;
4
- const parse_commit_1 = require("../parsers/parse-commit");
5
- function commitTask(message, files, customArgs) {
6
- const commands = ['commit'];
7
- message.forEach((m) => commands.push('-m', m));
8
- commands.push(...files, ...customArgs);
9
- return {
10
- commands,
11
- format: 'utf-8',
12
- parser: parse_commit_1.parseCommitResult,
13
- };
14
- }
15
- exports.commitTask = commitTask;
16
- //# sourceMappingURL=commit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commit.js","sourceRoot":"","sources":["commit.ts"],"names":[],"mappings":";;;AACA,0DAA4D;AAG5D,SAAgB,UAAU,CAAC,OAAiB,EAAE,KAAe,EAAE,UAAoB;IAChF,MAAM,QAAQ,GAAa,CAAC,QAAQ,CAAC,CAAC;IAEtC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAE/C,QAAQ,CAAC,IAAI,CACV,GAAG,KAAK,EACR,GAAG,UAAU,CACf,CAAC;IAEF,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,gCAAiB;KAC3B,CAAA;AACJ,CAAC;AAfD,gCAeC"}
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GitConfigScope = void 0;
4
- const ConfigList_1 = require("../responses/ConfigList");
5
- const utils_1 = require("../utils");
6
- var GitConfigScope;
7
- (function (GitConfigScope) {
8
- GitConfigScope["system"] = "system";
9
- GitConfigScope["global"] = "global";
10
- GitConfigScope["local"] = "local";
11
- GitConfigScope["worktree"] = "worktree";
12
- })(GitConfigScope = exports.GitConfigScope || (exports.GitConfigScope = {}));
13
- function asConfigScope(scope, fallback) {
14
- if (typeof scope === 'string' && GitConfigScope.hasOwnProperty(scope)) {
15
- return scope;
16
- }
17
- return fallback;
18
- }
19
- function addConfigTask(key, value, append, scope) {
20
- const commands = ['config', `--${scope}`];
21
- if (append) {
22
- commands.push('--add');
23
- }
24
- commands.push(key, value);
25
- return {
26
- commands,
27
- format: 'utf-8',
28
- parser(text) {
29
- return text;
30
- }
31
- };
32
- }
33
- function getConfigTask(key, scope) {
34
- const commands = ['config', '--null', '--show-origin', '--get-all', key];
35
- if (scope) {
36
- commands.splice(1, 0, `--${scope}`);
37
- }
38
- return {
39
- commands,
40
- format: 'utf-8',
41
- parser(text) {
42
- return ConfigList_1.configGetParser(text, key);
43
- }
44
- };
45
- }
46
- function listConfigTask(scope) {
47
- const commands = ['config', '--list', '--show-origin', '--null'];
48
- if (scope) {
49
- commands.push(`--${scope}`);
50
- }
51
- return {
52
- commands,
53
- format: 'utf-8',
54
- parser(text) {
55
- return ConfigList_1.configListParser(text);
56
- },
57
- };
58
- }
59
- function default_1() {
60
- return {
61
- addConfig(key, value, ...rest) {
62
- return this._runTask(addConfigTask(key, value, rest[0] === true, asConfigScope(rest[1], GitConfigScope.local)), utils_1.trailingFunctionArgument(arguments));
63
- },
64
- getConfig(key, scope) {
65
- return this._runTask(getConfigTask(key, asConfigScope(scope, undefined)), utils_1.trailingFunctionArgument(arguments));
66
- },
67
- listConfig(...rest) {
68
- return this._runTask(listConfigTask(asConfigScope(rest[0], undefined)), utils_1.trailingFunctionArgument(arguments));
69
- },
70
- };
71
- }
72
- exports.default = default_1;
73
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["config.ts"],"names":[],"mappings":";;;AACA,wDAA4E;AAG5E,oCAAoD;AAEpD,IAAY,cAKX;AALD,WAAY,cAAc;IACvB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,uCAAqB,CAAA;AACxB,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,SAAS,aAAa,CAAuC,KAA+B,EAAE,QAAW;IACtG,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,cAAc,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE;QACpE,OAAO,KAAuB,CAAC;KACjC;IACD,OAAO,QAAQ,CAAC;AACnB,CAAC;AAED,SAAS,aAAa,CAAC,GAAW,EAAE,KAAa,EAAE,MAAe,EAAE,KAAqB;IACtF,MAAM,QAAQ,GAAa,CAAC,QAAQ,EAAE,KAAK,KAAK,EAAE,CAAC,CAAC;IAEpD,IAAI,MAAM,EAAE;QACT,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACzB;IAED,QAAQ,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAE1B,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,CAAC,IAAY;YAChB,OAAO,IAAI,CAAC;QACf,CAAC;KACH,CAAA;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,GAAW,EAAE,KAAsB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AAA;QACJ,CAAC;QAED,UAAU,CAAqB,GAAG,IAAe;YAC9C,OAAO,IAAI,CAAC,QAAQ,CACjB,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,EACjD,gCAAwB,CAAC,SAAS,CAAC,CACrC,CAAC;QACL,CAAC;KACH,CAAC;AACL,CAAC;AAvBD,4BAuBC"}
@@ -1,3 +0,0 @@
1
- import { StringTask } from '../types';
2
- import { DiffResult } from '../../../typings';
3
- export declare function diffSummaryTask(customArgs: string[]): StringTask<DiffResult>;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.diffSummaryTask = void 0;
4
- const parse_diff_summary_1 = require("../parsers/parse-diff-summary");
5
- function diffSummaryTask(customArgs) {
6
- return {
7
- commands: ['diff', '--stat=4096', ...customArgs],
8
- format: 'utf-8',
9
- parser(stdOut) {
10
- return parse_diff_summary_1.parseDiffResult(stdOut);
11
- }
12
- };
13
- }
14
- exports.diffSummaryTask = diffSummaryTask;
15
- //# sourceMappingURL=diff.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diff.js","sourceRoot":"","sources":["diff.ts"],"names":[],"mappings":";;;AAEA,sEAAgE;AAEhE,SAAgB,eAAe,CAAC,UAAoB;IACjD,OAAO;QACJ,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;QAChD,MAAM,EAAE,OAAO;QACf,MAAM,CAAE,MAAM;YACX,OAAO,oCAAe,CAAC,MAAM,CAAC,CAAC;QAClC,CAAC;KACH,CAAA;AACJ,CAAC;AARD,0CAQC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fetchTask = void 0;
4
- const parse_fetch_1 = require("../parsers/parse-fetch");
5
- function fetchTask(remote, branch, customArgs) {
6
- const commands = ['fetch', ...customArgs];
7
- if (remote && branch) {
8
- commands.push(remote, branch);
9
- }
10
- return {
11
- commands,
12
- format: 'utf-8',
13
- parser: parse_fetch_1.parseFetchResult,
14
- };
15
- }
16
- exports.fetchTask = fetchTask;
17
- //# sourceMappingURL=fetch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch.js","sourceRoot":"","sources":["fetch.ts"],"names":[],"mappings":";;;AACA,wDAA0D;AAG1D,SAAgB,SAAS,CAAC,MAAc,EAAE,MAAc,EAAE,UAAoB;IAC3E,MAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC,CAAC;IAC1C,IAAI,MAAM,IAAI,MAAM,EAAE;QACnB,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAChC;IAED,OAAO;QACJ,QAAQ;QACR,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,8BAAgB;KAC1B,CAAA;AACJ,CAAC;AAXD,8BAWC"}
@@ -1,76 +0,0 @@
1
- "use strict";
2
- var _a;
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.grepQueryBuilder = void 0;
5
- const utils_1 = require("../utils");
6
- const task_1 = require("./task");
7
- const disallowedOptions = ['-h'];
8
- const Query = Symbol('grepQuery');
9
- class GrepQuery {
10
- constructor() {
11
- this[_a] = [];
12
- }
13
- *[(_a = Query, Symbol.iterator)]() {
14
- for (const query of this[Query]) {
15
- yield query;
16
- }
17
- }
18
- and(...and) {
19
- and.length && this[Query].push('--and', '(', ...utils_1.prefixedArray(and, '-e'), ')');
20
- return this;
21
- }
22
- param(...param) {
23
- this[Query].push(...utils_1.prefixedArray(param, '-e'));
24
- return this;
25
- }
26
- }
27
- /**
28
- * Creates a new builder for a `git.grep` query with optional params
29
- */
30
- function grepQueryBuilder(...params) {
31
- return new GrepQuery().param(...params);
32
- }
33
- exports.grepQueryBuilder = grepQueryBuilder;
34
- function parseGrep(grep) {
35
- const paths = new Set();
36
- const results = {};
37
- utils_1.forEachLineWithContent(grep, (input) => {
38
- const [path, line, preview] = input.split(utils_1.NULL);
39
- paths.add(path);
40
- (results[path] = results[path] || []).push({
41
- line: utils_1.asNumber(line),
42
- path,
43
- preview,
44
- });
45
- });
46
- return {
47
- paths,
48
- results,
49
- };
50
- }
51
- function default_1() {
52
- return {
53
- grep(searchTerm) {
54
- const then = utils_1.trailingFunctionArgument(arguments);
55
- const options = utils_1.getTrailingOptions(arguments);
56
- for (const option of disallowedOptions) {
57
- if (options.includes(option)) {
58
- return this._runTask(task_1.configurationErrorTask(`git.grep: use of "${option}" is not supported.`), then);
59
- }
60
- }
61
- if (typeof searchTerm === 'string') {
62
- searchTerm = grepQueryBuilder().param(searchTerm);
63
- }
64
- const commands = ['grep', '--null', '-n', '--full-name', ...options, ...searchTerm];
65
- return this._runTask({
66
- commands,
67
- format: 'utf-8',
68
- parser(stdOut) {
69
- return parseGrep(stdOut);
70
- },
71
- }, then);
72
- }
73
- };
74
- }
75
- exports.default = default_1;
76
- //# sourceMappingURL=grep.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grep.js","sourceRoot":"","sources":["grep.ts"],"names":[],"mappings":";;;;AAEA,oCAOkB;AAElB,iCAAgD;AAEhD,MAAM,iBAAiB,GAAG,CAAC,IAAI,CAAC,CAAC;AAEjC,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAUlC,MAAM,SAAS;IAAf;QACW,QAAO,GAAa,EAAE,CAAC;IAiBlC,CAAC;IAfE,CAAE,OAFO,KAAK,EAEX,MAAM,CAAC,QAAQ,EAAC;QAChB,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE;YAC9B,MAAM,KAAK,CAAC;SACd;IACJ,CAAC;IAED,GAAG,CAAC,GAAG,GAAa;QACjB,GAAG,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,qBAAa,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,CA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IAAI,CAAC,QAAQ,CACjB,6BAAsB,CAAC,qBAAqB,MAAM,qBAAqB,CAAC,EACxE,IAAI,CACN,CAAC;iBACJ;aACH;YAED,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;gBACjC,UAAU,GAAG,gBAAgB,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;aACpD;YAED,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,OAAO,EAAE,GAAG,UAAU,CAAC,CAAC;YAEpF,OAAO,IAAI,CAAC,QAAQ,CAAC;gBAClB,QAAQ;gBACR,MAAM,EAAE,OAAO;gBACf,MAAM,CAAC,MAAM;oBACV,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;gBAC5B,CAAC;aACH,EAAE,IAAI,CAAC,CAAC;QACZ,CAAC;KACH,CAAA;AACJ,CAAC;AA9BD,4BA8BC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hashObjectTask = void 0;
4
- const task_1 = require("./task");
5
- /**
6
- * Task used by `git.hashObject`
7
- */
8
- function hashObjectTask(filePath, write) {
9
- const commands = ['hash-object', filePath];
10
- if (write) {
11
- commands.push('-w');
12
- }
13
- return task_1.straightThroughStringTask(commands, true);
14
- }
15
- exports.hashObjectTask = hashObjectTask;
16
- //# sourceMappingURL=hash-object.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hash-object.js","sourceRoot":"","sources":["hash-object.ts"],"names":[],"mappings":";;;AAAA,iCAAmD;AAGnD;;GAEG;AACH,SAAgB,cAAc,CAAC,QAAgB,EAAE,KAAc;IAC5D,MAAM,QAAQ,GAAG,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;IAC3C,IAAI,KAAK,EAAE;QACR,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACtB;IAED,OAAO,gCAAyB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AACpD,CAAC;AAPD,wCAOC"}