@shell-shock/preset-cli 0.9.18 → 0.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.cjs +1 -45
- package/dist/components/banner-builtin.cjs +5 -93
- package/dist/components/banner-builtin.mjs +5 -90
- package/dist/components/banner-builtin.mjs.map +1 -1
- package/dist/components/command-entry.cjs +56 -356
- package/dist/components/command-entry.mjs +56 -353
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.cjs +4 -60
- package/dist/components/command-router.mjs +4 -57
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/index.cjs +1 -15
- package/dist/components/index.mjs +1 -7
- package/dist/components/upgrade-builtin.cjs +14 -135
- package/dist/components/upgrade-builtin.mjs +14 -132
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +1 -113
- package/dist/components/virtual-command-entry.mjs +1 -110
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/helpers/get-global-options.cjs +1 -39
- package/dist/helpers/get-global-options.mjs +1 -38
- package/dist/helpers/get-global-options.mjs.map +1 -1
- package/dist/index.cjs +1 -173
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -165
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/types/plugin.d.cts +3 -3
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +3 -3
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs +1 -1
- package/package.json +22 -74
- package/dist/_virtual/_rolldown/runtime.mjs +0 -42
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +0 -94
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +0 -94
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
- package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
- package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
- package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
- package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
- package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
- package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
- package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
- package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
- package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
- package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
- package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
- package/dist/packages/unified/dist/markdown/index.cjs +0 -1
- package/dist/packages/unified/dist/markdown/index.mjs +0 -3
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
- package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
|
@@ -1,164 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { formatDescription, formatShortDescription, isDynamicPathSegment } from "@shell-shock/core/plugin-utils";
|
|
6
|
-
import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
7
|
-
import { joinPaths } from "@stryke/path/join";
|
|
8
|
-
import defu from "defu";
|
|
9
|
-
import { Spacing } from "@powerlines/plugin-alloy/core/components/spacing";
|
|
10
|
-
import { EntryFile } from "@powerlines/plugin-alloy/typescript/components/entry-file";
|
|
11
|
-
import { CommandParameterKinds } from "@shell-shock/core";
|
|
12
|
-
import { CommandValidationLogic } from "@shell-shock/core/components/command-validation-logic";
|
|
13
|
-
import { CommandHandlerDeclaration } from "@shell-shock/preset-script/components/command-entry";
|
|
14
|
-
import { findFilePath, relativePath } from "@stryke/path/find";
|
|
15
|
-
import { replaceExtension } from "@stryke/path/replace";
|
|
16
|
-
import { camelCase } from "@stryke/string-format/camel-case";
|
|
17
|
-
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
18
|
-
|
|
19
|
-
//#region src/components/command-entry.tsx
|
|
20
|
-
/**
|
|
21
|
-
* The command entry point for the Shell Shock project.
|
|
22
|
-
*/
|
|
23
|
-
function CommandEntry(props) {
|
|
24
|
-
const { command, imports, builtinImports, ...rest } = props;
|
|
25
|
-
const context = usePowerlines();
|
|
26
|
-
const filePath = computed(() => joinPaths(command.segments.filter((segment) => !isDynamicPathSegment(segment)).join("/"), "index.ts"));
|
|
27
|
-
const commandSourcePath = computed(() => replaceExtension(relativePath(joinPaths(context.entryPath, findFilePath(filePath.value)), command.entry.input?.file || command.entry.file)));
|
|
28
|
-
const typeDefinition = computed(() => ({
|
|
29
|
-
...command.entry,
|
|
30
|
-
output: command.id
|
|
31
|
-
}));
|
|
32
|
-
return [createComponent(EntryFile, mergeProps(rest, {
|
|
33
|
-
get path() {
|
|
34
|
-
return filePath.value;
|
|
35
|
-
},
|
|
36
|
-
get typeDefinition() {
|
|
37
|
-
return typeDefinition.value;
|
|
38
|
-
},
|
|
39
|
-
get imports() {
|
|
40
|
-
return defu(imports ?? {}, { [commandSourcePath.value.startsWith(".") ? commandSourcePath.value : `./${commandSourcePath.value}`]: `handle${pascalCase(command.name)}` });
|
|
41
|
-
},
|
|
42
|
-
get builtinImports() {
|
|
43
|
-
return defu(builtinImports ?? {}, {
|
|
44
|
-
env: [
|
|
45
|
-
"env",
|
|
46
|
-
"isDevelopment",
|
|
47
|
-
"isDebug",
|
|
48
|
-
"paths"
|
|
49
|
-
],
|
|
50
|
-
console: [
|
|
51
|
-
"debug",
|
|
52
|
-
"info",
|
|
53
|
-
"help",
|
|
54
|
-
"warn",
|
|
55
|
-
"error",
|
|
56
|
-
"table",
|
|
57
|
-
"italic",
|
|
58
|
-
"cursor",
|
|
59
|
-
"stripAnsi",
|
|
60
|
-
"writeLine",
|
|
61
|
-
"splitText",
|
|
62
|
-
"textColors",
|
|
63
|
-
"createSpinner"
|
|
64
|
-
],
|
|
65
|
-
utils: [
|
|
66
|
-
"sleep",
|
|
67
|
-
"isMinimal",
|
|
68
|
-
"isInteractive",
|
|
69
|
-
"isUnicodeSupported"
|
|
70
|
-
],
|
|
71
|
-
state: [
|
|
72
|
-
"useGlobal",
|
|
73
|
-
"GlobalOptions",
|
|
74
|
-
"useGlobalOptions",
|
|
75
|
-
"withCommand",
|
|
76
|
-
"useArgs",
|
|
77
|
-
"hasFlag",
|
|
78
|
-
"isHelp"
|
|
79
|
-
],
|
|
80
|
-
prompts: [
|
|
81
|
-
"text",
|
|
82
|
-
"numeric",
|
|
83
|
-
"toggle",
|
|
84
|
-
"select",
|
|
85
|
-
"confirm",
|
|
86
|
-
"waitForKeyPress",
|
|
87
|
-
"isCancel"
|
|
88
|
-
],
|
|
89
|
-
[joinPaths("help", ...command.segments.filter((segment) => !isDynamicPathSegment(segment)))]: ["showHelp"],
|
|
90
|
-
[joinPaths("banner", ...command.segments.filter((segment) => !isDynamicPathSegment(segment)))]: ["showBanner"],
|
|
91
|
-
upgrade: ["executeUpgrade"]
|
|
92
|
-
});
|
|
93
|
-
},
|
|
94
|
-
get children() {
|
|
95
|
-
return [createComponent(Spacing, {}), createComponent(CommandHandlerDeclaration, {
|
|
96
|
-
command,
|
|
97
|
-
banner: code`await showBanner();
|
|
98
|
-
await executeUpgrade(); `,
|
|
99
|
-
get children() {
|
|
100
|
-
return [createComponent(IfStatement, {
|
|
101
|
-
condition: code`!isInteractive`,
|
|
102
|
-
get children() {
|
|
103
|
-
return createComponent(CommandValidationLogic, { command });
|
|
104
|
-
}
|
|
105
|
-
}), createComponent(Show, {
|
|
106
|
-
get when() {
|
|
107
|
-
return Object.values(command.options ?? {}).filter((option) => !option.optional).length > 0 || Object.values(command.args ?? {}).filter((arg) => !arg.optional).length > 0;
|
|
108
|
-
},
|
|
109
|
-
get children() {
|
|
110
|
-
return createComponent(ElseIfClause, {
|
|
111
|
-
get condition() {
|
|
112
|
-
return code`!isHelp() && (${Object.values(command.options ?? {}).filter((option) => !option.optional).map((option) => (option.kind === CommandParameterKinds.string || option.kind === CommandParameterKinds.number) && option.variadic ? `(!options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} || options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`}.length === 0)` : `options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} === undefined`).join(" || ")}${Object.values(command.options ?? {}).filter((option) => !option.optional).length > 0 && Object.values(command.args ?? {}).filter((arg) => !arg.optional).length > 0 ? " || " : ""}${Object.values(command.args ?? {}).filter((arg) => !arg.optional).map((arg) => (arg.kind === CommandParameterKinds.string || arg.kind === CommandParameterKinds.number) && arg.variadic ? `(!${camelCase(arg.name)} || ${camelCase(arg.name)}.length === 0)` : `${camelCase(arg.name)} === undefined`).join(" || ")}) `;
|
|
113
|
-
},
|
|
114
|
-
get children() {
|
|
115
|
-
return [
|
|
116
|
-
code`writeLine(""); `,
|
|
117
|
-
createComponent(Spacing, {}),
|
|
118
|
-
createComponent(For, {
|
|
119
|
-
get each() {
|
|
120
|
-
return Object.values(command.options ?? {});
|
|
121
|
-
},
|
|
122
|
-
doubleHardline: true,
|
|
123
|
-
children: (option) => [createComponent(Show, {
|
|
124
|
-
get when() {
|
|
125
|
-
return !option.optional;
|
|
126
|
-
},
|
|
127
|
-
get children() {
|
|
128
|
-
return [createComponent(IfStatement, {
|
|
129
|
-
get condition() {
|
|
130
|
-
return code`!options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`}`;
|
|
131
|
-
},
|
|
132
|
-
get children() {
|
|
133
|
-
return createComponent(Show, {
|
|
134
|
-
get when() {
|
|
135
|
-
return option.kind === CommandParameterKinds.boolean || !option.choices || option.choices.length === 0;
|
|
136
|
-
},
|
|
137
|
-
get fallback() {
|
|
138
|
-
return code`const value = await select({
|
|
139
|
-
message: \`Please select a value for the \${italic("${option.name}")} option\`, ${option.description ? `description: \`${formatDescription(option.description)}\`,
|
|
140
|
-
` : ""}options: [ ${option.choices?.map((choice) => `{ value: ${JSON.stringify(choice)}, label: "${choice}", ${option.description ? `description: \`${formatShortDescription(option.description)}\`` : ""} }`).join(", ")} ]
|
|
1
|
+
import{VirtualCommandEntry as e}from"./virtual-command-entry.mjs";import{createComponent as t,mergeProps as n}from"@alloy-js/core/jsx-runtime";import{For as r,Match as i,Show as a,Switch as o,code as s,computed as c}from"@alloy-js/core";import{ElseIfClause as l,IfStatement as u}from"@alloy-js/typescript";import{formatDescription as d,formatShortDescription as f,isDynamicPathSegment as p}from"@shell-shock/core/plugin-utils";import{Spacing as m}from"@powerlines/plugin-alloy/core/components/spacing";import{usePowerlines as h}from"@powerlines/plugin-alloy/core/contexts/context";import{EntryFile as g}from"@powerlines/plugin-alloy/typescript/components/entry-file";import{CommandParameterKinds as _}from"@shell-shock/core";import{CommandValidationLogic as v}from"@shell-shock/core/components/command-validation-logic";import{CommandHandlerDeclaration as y}from"@shell-shock/preset-script/components/command-entry";import{findFilePath as b,relativePath as x}from"@stryke/path/find";import{joinPaths as S}from"@stryke/path/join";import{replaceExtension as C}from"@stryke/path/replace";import{camelCase as w}from"@stryke/string-format/camel-case";import{pascalCase as T}from"@stryke/string-format/pascal-case";import E from"defu";function D(O){let{command:k,imports:A,builtinImports:j,...M}=O,N=h(),P=c(()=>S(k.segments.filter(e=>!p(e)).join(`/`),`index.ts`)),F=c(()=>C(x(S(N.entryPath,b(P.value)),k.entry.input?.file||k.entry.file))),I=c(()=>({...k.entry,output:k.id}));return[t(g,n(M,{get path(){return P.value},get typeDefinition(){return I.value},get imports(){return E(A??{},{[F.value.startsWith(`.`)?F.value:`./${F.value}`]:`handle${T(k.name)}`})},get builtinImports(){return E(j??{},{env:[`env`,`isDevelopment`,`isDebug`,`paths`],console:[`debug`,`info`,`help`,`warn`,`error`,`table`,`italic`,`cursor`,`stripAnsi`,`writeLine`,`splitText`,`textColors`,`createSpinner`],utils:[`sleep`,`isMinimal`,`isInteractive`,`isUnicodeSupported`],state:[{name:`GlobalOptions`,type:!0},`useGlobal`,`useGlobalOptions`,`withCommand`,`useArgs`,`hasFlag`,`isHelp`],prompts:[`text`,`numeric`,`toggle`,`select`,`confirm`,`waitForKeyPress`,`isCancel`],[S(`help`,...k.segments.filter(e=>!p(e)))]:[`showHelp`],[S(`banner`,...k.segments.filter(e=>!p(e)))]:[`showBanner`],upgrade:[`executeUpgrade`]})},get children(){return[t(m,{}),t(y,{command:k,banner:s`await showBanner();
|
|
2
|
+
await executeUpgrade(); `,get children(){return[t(u,{condition:s`!isInteractive`,get children(){return t(v,{command:k})}}),t(a,{get when(){return Object.values(k.options??{}).filter(e=>!e.optional).length>0||Object.values(k.args??{}).filter(e=>!e.optional).length>0},get children(){return t(l,{get condition(){return s`!isHelp() && (${Object.values(k.options??{}).filter(e=>!e.optional).map(e=>(e.kind===_.string||e.kind===_.number)&&e.variadic?`(!options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} || options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`}.length === 0)`:`options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} === undefined`).join(` || `)}${Object.values(k.options??{}).filter(e=>!e.optional).length>0&&Object.values(k.args??{}).filter(e=>!e.optional).length>0?` || `:``}${Object.values(k.args??{}).filter(e=>!e.optional).map(e=>(e.kind===_.string||e.kind===_.number)&&e.variadic?`(!${w(e.name)} || ${w(e.name)}.length === 0)`:`${w(e.name)} === undefined`).join(` || `)}) `},get children(){return[s`writeLine(""); `,t(m,{}),t(r,{get each(){return Object.values(k.options??{})},doubleHardline:!0,children:e=>[t(a,{get when(){return!e.optional},get children(){return[t(u,{get condition(){return s`!options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`}`},get children(){return t(a,{get when(){return e.kind===_.boolean||!e.choices||e.choices.length===0},get fallback(){return s`const value = await select({
|
|
3
|
+
message: \`Please select a value for the \${italic("${e.name}")} option\`, ${e.description?`description: \`${d(e.description)}\`,
|
|
4
|
+
`:``}options: [ ${e.choices?.map(t=>`{ value: ${JSON.stringify(t)}, label: "${t}", ${e.description?`description: \`${f(e.description)}\``:``} }`).join(`, `)} ]
|
|
141
5
|
});
|
|
142
6
|
if (isCancel(value)) {
|
|
143
7
|
return;
|
|
144
8
|
}
|
|
145
9
|
|
|
146
|
-
options${
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
get children() {
|
|
150
|
-
return createComponent(Switch, { get children() {
|
|
151
|
-
return [
|
|
152
|
-
createComponent(Match, {
|
|
153
|
-
get when() {
|
|
154
|
-
return option.kind === CommandParameterKinds.string;
|
|
155
|
-
},
|
|
156
|
-
get children() {
|
|
157
|
-
return code`
|
|
10
|
+
options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
|
|
11
|
+
`},get children(){return t(o,{get children(){return[t(i,{get when(){return e.kind===_.string},get children(){return s`
|
|
158
12
|
const value = await text({
|
|
159
|
-
message: \`Please provide a value for the \${italic("${
|
|
160
|
-
${
|
|
161
|
-
|
|
13
|
+
message: \`Please provide a value for the \${italic("${e.name}")} option\`,
|
|
14
|
+
${e.description?`description: \`${d(e.description)}\`,
|
|
15
|
+
`:``}validate(val) {
|
|
162
16
|
if (!val || val.trim() === "") {
|
|
163
17
|
return "A value must be provided for this option";
|
|
164
18
|
}
|
|
@@ -170,78 +24,44 @@ function CommandEntry(props) {
|
|
|
170
24
|
return;
|
|
171
25
|
}
|
|
172
26
|
|
|
173
|
-
options${
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
}),
|
|
177
|
-
createComponent(Match, {
|
|
178
|
-
get when() {
|
|
179
|
-
return option.kind === CommandParameterKinds.number;
|
|
180
|
-
},
|
|
181
|
-
get children() {
|
|
182
|
-
return code`
|
|
27
|
+
options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
|
|
28
|
+
`}}),t(i,{get when(){return e.kind===_.number},get children(){return s`
|
|
183
29
|
const value = await numeric({
|
|
184
|
-
message: \`Please provide a numeric value for the \${italic("${
|
|
185
|
-
${
|
|
186
|
-
|
|
30
|
+
message: \`Please provide a numeric value for the \${italic("${e.name}")} option\`,
|
|
31
|
+
${e.description?`description: \`${d(e.description)}\`,
|
|
32
|
+
`:``}
|
|
187
33
|
});
|
|
188
34
|
if (isCancel(value)) {
|
|
189
35
|
return;
|
|
190
36
|
}
|
|
191
37
|
|
|
192
|
-
options${
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
}),
|
|
196
|
-
createComponent(Match, {
|
|
197
|
-
get when() {
|
|
198
|
-
return option.kind === CommandParameterKinds.boolean;
|
|
199
|
-
},
|
|
200
|
-
get children() {
|
|
201
|
-
return code`
|
|
38
|
+
options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
|
|
39
|
+
`}}),t(i,{get when(){return e.kind===_.boolean},get children(){return s`
|
|
202
40
|
const value = await toggle({
|
|
203
|
-
message: \`Please select a value for the \${italic("${
|
|
204
|
-
${
|
|
205
|
-
|
|
41
|
+
message: \`Please select a value for the \${italic("${e.name}")} option\`,
|
|
42
|
+
${e.description?`description: \`${d(e.description)}\`,
|
|
43
|
+
`:``}
|
|
206
44
|
});
|
|
207
45
|
if (isCancel(value)) {
|
|
208
46
|
return;
|
|
209
47
|
}
|
|
210
48
|
|
|
211
|
-
options${
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
})
|
|
215
|
-
];
|
|
216
|
-
} });
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
}), createComponent(Show, {
|
|
221
|
-
get when() {
|
|
222
|
-
return (option.kind === CommandParameterKinds.string || option.kind === CommandParameterKinds.number) && option.variadic;
|
|
223
|
-
},
|
|
224
|
-
get children() {
|
|
225
|
-
return createComponent(ElseIfClause, {
|
|
226
|
-
get condition() {
|
|
227
|
-
return code`options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`}.length === 0`;
|
|
228
|
-
},
|
|
229
|
-
get children() {
|
|
230
|
-
return code`
|
|
49
|
+
options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
|
|
50
|
+
`}})]}})}})}}),t(a,{get when(){return(e.kind===_.string||e.kind===_.number)&&e.variadic},get children(){return t(l,{get condition(){return s`options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`}.length === 0`},get children(){return s`
|
|
231
51
|
const value = await text({
|
|
232
|
-
message: \`Please provide one or more${
|
|
233
|
-
${
|
|
234
|
-
|
|
52
|
+
message: \`Please provide one or more${e.kind===_.number?` numeric`:``} values for the \${italic("${e.name}")} option (values are separated by a \\",\\" character)\`,
|
|
53
|
+
${e.description?`description: \`${d(e.description)}\`,
|
|
54
|
+
`:``}validate(val) {
|
|
235
55
|
if (!val || val.trim() === "") {
|
|
236
56
|
return "A value must be provided for this option";
|
|
237
57
|
}
|
|
238
58
|
if (val.split(",").map(v => v.trim()).filter(Boolean).length === 0) {
|
|
239
59
|
return "At least one value must be provided for this option";
|
|
240
60
|
}
|
|
241
|
-
${
|
|
61
|
+
${e.kind===_.number?`const invalidIndex = val.split(",").map(v => v.trim()).filter(Boolean).findIndex(v => Number.isNaN(Number(v));
|
|
242
62
|
if (invalidIndex !== -1) {
|
|
243
63
|
return \`Invalid numeric value provided for item #\${invalidIndex + 1} - all provided items must be a valid number\`;
|
|
244
|
-
}
|
|
64
|
+
} `:``}
|
|
245
65
|
return undefined;
|
|
246
66
|
}
|
|
247
67
|
});
|
|
@@ -249,61 +69,22 @@ function CommandEntry(props) {
|
|
|
249
69
|
return;
|
|
250
70
|
}
|
|
251
71
|
|
|
252
|
-
options${
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
})];
|
|
258
|
-
}
|
|
259
|
-
})]
|
|
260
|
-
}),
|
|
261
|
-
createComponent(Spacing, {}),
|
|
262
|
-
createComponent(For, {
|
|
263
|
-
get each() {
|
|
264
|
-
return command.args;
|
|
265
|
-
},
|
|
266
|
-
doubleHardline: true,
|
|
267
|
-
children: (arg) => [createComponent(Show, {
|
|
268
|
-
get when() {
|
|
269
|
-
return !arg.optional;
|
|
270
|
-
},
|
|
271
|
-
get children() {
|
|
272
|
-
return [createComponent(IfStatement, {
|
|
273
|
-
get condition() {
|
|
274
|
-
return code`!${camelCase(arg.name)}`;
|
|
275
|
-
},
|
|
276
|
-
get children() {
|
|
277
|
-
return createComponent(Show, {
|
|
278
|
-
get when() {
|
|
279
|
-
return arg.kind === CommandParameterKinds.boolean || !arg.choices || arg.choices.length === 0;
|
|
280
|
-
},
|
|
281
|
-
get fallback() {
|
|
282
|
-
return code`const value = await select({
|
|
283
|
-
message: \`Please select a value for the \${italic("${arg.name}")} argument\`,${arg.description ? `description: \`${formatDescription(arg.description)}\`,
|
|
284
|
-
` : ""}
|
|
285
|
-
options: [ ${arg.choices?.map((choice) => `{ value: ${JSON.stringify(choice)}, label: "${choice}", ${arg.description ? `description: \`${formatShortDescription(arg.description)}\`` : ""} }`).join(", ")} ]
|
|
72
|
+
options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value.split(",").map(value => value.trim()).filter(Boolean)${e.kind===_.number?`.map(Number)`:``} ;
|
|
73
|
+
`}})}})]}})]}),t(m,{}),t(r,{get each(){return k.args},doubleHardline:!0,children:e=>[t(a,{get when(){return!e.optional},get children(){return[t(u,{get condition(){return s`!${w(e.name)}`},get children(){return t(a,{get when(){return e.kind===_.boolean||!e.choices||e.choices.length===0},get fallback(){return s`const value = await select({
|
|
74
|
+
message: \`Please select a value for the \${italic("${e.name}")} argument\`,${e.description?`description: \`${d(e.description)}\`,
|
|
75
|
+
`:``}
|
|
76
|
+
options: [ ${e.choices?.map(t=>`{ value: ${JSON.stringify(t)}, label: "${t}", ${e.description?`description: \`${f(e.description)}\``:``} }`).join(`, `)} ]
|
|
286
77
|
});
|
|
287
78
|
if (isCancel(value)) {
|
|
288
79
|
return;
|
|
289
80
|
}
|
|
290
81
|
|
|
291
|
-
${
|
|
292
|
-
|
|
293
|
-
},
|
|
294
|
-
get children() {
|
|
295
|
-
return createComponent(Switch, { get children() {
|
|
296
|
-
return [
|
|
297
|
-
createComponent(Match, {
|
|
298
|
-
get when() {
|
|
299
|
-
return arg.kind === CommandParameterKinds.string;
|
|
300
|
-
},
|
|
301
|
-
get children() {
|
|
302
|
-
return code`
|
|
82
|
+
${w(e.name)} = value;
|
|
83
|
+
`},get children(){return t(o,{get children(){return[t(i,{get when(){return e.kind===_.string},get children(){return s`
|
|
303
84
|
const value = await text({
|
|
304
|
-
message: \`Please provide a value for the \${italic("${
|
|
305
|
-
${
|
|
306
|
-
|
|
85
|
+
message: \`Please provide a value for the \${italic("${e.name}")} argument\`,
|
|
86
|
+
${e.description?`description: \`${f(e.description)}\`,
|
|
87
|
+
`:``}validate(val) {
|
|
307
88
|
if (!val || val.trim() === "") {
|
|
308
89
|
return "A value must be provided for this argument";
|
|
309
90
|
}
|
|
@@ -315,78 +96,44 @@ function CommandEntry(props) {
|
|
|
315
96
|
return;
|
|
316
97
|
}
|
|
317
98
|
|
|
318
|
-
${
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
}),
|
|
322
|
-
createComponent(Match, {
|
|
323
|
-
get when() {
|
|
324
|
-
return arg.kind === CommandParameterKinds.number;
|
|
325
|
-
},
|
|
326
|
-
get children() {
|
|
327
|
-
return code`
|
|
99
|
+
${w(e.name)} = value;
|
|
100
|
+
`}}),t(i,{get when(){return e.kind===_.number},get children(){return s`
|
|
328
101
|
const value = await numeric({
|
|
329
|
-
message: \`Please provide a numeric value for the \${italic("${
|
|
330
|
-
${
|
|
331
|
-
|
|
102
|
+
message: \`Please provide a numeric value for the \${italic("${e.name}")} argument\`,
|
|
103
|
+
${e.description?`description: \`${f(e.description)}\`,
|
|
104
|
+
`:``}
|
|
332
105
|
});
|
|
333
106
|
if (isCancel(value)) {
|
|
334
107
|
return;
|
|
335
108
|
}
|
|
336
109
|
|
|
337
|
-
${
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
}),
|
|
341
|
-
createComponent(Match, {
|
|
342
|
-
get when() {
|
|
343
|
-
return arg.kind === CommandParameterKinds.boolean;
|
|
344
|
-
},
|
|
345
|
-
get children() {
|
|
346
|
-
return code`
|
|
110
|
+
${w(e.name)} = value;
|
|
111
|
+
`}}),t(i,{get when(){return e.kind===_.boolean},get children(){return s`
|
|
347
112
|
const value = await toggle({
|
|
348
|
-
message: \`Please select a value for the \${italic("${
|
|
349
|
-
${
|
|
350
|
-
|
|
113
|
+
message: \`Please select a value for the \${italic("${e.name}")} argument\`,
|
|
114
|
+
${e.description?`description: \`${f(e.description)}\`,
|
|
115
|
+
`:``}
|
|
351
116
|
});
|
|
352
117
|
if (isCancel(value)) {
|
|
353
118
|
return;
|
|
354
119
|
}
|
|
355
120
|
|
|
356
|
-
${
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
})
|
|
360
|
-
];
|
|
361
|
-
} });
|
|
362
|
-
}
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
}), createComponent(Show, {
|
|
366
|
-
get when() {
|
|
367
|
-
return arg.variadic;
|
|
368
|
-
},
|
|
369
|
-
get children() {
|
|
370
|
-
return createComponent(ElseIfClause, {
|
|
371
|
-
get condition() {
|
|
372
|
-
return code`${camelCase(arg.name)}.length === 0`;
|
|
373
|
-
},
|
|
374
|
-
get children() {
|
|
375
|
-
return code`
|
|
121
|
+
${w(e.name)} = value;
|
|
122
|
+
`}})]}})}})}}),t(a,{get when(){return e.variadic},get children(){return t(l,{get condition(){return s`${w(e.name)}.length === 0`},get children(){return s`
|
|
376
123
|
const value = await text({
|
|
377
|
-
message: \`Please provide one or more${
|
|
378
|
-
${
|
|
379
|
-
|
|
124
|
+
message: \`Please provide one or more${e.kind===_.number?` numeric`:``} values for the \${italic("${e.name}")} argument (values are separated by a \\",\\" character)\`,
|
|
125
|
+
${e.description?`description: \`${f(e.description)}\`,
|
|
126
|
+
`:``}validate(val) {
|
|
380
127
|
if (!val || val.trim() === "") {
|
|
381
128
|
return "A value must be provided for this argument";
|
|
382
129
|
}
|
|
383
130
|
if (val.split(",").map(v => v.trim()).filter(Boolean).length === 0) {
|
|
384
131
|
return "At least one value must be provided for this argument";
|
|
385
132
|
}
|
|
386
|
-
${
|
|
133
|
+
${e.kind===_.number?`const invalidIndex = val.split(",").map(v => v.trim()).filter(Boolean).findIndex(v => Number.isNaN(Number(v));
|
|
387
134
|
if (invalidIndex !== -1) {
|
|
388
135
|
return \`Invalid numeric value provided for item #\${invalidIndex + 1} - all provided items must be a valid number\`;
|
|
389
|
-
}
|
|
136
|
+
} `:``}
|
|
390
137
|
|
|
391
138
|
return undefined;
|
|
392
139
|
}
|
|
@@ -395,51 +142,7 @@ function CommandEntry(props) {
|
|
|
395
142
|
return;
|
|
396
143
|
}
|
|
397
144
|
|
|
398
|
-
${
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
});
|
|
402
|
-
}
|
|
403
|
-
})];
|
|
404
|
-
}
|
|
405
|
-
})]
|
|
406
|
-
}),
|
|
407
|
-
code`writeLine(""); `,
|
|
408
|
-
createComponent(Spacing, {}),
|
|
409
|
-
createComponent(CommandValidationLogic, { command }),
|
|
410
|
-
createComponent(IfStatement, {
|
|
411
|
-
condition: code`failures.length > 0`,
|
|
412
|
-
get children() {
|
|
413
|
-
return code`error(\`The following validation failures were found while processing the user provided input, and must be corrected before the \${italic("${command.title}")} command can be executed: \\n\\n\${failures.map(failure => " - " + failure).join("\\n")}\`);
|
|
414
|
-
options.help = true; `;
|
|
415
|
-
}
|
|
416
|
-
})
|
|
417
|
-
];
|
|
418
|
-
}
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
})];
|
|
422
|
-
}
|
|
423
|
-
})];
|
|
424
|
-
}
|
|
425
|
-
})), createComponent(For, {
|
|
426
|
-
get each() {
|
|
427
|
-
return Object.values(command.children);
|
|
428
|
-
},
|
|
429
|
-
children: (child) => createComponent(Show, {
|
|
430
|
-
get when() {
|
|
431
|
-
return child.isVirtual;
|
|
432
|
-
},
|
|
433
|
-
get fallback() {
|
|
434
|
-
return createComponent(CommandEntry, { command: child });
|
|
435
|
-
},
|
|
436
|
-
get children() {
|
|
437
|
-
return createComponent(VirtualCommandEntry, { command: child });
|
|
438
|
-
}
|
|
439
|
-
})
|
|
440
|
-
})];
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
//#endregion
|
|
444
|
-
export { CommandEntry };
|
|
145
|
+
${w(e.name)} = value.split(",").map(value => value.trim()).filter(Boolean)${e.kind===_.number?`.map(Number)`:e.kind===_.boolean?`.map(Boolean)`:``} ;
|
|
146
|
+
`}})}})]}})]}),s`writeLine(""); `,t(m,{}),t(v,{command:k}),t(u,{condition:s`failures.length > 0`,get children(){return s`error(\`The following validation failures were found while processing the user provided input, and must be corrected before the \${italic("${k.title}")} command can be executed: \\n\\n\${failures.map(failure => " - " + failure).join("\\n")}\`);
|
|
147
|
+
options.help = true; `}})]}})}})]}})]}})),t(r,{get each(){return Object.values(k.children)},children:n=>t(a,{get when(){return n.isVirtual},get fallback(){return t(D,{command:n})},get children(){return t(e,{command:n})}})})]}export{D as CommandEntry};
|
|
445
148
|
//# sourceMappingURL=command-entry.mjs.map
|