@emulsify/cli 2.1.1 → 2.3.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 (1532) hide show
  1. package/README.md +53 -258
  2. package/dist/handlers/audit.js +103 -0
  3. package/dist/handlers/cacheClear.js +62 -0
  4. package/dist/handlers/componentCreate.js +3 -1
  5. package/dist/handlers/componentInstall.js +8 -6
  6. package/dist/handlers/componentList.js +4 -2
  7. package/dist/handlers/hofs/withEmulsifySystem.js +69 -6
  8. package/dist/handlers/init.js +22 -6
  9. package/dist/handlers/systemInstall.js +151 -32
  10. package/dist/index.js +137 -24
  11. package/dist/lib/constants.js +1 -0
  12. package/dist/schemas/emulsifyProjectConfig.json +2 -2
  13. package/dist/schemas/system.json +1 -1
  14. package/dist/schemas/variant.json +28 -3
  15. package/dist/util/cache/cloneIntoCache.js +212 -11
  16. package/dist/util/cache/copyItemFromCache.js +8 -7
  17. package/dist/util/cache/getCachedItemCheckout.js +2 -2
  18. package/dist/util/cache/getCachedItemPath.js +10 -7
  19. package/dist/util/cache/getJsonFromCachedFile.js +6 -2
  20. package/dist/util/cache/normalizeRepositoryUrl.js +16 -0
  21. package/dist/util/fs/findFileInCurrentPath.js +13 -4
  22. package/dist/util/getAvailableStarters.js +6 -0
  23. package/dist/util/platform/getInitSuccessMessageForPlatform.js +30 -25
  24. package/dist/util/platform/getPlatformInfo.js +9 -3
  25. package/dist/util/platform/getWordPressInfo.js +40 -0
  26. package/dist/util/platform/platformCompatibility.js +104 -0
  27. package/dist/util/system/getAvailableSystems.js +2 -2
  28. package/dist/util/system/validateSystemConfig.js +28 -0
  29. package/package.json +28 -19
  30. package/dist/node_modules/.package-lock.json +0 -884
  31. package/dist/node_modules/@inquirer/ansi/LICENSE +0 -22
  32. package/dist/node_modules/@inquirer/ansi/README.md +0 -89
  33. package/dist/node_modules/@inquirer/ansi/dist/index.d.ts +0 -14
  34. package/dist/node_modules/@inquirer/ansi/dist/index.js +0 -21
  35. package/dist/node_modules/@inquirer/ansi/package.json +0 -78
  36. package/dist/node_modules/@inquirer/checkbox/LICENSE +0 -22
  37. package/dist/node_modules/@inquirer/checkbox/README.md +0 -195
  38. package/dist/node_modules/@inquirer/checkbox/dist/index.d.ts +0 -56
  39. package/dist/node_modules/@inquirer/checkbox/dist/index.js +0 -210
  40. package/dist/node_modules/@inquirer/checkbox/package.json +0 -92
  41. package/dist/node_modules/@inquirer/confirm/LICENSE +0 -22
  42. package/dist/node_modules/@inquirer/confirm/README.md +0 -92
  43. package/dist/node_modules/@inquirer/confirm/dist/index.d.ts +0 -10
  44. package/dist/node_modules/@inquirer/confirm/dist/index.js +0 -48
  45. package/dist/node_modules/@inquirer/confirm/package.json +0 -90
  46. package/dist/node_modules/@inquirer/core/LICENSE +0 -22
  47. package/dist/node_modules/@inquirer/core/README.md +0 -386
  48. package/dist/node_modules/@inquirer/core/dist/index.d.ts +0 -13
  49. package/dist/node_modules/@inquirer/core/dist/index.js +0 -12
  50. package/dist/node_modules/@inquirer/core/dist/lib/Separator.d.ts +0 -10
  51. package/dist/node_modules/@inquirer/core/dist/lib/Separator.js +0 -21
  52. package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +0 -4
  53. package/dist/node_modules/@inquirer/core/dist/lib/create-prompt.js +0 -165
  54. package/dist/node_modules/@inquirer/core/dist/lib/errors.d.ts +0 -20
  55. package/dist/node_modules/@inquirer/core/dist/lib/errors.js +0 -21
  56. package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +0 -23
  57. package/dist/node_modules/@inquirer/core/dist/lib/hook-engine.js +0 -111
  58. package/dist/node_modules/@inquirer/core/dist/lib/key.d.ts +0 -15
  59. package/dist/node_modules/@inquirer/core/dist/lib/key.js +0 -34
  60. package/dist/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +0 -3
  61. package/dist/node_modules/@inquirer/core/dist/lib/make-theme.js +0 -32
  62. package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +0 -16
  63. package/dist/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +0 -121
  64. package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +0 -7
  65. package/dist/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +0 -14
  66. package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +0 -14
  67. package/dist/node_modules/@inquirer/core/dist/lib/screen-manager.js +0 -84
  68. package/dist/node_modules/@inquirer/core/dist/lib/theme.d.ts +0 -166
  69. package/dist/node_modules/@inquirer/core/dist/lib/theme.js +0 -29
  70. package/dist/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +0 -2
  71. package/dist/node_modules/@inquirer/core/dist/lib/use-effect.js +0 -11
  72. package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +0 -3
  73. package/dist/node_modules/@inquirer/core/dist/lib/use-keypress.js +0 -20
  74. package/dist/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +0 -1
  75. package/dist/node_modules/@inquirer/core/dist/lib/use-memo.js +0 -14
  76. package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +0 -5
  77. package/dist/node_modules/@inquirer/core/dist/lib/use-prefix.js +0 -35
  78. package/dist/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +0 -6
  79. package/dist/node_modules/@inquirer/core/dist/lib/use-ref.js +0 -4
  80. package/dist/node_modules/@inquirer/core/dist/lib/use-state.d.ts +0 -4
  81. package/dist/node_modules/@inquirer/core/dist/lib/use-state.js +0 -23
  82. package/dist/node_modules/@inquirer/core/dist/lib/utils.d.ts +0 -13
  83. package/dist/node_modules/@inquirer/core/dist/lib/utils.js +0 -25
  84. package/dist/node_modules/@inquirer/core/package.json +0 -97
  85. package/dist/node_modules/@inquirer/editor/LICENSE +0 -22
  86. package/dist/node_modules/@inquirer/editor/README.md +0 -101
  87. package/dist/node_modules/@inquirer/editor/dist/index.d.ts +0 -21
  88. package/dist/node_modules/@inquirer/editor/dist/index.js +0 -73
  89. package/dist/node_modules/@inquirer/editor/package.json +0 -91
  90. package/dist/node_modules/@inquirer/expand/LICENSE +0 -22
  91. package/dist/node_modules/@inquirer/expand/README.md +0 -141
  92. package/dist/node_modules/@inquirer/expand/dist/index.d.ts +0 -24
  93. package/dist/node_modules/@inquirer/expand/dist/index.js +0 -110
  94. package/dist/node_modules/@inquirer/expand/package.json +0 -90
  95. package/dist/node_modules/@inquirer/external-editor/LICENSE +0 -22
  96. package/dist/node_modules/@inquirer/external-editor/README.md +0 -154
  97. package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +0 -10
  98. package/dist/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +0 -13
  99. package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +0 -10
  100. package/dist/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +0 -13
  101. package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +0 -10
  102. package/dist/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +0 -13
  103. package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +0 -10
  104. package/dist/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +0 -13
  105. package/dist/node_modules/@inquirer/external-editor/dist/errors.d.ts +0 -20
  106. package/dist/node_modules/@inquirer/external-editor/dist/errors.js +0 -32
  107. package/dist/node_modules/@inquirer/external-editor/dist/index.d.ts +0 -35
  108. package/dist/node_modules/@inquirer/external-editor/dist/index.js +0 -146
  109. package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.d.ts +0 -5
  110. package/dist/node_modules/@inquirer/external-editor/dist/parse-editor-command.js +0 -28
  111. package/dist/node_modules/@inquirer/external-editor/package.json +0 -97
  112. package/dist/node_modules/@inquirer/figures/LICENSE +0 -22
  113. package/dist/node_modules/@inquirer/figures/dist/index.d.ts +0 -275
  114. package/dist/node_modules/@inquirer/figures/dist/index.js +0 -315
  115. package/dist/node_modules/@inquirer/figures/package.json +0 -80
  116. package/dist/node_modules/@inquirer/input/LICENSE +0 -22
  117. package/dist/node_modules/@inquirer/input/README.md +0 -101
  118. package/dist/node_modules/@inquirer/input/dist/index.d.ts +0 -20
  119. package/dist/node_modules/@inquirer/input/dist/index.js +0 -99
  120. package/dist/node_modules/@inquirer/input/package.json +0 -90
  121. package/dist/node_modules/@inquirer/number/LICENSE +0 -22
  122. package/dist/node_modules/@inquirer/number/README.md +0 -95
  123. package/dist/node_modules/@inquirer/number/dist/index.d.ts +0 -13
  124. package/dist/node_modules/@inquirer/number/dist/index.js +0 -95
  125. package/dist/node_modules/@inquirer/number/package.json +0 -90
  126. package/dist/node_modules/@inquirer/password/LICENSE +0 -22
  127. package/dist/node_modules/@inquirer/password/README.md +0 -93
  128. package/dist/node_modules/@inquirer/password/dist/index.d.ts +0 -15
  129. package/dist/node_modules/@inquirer/password/dist/index.js +0 -60
  130. package/dist/node_modules/@inquirer/password/package.json +0 -91
  131. package/dist/node_modules/@inquirer/prompts/LICENSE +0 -22
  132. package/dist/node_modules/@inquirer/prompts/README.md +0 -543
  133. package/dist/node_modules/@inquirer/prompts/dist/index.d.ts +0 -10
  134. package/dist/node_modules/@inquirer/prompts/dist/index.js +0 -10
  135. package/dist/node_modules/@inquirer/prompts/package.json +0 -101
  136. package/dist/node_modules/@inquirer/rawlist/LICENSE +0 -22
  137. package/dist/node_modules/@inquirer/rawlist/README.md +0 -135
  138. package/dist/node_modules/@inquirer/rawlist/dist/index.d.ts +0 -23
  139. package/dist/node_modules/@inquirer/rawlist/dist/index.js +0 -145
  140. package/dist/node_modules/@inquirer/rawlist/package.json +0 -90
  141. package/dist/node_modules/@inquirer/search/LICENSE +0 -22
  142. package/dist/node_modules/@inquirer/search/README.md +0 -213
  143. package/dist/node_modules/@inquirer/search/dist/index.d.ts +0 -33
  144. package/dist/node_modules/@inquirer/search/dist/index.js +0 -195
  145. package/dist/node_modules/@inquirer/search/package.json +0 -91
  146. package/dist/node_modules/@inquirer/select/LICENSE +0 -22
  147. package/dist/node_modules/@inquirer/select/README.md +0 -188
  148. package/dist/node_modules/@inquirer/select/dist/index.d.ts +0 -34
  149. package/dist/node_modules/@inquirer/select/dist/index.js +0 -191
  150. package/dist/node_modules/@inquirer/select/package.json +0 -92
  151. package/dist/node_modules/@inquirer/type/LICENSE +0 -22
  152. package/dist/node_modules/@inquirer/type/dist/index.d.ts +0 -2
  153. package/dist/node_modules/@inquirer/type/dist/index.js +0 -2
  154. package/dist/node_modules/@inquirer/type/dist/inquirer.d.ts +0 -35
  155. package/dist/node_modules/@inquirer/type/dist/inquirer.js +0 -1
  156. package/dist/node_modules/@inquirer/type/dist/utils.d.ts +0 -29
  157. package/dist/node_modules/@inquirer/type/dist/utils.js +0 -2
  158. package/dist/node_modules/@inquirer/type/package.json +0 -87
  159. package/dist/node_modules/@kwsites/file-exists/CHANGELOG.md +0 -12
  160. package/dist/node_modules/@kwsites/file-exists/LICENSE +0 -20
  161. package/dist/node_modules/@kwsites/file-exists/dist/index.d.ts +0 -1
  162. package/dist/node_modules/@kwsites/file-exists/dist/index.js +0 -7
  163. package/dist/node_modules/@kwsites/file-exists/dist/index.js.map +0 -1
  164. package/dist/node_modules/@kwsites/file-exists/dist/src/index.d.ts +0 -19
  165. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js +0 -55
  166. package/dist/node_modules/@kwsites/file-exists/dist/src/index.js.map +0 -1
  167. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.d.ts +0 -7
  168. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js +0 -26
  169. package/dist/node_modules/@kwsites/file-exists/dist/test/__mocks__/fs.js.map +0 -1
  170. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.d.ts +0 -1
  171. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js +0 -77
  172. package/dist/node_modules/@kwsites/file-exists/dist/test/exists.spec.js.map +0 -1
  173. package/dist/node_modules/@kwsites/file-exists/package.json +0 -42
  174. package/dist/node_modules/@kwsites/file-exists/readme.md +0 -41
  175. package/dist/node_modules/@kwsites/promise-deferred/LICENSE +0 -21
  176. package/dist/node_modules/@kwsites/promise-deferred/dist/index.d.ts +0 -49
  177. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js +0 -59
  178. package/dist/node_modules/@kwsites/promise-deferred/dist/index.js.map +0 -1
  179. package/dist/node_modules/@kwsites/promise-deferred/package.json +0 -43
  180. package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs +0 -2
  181. package/dist/node_modules/@simple-git/args-pathspec/dist/index.cjs.map +0 -1
  182. package/dist/node_modules/@simple-git/args-pathspec/dist/index.d.ts +0 -1
  183. package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs +0 -17
  184. package/dist/node_modules/@simple-git/args-pathspec/dist/index.mjs.map +0 -1
  185. package/dist/node_modules/@simple-git/args-pathspec/dist/src/pathspec.d.ts +0 -8
  186. package/dist/node_modules/@simple-git/args-pathspec/package.json +0 -32
  187. package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs +0 -2
  188. package/dist/node_modules/@simple-git/argv-parser/dist/index.cjs.map +0 -1
  189. package/dist/node_modules/@simple-git/argv-parser/dist/index.d.ts +0 -5
  190. package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs +0 -463
  191. package/dist/node_modules/@simple-git/argv-parser/dist/index.mjs.map +0 -1
  192. package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.d.ts +0 -6
  193. package/dist/node_modules/@simple-git/argv-parser/dist/src/args/parse-argv.types.d.ts +0 -59
  194. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/analyse-config.d.ts +0 -3
  195. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config-operands.d.ts +0 -4
  196. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/config.types.d.ts +0 -6
  197. package/dist/node_modules/@simple-git/argv-parser/dist/src/config/detect-config-action.d.ts +0 -13
  198. package/dist/node_modules/@simple-git/argv-parser/dist/src/env/parse-env.d.ts +0 -6
  199. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/flags.helpers.d.ts +0 -9
  200. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-global-flags.d.ts +0 -6
  201. package/dist/node_modules/@simple-git/argv-parser/dist/src/flags/parse-task-flags.d.ts +0 -8
  202. package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/flag-specs.d.ts +0 -9
  203. package/dist/node_modules/@simple-git/argv-parser/dist/src/tokens/token-expander.d.ts +0 -7
  204. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-config-writes.d.ts +0 -3
  205. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/detect-vulnerable-flags.d.ts +0 -3
  206. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-analysis.d.ts +0 -4
  207. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability-check.d.ts +0 -5
  208. package/dist/node_modules/@simple-git/argv-parser/dist/src/vulnerabilities/vulnerability.types.d.ts +0 -104
  209. package/dist/node_modules/@simple-git/argv-parser/package.json +0 -36
  210. package/dist/node_modules/@types/node/LICENSE +0 -21
  211. package/dist/node_modules/@types/node/README.md +0 -15
  212. package/dist/node_modules/@types/node/assert/strict.d.ts +0 -59
  213. package/dist/node_modules/@types/node/assert.d.ts +0 -950
  214. package/dist/node_modules/@types/node/async_hooks.d.ts +0 -711
  215. package/dist/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  216. package/dist/node_modules/@types/node/buffer.d.ts +0 -1765
  217. package/dist/node_modules/@types/node/child_process.d.ts +0 -1366
  218. package/dist/node_modules/@types/node/cluster.d.ts +0 -432
  219. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  220. package/dist/node_modules/@types/node/console.d.ts +0 -93
  221. package/dist/node_modules/@types/node/constants.d.ts +0 -14
  222. package/dist/node_modules/@types/node/crypto.d.ts +0 -4058
  223. package/dist/node_modules/@types/node/dgram.d.ts +0 -537
  224. package/dist/node_modules/@types/node/diagnostics_channel.d.ts +0 -552
  225. package/dist/node_modules/@types/node/dns/promises.d.ts +0 -497
  226. package/dist/node_modules/@types/node/dns.d.ts +0 -876
  227. package/dist/node_modules/@types/node/domain.d.ts +0 -150
  228. package/dist/node_modules/@types/node/events.d.ts +0 -1008
  229. package/dist/node_modules/@types/node/fs/promises.d.ts +0 -1468
  230. package/dist/node_modules/@types/node/fs.d.ts +0 -4780
  231. package/dist/node_modules/@types/node/globals.d.ts +0 -150
  232. package/dist/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  233. package/dist/node_modules/@types/node/http.d.ts +0 -2147
  234. package/dist/node_modules/@types/node/http2.d.ts +0 -2489
  235. package/dist/node_modules/@types/node/https.d.ts +0 -400
  236. package/dist/node_modules/@types/node/index.d.ts +0 -117
  237. package/dist/node_modules/@types/node/inspector/promises.d.ts +0 -35
  238. package/dist/node_modules/@types/node/inspector.d.ts +0 -264
  239. package/dist/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  240. package/dist/node_modules/@types/node/module.d.ts +0 -755
  241. package/dist/node_modules/@types/node/net.d.ts +0 -970
  242. package/dist/node_modules/@types/node/os.d.ts +0 -498
  243. package/dist/node_modules/@types/node/package.json +0 -155
  244. package/dist/node_modules/@types/node/path/posix.d.ts +0 -8
  245. package/dist/node_modules/@types/node/path/win32.d.ts +0 -8
  246. package/dist/node_modules/@types/node/path.d.ts +0 -178
  247. package/dist/node_modules/@types/node/perf_hooks.d.ts +0 -612
  248. package/dist/node_modules/@types/node/process.d.ts +0 -2204
  249. package/dist/node_modules/@types/node/punycode.d.ts +0 -89
  250. package/dist/node_modules/@types/node/querystring.d.ts +0 -139
  251. package/dist/node_modules/@types/node/quic.d.ts +0 -897
  252. package/dist/node_modules/@types/node/readline/promises.d.ts +0 -158
  253. package/dist/node_modules/@types/node/readline.d.ts +0 -507
  254. package/dist/node_modules/@types/node/repl.d.ts +0 -420
  255. package/dist/node_modules/@types/node/sea.d.ts +0 -47
  256. package/dist/node_modules/@types/node/sqlite.d.ts +0 -1068
  257. package/dist/node_modules/@types/node/stream/consumers.d.ts +0 -114
  258. package/dist/node_modules/@types/node/stream/iter.d.ts +0 -301
  259. package/dist/node_modules/@types/node/stream/promises.d.ts +0 -211
  260. package/dist/node_modules/@types/node/stream/web.d.ts +0 -300
  261. package/dist/node_modules/@types/node/stream.d.ts +0 -1774
  262. package/dist/node_modules/@types/node/string_decoder.d.ts +0 -27
  263. package/dist/node_modules/@types/node/test/reporters.d.ts +0 -59
  264. package/dist/node_modules/@types/node/test.d.ts +0 -2279
  265. package/dist/node_modules/@types/node/timers/promises.d.ts +0 -93
  266. package/dist/node_modules/@types/node/timers.d.ts +0 -149
  267. package/dist/node_modules/@types/node/tls.d.ts +0 -1193
  268. package/dist/node_modules/@types/node/trace_events.d.ts +0 -103
  269. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  270. package/dist/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  271. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  272. package/dist/node_modules/@types/node/ts5.6/index.d.ts +0 -119
  273. package/dist/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  274. package/dist/node_modules/@types/node/ts5.7/index.d.ts +0 -119
  275. package/dist/node_modules/@types/node/tty.d.ts +0 -225
  276. package/dist/node_modules/@types/node/url.d.ts +0 -556
  277. package/dist/node_modules/@types/node/util/types.d.ts +0 -558
  278. package/dist/node_modules/@types/node/util.d.ts +0 -1677
  279. package/dist/node_modules/@types/node/v8.d.ts +0 -980
  280. package/dist/node_modules/@types/node/vm.d.ts +0 -1136
  281. package/dist/node_modules/@types/node/wasi.d.ts +0 -131
  282. package/dist/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  283. package/dist/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  284. package/dist/node_modules/@types/node/web-globals/console.d.ts +0 -9
  285. package/dist/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  286. package/dist/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  287. package/dist/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  288. package/dist/node_modules/@types/node/web-globals/events.d.ts +0 -106
  289. package/dist/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  290. package/dist/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  291. package/dist/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  292. package/dist/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  293. package/dist/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  294. package/dist/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  295. package/dist/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  296. package/dist/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  297. package/dist/node_modules/@types/node/web-globals/url.d.ts +0 -24
  298. package/dist/node_modules/@types/node/worker_threads.d.ts +0 -671
  299. package/dist/node_modules/@types/node/zlib/iter.d.ts +0 -131
  300. package/dist/node_modules/@types/node/zlib.d.ts +0 -589
  301. package/dist/node_modules/ajv/.runkit_example.js +0 -23
  302. package/dist/node_modules/ajv/LICENSE +0 -22
  303. package/dist/node_modules/ajv/README.md +0 -207
  304. package/dist/node_modules/ajv/dist/2019.d.ts +0 -19
  305. package/dist/node_modules/ajv/dist/2019.js +0 -61
  306. package/dist/node_modules/ajv/dist/2019.js.map +0 -1
  307. package/dist/node_modules/ajv/dist/2020.d.ts +0 -19
  308. package/dist/node_modules/ajv/dist/2020.js +0 -55
  309. package/dist/node_modules/ajv/dist/2020.js.map +0 -1
  310. package/dist/node_modules/ajv/dist/ajv.d.ts +0 -18
  311. package/dist/node_modules/ajv/dist/ajv.js +0 -50
  312. package/dist/node_modules/ajv/dist/ajv.js.map +0 -1
  313. package/dist/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  314. package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  315. package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  316. package/dist/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  317. package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  318. package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  319. package/dist/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  320. package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  321. package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  322. package/dist/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  323. package/dist/node_modules/ajv/dist/compile/errors.js +0 -123
  324. package/dist/node_modules/ajv/dist/compile/errors.js.map +0 -1
  325. package/dist/node_modules/ajv/dist/compile/index.d.ts +0 -80
  326. package/dist/node_modules/ajv/dist/compile/index.js +0 -242
  327. package/dist/node_modules/ajv/dist/compile/index.js.map +0 -1
  328. package/dist/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  329. package/dist/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  330. package/dist/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  331. package/dist/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  332. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
  333. package/dist/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  334. package/dist/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  335. package/dist/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  336. package/dist/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  337. package/dist/node_modules/ajv/dist/compile/names.d.ts +0 -20
  338. package/dist/node_modules/ajv/dist/compile/names.js +0 -28
  339. package/dist/node_modules/ajv/dist/compile/names.js.map +0 -1
  340. package/dist/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  341. package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -12
  342. package/dist/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  343. package/dist/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  344. package/dist/node_modules/ajv/dist/compile/resolve.js +0 -155
  345. package/dist/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  346. package/dist/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  347. package/dist/node_modules/ajv/dist/compile/rules.js +0 -26
  348. package/dist/node_modules/ajv/dist/compile/rules.js.map +0 -1
  349. package/dist/node_modules/ajv/dist/compile/util.d.ts +0 -40
  350. package/dist/node_modules/ajv/dist/compile/util.js +0 -178
  351. package/dist/node_modules/ajv/dist/compile/util.js.map +0 -1
  352. package/dist/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  353. package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  354. package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  355. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  356. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  357. package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  358. package/dist/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  359. package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  360. package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  361. package/dist/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  362. package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  363. package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  364. package/dist/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  365. package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -520
  366. package/dist/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  367. package/dist/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  368. package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  369. package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  370. package/dist/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  371. package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  372. package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  373. package/dist/node_modules/ajv/dist/core.d.ts +0 -174
  374. package/dist/node_modules/ajv/dist/core.js +0 -618
  375. package/dist/node_modules/ajv/dist/core.js.map +0 -1
  376. package/dist/node_modules/ajv/dist/jtd.d.ts +0 -47
  377. package/dist/node_modules/ajv/dist/jtd.js +0 -72
  378. package/dist/node_modules/ajv/dist/jtd.js.map +0 -1
  379. package/dist/node_modules/ajv/dist/refs/data.json +0 -13
  380. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  381. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  382. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  383. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  384. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  385. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  386. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  387. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  388. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  389. package/dist/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  390. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  391. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  392. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  393. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  394. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  395. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  396. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  397. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  398. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  399. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  400. package/dist/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  401. package/dist/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  402. package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  403. package/dist/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  404. package/dist/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  405. package/dist/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  406. package/dist/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  407. package/dist/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  408. package/dist/node_modules/ajv/dist/runtime/equal.js +0 -7
  409. package/dist/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  410. package/dist/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  411. package/dist/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  412. package/dist/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  413. package/dist/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  414. package/dist/node_modules/ajv/dist/runtime/quote.js +0 -30
  415. package/dist/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  416. package/dist/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  417. package/dist/node_modules/ajv/dist/runtime/re2.js +0 -6
  418. package/dist/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  419. package/dist/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  420. package/dist/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  421. package/dist/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  422. package/dist/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  423. package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  424. package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  425. package/dist/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  426. package/dist/node_modules/ajv/dist/runtime/uri.js +0 -6
  427. package/dist/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  428. package/dist/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  429. package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  430. package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  431. package/dist/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  432. package/dist/node_modules/ajv/dist/standalone/index.js +0 -90
  433. package/dist/node_modules/ajv/dist/standalone/index.js.map +0 -1
  434. package/dist/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  435. package/dist/node_modules/ajv/dist/standalone/instance.js +0 -35
  436. package/dist/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  437. package/dist/node_modules/ajv/dist/types/index.d.ts +0 -183
  438. package/dist/node_modules/ajv/dist/types/index.js +0 -3
  439. package/dist/node_modules/ajv/dist/types/index.js.map +0 -1
  440. package/dist/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  441. package/dist/node_modules/ajv/dist/types/json-schema.js +0 -3
  442. package/dist/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  443. package/dist/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  444. package/dist/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  445. package/dist/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  446. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  447. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  448. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  449. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  450. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  451. package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  452. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  453. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  454. package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  455. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  456. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  457. package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  458. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  459. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  460. package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  461. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  462. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  463. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  464. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  465. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  466. package/dist/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  467. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  468. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  469. package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  470. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  471. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  472. package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  473. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  474. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  475. package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  476. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  477. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  478. package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  479. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  480. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  481. package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  482. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  483. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  484. package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  485. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  486. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  487. package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  488. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  489. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  490. package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  491. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  492. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  493. package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  494. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  495. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  496. package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  497. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  498. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  499. package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  500. package/dist/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  501. package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -131
  502. package/dist/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  503. package/dist/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  504. package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  505. package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  506. package/dist/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  507. package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  508. package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  509. package/dist/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  510. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  511. package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  512. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  513. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  514. package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  515. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  516. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  517. package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  518. package/dist/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  519. package/dist/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  520. package/dist/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  521. package/dist/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  522. package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  523. package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  524. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  525. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  526. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  527. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  528. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  529. package/dist/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  530. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  531. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  532. package/dist/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  533. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  534. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  535. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  536. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  537. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  538. package/dist/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  539. package/dist/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  540. package/dist/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  541. package/dist/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  542. package/dist/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  543. package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  544. package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  545. package/dist/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  546. package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  547. package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  548. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  549. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  550. package/dist/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  551. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  552. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  553. package/dist/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  554. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  555. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  556. package/dist/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  557. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  558. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  559. package/dist/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  560. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  561. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  562. package/dist/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  563. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  564. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  565. package/dist/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  566. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  567. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  568. package/dist/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  569. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  570. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  571. package/dist/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  572. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  573. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  574. package/dist/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  575. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  576. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  577. package/dist/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  578. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  579. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  580. package/dist/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  581. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  582. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  583. package/dist/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  584. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  585. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  586. package/dist/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  587. package/dist/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  588. package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  589. package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  590. package/dist/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  591. package/dist/node_modules/ajv/dist/vocabularies/next.js +0 -8
  592. package/dist/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  593. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  594. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  595. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  596. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  597. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  598. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  599. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  600. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  601. package/dist/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  602. package/dist/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  603. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  604. package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  605. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  606. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  607. package/dist/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  608. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  609. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  610. package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  611. package/dist/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  612. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  613. package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  614. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  615. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  616. package/dist/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  617. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  618. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  619. package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  620. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  621. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  622. package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  623. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  624. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  625. package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  626. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  627. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  628. package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  629. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  630. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  631. package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  632. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  633. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
  634. package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  635. package/dist/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  636. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  637. package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  638. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  639. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  640. package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  641. package/dist/node_modules/ajv/lib/2019.ts +0 -81
  642. package/dist/node_modules/ajv/lib/2020.ts +0 -75
  643. package/dist/node_modules/ajv/lib/ajv.ts +0 -70
  644. package/dist/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  645. package/dist/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  646. package/dist/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  647. package/dist/node_modules/ajv/lib/compile/errors.ts +0 -184
  648. package/dist/node_modules/ajv/lib/compile/index.ts +0 -324
  649. package/dist/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  650. package/dist/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
  651. package/dist/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  652. package/dist/node_modules/ajv/lib/compile/names.ts +0 -27
  653. package/dist/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  654. package/dist/node_modules/ajv/lib/compile/resolve.ts +0 -149
  655. package/dist/node_modules/ajv/lib/compile/rules.ts +0 -50
  656. package/dist/node_modules/ajv/lib/compile/util.ts +0 -213
  657. package/dist/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  658. package/dist/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  659. package/dist/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  660. package/dist/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  661. package/dist/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  662. package/dist/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  663. package/dist/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  664. package/dist/node_modules/ajv/lib/core.ts +0 -892
  665. package/dist/node_modules/ajv/lib/jtd.ts +0 -132
  666. package/dist/node_modules/ajv/lib/refs/data.json +0 -13
  667. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  668. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  669. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  670. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  671. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  672. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  673. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  674. package/dist/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  675. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  676. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  677. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  678. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  679. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  680. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  681. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  682. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  683. package/dist/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  684. package/dist/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  685. package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  686. package/dist/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  687. package/dist/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  688. package/dist/node_modules/ajv/lib/runtime/equal.ts +0 -7
  689. package/dist/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  690. package/dist/node_modules/ajv/lib/runtime/quote.ts +0 -31
  691. package/dist/node_modules/ajv/lib/runtime/re2.ts +0 -6
  692. package/dist/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  693. package/dist/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  694. package/dist/node_modules/ajv/lib/runtime/uri.ts +0 -6
  695. package/dist/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  696. package/dist/node_modules/ajv/lib/standalone/index.ts +0 -100
  697. package/dist/node_modules/ajv/lib/standalone/instance.ts +0 -36
  698. package/dist/node_modules/ajv/lib/types/index.ts +0 -244
  699. package/dist/node_modules/ajv/lib/types/json-schema.ts +0 -187
  700. package/dist/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  701. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  702. package/dist/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  703. package/dist/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  704. package/dist/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  705. package/dist/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  706. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  707. package/dist/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  708. package/dist/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  709. package/dist/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  710. package/dist/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  711. package/dist/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  712. package/dist/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  713. package/dist/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  714. package/dist/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  715. package/dist/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  716. package/dist/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  717. package/dist/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  718. package/dist/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  719. package/dist/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  720. package/dist/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  721. package/dist/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  722. package/dist/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  723. package/dist/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  724. package/dist/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  725. package/dist/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  726. package/dist/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  727. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  728. package/dist/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  729. package/dist/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  730. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  731. package/dist/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  732. package/dist/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  733. package/dist/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  734. package/dist/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  735. package/dist/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  736. package/dist/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  737. package/dist/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  738. package/dist/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  739. package/dist/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  740. package/dist/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  741. package/dist/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  742. package/dist/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  743. package/dist/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  744. package/dist/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  745. package/dist/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  746. package/dist/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  747. package/dist/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  748. package/dist/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  749. package/dist/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  750. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  751. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  752. package/dist/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  753. package/dist/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  754. package/dist/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  755. package/dist/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  756. package/dist/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  757. package/dist/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  758. package/dist/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  759. package/dist/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  760. package/dist/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  761. package/dist/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  762. package/dist/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  763. package/dist/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
  764. package/dist/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  765. package/dist/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  766. package/dist/node_modules/ajv/package.json +0 -126
  767. package/dist/node_modules/ajv-formats/LICENSE +0 -21
  768. package/dist/node_modules/ajv-formats/README.md +0 -125
  769. package/dist/node_modules/ajv-formats/dist/formats.d.ts +0 -9
  770. package/dist/node_modules/ajv-formats/dist/formats.js +0 -208
  771. package/dist/node_modules/ajv-formats/dist/formats.js.map +0 -1
  772. package/dist/node_modules/ajv-formats/dist/index.d.ts +0 -15
  773. package/dist/node_modules/ajv-formats/dist/index.js +0 -37
  774. package/dist/node_modules/ajv-formats/dist/index.js.map +0 -1
  775. package/dist/node_modules/ajv-formats/dist/limit.d.ts +0 -10
  776. package/dist/node_modules/ajv-formats/dist/limit.js +0 -69
  777. package/dist/node_modules/ajv-formats/dist/limit.js.map +0 -1
  778. package/dist/node_modules/ajv-formats/package.json +0 -74
  779. package/dist/node_modules/ajv-formats/src/formats.ts +0 -269
  780. package/dist/node_modules/ajv-formats/src/index.ts +0 -62
  781. package/dist/node_modules/ajv-formats/src/limit.ts +0 -99
  782. package/dist/node_modules/ansi-align/CHANGELOG.md +0 -58
  783. package/dist/node_modules/ansi-align/LICENSE +0 -13
  784. package/dist/node_modules/ansi-align/README.md +0 -80
  785. package/dist/node_modules/ansi-align/index.js +0 -61
  786. package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.d.ts +0 -37
  787. package/dist/node_modules/ansi-align/node_modules/ansi-regex/index.js +0 -10
  788. package/dist/node_modules/ansi-align/node_modules/ansi-regex/license +0 -9
  789. package/dist/node_modules/ansi-align/node_modules/ansi-regex/package.json +0 -55
  790. package/dist/node_modules/ansi-align/node_modules/ansi-regex/readme.md +0 -78
  791. package/dist/node_modules/ansi-align/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  792. package/dist/node_modules/ansi-align/node_modules/emoji-regex/README.md +0 -73
  793. package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/index.js +0 -6
  794. package/dist/node_modules/ansi-align/node_modules/emoji-regex/es2015/text.js +0 -6
  795. package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.d.ts +0 -23
  796. package/dist/node_modules/ansi-align/node_modules/emoji-regex/index.js +0 -6
  797. package/dist/node_modules/ansi-align/node_modules/emoji-regex/package.json +0 -50
  798. package/dist/node_modules/ansi-align/node_modules/emoji-regex/text.js +0 -6
  799. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  800. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.js +0 -50
  801. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/license +0 -9
  802. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/package.json +0 -42
  803. package/dist/node_modules/ansi-align/node_modules/is-fullwidth-code-point/readme.md +0 -39
  804. package/dist/node_modules/ansi-align/node_modules/string-width/index.d.ts +0 -29
  805. package/dist/node_modules/ansi-align/node_modules/string-width/index.js +0 -47
  806. package/dist/node_modules/ansi-align/node_modules/string-width/license +0 -9
  807. package/dist/node_modules/ansi-align/node_modules/string-width/package.json +0 -56
  808. package/dist/node_modules/ansi-align/node_modules/string-width/readme.md +0 -50
  809. package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.d.ts +0 -17
  810. package/dist/node_modules/ansi-align/node_modules/strip-ansi/index.js +0 -4
  811. package/dist/node_modules/ansi-align/node_modules/strip-ansi/license +0 -9
  812. package/dist/node_modules/ansi-align/node_modules/strip-ansi/package.json +0 -54
  813. package/dist/node_modules/ansi-align/node_modules/strip-ansi/readme.md +0 -46
  814. package/dist/node_modules/ansi-align/package.json +0 -43
  815. package/dist/node_modules/ansi-regex/index.d.ts +0 -33
  816. package/dist/node_modules/ansi-regex/index.js +0 -14
  817. package/dist/node_modules/ansi-regex/license +0 -9
  818. package/dist/node_modules/ansi-regex/package.json +0 -61
  819. package/dist/node_modules/ansi-regex/readme.md +0 -66
  820. package/dist/node_modules/boxen/index.d.ts +0 -267
  821. package/dist/node_modules/boxen/index.js +0 -376
  822. package/dist/node_modules/boxen/license +0 -9
  823. package/dist/node_modules/boxen/package.json +0 -69
  824. package/dist/node_modules/boxen/readme.md +0 -300
  825. package/dist/node_modules/camelcase/index.d.ts +0 -102
  826. package/dist/node_modules/camelcase/index.js +0 -110
  827. package/dist/node_modules/camelcase/license +0 -9
  828. package/dist/node_modules/camelcase/package.json +0 -47
  829. package/dist/node_modules/camelcase/readme.md +0 -135
  830. package/dist/node_modules/chalk/license +0 -9
  831. package/dist/node_modules/chalk/package.json +0 -83
  832. package/dist/node_modules/chalk/readme.md +0 -297
  833. package/dist/node_modules/chalk/source/index.d.ts +0 -325
  834. package/dist/node_modules/chalk/source/index.js +0 -225
  835. package/dist/node_modules/chalk/source/utilities.js +0 -33
  836. package/dist/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  837. package/dist/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  838. package/dist/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  839. package/dist/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  840. package/dist/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  841. package/dist/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  842. package/dist/node_modules/chardet/LICENSE +0 -19
  843. package/dist/node_modules/chardet/README.md +0 -121
  844. package/dist/node_modules/chardet/lib/encoding/ascii.d.ts +0 -6
  845. package/dist/node_modules/chardet/lib/encoding/ascii.js +0 -23
  846. package/dist/node_modules/chardet/lib/encoding/ascii.js.map +0 -1
  847. package/dist/node_modules/chardet/lib/encoding/index.d.ts +0 -14
  848. package/dist/node_modules/chardet/lib/encoding/index.js +0 -3
  849. package/dist/node_modules/chardet/lib/encoding/index.js.map +0 -1
  850. package/dist/node_modules/chardet/lib/encoding/iso2022.d.ts +0 -23
  851. package/dist/node_modules/chardet/lib/encoding/iso2022.js +0 -114
  852. package/dist/node_modules/chardet/lib/encoding/iso2022.js.map +0 -1
  853. package/dist/node_modules/chardet/lib/encoding/mbcs.d.ts +0 -50
  854. package/dist/node_modules/chardet/lib/encoding/mbcs.js +0 -347
  855. package/dist/node_modules/chardet/lib/encoding/mbcs.js.map +0 -1
  856. package/dist/node_modules/chardet/lib/encoding/sbcs.d.ts +0 -75
  857. package/dist/node_modules/chardet/lib/encoding/sbcs.js +0 -764
  858. package/dist/node_modules/chardet/lib/encoding/sbcs.js.map +0 -1
  859. package/dist/node_modules/chardet/lib/encoding/unicode.d.ts +0 -27
  860. package/dist/node_modules/chardet/lib/encoding/unicode.js +0 -109
  861. package/dist/node_modules/chardet/lib/encoding/unicode.js.map +0 -1
  862. package/dist/node_modules/chardet/lib/encoding/utf8.d.ts +0 -6
  863. package/dist/node_modules/chardet/lib/encoding/utf8.js +0 -72
  864. package/dist/node_modules/chardet/lib/encoding/utf8.js.map +0 -1
  865. package/dist/node_modules/chardet/lib/fs/browser.d.ts +0 -2
  866. package/dist/node_modules/chardet/lib/fs/browser.js +0 -6
  867. package/dist/node_modules/chardet/lib/fs/browser.js.map +0 -1
  868. package/dist/node_modules/chardet/lib/fs/node.d.ts +0 -2
  869. package/dist/node_modules/chardet/lib/fs/node.js +0 -11
  870. package/dist/node_modules/chardet/lib/fs/node.js.map +0 -1
  871. package/dist/node_modules/chardet/lib/index.d.ts +0 -20
  872. package/dist/node_modules/chardet/lib/index.js +0 -174
  873. package/dist/node_modules/chardet/lib/index.js.map +0 -1
  874. package/dist/node_modules/chardet/lib/match.d.ts +0 -9
  875. package/dist/node_modules/chardet/lib/match.js +0 -8
  876. package/dist/node_modules/chardet/lib/match.js.map +0 -1
  877. package/dist/node_modules/chardet/lib/utils.d.ts +0 -1
  878. package/dist/node_modules/chardet/lib/utils.js +0 -10
  879. package/dist/node_modules/chardet/lib/utils.js.map +0 -1
  880. package/dist/node_modules/chardet/package.json +0 -96
  881. package/dist/node_modules/cli-boxes/boxes.json +0 -82
  882. package/dist/node_modules/cli-boxes/index.d.ts +0 -127
  883. package/dist/node_modules/cli-boxes/index.js +0 -6
  884. package/dist/node_modules/cli-boxes/license +0 -9
  885. package/dist/node_modules/cli-boxes/package.json +0 -42
  886. package/dist/node_modules/cli-boxes/readme.md +0 -115
  887. package/dist/node_modules/cli-width/LICENSE +0 -13
  888. package/dist/node_modules/cli-width/README.md +0 -71
  889. package/dist/node_modules/cli-width/index.d.ts +0 -13
  890. package/dist/node_modules/cli-width/index.js +0 -49
  891. package/dist/node_modules/cli-width/package.json +0 -40
  892. package/dist/node_modules/colorette/LICENSE.md +0 -7
  893. package/dist/node_modules/colorette/README.md +0 -134
  894. package/dist/node_modules/colorette/index.cjs +0 -218
  895. package/dist/node_modules/colorette/index.d.ts +0 -93
  896. package/dist/node_modules/colorette/index.js +0 -150
  897. package/dist/node_modules/colorette/package.json +0 -40
  898. package/dist/node_modules/commander/LICENSE +0 -22
  899. package/dist/node_modules/commander/Readme.md +0 -1172
  900. package/dist/node_modules/commander/index.js +0 -21
  901. package/dist/node_modules/commander/lib/argument.js +0 -147
  902. package/dist/node_modules/commander/lib/command.js +0 -2790
  903. package/dist/node_modules/commander/lib/error.js +0 -36
  904. package/dist/node_modules/commander/lib/help.js +0 -731
  905. package/dist/node_modules/commander/lib/option.js +0 -377
  906. package/dist/node_modules/commander/lib/suggestSimilar.js +0 -99
  907. package/dist/node_modules/commander/package-support.json +0 -19
  908. package/dist/node_modules/commander/package.json +0 -64
  909. package/dist/node_modules/commander/typings/index.d.ts +0 -1113
  910. package/dist/node_modules/consola/LICENSE +0 -47
  911. package/dist/node_modules/consola/README.md +0 -352
  912. package/dist/node_modules/consola/basic.d.ts +0 -1
  913. package/dist/node_modules/consola/browser.d.ts +0 -1
  914. package/dist/node_modules/consola/core.d.ts +0 -1
  915. package/dist/node_modules/consola/dist/basic.cjs +0 -32
  916. package/dist/node_modules/consola/dist/basic.d.cts +0 -23
  917. package/dist/node_modules/consola/dist/basic.d.mts +0 -21
  918. package/dist/node_modules/consola/dist/basic.d.ts +0 -23
  919. package/dist/node_modules/consola/dist/basic.mjs +0 -24
  920. package/dist/node_modules/consola/dist/browser.cjs +0 -84
  921. package/dist/node_modules/consola/dist/browser.d.cts +0 -23
  922. package/dist/node_modules/consola/dist/browser.d.mts +0 -21
  923. package/dist/node_modules/consola/dist/browser.d.ts +0 -23
  924. package/dist/node_modules/consola/dist/browser.mjs +0 -76
  925. package/dist/node_modules/consola/dist/chunks/prompt.cjs +0 -288
  926. package/dist/node_modules/consola/dist/chunks/prompt.mjs +0 -280
  927. package/dist/node_modules/consola/dist/core.cjs +0 -517
  928. package/dist/node_modules/consola/dist/core.d.cts +0 -459
  929. package/dist/node_modules/consola/dist/core.d.mts +0 -459
  930. package/dist/node_modules/consola/dist/core.d.ts +0 -459
  931. package/dist/node_modules/consola/dist/core.mjs +0 -512
  932. package/dist/node_modules/consola/dist/index.cjs +0 -663
  933. package/dist/node_modules/consola/dist/index.d.cts +0 -24
  934. package/dist/node_modules/consola/dist/index.d.mts +0 -22
  935. package/dist/node_modules/consola/dist/index.d.ts +0 -24
  936. package/dist/node_modules/consola/dist/index.mjs +0 -651
  937. package/dist/node_modules/consola/dist/shared/consola.DCGIlDNP.cjs +0 -75
  938. package/dist/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +0 -72
  939. package/dist/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +0 -288
  940. package/dist/node_modules/consola/dist/shared/consola.DwRq1yyg.cjs +0 -312
  941. package/dist/node_modules/consola/dist/utils.cjs +0 -64
  942. package/dist/node_modules/consola/dist/utils.d.cts +0 -286
  943. package/dist/node_modules/consola/dist/utils.d.mts +0 -286
  944. package/dist/node_modules/consola/dist/utils.d.ts +0 -286
  945. package/dist/node_modules/consola/dist/utils.mjs +0 -54
  946. package/dist/node_modules/consola/lib/index.cjs +0 -10
  947. package/dist/node_modules/consola/package.json +0 -136
  948. package/dist/node_modules/consola/utils.d.ts +0 -1
  949. package/dist/node_modules/debug/LICENSE +0 -20
  950. package/dist/node_modules/debug/README.md +0 -481
  951. package/dist/node_modules/debug/package.json +0 -64
  952. package/dist/node_modules/debug/src/browser.js +0 -272
  953. package/dist/node_modules/debug/src/common.js +0 -292
  954. package/dist/node_modules/debug/src/index.js +0 -10
  955. package/dist/node_modules/debug/src/node.js +0 -263
  956. package/dist/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  957. package/dist/node_modules/emoji-regex/README.md +0 -107
  958. package/dist/node_modules/emoji-regex/index.d.ts +0 -3
  959. package/dist/node_modules/emoji-regex/index.js +0 -4
  960. package/dist/node_modules/emoji-regex/index.mjs +0 -4
  961. package/dist/node_modules/emoji-regex/package.json +0 -45
  962. package/dist/node_modules/fast-deep-equal/LICENSE +0 -21
  963. package/dist/node_modules/fast-deep-equal/README.md +0 -96
  964. package/dist/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  965. package/dist/node_modules/fast-deep-equal/es6/index.js +0 -72
  966. package/dist/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  967. package/dist/node_modules/fast-deep-equal/es6/react.js +0 -79
  968. package/dist/node_modules/fast-deep-equal/index.d.ts +0 -4
  969. package/dist/node_modules/fast-deep-equal/index.js +0 -46
  970. package/dist/node_modules/fast-deep-equal/package.json +0 -61
  971. package/dist/node_modules/fast-deep-equal/react.d.ts +0 -2
  972. package/dist/node_modules/fast-deep-equal/react.js +0 -53
  973. package/dist/node_modules/fast-string-truncated-width/dist/index.d.ts +0 -4
  974. package/dist/node_modules/fast-string-truncated-width/dist/index.js +0 -111
  975. package/dist/node_modules/fast-string-truncated-width/dist/types.d.ts +0 -19
  976. package/dist/node_modules/fast-string-truncated-width/dist/types.js +0 -2
  977. package/dist/node_modules/fast-string-truncated-width/dist/utils.d.ts +0 -4
  978. package/dist/node_modules/fast-string-truncated-width/dist/utils.js +0 -20
  979. package/dist/node_modules/fast-string-truncated-width/license +0 -21
  980. package/dist/node_modules/fast-string-truncated-width/package.json +0 -35
  981. package/dist/node_modules/fast-string-truncated-width/readme.md +0 -59
  982. package/dist/node_modules/fast-string-width/dist/index.d.ts +0 -4
  983. package/dist/node_modules/fast-string-width/dist/index.js +0 -14
  984. package/dist/node_modules/fast-string-width/license +0 -21
  985. package/dist/node_modules/fast-string-width/package.json +0 -34
  986. package/dist/node_modules/fast-string-width/readme.md +0 -42
  987. package/dist/node_modules/fast-uri/.gitattributes +0 -2
  988. package/dist/node_modules/fast-uri/.github/dependabot.yml +0 -13
  989. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
  990. package/dist/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
  991. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
  992. package/dist/node_modules/fast-uri/LICENSE +0 -30
  993. package/dist/node_modules/fast-uri/README.md +0 -152
  994. package/dist/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  995. package/dist/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  996. package/dist/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  997. package/dist/node_modules/fast-uri/benchmark/package.json +0 -17
  998. package/dist/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  999. package/dist/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  1000. package/dist/node_modules/fast-uri/eslint.config.js +0 -6
  1001. package/dist/node_modules/fast-uri/index.js +0 -406
  1002. package/dist/node_modules/fast-uri/lib/schemes.js +0 -267
  1003. package/dist/node_modules/fast-uri/lib/utils.js +0 -443
  1004. package/dist/node_modules/fast-uri/package.json +0 -68
  1005. package/dist/node_modules/fast-uri/test/ajv.test.js +0 -43
  1006. package/dist/node_modules/fast-uri/test/equal.test.js +0 -117
  1007. package/dist/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
  1008. package/dist/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  1009. package/dist/node_modules/fast-uri/test/parse.test.js +0 -323
  1010. package/dist/node_modules/fast-uri/test/resolve.test.js +0 -87
  1011. package/dist/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  1012. package/dist/node_modules/fast-uri/test/security-normalization.test.js +0 -39
  1013. package/dist/node_modules/fast-uri/test/security.test.js +0 -133
  1014. package/dist/node_modules/fast-uri/test/serialize.test.js +0 -151
  1015. package/dist/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  1016. package/dist/node_modules/fast-uri/test/uri-js.test.js +0 -912
  1017. package/dist/node_modules/fast-uri/test/util.test.js +0 -38
  1018. package/dist/node_modules/fast-uri/tsconfig.json +0 -9
  1019. package/dist/node_modules/fast-uri/types/index.d.ts +0 -60
  1020. package/dist/node_modules/fast-uri/types/index.test-d.ts +0 -17
  1021. package/dist/node_modules/fast-wrap-ansi/LICENSE +0 -23
  1022. package/dist/node_modules/fast-wrap-ansi/README.md +0 -26
  1023. package/dist/node_modules/fast-wrap-ansi/lib/main.d.ts +0 -6
  1024. package/dist/node_modules/fast-wrap-ansi/lib/main.js +0 -218
  1025. package/dist/node_modules/fast-wrap-ansi/package.json +0 -51
  1026. package/dist/node_modules/fs-extra/LICENSE +0 -15
  1027. package/dist/node_modules/fs-extra/README.md +0 -294
  1028. package/dist/node_modules/fs-extra/lib/copy/copy-sync.js +0 -176
  1029. package/dist/node_modules/fs-extra/lib/copy/copy.js +0 -180
  1030. package/dist/node_modules/fs-extra/lib/copy/index.js +0 -7
  1031. package/dist/node_modules/fs-extra/lib/empty/index.js +0 -39
  1032. package/dist/node_modules/fs-extra/lib/ensure/file.js +0 -66
  1033. package/dist/node_modules/fs-extra/lib/ensure/index.js +0 -23
  1034. package/dist/node_modules/fs-extra/lib/ensure/link.js +0 -64
  1035. package/dist/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -101
  1036. package/dist/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -34
  1037. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +0 -92
  1038. package/dist/node_modules/fs-extra/lib/esm.mjs +0 -68
  1039. package/dist/node_modules/fs-extra/lib/fs/index.js +0 -146
  1040. package/dist/node_modules/fs-extra/lib/index.js +0 -16
  1041. package/dist/node_modules/fs-extra/lib/json/index.js +0 -16
  1042. package/dist/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  1043. package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  1044. package/dist/node_modules/fs-extra/lib/json/output-json.js +0 -12
  1045. package/dist/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  1046. package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  1047. package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  1048. package/dist/node_modules/fs-extra/lib/move/index.js +0 -7
  1049. package/dist/node_modules/fs-extra/lib/move/move-sync.js +0 -55
  1050. package/dist/node_modules/fs-extra/lib/move/move.js +0 -59
  1051. package/dist/node_modules/fs-extra/lib/output-file/index.js +0 -31
  1052. package/dist/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  1053. package/dist/node_modules/fs-extra/lib/remove/index.js +0 -17
  1054. package/dist/node_modules/fs-extra/lib/util/async.js +0 -29
  1055. package/dist/node_modules/fs-extra/lib/util/stat.js +0 -159
  1056. package/dist/node_modules/fs-extra/lib/util/utimes.js +0 -53
  1057. package/dist/node_modules/fs-extra/package.json +0 -71
  1058. package/dist/node_modules/get-east-asian-width/index.d.ts +0 -60
  1059. package/dist/node_modules/get-east-asian-width/index.js +0 -30
  1060. package/dist/node_modules/get-east-asian-width/license +0 -9
  1061. package/dist/node_modules/get-east-asian-width/lookup-data.js +0 -21
  1062. package/dist/node_modules/get-east-asian-width/lookup.js +0 -138
  1063. package/dist/node_modules/get-east-asian-width/package.json +0 -71
  1064. package/dist/node_modules/get-east-asian-width/readme.md +0 -65
  1065. package/dist/node_modules/get-east-asian-width/utilities.js +0 -24
  1066. package/dist/node_modules/graceful-fs/LICENSE +0 -15
  1067. package/dist/node_modules/graceful-fs/README.md +0 -143
  1068. package/dist/node_modules/graceful-fs/clone.js +0 -23
  1069. package/dist/node_modules/graceful-fs/graceful-fs.js +0 -448
  1070. package/dist/node_modules/graceful-fs/legacy-streams.js +0 -118
  1071. package/dist/node_modules/graceful-fs/package.json +0 -53
  1072. package/dist/node_modules/graceful-fs/polyfills.js +0 -355
  1073. package/dist/node_modules/iconv-lite/LICENSE +0 -21
  1074. package/dist/node_modules/iconv-lite/README.md +0 -138
  1075. package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
  1076. package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
  1077. package/dist/node_modules/iconv-lite/encodings/index.js +0 -23
  1078. package/dist/node_modules/iconv-lite/encodings/internal.js +0 -218
  1079. package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
  1080. package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1081. package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +0 -178
  1082. package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1083. package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1084. package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1085. package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1086. package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1087. package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1088. package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1089. package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1090. package/dist/node_modules/iconv-lite/encodings/utf16.js +0 -187
  1091. package/dist/node_modules/iconv-lite/encodings/utf32.js +0 -307
  1092. package/dist/node_modules/iconv-lite/encodings/utf7.js +0 -283
  1093. package/dist/node_modules/iconv-lite/lib/bom-handling.js +0 -48
  1094. package/dist/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
  1095. package/dist/node_modules/iconv-lite/lib/index.d.ts +0 -129
  1096. package/dist/node_modules/iconv-lite/lib/index.js +0 -182
  1097. package/dist/node_modules/iconv-lite/lib/streams.js +0 -105
  1098. package/dist/node_modules/iconv-lite/package.json +0 -70
  1099. package/dist/node_modules/iconv-lite/types/encodings.d.ts +0 -423
  1100. package/dist/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  1101. package/dist/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  1102. package/dist/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  1103. package/dist/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  1104. package/dist/node_modules/json-schema-traverse/LICENSE +0 -21
  1105. package/dist/node_modules/json-schema-traverse/README.md +0 -95
  1106. package/dist/node_modules/json-schema-traverse/index.d.ts +0 -40
  1107. package/dist/node_modules/json-schema-traverse/index.js +0 -93
  1108. package/dist/node_modules/json-schema-traverse/package.json +0 -43
  1109. package/dist/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  1110. package/dist/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  1111. package/dist/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  1112. package/dist/node_modules/jsonfile/LICENSE +0 -15
  1113. package/dist/node_modules/jsonfile/README.md +0 -230
  1114. package/dist/node_modules/jsonfile/index.js +0 -88
  1115. package/dist/node_modules/jsonfile/package.json +0 -40
  1116. package/dist/node_modules/jsonfile/utils.js +0 -18
  1117. package/dist/node_modules/ms/index.js +0 -162
  1118. package/dist/node_modules/ms/license.md +0 -21
  1119. package/dist/node_modules/ms/package.json +0 -38
  1120. package/dist/node_modules/ms/readme.md +0 -59
  1121. package/dist/node_modules/mute-stream/LICENSE +0 -15
  1122. package/dist/node_modules/mute-stream/README.md +0 -68
  1123. package/dist/node_modules/mute-stream/lib/index.js +0 -142
  1124. package/dist/node_modules/mute-stream/package.json +0 -54
  1125. package/dist/node_modules/progress/CHANGELOG.md +0 -115
  1126. package/dist/node_modules/progress/LICENSE +0 -22
  1127. package/dist/node_modules/progress/Makefile +0 -8
  1128. package/dist/node_modules/progress/Readme.md +0 -146
  1129. package/dist/node_modules/progress/index.js +0 -1
  1130. package/dist/node_modules/progress/lib/node-progress.js +0 -236
  1131. package/dist/node_modules/progress/package.json +0 -26
  1132. package/dist/node_modules/require-from-string/index.js +0 -34
  1133. package/dist/node_modules/require-from-string/license +0 -21
  1134. package/dist/node_modules/require-from-string/package.json +0 -28
  1135. package/dist/node_modules/require-from-string/readme.md +0 -56
  1136. package/dist/node_modules/safer-buffer/LICENSE +0 -21
  1137. package/dist/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1138. package/dist/node_modules/safer-buffer/Readme.md +0 -156
  1139. package/dist/node_modules/safer-buffer/dangerous.js +0 -58
  1140. package/dist/node_modules/safer-buffer/package.json +0 -34
  1141. package/dist/node_modules/safer-buffer/safer.js +0 -77
  1142. package/dist/node_modules/safer-buffer/tests.js +0 -406
  1143. package/dist/node_modules/signal-exit/LICENSE.txt +0 -16
  1144. package/dist/node_modules/signal-exit/README.md +0 -74
  1145. package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
  1146. package/dist/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
  1147. package/dist/node_modules/signal-exit/dist/cjs/browser.js +0 -10
  1148. package/dist/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
  1149. package/dist/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
  1150. package/dist/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
  1151. package/dist/node_modules/signal-exit/dist/cjs/index.js +0 -279
  1152. package/dist/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
  1153. package/dist/node_modules/signal-exit/dist/cjs/package.json +0 -3
  1154. package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
  1155. package/dist/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
  1156. package/dist/node_modules/signal-exit/dist/cjs/signals.js +0 -42
  1157. package/dist/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
  1158. package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
  1159. package/dist/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
  1160. package/dist/node_modules/signal-exit/dist/mjs/browser.js +0 -4
  1161. package/dist/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
  1162. package/dist/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
  1163. package/dist/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
  1164. package/dist/node_modules/signal-exit/dist/mjs/index.js +0 -275
  1165. package/dist/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
  1166. package/dist/node_modules/signal-exit/dist/mjs/package.json +0 -3
  1167. package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
  1168. package/dist/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
  1169. package/dist/node_modules/signal-exit/dist/mjs/signals.js +0 -39
  1170. package/dist/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
  1171. package/dist/node_modules/signal-exit/package.json +0 -106
  1172. package/dist/node_modules/simple-git/dist/cjs/index.js +0 -4898
  1173. package/dist/node_modules/simple-git/dist/cjs/index.js.map +0 -7
  1174. package/dist/node_modules/simple-git/dist/esm/index.js +0 -4745
  1175. package/dist/node_modules/simple-git/dist/esm/index.js.map +0 -7
  1176. package/dist/node_modules/simple-git/dist/esm/package.json +0 -3
  1177. package/dist/node_modules/simple-git/dist/src/lib/api.d.ts +0 -13
  1178. package/dist/node_modules/simple-git/dist/src/lib/args/log-format.d.ts +0 -9
  1179. package/dist/node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts +0 -15
  1180. package/dist/node_modules/simple-git/dist/src/lib/errors/git-error.d.ts +0 -30
  1181. package/dist/node_modules/simple-git/dist/src/lib/errors/git-plugin-error.d.ts +0 -7
  1182. package/dist/node_modules/simple-git/dist/src/lib/errors/git-response-error.d.ts +0 -32
  1183. package/dist/node_modules/simple-git/dist/src/lib/errors/task-configuration-error.d.ts +0 -12
  1184. package/dist/node_modules/simple-git/dist/src/lib/git-factory.d.ts +0 -15
  1185. package/dist/node_modules/simple-git/dist/src/lib/git-logger.d.ts +0 -21
  1186. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch-delete.d.ts +0 -5
  1187. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-branch.d.ts +0 -2
  1188. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-commit.d.ts +0 -2
  1189. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-diff-summary.d.ts +0 -3
  1190. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-fetch.d.ts +0 -2
  1191. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-list-log-summary.d.ts +0 -6
  1192. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-merge.d.ts +0 -11
  1193. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-move.d.ts +0 -2
  1194. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-pull.d.ts +0 -6
  1195. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-push.d.ts +0 -4
  1196. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-messages.d.ts +0 -5
  1197. package/dist/node_modules/simple-git/dist/src/lib/parsers/parse-remote-objects.d.ts +0 -3
  1198. package/dist/node_modules/simple-git/dist/src/lib/plugins/abort-plugin.d.ts +0 -3
  1199. package/dist/node_modules/simple-git/dist/src/lib/plugins/block-unsafe-operations-plugin.d.ts +0 -3
  1200. package/dist/node_modules/simple-git/dist/src/lib/plugins/command-config-prefixing-plugin.d.ts +0 -2
  1201. package/dist/node_modules/simple-git/dist/src/lib/plugins/completion-detection.plugin.d.ts +0 -3
  1202. package/dist/node_modules/simple-git/dist/src/lib/plugins/custom-binary.plugin.d.ts +0 -3
  1203. package/dist/node_modules/simple-git/dist/src/lib/plugins/error-detection.plugin.d.ts +0 -7
  1204. package/dist/node_modules/simple-git/dist/src/lib/plugins/index.d.ts +0 -11
  1205. package/dist/node_modules/simple-git/dist/src/lib/plugins/plugin-store.d.ts +0 -11
  1206. package/dist/node_modules/simple-git/dist/src/lib/plugins/progress-monitor-plugin.d.ts +0 -3
  1207. package/dist/node_modules/simple-git/dist/src/lib/plugins/simple-git-plugin.d.ts +0 -48
  1208. package/dist/node_modules/simple-git/dist/src/lib/plugins/spawn-options-plugin.d.ts +0 -3
  1209. package/dist/node_modules/simple-git/dist/src/lib/plugins/suffix-paths.plugin.d.ts +0 -2
  1210. package/dist/node_modules/simple-git/dist/src/lib/plugins/timout-plugin.d.ts +0 -3
  1211. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchDeleteSummary.d.ts +0 -12
  1212. package/dist/node_modules/simple-git/dist/src/lib/responses/BranchSummary.d.ts +0 -14
  1213. package/dist/node_modules/simple-git/dist/src/lib/responses/CheckIgnore.d.ts +0 -4
  1214. package/dist/node_modules/simple-git/dist/src/lib/responses/CleanSummary.d.ts +0 -9
  1215. package/dist/node_modules/simple-git/dist/src/lib/responses/ConfigList.d.ts +0 -13
  1216. package/dist/node_modules/simple-git/dist/src/lib/responses/DiffSummary.d.ts +0 -10
  1217. package/dist/node_modules/simple-git/dist/src/lib/responses/FileStatusSummary.d.ts +0 -9
  1218. package/dist/node_modules/simple-git/dist/src/lib/responses/GetRemoteSummary.d.ts +0 -11
  1219. package/dist/node_modules/simple-git/dist/src/lib/responses/InitSummary.d.ts +0 -9
  1220. package/dist/node_modules/simple-git/dist/src/lib/responses/MergeSummary.d.ts +0 -16
  1221. package/dist/node_modules/simple-git/dist/src/lib/responses/PullSummary.d.ts +0 -25
  1222. package/dist/node_modules/simple-git/dist/src/lib/responses/StatusSummary.d.ts +0 -19
  1223. package/dist/node_modules/simple-git/dist/src/lib/responses/TagList.d.ts +0 -7
  1224. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor-chain.d.ts +0 -25
  1225. package/dist/node_modules/simple-git/dist/src/lib/runners/git-executor.d.ts +0 -14
  1226. package/dist/node_modules/simple-git/dist/src/lib/runners/promise-wrapped.d.ts +0 -2
  1227. package/dist/node_modules/simple-git/dist/src/lib/runners/scheduler.d.ts +0 -11
  1228. package/dist/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts +0 -23
  1229. package/dist/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts +0 -20
  1230. package/dist/node_modules/simple-git/dist/src/lib/task-callback.d.ts +0 -2
  1231. package/dist/node_modules/simple-git/dist/src/lib/tasks/apply-patch.d.ts +0 -3
  1232. package/dist/node_modules/simple-git/dist/src/lib/tasks/branch.d.ts +0 -7
  1233. package/dist/node_modules/simple-git/dist/src/lib/tasks/change-working-directory.d.ts +0 -2
  1234. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-ignore.d.ts +0 -2
  1235. package/dist/node_modules/simple-git/dist/src/lib/tasks/check-is-repo.d.ts +0 -9
  1236. package/dist/node_modules/simple-git/dist/src/lib/tasks/checkout.d.ts +0 -2
  1237. package/dist/node_modules/simple-git/dist/src/lib/tasks/clean.d.ts +0 -25
  1238. package/dist/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts +0 -9
  1239. package/dist/node_modules/simple-git/dist/src/lib/tasks/commit.d.ts +0 -4
  1240. package/dist/node_modules/simple-git/dist/src/lib/tasks/config.d.ts +0 -8
  1241. package/dist/node_modules/simple-git/dist/src/lib/tasks/count-objects.d.ts +0 -12
  1242. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff-name-status.d.ts +0 -12
  1243. package/dist/node_modules/simple-git/dist/src/lib/tasks/diff.d.ts +0 -5
  1244. package/dist/node_modules/simple-git/dist/src/lib/tasks/fetch.d.ts +0 -4
  1245. package/dist/node_modules/simple-git/dist/src/lib/tasks/first-commit.d.ts +0 -2
  1246. package/dist/node_modules/simple-git/dist/src/lib/tasks/grep.d.ts +0 -12
  1247. package/dist/node_modules/simple-git/dist/src/lib/tasks/hash-object.d.ts +0 -5
  1248. package/dist/node_modules/simple-git/dist/src/lib/tasks/init.d.ts +0 -3
  1249. package/dist/node_modules/simple-git/dist/src/lib/tasks/log.d.ts +0 -32
  1250. package/dist/node_modules/simple-git/dist/src/lib/tasks/merge.d.ts +0 -4
  1251. package/dist/node_modules/simple-git/dist/src/lib/tasks/move.d.ts +0 -3
  1252. package/dist/node_modules/simple-git/dist/src/lib/tasks/pull.d.ts +0 -3
  1253. package/dist/node_modules/simple-git/dist/src/lib/tasks/push.d.ts +0 -9
  1254. package/dist/node_modules/simple-git/dist/src/lib/tasks/remote.d.ts +0 -8
  1255. package/dist/node_modules/simple-git/dist/src/lib/tasks/reset.d.ts +0 -11
  1256. package/dist/node_modules/simple-git/dist/src/lib/tasks/show.d.ts +0 -2
  1257. package/dist/node_modules/simple-git/dist/src/lib/tasks/stash-list.d.ts +0 -4
  1258. package/dist/node_modules/simple-git/dist/src/lib/tasks/status.d.ts +0 -3
  1259. package/dist/node_modules/simple-git/dist/src/lib/tasks/sub-module.d.ts +0 -5
  1260. package/dist/node_modules/simple-git/dist/src/lib/tasks/tag.d.ts +0 -18
  1261. package/dist/node_modules/simple-git/dist/src/lib/tasks/task.d.ts +0 -14
  1262. package/dist/node_modules/simple-git/dist/src/lib/tasks/version.d.ts +0 -9
  1263. package/dist/node_modules/simple-git/dist/src/lib/types/handlers.d.ts +0 -21
  1264. package/dist/node_modules/simple-git/dist/src/lib/types/index.d.ts +0 -136
  1265. package/dist/node_modules/simple-git/dist/src/lib/types/tasks.d.ts +0 -19
  1266. package/dist/node_modules/simple-git/dist/src/lib/utils/argument-filters.d.ts +0 -14
  1267. package/dist/node_modules/simple-git/dist/src/lib/utils/exit-codes.d.ts +0 -10
  1268. package/dist/node_modules/simple-git/dist/src/lib/utils/git-output-streams.d.ts +0 -7
  1269. package/dist/node_modules/simple-git/dist/src/lib/utils/index.d.ts +0 -8
  1270. package/dist/node_modules/simple-git/dist/src/lib/utils/line-parser.d.ts +0 -15
  1271. package/dist/node_modules/simple-git/dist/src/lib/utils/simple-git-options.d.ts +0 -2
  1272. package/dist/node_modules/simple-git/dist/src/lib/utils/task-options.d.ts +0 -13
  1273. package/dist/node_modules/simple-git/dist/src/lib/utils/task-parser.d.ts +0 -5
  1274. package/dist/node_modules/simple-git/dist/src/lib/utils/util.d.ts +0 -47
  1275. package/dist/node_modules/simple-git/dist/typings/errors.d.ts +0 -5
  1276. package/dist/node_modules/simple-git/dist/typings/index.d.ts +0 -14
  1277. package/dist/node_modules/simple-git/dist/typings/response.d.ts +0 -556
  1278. package/dist/node_modules/simple-git/dist/typings/simple-git.d.ts +0 -1033
  1279. package/dist/node_modules/simple-git/dist/typings/types.d.ts +0 -22
  1280. package/dist/node_modules/simple-git/package.json +0 -51
  1281. package/dist/node_modules/simple-git/promise.js +0 -17
  1282. package/dist/node_modules/simple-git/readme.md +0 -851
  1283. package/dist/node_modules/string-width/index.d.ts +0 -39
  1284. package/dist/node_modules/string-width/index.js +0 -82
  1285. package/dist/node_modules/string-width/license +0 -9
  1286. package/dist/node_modules/string-width/package.json +0 -64
  1287. package/dist/node_modules/string-width/readme.md +0 -66
  1288. package/dist/node_modules/strip-ansi/index.d.ts +0 -15
  1289. package/dist/node_modules/strip-ansi/index.js +0 -19
  1290. package/dist/node_modules/strip-ansi/license +0 -9
  1291. package/dist/node_modules/strip-ansi/package.json +0 -59
  1292. package/dist/node_modules/strip-ansi/readme.md +0 -37
  1293. package/dist/node_modules/type-fest/index.d.ts +0 -178
  1294. package/dist/node_modules/type-fest/license-cc0 +0 -121
  1295. package/dist/node_modules/type-fest/license-mit +0 -9
  1296. package/dist/node_modules/type-fest/package.json +0 -91
  1297. package/dist/node_modules/type-fest/readme.md +0 -1060
  1298. package/dist/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
  1299. package/dist/node_modules/type-fest/source/and.d.ts +0 -25
  1300. package/dist/node_modules/type-fest/source/array-indices.d.ts +0 -23
  1301. package/dist/node_modules/type-fest/source/array-slice.d.ts +0 -109
  1302. package/dist/node_modules/type-fest/source/array-splice.d.ts +0 -99
  1303. package/dist/node_modules/type-fest/source/array-tail.d.ts +0 -76
  1304. package/dist/node_modules/type-fest/source/array-values.d.ts +0 -22
  1305. package/dist/node_modules/type-fest/source/arrayable.d.ts +0 -29
  1306. package/dist/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  1307. package/dist/node_modules/type-fest/source/asyncify.d.ts +0 -32
  1308. package/dist/node_modules/type-fest/source/basic.d.ts +0 -68
  1309. package/dist/node_modules/type-fest/source/camel-case.d.ts +0 -89
  1310. package/dist/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
  1311. package/dist/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
  1312. package/dist/node_modules/type-fest/source/conditional-except.d.ts +0 -45
  1313. package/dist/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
  1314. package/dist/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
  1315. package/dist/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
  1316. package/dist/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
  1317. package/dist/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
  1318. package/dist/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
  1319. package/dist/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
  1320. package/dist/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
  1321. package/dist/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
  1322. package/dist/node_modules/type-fest/source/empty-object.d.ts +0 -46
  1323. package/dist/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
  1324. package/dist/node_modules/type-fest/source/entries.d.ts +0 -62
  1325. package/dist/node_modules/type-fest/source/entry.d.ts +0 -65
  1326. package/dist/node_modules/type-fest/source/exact.d.ts +0 -68
  1327. package/dist/node_modules/type-fest/source/except.d.ts +0 -108
  1328. package/dist/node_modules/type-fest/source/find-global-type.d.ts +0 -64
  1329. package/dist/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
  1330. package/dist/node_modules/type-fest/source/get.d.ts +0 -219
  1331. package/dist/node_modules/type-fest/source/global-this.d.ts +0 -21
  1332. package/dist/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
  1333. package/dist/node_modules/type-fest/source/greater-than.d.ts +0 -56
  1334. package/dist/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
  1335. package/dist/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
  1336. package/dist/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
  1337. package/dist/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
  1338. package/dist/node_modules/type-fest/source/if-any.d.ts +0 -24
  1339. package/dist/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
  1340. package/dist/node_modules/type-fest/source/if-never.d.ts +0 -24
  1341. package/dist/node_modules/type-fest/source/if-null.d.ts +0 -24
  1342. package/dist/node_modules/type-fest/source/if-unknown.d.ts +0 -24
  1343. package/dist/node_modules/type-fest/source/includes.d.ts +0 -22
  1344. package/dist/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
  1345. package/dist/node_modules/type-fest/source/int-range.d.ts +0 -55
  1346. package/dist/node_modules/type-fest/source/internal/array.d.ts +0 -126
  1347. package/dist/node_modules/type-fest/source/internal/characters.d.ts +0 -67
  1348. package/dist/node_modules/type-fest/source/internal/index.d.ts +0 -8
  1349. package/dist/node_modules/type-fest/source/internal/keys.d.ts +0 -97
  1350. package/dist/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
  1351. package/dist/node_modules/type-fest/source/internal/object.d.ts +0 -236
  1352. package/dist/node_modules/type-fest/source/internal/string.d.ts +0 -210
  1353. package/dist/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
  1354. package/dist/node_modules/type-fest/source/internal/type.d.ts +0 -139
  1355. package/dist/node_modules/type-fest/source/invariant-of.d.ts +0 -76
  1356. package/dist/node_modules/type-fest/source/is-any.d.ts +0 -33
  1357. package/dist/node_modules/type-fest/source/is-equal.d.ts +0 -31
  1358. package/dist/node_modules/type-fest/source/is-float.d.ts +0 -41
  1359. package/dist/node_modules/type-fest/source/is-integer.d.ts +0 -58
  1360. package/dist/node_modules/type-fest/source/is-literal.d.ts +0 -296
  1361. package/dist/node_modules/type-fest/source/is-never.d.ts +0 -42
  1362. package/dist/node_modules/type-fest/source/is-null.d.ts +0 -20
  1363. package/dist/node_modules/type-fest/source/is-tuple.d.ts +0 -89
  1364. package/dist/node_modules/type-fest/source/is-unknown.d.ts +0 -52
  1365. package/dist/node_modules/type-fest/source/iterable-element.d.ts +0 -64
  1366. package/dist/node_modules/type-fest/source/join.d.ts +0 -68
  1367. package/dist/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
  1368. package/dist/node_modules/type-fest/source/jsonify.d.ts +0 -122
  1369. package/dist/node_modules/type-fest/source/kebab-case.d.ts +0 -44
  1370. package/dist/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
  1371. package/dist/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
  1372. package/dist/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
  1373. package/dist/node_modules/type-fest/source/last-array-element.d.ts +0 -38
  1374. package/dist/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
  1375. package/dist/node_modules/type-fest/source/less-than.d.ts +0 -26
  1376. package/dist/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
  1377. package/dist/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
  1378. package/dist/node_modules/type-fest/source/literal-union.d.ts +0 -37
  1379. package/dist/node_modules/type-fest/source/merge-deep.d.ts +0 -486
  1380. package/dist/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
  1381. package/dist/node_modules/type-fest/source/merge.d.ts +0 -48
  1382. package/dist/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
  1383. package/dist/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
  1384. package/dist/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
  1385. package/dist/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
  1386. package/dist/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
  1387. package/dist/node_modules/type-fest/source/numeric.d.ts +0 -222
  1388. package/dist/node_modules/type-fest/source/observable-like.d.ts +0 -63
  1389. package/dist/node_modules/type-fest/source/omit-deep.d.ts +0 -167
  1390. package/dist/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
  1391. package/dist/node_modules/type-fest/source/opaque.d.ts +0 -1
  1392. package/dist/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
  1393. package/dist/node_modules/type-fest/source/or.d.ts +0 -25
  1394. package/dist/node_modules/type-fest/source/override-properties.d.ts +0 -36
  1395. package/dist/node_modules/type-fest/source/package-json.d.ts +0 -676
  1396. package/dist/node_modules/type-fest/source/partial-deep.d.ts +0 -151
  1397. package/dist/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
  1398. package/dist/node_modules/type-fest/source/pascal-case.d.ts +0 -42
  1399. package/dist/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
  1400. package/dist/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
  1401. package/dist/node_modules/type-fest/source/paths.d.ts +0 -262
  1402. package/dist/node_modules/type-fest/source/pick-deep.d.ts +0 -149
  1403. package/dist/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
  1404. package/dist/node_modules/type-fest/source/primitive.d.ts +0 -13
  1405. package/dist/node_modules/type-fest/source/promisable.d.ts +0 -25
  1406. package/dist/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
  1407. package/dist/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
  1408. package/dist/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
  1409. package/dist/node_modules/type-fest/source/replace.d.ts +0 -85
  1410. package/dist/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
  1411. package/dist/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
  1412. package/dist/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
  1413. package/dist/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
  1414. package/dist/node_modules/type-fest/source/required-deep.d.ts +0 -78
  1415. package/dist/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
  1416. package/dist/node_modules/type-fest/source/schema.d.ts +0 -114
  1417. package/dist/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
  1418. package/dist/node_modules/type-fest/source/set-field-type.d.ts +0 -65
  1419. package/dist/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
  1420. package/dist/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
  1421. package/dist/node_modules/type-fest/source/set-optional.d.ts +0 -38
  1422. package/dist/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
  1423. package/dist/node_modules/type-fest/source/set-readonly.d.ts +0 -39
  1424. package/dist/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
  1425. package/dist/node_modules/type-fest/source/set-required.d.ts +0 -70
  1426. package/dist/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  1427. package/dist/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
  1428. package/dist/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
  1429. package/dist/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
  1430. package/dist/node_modules/type-fest/source/simplify.d.ts +0 -58
  1431. package/dist/node_modules/type-fest/source/single-key-object.d.ts +0 -29
  1432. package/dist/node_modules/type-fest/source/snake-case.d.ts +0 -45
  1433. package/dist/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
  1434. package/dist/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
  1435. package/dist/node_modules/type-fest/source/split.d.ts +0 -88
  1436. package/dist/node_modules/type-fest/source/spread.d.ts +0 -84
  1437. package/dist/node_modules/type-fest/source/string-key-of.d.ts +0 -25
  1438. package/dist/node_modules/type-fest/source/string-repeat.d.ts +0 -47
  1439. package/dist/node_modules/type-fest/source/string-slice.d.ts +0 -37
  1440. package/dist/node_modules/type-fest/source/stringified.d.ts +0 -23
  1441. package/dist/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
  1442. package/dist/node_modules/type-fest/source/subtract.d.ts +0 -83
  1443. package/dist/node_modules/type-fest/source/sum.d.ts +0 -78
  1444. package/dist/node_modules/type-fest/source/tagged-union.d.ts +0 -51
  1445. package/dist/node_modules/type-fest/source/tagged.d.ts +0 -256
  1446. package/dist/node_modules/type-fest/source/trim.d.ts +0 -27
  1447. package/dist/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
  1448. package/dist/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
  1449. package/dist/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
  1450. package/dist/node_modules/type-fest/source/typed-array.d.ts +0 -17
  1451. package/dist/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
  1452. package/dist/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
  1453. package/dist/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
  1454. package/dist/node_modules/type-fest/source/unknown-array.d.ts +0 -25
  1455. package/dist/node_modules/type-fest/source/unknown-map.d.ts +0 -24
  1456. package/dist/node_modules/type-fest/source/unknown-record.d.ts +0 -31
  1457. package/dist/node_modules/type-fest/source/unknown-set.d.ts +0 -24
  1458. package/dist/node_modules/type-fest/source/value-of.d.ts +0 -42
  1459. package/dist/node_modules/type-fest/source/words.d.ts +0 -118
  1460. package/dist/node_modules/type-fest/source/writable-deep.d.ts +0 -83
  1461. package/dist/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
  1462. package/dist/node_modules/type-fest/source/writable.d.ts +0 -68
  1463. package/dist/node_modules/undici-types/LICENSE +0 -21
  1464. package/dist/node_modules/undici-types/README.md +0 -6
  1465. package/dist/node_modules/undici-types/agent.d.ts +0 -32
  1466. package/dist/node_modules/undici-types/api.d.ts +0 -43
  1467. package/dist/node_modules/undici-types/balanced-pool.d.ts +0 -30
  1468. package/dist/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  1469. package/dist/node_modules/undici-types/cache.d.ts +0 -36
  1470. package/dist/node_modules/undici-types/client-stats.d.ts +0 -15
  1471. package/dist/node_modules/undici-types/client.d.ts +0 -123
  1472. package/dist/node_modules/undici-types/connector.d.ts +0 -36
  1473. package/dist/node_modules/undici-types/content-type.d.ts +0 -21
  1474. package/dist/node_modules/undici-types/cookies.d.ts +0 -30
  1475. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  1476. package/dist/node_modules/undici-types/dispatcher.d.ts +0 -279
  1477. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  1478. package/dist/node_modules/undici-types/errors.d.ts +0 -177
  1479. package/dist/node_modules/undici-types/eventsource.d.ts +0 -66
  1480. package/dist/node_modules/undici-types/fetch.d.ts +0 -211
  1481. package/dist/node_modules/undici-types/formdata.d.ts +0 -108
  1482. package/dist/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1483. package/dist/node_modules/undici-types/global-origin.d.ts +0 -7
  1484. package/dist/node_modules/undici-types/h2c-client.d.ts +0 -73
  1485. package/dist/node_modules/undici-types/handlers.d.ts +0 -15
  1486. package/dist/node_modules/undici-types/header.d.ts +0 -160
  1487. package/dist/node_modules/undici-types/index.d.ts +0 -91
  1488. package/dist/node_modules/undici-types/interceptors.d.ts +0 -80
  1489. package/dist/node_modules/undici-types/mock-agent.d.ts +0 -68
  1490. package/dist/node_modules/undici-types/mock-call-history.d.ts +0 -111
  1491. package/dist/node_modules/undici-types/mock-client.d.ts +0 -27
  1492. package/dist/node_modules/undici-types/mock-errors.d.ts +0 -12
  1493. package/dist/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  1494. package/dist/node_modules/undici-types/mock-pool.d.ts +0 -27
  1495. package/dist/node_modules/undici-types/package.json +0 -55
  1496. package/dist/node_modules/undici-types/patch.d.ts +0 -29
  1497. package/dist/node_modules/undici-types/pool-stats.d.ts +0 -19
  1498. package/dist/node_modules/undici-types/pool.d.ts +0 -41
  1499. package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -29
  1500. package/dist/node_modules/undici-types/readable.d.ts +0 -68
  1501. package/dist/node_modules/undici-types/retry-agent.d.ts +0 -8
  1502. package/dist/node_modules/undici-types/retry-handler.d.ts +0 -125
  1503. package/dist/node_modules/undici-types/round-robin-pool.d.ts +0 -41
  1504. package/dist/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  1505. package/dist/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  1506. package/dist/node_modules/undici-types/util.d.ts +0 -18
  1507. package/dist/node_modules/undici-types/utility.d.ts +0 -7
  1508. package/dist/node_modules/undici-types/webidl.d.ts +0 -347
  1509. package/dist/node_modules/undici-types/websocket.d.ts +0 -188
  1510. package/dist/node_modules/universalify/LICENSE +0 -20
  1511. package/dist/node_modules/universalify/README.md +0 -76
  1512. package/dist/node_modules/universalify/index.js +0 -24
  1513. package/dist/node_modules/universalify/package.json +0 -34
  1514. package/dist/node_modules/widest-line/index.d.ts +0 -12
  1515. package/dist/node_modules/widest-line/index.js +0 -11
  1516. package/dist/node_modules/widest-line/license +0 -9
  1517. package/dist/node_modules/widest-line/package.json +0 -60
  1518. package/dist/node_modules/widest-line/readme.md +0 -26
  1519. package/dist/node_modules/wrap-ansi/index.d.ts +0 -41
  1520. package/dist/node_modules/wrap-ansi/index.js +0 -222
  1521. package/dist/node_modules/wrap-ansi/license +0 -9
  1522. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +0 -236
  1523. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +0 -223
  1524. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/license +0 -9
  1525. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +0 -54
  1526. package/dist/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +0 -173
  1527. package/dist/node_modules/wrap-ansi/package.json +0 -69
  1528. package/dist/node_modules/wrap-ansi/readme.md +0 -75
  1529. package/dist/package-lock.json +0 -10655
  1530. package/dist/package.json +0 -76
  1531. package/dist/scripts/jsonSchemaToTs.js +0 -16
  1532. package/dist/scripts/versionDevelop.js +0 -116
@@ -1,1172 +0,0 @@
1
- # Commander.js
2
-
3
- [![Build Status](https://github.com/tj/commander.js/workflows/build/badge.svg)](https://github.com/tj/commander.js/actions?query=workflow%3A%22build%22)
4
- [![NPM Version](http://img.shields.io/npm/v/commander.svg?style=flat)](https://www.npmjs.org/package/commander)
5
- [![NPM Downloads](https://img.shields.io/npm/dm/commander.svg?style=flat)](https://npmcharts.com/compare/commander?minimal=true)
6
- [![Install Size](https://packagephobia.now.sh/badge?p=commander)](https://packagephobia.now.sh/result?p=commander)
7
-
8
- The complete solution for [node.js](http://nodejs.org) command-line interfaces.
9
-
10
- Read this in other languages: English | [简体中文](./Readme_zh-CN.md)
11
-
12
- - [Commander.js](#commanderjs)
13
- - [Installation](#installation)
14
- - [Quick Start](#quick-start)
15
- - [Declaring _program_ variable](#declaring-program-variable)
16
- - [Options](#options)
17
- - [Common option types, boolean and value](#common-option-types-boolean-and-value)
18
- - [Default option value](#default-option-value)
19
- - [Other option types, negatable boolean and boolean|value](#other-option-types-negatable-boolean-and-booleanvalue)
20
- - [Required option](#required-option)
21
- - [Variadic option](#variadic-option)
22
- - [Version option](#version-option)
23
- - [More configuration](#more-configuration)
24
- - [Custom option processing](#custom-option-processing)
25
- - [Commands](#commands)
26
- - [Command-arguments](#command-arguments)
27
- - [More configuration](#more-configuration-1)
28
- - [Custom argument processing](#custom-argument-processing)
29
- - [Action handler](#action-handler)
30
- - [Stand-alone executable (sub)commands](#stand-alone-executable-subcommands)
31
- - [Life cycle hooks](#life-cycle-hooks)
32
- - [Automated help](#automated-help)
33
- - [Custom help](#custom-help)
34
- - [Display help after errors](#display-help-after-errors)
35
- - [Display help from code](#display-help-from-code)
36
- - [.name](#name)
37
- - [.usage](#usage)
38
- - [.description and .summary](#description-and-summary)
39
- - [.helpOption(flags, description)](#helpoptionflags-description)
40
- - [.helpCommand()](#helpcommand)
41
- - [Help Groups](#help-groups)
42
- - [More configuration](#more-configuration-2)
43
- - [Custom event listeners](#custom-event-listeners)
44
- - [Bits and pieces](#bits-and-pieces)
45
- - [.parse() and .parseAsync()](#parse-and-parseasync)
46
- - [Parsing Configuration](#parsing-configuration)
47
- - [Legacy options as properties](#legacy-options-as-properties)
48
- - [TypeScript](#typescript)
49
- - [createCommand()](#createcommand)
50
- - [Node options such as `--harmony`](#node-options-such-as---harmony)
51
- - [Debugging stand-alone executable subcommands](#debugging-stand-alone-executable-subcommands)
52
- - [npm run-script](#npm-run-script)
53
- - [Display error](#display-error)
54
- - [Override exit and output handling](#override-exit-and-output-handling)
55
- - [Additional documentation](#additional-documentation)
56
- - [Support](#support)
57
- - [Commander for enterprise](#commander-for-enterprise)
58
-
59
- For information about terms used in this document see: [terminology](./docs/terminology.md)
60
-
61
- ## Installation
62
-
63
- ```sh
64
- npm install commander
65
- ```
66
-
67
- ## Quick Start
68
-
69
- You write code to describe your command line interface.
70
- Commander looks after parsing the arguments into options and command-arguments,
71
- displays usage errors for problems, and implements a help system.
72
-
73
- Commander is strict and displays an error for unrecognised options.
74
- The two most used option types are a boolean option, and an option which takes its value from the following argument.
75
-
76
- Example file: [split.js](./examples/split.js)
77
-
78
- ```js
79
- import { program } from 'commander';
80
-
81
- program
82
- .option('--first')
83
- .option('-s, --separator <char>')
84
- .argument('<string>');
85
-
86
- program.parse();
87
-
88
- const options = program.opts();
89
- const limit = options.first ? 1 : undefined;
90
- console.log(program.args[0].split(options.separator, limit));
91
- ```
92
-
93
- ```console
94
- $ node split.js -s - --fits a-b-c
95
- error: unknown option '--fits'
96
- (Did you mean --first?)
97
- $ node split.js -s - --first a-b-c
98
- [ 'a' ]
99
- ```
100
-
101
- Here is a more complete program using a subcommand and with descriptions for the help. In a multi-command program, you have an action handler for each command (or stand-alone executables for the commands).
102
-
103
- Example file: [string-util.js](./examples/string-util.js)
104
-
105
- ```js
106
- import { Command } from 'commander';
107
- const program = new Command();
108
-
109
- program
110
- .name('string-util')
111
- .description('CLI to some JavaScript string utilities')
112
- .version('0.8.0');
113
-
114
- program.command('split')
115
- .description('Split a string into substrings and display as an array')
116
- .argument('<string>', 'string to split')
117
- .option('--first', 'display just the first substring')
118
- .option('-s, --separator <char>', 'separator character', ',')
119
- .action((str, options) => {
120
- const limit = options.first ? 1 : undefined;
121
- console.log(str.split(options.separator, limit));
122
- });
123
-
124
- program.parse();
125
- ```
126
-
127
- ```console
128
- $ node string-util.js help split
129
- Usage: string-util split [options] <string>
130
-
131
- Split a string into substrings and display as an array.
132
-
133
- Arguments:
134
- string string to split
135
-
136
- Options:
137
- --first display just the first substring
138
- -s, --separator <char> separator character (default: ",")
139
- -h, --help display help for command
140
-
141
- $ node string-util.js split --separator=- a-b-c
142
- [ 'a', 'b', 'c' ]
143
- ```
144
-
145
- More samples can be found in the [examples](https://github.com/tj/commander.js/tree/master/examples) directory.
146
-
147
- ## Declaring _program_ variable
148
-
149
- Commander exports a global object which is convenient for quick programs.
150
- This is used in some examples in this README for brevity.
151
-
152
- ```js
153
- import { program } from 'commander';
154
- ```
155
-
156
- For larger programs which may use commander in multiple ways, including unit testing, it is better to create a local `Command` object to use.
157
-
158
- ```js
159
- // CommonJS (.cjs)
160
- const { Command } = require('commander');
161
- const program = new Command();
162
- ```
163
-
164
- ```js
165
- // ECMAScript (.mjs)
166
- import { Command } from 'commander';
167
- const program = new Command();
168
- ```
169
-
170
- ```ts
171
- // TypeScript (.ts)
172
- import { Command } from 'commander';
173
- const program = new Command();
174
- ```
175
-
176
- ## Options
177
-
178
- Options are defined with the `.option()` method, also serving as documentation for the options. Each option can have a short flag (single character) and a long name, separated by a comma, a space, or a vertical bar (`|`). To allow a wider range of short-ish flags than just single characters, you may also have two long options.
179
-
180
- ```js
181
- program
182
- .option('-p, --port <number>', 'server port number')
183
- .option('--trace', 'add extra debugging output')
184
- .option('--ws, --workspace <name>', 'use a custom workspace')
185
- ```
186
-
187
- The parsed options can be accessed by calling `.opts()` on a `Command` object, and are passed to the action handler.
188
-
189
- Multi-word options like `--template-engine` are normalized to camelCase option names, resulting in properties such as `program.opts().templateEngine`.
190
-
191
- An option and its option-argument can be separated by a space, or combined into the same argument. The option-argument can follow the short option directly, or follow an `=` for a long option.
192
-
193
- ```sh
194
- serve -p 80
195
- serve -p80
196
- serve --port 80
197
- serve --port=80
198
- ```
199
-
200
- You can use `--` to indicate the end of the options, and any remaining arguments will be used without being interpreted.
201
-
202
- By default, options on the command line are not positional, and can be specified before or after other arguments.
203
-
204
- There are additional related routines for when `.opts()` is not enough:
205
-
206
- - `.optsWithGlobals()` returns merged local and global option values
207
- - `.getOptionValue()` and `.setOptionValue()` work with a single option value
208
- - `.getOptionValueSource()` and `.setOptionValueWithSource()` include where the option value came from
209
-
210
- ### Common option types, boolean and value
211
-
212
- The two most used option types are a boolean option, and an option which takes its value
213
- from the following argument (declared with angle brackets like `--expect <value>`). Both are `undefined` unless specified on command line.
214
-
215
- Example file: [options-common.js](./examples/options-common.js)
216
-
217
- ```js
218
- program
219
- .option('-d, --debug', 'output extra debugging')
220
- .option('-s, --small', 'small pizza size')
221
- .option('-p, --pizza-type <type>', 'flavour of pizza');
222
-
223
- program.parse(process.argv);
224
-
225
- const options = program.opts();
226
- if (options.debug) console.log(options);
227
- console.log('pizza details:');
228
- if (options.small) console.log('- small pizza size');
229
- if (options.pizzaType) console.log(`- ${options.pizzaType}`);
230
- ```
231
-
232
- ```console
233
- $ pizza-options -p
234
- error: option '-p, --pizza-type <type>' argument missing
235
- $ pizza-options -d -s -p vegetarian
236
- { debug: true, small: true, pizzaType: 'vegetarian' }
237
- pizza details:
238
- - small pizza size
239
- - vegetarian
240
- $ pizza-options --pizza-type=cheese
241
- pizza details:
242
- - cheese
243
- ```
244
-
245
- Multiple boolean short options may be combined following the dash, and may be followed by a single short option taking a value.
246
- For example, `-d -s -p cheese` may be written as `-ds -p cheese` or even `-dsp cheese`.
247
-
248
- Options with an expected option-argument are greedy and will consume the following argument whatever the value.
249
- So `--id -xyz` reads `-xyz` as the option-argument.
250
-
251
- `program.parse(arguments)` processes the arguments, leaving any args not consumed by the program options in the `program.args` array. The parameter is optional and defaults to `process.argv`.
252
-
253
- ### Default option value
254
-
255
- You can specify a default value for an option.
256
-
257
- Example file: [options-defaults.js](./examples/options-defaults.js)
258
-
259
- ```js
260
- program
261
- .option('-c, --cheese <type>', 'add the specified type of cheese', 'blue');
262
-
263
- program.parse();
264
-
265
- console.log(`cheese: ${program.opts().cheese}`);
266
- ```
267
-
268
- ```console
269
- $ pizza-options
270
- cheese: blue
271
- $ pizza-options --cheese stilton
272
- cheese: stilton
273
- ```
274
-
275
- ### Other option types, negatable boolean and boolean|value
276
-
277
- You can define a boolean option long name with a leading `no-` to set the option value to `false` when used.
278
- Defined alone without a matching positive option, this also makes the option `true` by default.
279
-
280
- Example file: [options-negatable.js](./examples/options-negatable.js)
281
-
282
- ```js
283
- program
284
- .option('--no-sauce', 'Remove sauce')
285
- .option('--cheese <flavour>', 'cheese flavour', 'mozzarella')
286
- .option('--no-cheese', 'plain with no cheese')
287
- .parse();
288
-
289
- const options = program.opts();
290
- const sauceStr = options.sauce ? 'sauce' : 'no sauce';
291
- const cheeseStr = (options.cheese === false) ? 'no cheese' : `${options.cheese} cheese`;
292
- console.log(`You ordered a pizza with ${sauceStr} and ${cheeseStr}`);
293
- ```
294
-
295
- ```console
296
- $ pizza-options
297
- You ordered a pizza with sauce and mozzarella cheese
298
- $ pizza-options --sauce
299
- error: unknown option '--sauce'
300
- $ pizza-options --cheese=blue
301
- You ordered a pizza with sauce and blue cheese
302
- $ pizza-options --no-sauce --no-cheese
303
- You ordered a pizza with no sauce and no cheese
304
- ```
305
-
306
- You can specify an option which may be used as a boolean option but may optionally take an option-argument
307
- (declared with square brackets, like `--optional [value]`).
308
-
309
- Example file: [options-boolean-or-value.js](./examples/options-boolean-or-value.js)
310
-
311
- ```js
312
- program
313
- .option('-c, --cheese [type]', 'Add cheese with optional type');
314
-
315
- program.parse(process.argv);
316
-
317
- const options = program.opts();
318
- if (options.cheese === undefined) console.log('no cheese');
319
- else if (options.cheese === true) console.log('add cheese');
320
- else console.log(`add cheese type ${options.cheese}`);
321
- ```
322
-
323
- ```console
324
- $ pizza-options
325
- no cheese
326
- $ pizza-options --cheese
327
- add cheese
328
- $ pizza-options --cheese mozzarella
329
- add cheese type mozzarella
330
- ```
331
-
332
- Options with an optional option-argument are not greedy and will ignore arguments starting with a dash.
333
- So `id` behaves as a boolean option for `--id -ABCD`, but you can use a combined form if needed like `--id=-ABCD`.
334
- Negative numbers are special and are accepted as an option-argument.
335
-
336
- For information about possible ambiguous cases, see [options taking varying arguments](./docs/options-in-depth.md).
337
-
338
- ### Required option
339
-
340
- You may specify a required (mandatory) option using `.requiredOption()`. The option must have a value after parsing, usually specified on the command line, or perhaps from a default value (e.g., from environment).
341
-
342
- The method is otherwise the same as `.option()` in format, taking flags and description, and optional default value or custom processing.
343
-
344
- Example file: [options-required.js](./examples/options-required.js)
345
-
346
- ```js
347
- program
348
- .requiredOption('-c, --cheese <type>', 'pizza must have cheese');
349
-
350
- program.parse();
351
- ```
352
-
353
- ```console
354
- $ pizza
355
- error: required option '-c, --cheese <type>' not specified
356
- ```
357
-
358
- ### Variadic option
359
-
360
- You may make an option variadic by appending `...` to the value placeholder when declaring the option. On the command line you
361
- can then specify multiple option-arguments, and the parsed option value will be an array. The extra arguments
362
- are read until the first argument starting with a dash. The special argument `--` stops option processing entirely. If a value
363
- is specified in the same argument as the option, then no further values are read.
364
-
365
- Example file: [options-variadic.js](./examples/options-variadic.js)
366
-
367
- ```js
368
- program
369
- .option('-n, --number <numbers...>', 'specify numbers')
370
- .option('-l, --letter [letters...]', 'specify letters');
371
-
372
- program.parse();
373
-
374
- console.log('Options: ', program.opts());
375
- console.log('Remaining arguments: ', program.args);
376
- ```
377
-
378
- ```console
379
- $ collect -n 1 2 3 --letter a b c
380
- Options: { number: [ '1', '2', '3' ], letter: [ 'a', 'b', 'c' ] }
381
- Remaining arguments: []
382
- $ collect --letter=A -n80 operand
383
- Options: { number: [ '80' ], letter: [ 'A' ] }
384
- Remaining arguments: [ 'operand' ]
385
- $ collect --letter -n 1 -n 2 3 -- operand
386
- Options: { number: [ '1', '2', '3' ], letter: true }
387
- Remaining arguments: [ 'operand' ]
388
- ```
389
-
390
- For information about possible ambiguous cases, see [options taking varying arguments](./docs/options-in-depth.md).
391
-
392
- ### Version option
393
-
394
- The optional `.version()` method adds handling for displaying the command version. The default option flags are `-V` and `--version`. When used, the command prints the version number and exits.
395
-
396
- ```js
397
- program.version('0.0.1');
398
- ```
399
-
400
- ```console
401
- $ ./examples/pizza -V
402
- 0.0.1
403
- ```
404
-
405
- You may change the flags and description by passing additional parameters to the `.version()` method, using
406
- the same syntax for flags as the `.option()` method.
407
-
408
- ```js
409
- program.version('0.0.1', '-v, --vers', 'output the current version');
410
- ```
411
-
412
- ### More configuration
413
-
414
- You can add most options using the `.option()` method, but there are some additional features available
415
- by constructing an `Option` explicitly for less common cases.
416
-
417
- Example files: [options-extra.js](./examples/options-extra.js), [options-env.js](./examples/options-env.js), [options-conflicts.js](./examples/options-conflicts.js), [options-implies.js](./examples/options-implies.js)
418
-
419
- ```js
420
- program
421
- .addOption(new Option('-s, --secret').hideHelp())
422
- .addOption(new Option('-t, --timeout <delay>', 'timeout in seconds').default(60, 'one minute'))
423
- .addOption(new Option('-d, --drink <size>', 'drink size').choices(['small', 'medium', 'large']))
424
- .addOption(new Option('-p, --port <number>', 'port number').env('PORT'))
425
- .addOption(new Option('--donate [amount]', 'optional donation in dollars').preset('20').argParser(parseFloat))
426
- .addOption(new Option('--disable-server', 'disables the server').conflicts('port'))
427
- .addOption(new Option('--free-drink', 'small drink included free ').implies({ drink: 'small' }));
428
- ```
429
-
430
- ```console
431
- $ extra --help
432
- Usage: help [options]
433
-
434
- Options:
435
- -t, --timeout <delay> timeout in seconds (default: one minute)
436
- -d, --drink <size> drink cup size (choices: "small", "medium", "large")
437
- -p, --port <number> port number (env: PORT)
438
- --donate [amount] optional donation in dollars (preset: "20")
439
- --disable-server disables the server
440
- --free-drink small drink included free
441
- -h, --help display help for command
442
-
443
- $ extra --drink huge
444
- error: option '-d, --drink <size>' argument 'huge' is invalid. Allowed choices are small, medium, large.
445
-
446
- $ PORT=80 extra --donate --free-drink
447
- Options: { timeout: 60, donate: 20, port: '80', freeDrink: true, drink: 'small' }
448
-
449
- $ extra --disable-server --port 8000
450
- error: option '--disable-server' cannot be used with option '-p, --port <number>'
451
- ```
452
-
453
- Specify a required (mandatory) option using the `Option` method `.makeOptionMandatory()`. This matches the `Command` method [`.requiredOption()`](#required-option).
454
-
455
- ### Custom option processing
456
-
457
- You may specify a function to do custom processing of option-arguments. The callback function receives two parameters,
458
- the user specified option-argument and the previous value for the option. It returns the new value for the option.
459
-
460
- This allows you to coerce the option-argument to the desired type, or accumulate values, or do entirely custom processing.
461
-
462
- You can optionally specify the default/starting value for the option after the function parameter.
463
-
464
- Example file: [options-custom-processing.js](./examples/options-custom-processing.js)
465
-
466
- ```js
467
- function myParseInt(value, dummyPrevious) {
468
- // parseInt takes a string and a radix
469
- const parsedValue = parseInt(value, 10);
470
- if (isNaN(parsedValue)) {
471
- throw new commander.InvalidArgumentError('Not a number.');
472
- }
473
- return parsedValue;
474
- }
475
-
476
- function increaseVerbosity(dummyValue, previous) {
477
- return previous + 1;
478
- }
479
-
480
- function collect(value, previous) {
481
- return previous.concat([value]);
482
- }
483
-
484
- function commaSeparatedList(value, dummyPrevious) {
485
- return value.split(',');
486
- }
487
-
488
- program
489
- .option('-f, --float <number>', 'float argument', parseFloat)
490
- .option('-i, --integer <number>', 'integer argument', myParseInt)
491
- .option('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0)
492
- .option('-c, --collect <value>', 'repeatable value', collect, [])
493
- .option('-l, --list <items>', 'comma separated list', commaSeparatedList)
494
- ;
495
-
496
- program.parse();
497
-
498
- const options = program.opts();
499
- if (options.float !== undefined) console.log(`float: ${options.float}`);
500
- if (options.integer !== undefined) console.log(`integer: ${options.integer}`);
501
- if (options.verbose > 0) console.log(`verbosity: ${options.verbose}`);
502
- if (options.collect.length > 0) console.log(options.collect);
503
- if (options.list !== undefined) console.log(options.list);
504
- ```
505
-
506
- ```console
507
- $ custom -f 1e2
508
- float: 100
509
- $ custom --integer 2
510
- integer: 2
511
- $ custom -v -v -v
512
- verbose: 3
513
- $ custom -c a -c b -c c
514
- [ 'a', 'b', 'c' ]
515
- $ custom --list x,y,z
516
- [ 'x', 'y', 'z' ]
517
- ```
518
-
519
- ## Commands
520
-
521
- You can specify (sub)commands using `.command()` or `.addCommand()`. There are two ways these can be implemented: using an `.action()` handler attached to the command; or as a stand-alone executable file. (More detail about this later.)
522
-
523
- Subcommands may be nested. Example file: [nestedCommands.js](./examples/nestedCommands.js).
524
-
525
- In the first parameter to `.command()` you specify the command name. You may append the command-arguments after the command name, or specify them separately using `.argument()`. The arguments may be `<required>` or `[optional]`, and the last argument may also be `variadic...`.
526
-
527
- You can use `.addCommand()` to add an already configured subcommand to the program.
528
-
529
- For example:
530
-
531
- ```js
532
- // Command implemented using action handler (description is supplied separately to `.command`)
533
- // Returns new command for configuring.
534
- program
535
- .command('clone <source> [destination]')
536
- .description('clone a repository into a newly created directory')
537
- .action((source, destination) => {
538
- console.log('clone command called');
539
- });
540
-
541
- // Command implemented using stand-alone executable file, indicated by adding description as second parameter to `.command`.
542
- // Returns `this` for adding more commands.
543
- program
544
- .command('start <service>', 'start named service')
545
- .command('stop [service]', 'stop named service, or all if no name supplied');
546
-
547
- // Command prepared separately.
548
- // Returns `this` for adding more commands.
549
- program
550
- .addCommand(build.makeBuildCommand());
551
- ```
552
-
553
- Configuration options can be passed with the call to `.command()` and `.addCommand()`. Specifying `hidden: true` will
554
- remove the command from the generated help output. Specifying `isDefault: true` will run the subcommand if no other
555
- subcommand is specified. (Example file: [defaultCommand.js](./examples/defaultCommand.js).)
556
-
557
- You can add alternative names for a command with `.alias()`. (Example file: [alias.cjs](./examples/alias.cjs).)
558
-
559
- `.command()` automatically copies the inherited settings from the parent command to the newly created subcommand. This is only done during creation; any later setting changes to the parent are not inherited.
560
-
561
- For safety, `.addCommand()` does not automatically copy the inherited settings from the parent command. There is a helper routine `.copyInheritedSettings()` for copying the settings when they are wanted.
562
-
563
- ### Command-arguments
564
-
565
- For subcommands, you can specify the argument syntax in the call to `.command()` (as shown above). This
566
- is the only method usable for subcommands implemented using a stand-alone executable.
567
-
568
- Alternatively, you can instead use the following method. To configure a command, you can use `.argument()` to specify each expected command-argument.
569
- You supply the argument name and an optional description. The argument may be `<required>` or `[optional]`.
570
- You can specify a default value for an optional command-argument.
571
-
572
- Example file: [argument.js](./examples/argument.js)
573
-
574
- ```js
575
- program
576
- .version('0.1.0')
577
- .argument('<username>', 'user to login')
578
- .argument('[password]', 'password for user, if required', 'no password given')
579
- .action((username, password) => {
580
- console.log('username:', username);
581
- console.log('password:', password);
582
- });
583
- ```
584
-
585
- The last argument of a command can be variadic, and _only_ the last argument. To make an argument variadic, simply
586
- append `...` to the argument name.
587
-
588
- A variadic argument is passed to the action handler as an array.
589
-
590
- ```js
591
- program
592
- .version('0.1.0')
593
- .command('rmdir')
594
- .argument('<dirs...>')
595
- .action(function (dirs) {
596
- dirs.forEach((dir) => {
597
- console.log('rmdir %s', dir);
598
- });
599
- });
600
- ```
601
-
602
- There is a convenience method to add multiple arguments at once, but without descriptions:
603
-
604
- ```js
605
- program
606
- .arguments('<username> <password>');
607
- ```
608
-
609
- #### More configuration
610
-
611
- There are some additional features available by constructing an `Argument` explicitly for less common cases.
612
-
613
- Example file: [arguments-extra.js](./examples/arguments-extra.js)
614
-
615
- ```js
616
- program
617
- .addArgument(new commander.Argument('<drink-size>', 'drink cup size').choices(['small', 'medium', 'large']))
618
- .addArgument(new commander.Argument('[timeout]', 'timeout in seconds').default(60, 'one minute'))
619
- ```
620
-
621
- #### Custom argument processing
622
-
623
- You may specify a function to do custom processing of command-arguments (like for option-arguments).
624
- The callback function receives two parameters, the user specified command-argument and the previous value for the argument.
625
- It returns the new value for the argument.
626
-
627
- The processed argument values are passed to the action handler, and saved as `.processedArgs`.
628
-
629
- You can optionally specify the default/starting value for the argument after the function parameter.
630
-
631
- Example file: [arguments-custom-processing.js](./examples/arguments-custom-processing.js)
632
-
633
- ```js
634
- program
635
- .command('add')
636
- .argument('<first>', 'integer argument', myParseInt)
637
- .argument('[second]', 'integer argument', myParseInt, 1000)
638
- .action((first, second) => {
639
- console.log(`${first} + ${second} = ${first + second}`);
640
- })
641
- ;
642
- ```
643
-
644
- ### Action handler
645
-
646
- The action handler gets passed a parameter for each command-argument you declared, and two additional parameters
647
- which are the parsed options and the command object itself.
648
-
649
- Example file: [thank.js](./examples/thank.js)
650
-
651
- ```js
652
- program
653
- .argument('<name>')
654
- .option('-t, --title <honorific>', 'title to use before name')
655
- .option('-d, --debug', 'display some debugging')
656
- .action((name, options, command) => {
657
- if (options.debug) {
658
- console.error('Called %s with options %o', command.name(), options);
659
- }
660
- const title = options.title ? `${options.title} ` : '';
661
- console.log(`Thank-you ${title}${name}`);
662
- });
663
- ```
664
-
665
- If you prefer, you can work with the command directly and skip declaring the parameters for the action handler. If you use a function expression (but not an arrow function), the `this` keyword is set to the running command.
666
-
667
- Example file: [action-this.js](./examples/action-this.js)
668
-
669
- ```js
670
- program
671
- .command('serve')
672
- .argument('<script>')
673
- .option('-p, --port <number>', 'port number', 80)
674
- .action(function() {
675
- console.error('Run script %s on port %s', this.args[0], this.opts().port);
676
- });
677
- ```
678
-
679
- You may supply an `async` action handler, in which case you call `.parseAsync()` rather than `.parse()`.
680
-
681
- ```js
682
- async function run() { /* code goes here */ }
683
-
684
- async function main() {
685
- program
686
- .command('run')
687
- .action(run);
688
- await program.parseAsync(process.argv);
689
- }
690
- ```
691
-
692
- A command's options and arguments on the command line are validated when the command is used. Any unknown options, missing arguments, or excess arguments will be reported as an error.
693
-
694
- You can suppress the unknown option check with `.allowUnknownOption()`. You can suppress the excess arguments check with `.allowExcessArguments()`.
695
-
696
- ### Stand-alone executable (sub)commands
697
-
698
- When `.command()` is invoked with a description argument, this tells Commander that you're going to use stand-alone executables for subcommands.
699
- Commander will search the files in the directory of the entry script for a file with the name combination `command-subcommand` (like `pm-install` or `pm-search` in the example below). The search includes trying common file extensions, like `.js`.
700
- You may specify a custom name (and path) with the `executableFile` configuration option.
701
- You may specify a custom search directory for subcommands with `.executableDir()`.
702
-
703
- You handle the options for an executable (sub)command in the executable, and don't declare them at the top-level.
704
-
705
- Example file: [pm](./examples/pm)
706
-
707
- ```js
708
- program
709
- .name('pm')
710
- .version('0.1.0')
711
- .command('install [package-names...]', 'install one or more packages')
712
- .command('search [query]', 'search with optional query')
713
- .command('update', 'update installed packages', { executableFile: 'myUpdateSubCommand' })
714
- .command('list', 'list packages installed', { isDefault: true });
715
-
716
- program.parse(process.argv);
717
- ```
718
-
719
- If the program is designed to be installed globally, make sure the executables have proper modes, like `755`.
720
-
721
- ### Life cycle hooks
722
-
723
- You can add callback hooks to a command for life cycle events.
724
-
725
- Example file: [hook.js](./examples/hook.js)
726
-
727
- ```js
728
- program
729
- .option('-t, --trace', 'display trace statements for commands')
730
- .hook('preAction', (thisCommand, actionCommand) => {
731
- if (thisCommand.opts().trace) {
732
- console.log(`About to call action handler for subcommand: ${actionCommand.name()}`);
733
- console.log('arguments: %O', actionCommand.args);
734
- console.log('options: %o', actionCommand.opts());
735
- }
736
- });
737
- ```
738
-
739
- The callback hook can be `async`, in which case you call `.parseAsync()` rather than `.parse()`. You can add multiple hooks per event.
740
-
741
- The supported events are:
742
-
743
- | event name | when hook called | callback parameters |
744
- | :-- | :-- | :-- |
745
- | `preAction`, `postAction` | before/after action handler for this command and its nested subcommands | `(thisCommand, actionCommand)` |
746
- | `preSubcommand` | before parsing direct subcommand | `(thisCommand, subcommand)` |
747
-
748
- For an overview of the life cycle events, see [parsing life cycle and hooks](./docs/parsing-and-hooks.md).
749
-
750
- ## Automated help
751
-
752
- The help information is auto-generated based on the information commander already knows about your program. The default
753
- help option is `-h,--help`.
754
-
755
- Example file: [pizza](./examples/pizza)
756
-
757
- ```console
758
- $ node ./examples/pizza --help
759
- Usage: pizza [options]
760
-
761
- An application for pizza ordering
762
-
763
- Options:
764
- -p, --peppers Add peppers
765
- -c, --cheese <type> Add the specified type of cheese (default: "marble")
766
- -C, --no-cheese You do not want any cheese
767
- -h, --help display help for command
768
- ```
769
-
770
- A `help` command is added by default if your command has subcommands. It can be used alone, or with a subcommand name to show
771
- further help for the subcommand. These are effectively the same if the `shell` program has implicit help:
772
-
773
- ```sh
774
- shell help
775
- shell --help
776
-
777
- shell help spawn
778
- shell spawn --help
779
- ```
780
-
781
- Long descriptions are wrapped to fit the available width. (However, a description that includes a line-break followed by whitespace is assumed to be pre-formatted and not wrapped.)
782
-
783
- ### Custom help
784
-
785
- You can add extra text to be displayed along with the built-in help.
786
-
787
- Example file: [custom-help](./examples/custom-help)
788
-
789
- ```js
790
- program
791
- .option('-f, --foo', 'enable some foo');
792
-
793
- program.addHelpText('after', `
794
-
795
- Example call:
796
- $ custom-help --help`);
797
- ```
798
-
799
- Yields the following help output:
800
-
801
- ```Text
802
- Usage: custom-help [options]
803
-
804
- Options:
805
- -f, --foo enable some foo
806
- -h, --help display help for command
807
-
808
- Example call:
809
- $ custom-help --help
810
- ```
811
-
812
- The positions in order displayed are:
813
-
814
- - `beforeAll`: add to the program for a global banner or header
815
- - `before`: display extra information before built-in help
816
- - `after`: display extra information after built-in help
817
- - `afterAll`: add to the program for a global footer (epilog)
818
-
819
- The positions "beforeAll" and "afterAll" apply to the command and all its subcommands.
820
-
821
- The second parameter can be a string, or a function returning a string. The function is passed a context object for your convenience. The properties are:
822
-
823
- - `error`: a boolean for whether the help is being displayed due to a usage error
824
- - `command`: the `Command` which is displaying the help
825
-
826
- ### Display help after errors
827
-
828
- The default behaviour for usage errors is to just display a short error message.
829
- You can change the behaviour to show the full help or a custom help message after an error.
830
-
831
- ```js
832
- program.showHelpAfterError();
833
- // or
834
- program.showHelpAfterError('(add --help for additional information)');
835
- ```
836
-
837
- ```console
838
- $ pizza --unknown
839
- error: unknown option '--unknown'
840
- (add --help for additional information)
841
- ```
842
-
843
- The default behaviour is to suggest correct spelling after an error for an unknown command or option. You
844
- can disable this.
845
-
846
- ```js
847
- program.showSuggestionAfterError(false);
848
- ```
849
-
850
- ```console
851
- $ pizza --hepl
852
- error: unknown option '--hepl'
853
- (Did you mean --help?)
854
- ```
855
-
856
- ### Display help from code
857
-
858
- `.help()`: display help information and exit immediately. You can optionally pass `{ error: true }` to display on stderr and exit with an error status.
859
-
860
- `.outputHelp()`: output help information without exiting. You can optionally pass `{ error: true }` to display on stderr.
861
-
862
- `.helpInformation()`: get the built-in command help information as a string for processing or displaying yourself.
863
-
864
- ### .name
865
-
866
- The command name appears in the help, and is also used for locating stand-alone executable subcommands.
867
-
868
- You may specify the program name using `.name()` or in the `Command` constructor. For the program, Commander will
869
- fall back to using the script name from the full arguments passed into `.parse()`. However, the script name varies
870
- depending on how your program is launched, so you may wish to specify it explicitly.
871
-
872
- ```js
873
- program.name('pizza');
874
- const pm = new Command('pm');
875
- ```
876
-
877
- Subcommands get a name when specified using `.command()`. If you create the subcommand yourself to use with `.addCommand()`,
878
- then set the name using `.name()` or in the `Command` constructor.
879
-
880
- ### .usage
881
-
882
- This allows you to customise the usage description in the first line of the help. Given:
883
-
884
- ```js
885
- program
886
- .name("my-command")
887
- .usage("[global options] command")
888
- ```
889
-
890
- The help will start with:
891
-
892
- ```Text
893
- Usage: my-command [global options] command
894
- ```
895
-
896
- ### .description and .summary
897
-
898
- The description appears in the help for the command. You can optionally supply a shorter
899
- summary to use when listed as a subcommand of the program.
900
-
901
- ```js
902
- program
903
- .command("duplicate")
904
- .summary("make a copy")
905
- .description(`Make a copy of the current project.
906
- This may require additional disk space.
907
- `);
908
- ```
909
-
910
- ### .helpOption(flags, description)
911
-
912
- By default, every command has a help option. You may change the default help flags and description. Pass `false` to disable the built-in help option.
913
-
914
- ```js
915
- program
916
- .helpOption('-e, --HELP', 'read more information');
917
- ```
918
-
919
- Alternatively, use `.addHelpOption()` to add an option you construct yourself.
920
-
921
- ### .helpCommand()
922
-
923
- A help command is added by default if your command has subcommands. You can explicitly turn the implicit help command on or off with `.helpCommand(true)` and `.helpCommand(false)`.
924
-
925
- You can both turn on and customise the help command by supplying the name and description:
926
-
927
- ```js
928
- program.helpCommand('assist [command]', 'show assistance');
929
- ```
930
-
931
- Alternatively, use `.addHelpCommand()` to add a command you construct yourself.
932
-
933
- ### Help Groups
934
-
935
- The help by default lists options under the the heading `Options:` and commands under `Commands:`. You can create your own groups
936
- with different headings.
937
-
938
- - The high-level way is to set the desired group heading while adding the options and commands, using `.optionsGroup()` and `.commandsGroup()`.
939
- - The low-level way is using `.helpGroup()` on an individual `Option` or `Command`.
940
-
941
- Example file: [help-groups.js](./examples/help-groups.js)
942
-
943
- ### More configuration
944
-
945
- The built-in help is formatted using the `Help` class.
946
- You can configure the help by modifying data properties and methods using `.configureHelp()`, or by subclassing `Help` using `.createHelp()` .
947
-
948
- Simple properties include `sortSubcommands`, `sortOptions`, and `showGlobalOptions`. You can add color using the style methods like `.styleTitle()`.
949
-
950
- For more detail and examples of changing the displayed text, color, and layout, see: [Help in Depth](./docs/help-in-depth.md).
951
-
952
- ## Custom event listeners
953
-
954
- You can execute custom actions by listening to `command` and `option` events.
955
-
956
- ```js
957
- program.on('option:verbose', function () {
958
- process.env.VERBOSE = this.opts().verbose;
959
- });
960
- ```
961
-
962
- ## Bits and pieces
963
-
964
- ### .parse() and .parseAsync()
965
-
966
- Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
967
-
968
- Or, call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
969
-
970
- - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
971
- - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
972
- - `'user'`: just user arguments
973
-
974
- For example:
975
-
976
- ```js
977
- program.parse(); // parse process.argv and auto-detect electron and special node flags
978
- program.parse(process.argv); // assume argv[0] is app and argv[1] is script
979
- program.parse(['--port', '80'], { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
980
- ```
981
-
982
- Use `.parseAsync()` instead of `.parse()` if any of your action handlers are async.
983
-
984
- ### Parsing Configuration
985
-
986
- If the default parsing does not suit your needs, there are some behaviours to support other usage patterns.
987
-
988
- By default, program options are recognised before and after subcommands. To only look for program options before subcommands, use `.enablePositionalOptions()`. This lets you use
989
- an option for a different purpose in subcommands.
990
-
991
- Example file: [positional-options.js](./examples/positional-options.js)
992
-
993
- With positional options, the `-b` is a program option in the first line and a subcommand option in the second line:
994
-
995
- ```sh
996
- program -b subcommand
997
- program subcommand -b
998
- ```
999
-
1000
- By default, options are recognised before and after command-arguments. To only process options that come
1001
- before the command-arguments, use `.passThroughOptions()`. This lets you pass the arguments and following options through to another program
1002
- without needing to use `--` to end the option processing.
1003
- To use pass through options in a subcommand, the program needs to enable positional options.
1004
-
1005
- Example file: [pass-through-options.js](./examples/pass-through-options.js)
1006
-
1007
- With pass through options, the `--port=80` is a program option in the first line and passed through as a command-argument in the second line:
1008
-
1009
- ```sh
1010
- program --port=80 arg
1011
- program arg --port=80
1012
- ```
1013
-
1014
- By default, the option processing shows an error for an unknown option. To have an unknown option treated as an ordinary command-argument and continue looking for options, use `.allowUnknownOption()`. This lets you mix known and unknown options.
1015
-
1016
- By default, the argument processing displays an error for more command-arguments than expected.
1017
- To suppress the error for excess arguments, use `.allowExcessArguments()`.
1018
-
1019
- ### Legacy options as properties
1020
-
1021
- Before Commander 7, the option values were stored as properties on the command.
1022
- This was convenient to code, but the downside was possible clashes with
1023
- existing properties of `Command`.
1024
-
1025
- You can revert to the old behaviour to run unmodified legacy code by using `.storeOptionsAsProperties()`.
1026
-
1027
- ```js
1028
- program
1029
- .storeOptionsAsProperties()
1030
- .option('-d, --debug')
1031
- .action((commandAndOptions) => {
1032
- if (commandAndOptions.debug) {
1033
- console.error(`Called ${commandAndOptions.name()}`);
1034
- }
1035
- });
1036
- ```
1037
-
1038
- ### TypeScript
1039
-
1040
- **extra-typings:** There is an optional project to infer extra type information from the option and argument definitions.
1041
- This adds strong typing to the options returned by `.opts()` and the parameters to `.action()`.
1042
- For more, see the repo: [commander-js/extra-typings](https://github.com/commander-js/extra-typings).
1043
-
1044
- ```ts
1045
- import { Command } from '@commander-js/extra-typings';
1046
- ```
1047
-
1048
- **ts-node:** If you use `ts-node` and stand-alone executable subcommands written as `.ts` files, you need to call your program through node to get the subcommands called correctly, e.g.:
1049
-
1050
- ```sh
1051
- node -r ts-node/register pm.ts
1052
- ```
1053
-
1054
- ### createCommand()
1055
-
1056
- This factory function creates a new command. It is exported and may be used instead of using `new`, like:
1057
-
1058
- ```js
1059
- import { createCommand } from 'commander';
1060
- const program = createCommand();
1061
- ```
1062
-
1063
- `createCommand()` is also a method of the `Command` object, and creates a new command rather than a subcommand. This gets used internally
1064
- when creating subcommands using `.command()`, and you may override it to
1065
- customise the new subcommand. Example file: [custom-command-class.js](./examples/custom-command-class.js).
1066
-
1067
- ### Node options such as `--harmony`
1068
-
1069
- You can enable `--harmony` option in two ways:
1070
-
1071
- - Use `#! /usr/bin/env node --harmony` in the subcommands scripts. (Note: Windows does not support this pattern.)
1072
- - Use the `--harmony` option when calling the command, like `node --harmony examples/pm publish`. The `--harmony` option will be preserved when spawning subcommand processes.
1073
-
1074
- ### Debugging stand-alone executable subcommands
1075
-
1076
- An executable subcommand is launched as a separate child process.
1077
-
1078
- If you are using the node inspector for [debugging](https://nodejs.org/en/docs/guides/debugging-getting-started/) executable subcommands using `node --inspect` et al.,
1079
- the inspector port is incremented by 1 for the spawned subcommand.
1080
-
1081
- If you are using VSCode to debug executable subcommands you need to set the `"autoAttachChildProcesses": true` flag in your `launch.json` configuration.
1082
-
1083
- ### npm run-script
1084
-
1085
- By default, when you call your program using `run-script`, `npm` will parse any options on the command-line and they will not reach your program. Use
1086
- `--` to stop the npm option parsing and pass through all the arguments.
1087
-
1088
- The synopsis for [`npm run-script`](https://docs.npmjs.com/cli/v9/commands/npm-run-script) explicitly shows the `--` for this reason:
1089
-
1090
- ```console
1091
- npm run-script <command> [-- <args>]
1092
- ```
1093
-
1094
- ### Display error
1095
-
1096
- This routine is available to invoke the Commander error handling for your own error conditions. (See also the next section about exit handling.)
1097
-
1098
- As well as the error message, you can optionally specify the `exitCode` (used with `process.exit()`)
1099
- and `code` (used with `CommanderError`).
1100
-
1101
- ```js
1102
- program.error('Password must be longer than four characters');
1103
- program.error('Custom processing has failed', { exitCode: 2, code: 'my.custom.error' });
1104
- ```
1105
-
1106
- ### Override exit and output handling
1107
-
1108
- By default, Commander calls `process.exit()` when it detects errors, or after displaying the help or version. You can override
1109
- this behaviour and optionally supply a callback. The default override throws a `CommanderError`.
1110
-
1111
- The override callback is passed a `CommanderError` with the properties:
1112
- - `exitCode`: number
1113
- - `code`: string
1114
- - `message`: string
1115
-
1116
- Commander expects the callback to terminate the normal program flow, and will call `process.exit()` if the callback returns.
1117
- The normal display of error messages or version or help is not affected by the override, which is called after the display.
1118
-
1119
- ```js
1120
- program.exitOverride();
1121
-
1122
- try {
1123
- program.parse(process.argv);
1124
- } catch (err) {
1125
- // custom processing...
1126
- }
1127
- ```
1128
-
1129
- By default, Commander is configured for a command-line application and writes to stdout and stderr.
1130
- You can modify this behaviour for custom applications. In addition, you can modify the display of error messages.
1131
-
1132
- Example file: [configure-output.js](./examples/configure-output.js)
1133
-
1134
- ```js
1135
- function errorColor(str) {
1136
- // Add ANSI escape codes to display text in red.
1137
- return `\x1b[31m${str}\x1b[0m`;
1138
- }
1139
-
1140
- program
1141
- .configureOutput({
1142
- // Visibly override write routines as example!
1143
- writeOut: (str) => process.stdout.write(`[OUT] ${str}`),
1144
- writeErr: (str) => process.stdout.write(`[ERR] ${str}`),
1145
- // Highlight errors in color.
1146
- outputError: (str, write) => write(errorColor(str))
1147
- });
1148
- ```
1149
-
1150
- ### Additional documentation
1151
-
1152
- There is more information available about:
1153
-
1154
- - [deprecated](./docs/deprecated.md) features still supported for backwards compatibility
1155
- - [Help in Depth](./docs/help-in-depth.md) configuring help output
1156
- - [options taking varying arguments](./docs/options-in-depth.md)
1157
- - [parsing life cycle and hooks](./docs/parsing-and-hooks.md)
1158
- - [Release Policy](./docs/release-policy.md)
1159
-
1160
- ## Support
1161
-
1162
- The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v22.12.0.
1163
-
1164
- Older major versions of Commander receive security updates for 12 months. For more see: [Release Policy](./docs/release-policy.md).
1165
-
1166
- The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub.
1167
-
1168
- ### Commander for enterprise
1169
-
1170
- Available as part of the Tidelift Subscription
1171
-
1172
- The maintainers of Commander and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-commander?utm_source=npm-commander&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)