@shell-shock/preset-cli 0.9.17 → 0.9.19
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/index.cjs +7 -24
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +9 -26
- package/dist/index.mjs.map +1 -1
- package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +5 -30
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +6 -31
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
- package/dist/packages/plugin-changelog/dist/index.cjs +20 -20
- package/dist/packages/plugin-changelog/dist/index.mjs +20 -20
- package/dist/packages/plugin-changelog/dist/index.mjs.map +1 -1
- package/dist/packages/unified/dist/{html-BwC2s0z0.cjs → html-DzwMMQv6.cjs} +3 -3
- package/dist/packages/unified/dist/{html-BwC2s0z0.mjs → html-DzwMMQv6.mjs} +4 -4
- package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +1 -0
- package/dist/packages/unified/dist/markdown/index.cjs +1 -1
- package/dist/packages/unified/dist/markdown/index.mjs +1 -1
- package/dist/packages/unified/dist/{markdown-D89Le-_6.cjs → markdown-CLMRZZ3Y.cjs} +3 -3
- package/dist/packages/unified/dist/{markdown-D89Le-_6.mjs → markdown-CLMRZZ3Y.mjs} +3 -3
- package/dist/packages/unified/dist/{markdown-D89Le-_6.mjs.map → markdown-CLMRZZ3Y.mjs.map} +1 -1
- package/package.json +15 -15
- package/dist/packages/unified/dist/html-BwC2s0z0.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -249,7 +249,7 @@ generation of development tools, please reach out on our
|
|
|
249
249
|
|
|
250
250
|
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/storm-software/icon-circle-fill-dark.png" alt="Storm Software" width="200px"/></a></div>
|
|
251
251
|
<br />
|
|
252
|
-
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/visit-us-
|
|
252
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/misc/text/visit-us-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/misc/text/visit-us-light.png"><img src="https://public.storm-cdn.com/misc/text/visit-us-dark.png" height="90px" alt="Visit us at stormsoftware.com" /></picture></a></div>
|
|
253
253
|
|
|
254
254
|
<br />
|
|
255
255
|
|
package/dist/index.cjs
CHANGED
|
@@ -13,7 +13,6 @@ let _alloy_js_typescript = require("@alloy-js/typescript");
|
|
|
13
13
|
let _powerlines_plugin_alloy_core_components = require("@powerlines/plugin-alloy/core/components");
|
|
14
14
|
let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
15
15
|
let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
|
|
16
|
-
let _stryke_path = require("@stryke/path");
|
|
17
16
|
let _shell_shock_plugin_completions = require("@shell-shock/plugin-completions");
|
|
18
17
|
_shell_shock_plugin_completions = require_runtime.__toESM(_shell_shock_plugin_completions);
|
|
19
18
|
let _shell_shock_plugin_console = require("@shell-shock/plugin-console");
|
|
@@ -54,30 +53,14 @@ const plugin = (options = {}) => {
|
|
|
54
53
|
prepare: {
|
|
55
54
|
order: "post",
|
|
56
55
|
async handler() {
|
|
56
|
+
const _self$ = this;
|
|
57
57
|
this.debug("Rendering built-in modules.");
|
|
58
58
|
const commands = await (0, _shell_shock_core_plugin_utils.getCommandList)(this);
|
|
59
59
|
this.debug(`Rendering \`banner\` built-ins for each of the ${commands.length} command modules.`);
|
|
60
|
-
const bin = (0, _alloy_js_core.computed)(() => ({
|
|
61
|
-
id: "",
|
|
62
|
-
name: (0, _shell_shock_core_plugin_utils.getAppName)(this),
|
|
63
|
-
title: "",
|
|
64
|
-
description: (0, _shell_shock_core_plugin_utils.getAppDescription)(this),
|
|
65
|
-
isVirtual: true,
|
|
66
|
-
path: null,
|
|
67
|
-
segments: [],
|
|
68
|
-
alias: [],
|
|
69
|
-
tags: [],
|
|
70
|
-
options: Object.fromEntries(this.options.map((option) => [option.name, option])),
|
|
71
|
-
entry: { file: (0, _stryke_path.joinPaths)(this.entryPath, "bin.ts") },
|
|
72
|
-
args: [],
|
|
73
|
-
parent: null,
|
|
74
|
-
source: "file",
|
|
75
|
-
children: this.commands
|
|
76
|
-
}));
|
|
77
60
|
return (0, _powerlines_plugin_alloy_render.render)(this, [
|
|
78
61
|
(0, _alloy_js_core_jsx_runtime.createComponent)(require_components_upgrade_builtin.UpgradeBuiltin, {}),
|
|
79
62
|
(0, _alloy_js_core_jsx_runtime.createComponent)(require_components_banner_builtin.BannerBuiltin, { get command() {
|
|
80
|
-
return
|
|
63
|
+
return (0, _shell_shock_core_plugin_utils.computeBin)(_self$);
|
|
81
64
|
} }),
|
|
82
65
|
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
83
66
|
get each() {
|
|
@@ -95,7 +78,7 @@ const plugin = (options = {}) => {
|
|
|
95
78
|
prepare: {
|
|
96
79
|
order: "post",
|
|
97
80
|
async handler() {
|
|
98
|
-
const _self$ = this;
|
|
81
|
+
const _self$2 = this;
|
|
99
82
|
this.debug("Rendering entrypoint modules for the Shell Shock `cli` preset.");
|
|
100
83
|
return (0, _powerlines_plugin_alloy_render.render)(this, [(0, _alloy_js_core_jsx_runtime.createComponent)(_shell_shock_preset_script_components_bin_entry.BinEntry, {
|
|
101
84
|
builtinImports: {
|
|
@@ -128,7 +111,7 @@ const plugin = (options = {}) => {
|
|
|
128
111
|
return [
|
|
129
112
|
(0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
130
113
|
get when() {
|
|
131
|
-
return Object.keys(_self
|
|
114
|
+
return Object.keys(_self$2.commands).length > 0;
|
|
132
115
|
},
|
|
133
116
|
get children() {
|
|
134
117
|
return [
|
|
@@ -142,7 +125,7 @@ const plugin = (options = {}) => {
|
|
|
142
125
|
(0, _alloy_js_core_jsx_runtime.createComponent)(require_components_command_router.CommandRouter, {
|
|
143
126
|
segments: [],
|
|
144
127
|
get commands() {
|
|
145
|
-
return _self
|
|
128
|
+
return _self$2.commands ?? {};
|
|
146
129
|
}
|
|
147
130
|
}),
|
|
148
131
|
(0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
|
|
@@ -157,12 +140,12 @@ const plugin = (options = {}) => {
|
|
|
157
140
|
}
|
|
158
141
|
}), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
159
142
|
get when() {
|
|
160
|
-
return Object.values(_self
|
|
143
|
+
return Object.values(_self$2.commands).length > 0;
|
|
161
144
|
},
|
|
162
145
|
get children() {
|
|
163
146
|
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
|
|
164
147
|
get each() {
|
|
165
|
-
return Object.values(_self
|
|
148
|
+
return Object.values(_self$2.commands);
|
|
166
149
|
},
|
|
167
150
|
doubleHardline: true,
|
|
168
151
|
children: (child) => (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AA6CA;;;;cAAa,MAAA,oBAA2B,gBAAA,GAAmB,gBAAA,EACzD,OAAA,GAAS,gBAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AA6CA;;;;cAAa,MAAA,oBAA2B,gBAAA,GAAmB,gBAAA,EACzD,OAAA,GAAS,gBAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -6,12 +6,11 @@ import { CommandEntry } from "./components/command-entry.mjs";
|
|
|
6
6
|
import { UpgradeBuiltin } from "./components/upgrade-builtin.mjs";
|
|
7
7
|
import { getGlobalOptions } from "./helpers/get-global-options.mjs";
|
|
8
8
|
import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
|
|
9
|
-
import { For, Show, code
|
|
9
|
+
import { For, Show, code } from "@alloy-js/core";
|
|
10
10
|
import { VarDeclaration } from "@alloy-js/typescript";
|
|
11
11
|
import { Spacing } from "@powerlines/plugin-alloy/core/components";
|
|
12
12
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
13
|
-
import {
|
|
14
|
-
import { joinPaths } from "@stryke/path";
|
|
13
|
+
import { computeBin, getCommandList } from "@shell-shock/core/plugin-utils";
|
|
15
14
|
import completions from "@shell-shock/plugin-completions";
|
|
16
15
|
import console from "@shell-shock/plugin-console";
|
|
17
16
|
import help from "@shell-shock/plugin-help";
|
|
@@ -47,30 +46,14 @@ const plugin = (options = {}) => {
|
|
|
47
46
|
prepare: {
|
|
48
47
|
order: "post",
|
|
49
48
|
async handler() {
|
|
49
|
+
const _self$ = this;
|
|
50
50
|
this.debug("Rendering built-in modules.");
|
|
51
51
|
const commands = await getCommandList(this);
|
|
52
52
|
this.debug(`Rendering \`banner\` built-ins for each of the ${commands.length} command modules.`);
|
|
53
|
-
const bin = computed(() => ({
|
|
54
|
-
id: "",
|
|
55
|
-
name: getAppName(this),
|
|
56
|
-
title: "",
|
|
57
|
-
description: getAppDescription(this),
|
|
58
|
-
isVirtual: true,
|
|
59
|
-
path: null,
|
|
60
|
-
segments: [],
|
|
61
|
-
alias: [],
|
|
62
|
-
tags: [],
|
|
63
|
-
options: Object.fromEntries(this.options.map((option) => [option.name, option])),
|
|
64
|
-
entry: { file: joinPaths(this.entryPath, "bin.ts") },
|
|
65
|
-
args: [],
|
|
66
|
-
parent: null,
|
|
67
|
-
source: "file",
|
|
68
|
-
children: this.commands
|
|
69
|
-
}));
|
|
70
53
|
return render(this, [
|
|
71
54
|
createComponent(UpgradeBuiltin, {}),
|
|
72
55
|
createComponent(BannerBuiltin, { get command() {
|
|
73
|
-
return
|
|
56
|
+
return computeBin(_self$);
|
|
74
57
|
} }),
|
|
75
58
|
createComponent(For, {
|
|
76
59
|
get each() {
|
|
@@ -88,7 +71,7 @@ const plugin = (options = {}) => {
|
|
|
88
71
|
prepare: {
|
|
89
72
|
order: "post",
|
|
90
73
|
async handler() {
|
|
91
|
-
const _self$ = this;
|
|
74
|
+
const _self$2 = this;
|
|
92
75
|
this.debug("Rendering entrypoint modules for the Shell Shock `cli` preset.");
|
|
93
76
|
return render(this, [createComponent(BinEntry, {
|
|
94
77
|
builtinImports: {
|
|
@@ -121,7 +104,7 @@ const plugin = (options = {}) => {
|
|
|
121
104
|
return [
|
|
122
105
|
createComponent(Show, {
|
|
123
106
|
get when() {
|
|
124
|
-
return Object.keys(_self
|
|
107
|
+
return Object.keys(_self$2.commands).length > 0;
|
|
125
108
|
},
|
|
126
109
|
get children() {
|
|
127
110
|
return [
|
|
@@ -135,7 +118,7 @@ const plugin = (options = {}) => {
|
|
|
135
118
|
createComponent(CommandRouter, {
|
|
136
119
|
segments: [],
|
|
137
120
|
get commands() {
|
|
138
|
-
return _self
|
|
121
|
+
return _self$2.commands ?? {};
|
|
139
122
|
}
|
|
140
123
|
}),
|
|
141
124
|
createIntrinsic("hbr", {})
|
|
@@ -150,12 +133,12 @@ const plugin = (options = {}) => {
|
|
|
150
133
|
}
|
|
151
134
|
}), createComponent(Show, {
|
|
152
135
|
get when() {
|
|
153
|
-
return Object.values(_self
|
|
136
|
+
return Object.values(_self$2.commands).length > 0;
|
|
154
137
|
},
|
|
155
138
|
get children() {
|
|
156
139
|
return createComponent(For, {
|
|
157
140
|
get each() {
|
|
158
|
-
return Object.values(_self
|
|
141
|
+
return Object.values(_self$2.commands);
|
|
159
142
|
},
|
|
160
143
|
doubleHardline: true,
|
|
161
144
|
children: (child) => createComponent(Show, {
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code,
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, For, Show } from \"@alloy-js/core\";\nimport { VarDeclaration } from \"@alloy-js/typescript\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core/components\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { computeBin, getCommandList } from \"@shell-shock/core/plugin-utils\";\nimport changelog from \"@shell-shock/plugin-changelog\";\nimport completions from \"@shell-shock/plugin-completions\";\nimport console from \"@shell-shock/plugin-console\";\nimport help from \"@shell-shock/plugin-help\";\nimport prompts from \"@shell-shock/plugin-prompts\";\nimport upgrade from \"@shell-shock/plugin-upgrade\";\nimport { BinEntry } from \"@shell-shock/preset-script/components/bin-entry\";\nimport type { Plugin } from \"powerlines\";\nimport { BannerBuiltin } from \"./components/banner-builtin\";\nimport { CommandEntry } from \"./components/command-entry\";\nimport { CommandRouter } from \"./components/command-router\";\nimport { UpgradeBuiltin } from \"./components/upgrade-builtin\";\nimport { VirtualCommandEntry } from \"./components/virtual-command-entry\";\nimport { getGlobalOptions } from \"./helpers/get-global-options\";\nimport type { CLIPresetContext, CLIPresetOptions } from \"./types/plugin\";\n\n/**\n * The Shell Shock CLI Preset plugin.\n *\n * @remarks\n * This preset includes a set of built-in modules and commands to create a CLI application, as well as configuration options to customize the generated code. It also includes the `prompts` plugin to provide interactive prompts in the CLI application, and the `upgrade` plugin to manage upgrading the local application's version.\n */\nexport const plugin = <TContext extends CLIPresetContext = CLIPresetContext>(\n options: CLIPresetOptions = {}\n): Plugin<TContext>[] => {\n return [\n ...console<TContext>(options),\n ...help<TContext>(options),\n ...prompts<TContext>(options),\n ...(options.changelog !== false\n ? [changelog<TContext>(options.changelog)]\n : []),\n ...(options.completions !== false\n ? completions<TContext>(options.completions)\n : []),\n upgrade<TContext>(options),\n {\n name: \"shell-shock:cli-preset\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `cli` preset.\"\n );\n\n return {\n globalOptions: getGlobalOptions,\n isCaseSensitive: false,\n ...options\n };\n },\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\"Rendering built-in modules.\");\n\n const commands = await getCommandList(this);\n this.debug(\n `Rendering \\`banner\\` built-ins for each of the ${\n commands.length\n } command modules.`\n );\n\n return render(\n this,\n <>\n <UpgradeBuiltin />\n <BannerBuiltin command={computeBin(this)} />\n <For\n each={commands.sort((a, b) => a.name.localeCompare(b.name))}\n doubleHardline>\n {command => <BannerBuiltin command={command} />}\n </For>\n </>\n );\n }\n }\n },\n {\n name: \"shell-shock:cli-preset:generate-entrypoint\",\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\n \"Rendering entrypoint modules for the Shell Shock `cli` preset.\"\n );\n\n return render(\n this,\n <>\n <BinEntry\n builtinImports={{\n console: [\n \"info\",\n \"debug\",\n \"warn\",\n \"help\",\n \"error\",\n \"cursor\",\n \"divider\",\n \"stripAnsi\",\n \"writeLine\",\n \"splitText\"\n ],\n utils: [\"isMinimal\", \"isInteractive\"],\n state: [\"useArgs\", \"isHelp\"],\n prompts: [\n \"text\",\n \"numeric\",\n \"toggle\",\n \"select\",\n \"confirm\",\n \"isCancel\"\n ],\n env: [\"env\", \"paths\"],\n upgrade: [\"executeUpgrade\"]\n }}>\n <Show when={Object.keys(this.commands).length > 0}>\n <VarDeclaration\n let\n name=\"args\"\n type=\"string[]\"\n initializer={code`useArgs();`}\n />\n <hbr />\n <CommandRouter segments={[]} commands={this.commands ?? {}} />\n <hbr />\n </Show>\n <hbr />\n {code`await showBanner(0);`}\n <Spacing />\n {code`return showHelp(); `}\n </BinEntry>\n <Show when={Object.values(this.commands).length > 0}>\n <For each={Object.values(this.commands)} doubleHardline>\n {child => (\n <Show\n when={child.isVirtual}\n fallback={<CommandEntry command={child} />}>\n <VirtualCommandEntry command={child} />\n </Show>\n )}\n </For>\n </Show>\n </>\n );\n }\n }\n }\n ];\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,MAAW,UAAoB,UAAA,EAAA,KAAA;AAC7B,QAAO;EAAC,GAAA,QAAe,QAAA;EAAA,GAAA,KAAA,QAAA;EAAA,GAAA,QAAA,QAAA;EAAA,GAAA,QAAA,cAAA,QAAA,CAAA,SAAA,QAAA,UAAA,CAAA,GAAA,EAAA;EAAA,GAAA,QAAA,gBAAA,QAAA,YAAA,QAAA,YAAA,GAAA,EAAA;EAAA,QAAA,QAAA;EAAA;GACvB,MAAO;GACL,SAAG;AACD,SAAK,MAAC,oEAAkB;AACxB,WAAC;KACC,eAAQ;KACR,iBAAW;KACX,GAAG;KACJ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EF,CAAC;QAAE,gBAAW,OAAA,EAAA,CAAA;QAAA,IAAA;QAAA,gBAAA,SAAA,EAAA,CAAA;QAAA,IAAA;QAAA;;MAElB,CAAC,EAAE,gBAAe,MAAA;MACjB,IAAI,OAAO;AACT,cAAO,OAAO,OAAA,QAAA,SAAA,CAAA,SAAA;;MAEhB,IAAI,WAAO;AACT,cAAO,gBAAU,KAAA;QACf,IAAI,OAAG;AACL,gBAAK,OAAS,OAAC,QAAA,SAAA;;QAEjB,gBAAK;QACL,WAAU,UAAG,gBAAa,MAAe;SACvC,IAAE,OAAS;AACT,iBAAO,MAAE;;SAEX,IAAI,WAAS;AACX,iBAAG,gBAAO,cAAA,EACR,SAAQ,OACT,CAAC;;SAEJ,IAAG,WAAA;AACD,iBAAO,gBAAc,qBAAA,EACrB,SAAW,OACX,CAAA;;SAEH,CAAC;QACH,CAAC;;MAEL,CAAC,CAAC,CAAC;;IAEP;GACF;EAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
const require_runtime = require('../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
-
const require_markdown_D89Le__6 = require('../../../unified/dist/markdown-D89Le-_6.cjs');
|
|
3
|
-
require('../../../unified/dist/markdown/index.cjs');
|
|
4
2
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
3
|
let _alloy_js_core = require("@alloy-js/core");
|
|
6
4
|
let _alloy_js_typescript = require("@alloy-js/typescript");
|
|
7
5
|
let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
|
|
6
|
+
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
8
7
|
let _powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
9
8
|
let _powerlines_plugin_alloy_core = require("@powerlines/plugin-alloy/core");
|
|
10
9
|
let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
|
|
@@ -16,13 +15,8 @@ let _stryke_path = require("@stryke/path");
|
|
|
16
15
|
/**
|
|
17
16
|
* The Changelog command's handler wrapper for the Shell Shock project.
|
|
18
17
|
*/
|
|
19
|
-
function ChangelogCommand() {
|
|
18
|
+
function ChangelogCommand({ changelog }) {
|
|
20
19
|
const context = (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
|
|
21
|
-
const result = (0, _alloy_js_core.createResource)(async () => {
|
|
22
|
-
const content = await context.fs.read(context.config.changelog.file);
|
|
23
|
-
if (!content) return null;
|
|
24
|
-
return require_markdown_D89Le__6.g(content);
|
|
25
|
-
});
|
|
26
20
|
return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypescriptFile, {
|
|
27
21
|
get path() {
|
|
28
22
|
return (0, _stryke_path.joinPaths)(context.entryPath, "changelog", "command.ts");
|
|
@@ -96,29 +90,10 @@ function ChangelogCommand() {
|
|
|
96
90
|
get children() {
|
|
97
91
|
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
98
92
|
get when() {
|
|
99
|
-
return
|
|
100
|
-
},
|
|
101
|
-
get fallback() {
|
|
102
|
-
return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
|
|
103
|
-
get when() {
|
|
104
|
-
return !!result.error;
|
|
105
|
-
},
|
|
106
|
-
get children() {
|
|
107
|
-
return _alloy_js_core.code` return error(\`Failed to load changelog: ${result.error.message.replaceAll("\\", "\\\\").replaceAll("`", "\\`").replaceAll("${", "\\${").replaceAll("\n", "\\n").replaceAll("\r", "\\r").replaceAll(" ", "\\t")}\`); `;
|
|
108
|
-
}
|
|
109
|
-
});
|
|
93
|
+
return (0, _stryke_type_checks_is_set_string.isSetString)(changelog);
|
|
110
94
|
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
get when() {
|
|
114
|
-
return !!result.data;
|
|
115
|
-
},
|
|
116
|
-
fallback: _alloy_js_core.code` return warn("There is no changelog available for display."); `,
|
|
117
|
-
get children() {
|
|
118
|
-
return result.data;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
}
|
|
95
|
+
fallback: _alloy_js_core.code` return warn("There is no changelog available for display."); `,
|
|
96
|
+
children: changelog
|
|
122
97
|
});
|
|
123
98
|
}
|
|
124
99
|
})
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { g } from "../../../unified/dist/markdown-D89Le-_6.mjs";
|
|
2
|
-
import "../../../unified/dist/markdown/index.mjs";
|
|
3
1
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
4
|
-
import { Show, code
|
|
2
|
+
import { Show, code } from "@alloy-js/core";
|
|
5
3
|
import { FunctionDeclaration, InterfaceDeclaration } from "@alloy-js/typescript";
|
|
6
4
|
import { getAppTitle } from "@shell-shock/core/plugin-utils";
|
|
5
|
+
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
7
6
|
import { ReflectionKind } from "@powerlines/deepkit/vendor/type";
|
|
8
7
|
import { Spacing } from "@powerlines/plugin-alloy/core";
|
|
9
8
|
import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
|
|
@@ -15,13 +14,8 @@ import { joinPaths } from "@stryke/path";
|
|
|
15
14
|
/**
|
|
16
15
|
* The Changelog command's handler wrapper for the Shell Shock project.
|
|
17
16
|
*/
|
|
18
|
-
function ChangelogCommand() {
|
|
17
|
+
function ChangelogCommand({ changelog }) {
|
|
19
18
|
const context = usePowerlines();
|
|
20
|
-
const result = createResource(async () => {
|
|
21
|
-
const content = await context.fs.read(context.config.changelog.file);
|
|
22
|
-
if (!content) return null;
|
|
23
|
-
return g(content);
|
|
24
|
-
});
|
|
25
19
|
return createComponent(TypescriptFile, {
|
|
26
20
|
get path() {
|
|
27
21
|
return joinPaths(context.entryPath, "changelog", "command.ts");
|
|
@@ -95,29 +89,10 @@ function ChangelogCommand() {
|
|
|
95
89
|
get children() {
|
|
96
90
|
return createComponent(Show, {
|
|
97
91
|
get when() {
|
|
98
|
-
return
|
|
99
|
-
},
|
|
100
|
-
get fallback() {
|
|
101
|
-
return createComponent(Show, {
|
|
102
|
-
get when() {
|
|
103
|
-
return !!result.error;
|
|
104
|
-
},
|
|
105
|
-
get children() {
|
|
106
|
-
return code` return error(\`Failed to load changelog: ${result.error.message.replaceAll("\\", "\\\\").replaceAll("`", "\\`").replaceAll("${", "\\${").replaceAll("\n", "\\n").replaceAll("\r", "\\r").replaceAll(" ", "\\t")}\`); `;
|
|
107
|
-
}
|
|
108
|
-
});
|
|
92
|
+
return isSetString(changelog);
|
|
109
93
|
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
get when() {
|
|
113
|
-
return !!result.data;
|
|
114
|
-
},
|
|
115
|
-
fallback: code` return warn("There is no changelog available for display."); `,
|
|
116
|
-
get children() {
|
|
117
|
-
return result.data;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
}
|
|
94
|
+
fallback: code` return warn("There is no changelog available for display."); `,
|
|
95
|
+
children: changelog
|
|
121
96
|
});
|
|
122
97
|
}
|
|
123
98
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog-command.mjs","names":[
|
|
1
|
+
{"version":3,"file":"changelog-command.mjs","names":[],"sources":["../../../../../../plugin-changelog/dist/components/changelog-command.mjs"],"sourcesContent":["import { createComponent } from \"@alloy-js/core/jsx-runtime\";\nimport { getAppTitle } from \"@shell-shock/core/plugin-utils\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { Show, code } from \"@alloy-js/core\";\nimport { FunctionDeclaration, InterfaceDeclaration } from \"@alloy-js/typescript\";\nimport { ReflectionKind } from \"@powerlines/deepkit/vendor/type\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport { InterfaceMember, TypescriptFile } from \"@powerlines/plugin-alloy/typescript\";\nimport { TSDoc, TSDocDefaultValue, TSDocParam } from \"@powerlines/plugin-alloy/typescript/components/tsdoc\";\nimport { joinPaths } from \"@stryke/path\";\n\n//#region src/components/changelog-command.tsx\n/**\n* The Changelog command's handler wrapper for the Shell Shock project.\n*/\nfunction ChangelogCommand({ changelog }) {\n\tconst context = usePowerlines();\n\treturn createComponent(TypescriptFile, {\n\t\tget path() {\n\t\t\treturn joinPaths(context.entryPath, \"changelog\", \"command.ts\");\n\t\t},\n\t\timports: {\n\t\t\t\"node:os\": \"os\",\n\t\t\t\"node:fs/promises\": [\"readFile\", \"writeFile\"]\n\t\t},\n\t\tbuiltinImports: { console: [\n\t\t\t\"textColors\",\n\t\t\t\"bold\",\n\t\t\t\"writeLine\",\n\t\t\t\"error\",\n\t\t\t\"warn\"\n\t\t] },\n\t\tget children() {\n\t\t\treturn [\n\t\t\t\tcreateComponent(TSDoc, { heading: \"Options for the Changelog command.\" }),\n\t\t\t\tcreateComponent(InterfaceDeclaration, {\n\t\t\t\t\t\"export\": true,\n\t\t\t\t\tname: \"ChangelogOptions\",\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\tcreateComponent(TSDoc, { heading: \"An optional starting version for the changelog. The command will attempt to display changes starting from the specified version. The version should be a valid semantic version string. If not specified, the changelog will start from the earliest version available.\" }),\n\t\t\t\t\t\t\tcreateComponent(InterfaceMember, {\n\t\t\t\t\t\t\t\tname: \"start\",\n\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\ttype: \"string\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tcreateComponent(Spacing, {}),\n\t\t\t\t\t\t\tcreateComponent(TSDoc, {\n\t\t\t\t\t\t\t\theading: \"An optional ending version for the changelog. The command will attempt to display changes up to the specified version. The version should be a valid semantic version string. If not specified, the changelog will display changes up to the latest version available.\",\n\t\t\t\t\t\t\t\tget children() {\n\t\t\t\t\t\t\t\t\treturn createComponent(TSDocDefaultValue, {\n\t\t\t\t\t\t\t\t\t\tget type() {\n\t\t\t\t\t\t\t\t\t\t\treturn ReflectionKind.string;\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tdefaultValue: \"latest\"\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tcreateComponent(InterfaceMember, {\n\t\t\t\t\t\t\t\tname: \"end\",\n\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\ttype: \"string\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t];\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tcreateComponent(Spacing, {}),\n\t\t\t\tcreateComponent(TSDoc, {\n\t\t\t\t\tget heading() {\n\t\t\t\t\t\treturn `Display the ${getAppTitle(context)} changelog.`;\n\t\t\t\t\t},\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn createComponent(TSDocParam, {\n\t\t\t\t\t\t\tname: \"options\",\n\t\t\t\t\t\t\tchildren: code`An object containing options for displaying the changelog.`\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tcreateComponent(FunctionDeclaration, {\n\t\t\t\t\t\"export\": true,\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\tasync: true,\n\t\t\t\t\tname: \"handler\",\n\t\t\t\t\tparameters: [{\n\t\t\t\t\t\tname: \"options\",\n\t\t\t\t\t\ttype: \"ChangelogOptions\"\n\t\t\t\t\t}],\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn createComponent(Show, {\n\t\t\t\t\t\t\tget when() {\n\t\t\t\t\t\t\t\treturn isSetString(changelog);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfallback: code` return warn(\"There is no changelog available for display.\"); `,\n\t\t\t\t\t\t\tchildren: changelog\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t];\n\t\t}\n\t});\n}\n\n//#endregion\nexport { ChangelogCommand };\n//# sourceMappingURL=changelog-command.mjs.map"],"mappings":";;;;;;;;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AAU,IAAI;OACd,UAAU;OACV,CAAC;;KAEH,CAAC;IACF;;EAEF,CAAC"}
|
|
@@ -2,12 +2,14 @@ const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
|
2
2
|
const require_changelog_command = require('./components/changelog-command.cjs');
|
|
3
3
|
require('./components/index.cjs');
|
|
4
4
|
const require_resolve_changelog = require('./helpers/resolve-changelog.cjs');
|
|
5
|
+
const require_markdown_CLMRZZ3Y = require('../../unified/dist/markdown-CLMRZZ3Y.cjs');
|
|
6
|
+
require('../../unified/dist/markdown/index.cjs');
|
|
5
7
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
8
|
let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
|
|
7
9
|
let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
|
|
10
|
+
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
8
11
|
let _stryke_path_join = require("@stryke/path/join");
|
|
9
12
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
10
|
-
let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
11
13
|
let defu = require("defu");
|
|
12
14
|
defu = require_runtime.__toESM(defu, 1);
|
|
13
15
|
|
|
@@ -20,22 +22,20 @@ const plugin = (options = {}) => {
|
|
|
20
22
|
name: "shell-shock:changelog",
|
|
21
23
|
config() {
|
|
22
24
|
this.debug("Providing default configuration for the Shell Shock `changelog` plugin.");
|
|
23
|
-
return { changelog: (0, defu.default)({
|
|
24
|
-
file: require_resolve_changelog.resolveChangelog(this, options),
|
|
25
|
-
command: { name: (0, _stryke_type_checks_is_set_string.isSetString)(options.command) ? options.command : "changelog" }
|
|
26
|
-
}, options) };
|
|
25
|
+
return { changelog: (0, defu.default)({ command: { name: (0, _stryke_type_checks_is_set_string.isSetString)(options.command) ? options.command : "changelog" } }, options) };
|
|
27
26
|
},
|
|
28
|
-
configResolved() {
|
|
27
|
+
async configResolved() {
|
|
29
28
|
this.debug("Adding the CLI changelog commands to the application context.");
|
|
30
|
-
if ((0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file))
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = require_resolve_changelog.resolveChangelog(this, options);
|
|
30
|
+
if ((0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = (0, powerlines_plugin_utils.replacePathTokens)(this, this.config.changelog.file);
|
|
31
|
+
if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {
|
|
32
|
+
this.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \`changelog.file\` option to point to the correct location.`);
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
this.inputs ??= [];
|
|
36
|
+
if (this.inputs.some((input) => input.id === this.config.changelog.command.name)) this.info("The `changelog` command already exists in the commands list. If you would like the changelog command to be managed by the `@shell-shock/plugin-changelog` package, please remove or rename the command.");
|
|
37
|
+
else {
|
|
38
|
+
this.inputs.push({
|
|
39
39
|
id: this.config.changelog.command.name,
|
|
40
40
|
path: this.config.changelog.command.name,
|
|
41
41
|
segments: [this.config.changelog.command.name],
|
|
@@ -51,12 +51,12 @@ const plugin = (options = {}) => {
|
|
|
51
51
|
source: "changelog-plugin",
|
|
52
52
|
...this.config.changelog.command
|
|
53
53
|
});
|
|
54
|
+
this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
|
|
55
|
+
const content = await this.fs.read(this.config.changelog.file);
|
|
56
|
+
if (content) await (0, _powerlines_plugin_alloy_render.render)(this, (0, _alloy_js_core_jsx_runtime.createComponent)(require_changelog_command.ChangelogCommand, { get changelog() {
|
|
57
|
+
return require_markdown_CLMRZZ3Y.g(content);
|
|
58
|
+
} }));
|
|
54
59
|
}
|
|
55
|
-
},
|
|
56
|
-
async prepare() {
|
|
57
|
-
if ((0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file) && !this.fs.existsSync(this.config.changelog.file)) return;
|
|
58
|
-
this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
|
|
59
|
-
return (0, _powerlines_plugin_alloy_render.render)(this, (0, _alloy_js_core_jsx_runtime.createComponent)(require_changelog_command.ChangelogCommand, {}));
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ChangelogCommand } from "./components/changelog-command.mjs";
|
|
2
2
|
import "./components/index.mjs";
|
|
3
3
|
import { resolveChangelog } from "./helpers/resolve-changelog.mjs";
|
|
4
|
+
import { g } from "../../unified/dist/markdown-CLMRZZ3Y.mjs";
|
|
5
|
+
import "../../unified/dist/markdown/index.mjs";
|
|
4
6
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
5
7
|
import { render } from "@powerlines/plugin-alloy/render";
|
|
6
8
|
import { getAppTitle } from "@shell-shock/core/plugin-utils";
|
|
9
|
+
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
7
10
|
import { joinPaths } from "@stryke/path/join";
|
|
8
11
|
import { replacePathTokens } from "powerlines/plugin-utils";
|
|
9
|
-
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
10
12
|
import defu from "defu";
|
|
11
13
|
|
|
12
14
|
//#region ../plugin-changelog/dist/index.mjs
|
|
@@ -18,22 +20,20 @@ const plugin = (options = {}) => {
|
|
|
18
20
|
name: "shell-shock:changelog",
|
|
19
21
|
config() {
|
|
20
22
|
this.debug("Providing default configuration for the Shell Shock `changelog` plugin.");
|
|
21
|
-
return { changelog: defu({
|
|
22
|
-
file: resolveChangelog(this, options),
|
|
23
|
-
command: { name: isSetString(options.command) ? options.command : "changelog" }
|
|
24
|
-
}, options) };
|
|
23
|
+
return { changelog: defu({ command: { name: isSetString(options.command) ? options.command : "changelog" } }, options) };
|
|
25
24
|
},
|
|
26
|
-
configResolved() {
|
|
25
|
+
async configResolved() {
|
|
27
26
|
this.debug("Adding the CLI changelog commands to the application context.");
|
|
28
|
-
if (isSetString(this.config.changelog.file))
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
if (!isSetString(this.config.changelog.file)) this.config.changelog.file = resolveChangelog(this, options);
|
|
28
|
+
if (isSetString(this.config.changelog.file)) this.config.changelog.file = replacePathTokens(this, this.config.changelog.file);
|
|
29
|
+
if (!isSetString(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {
|
|
30
|
+
this.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \`changelog.file\` option to point to the correct location.`);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
this.inputs ??= [];
|
|
34
|
+
if (this.inputs.some((input) => input.id === this.config.changelog.command.name)) this.info("The `changelog` command already exists in the commands list. If you would like the changelog command to be managed by the `@shell-shock/plugin-changelog` package, please remove or rename the command.");
|
|
35
|
+
else {
|
|
36
|
+
this.inputs.push({
|
|
37
37
|
id: this.config.changelog.command.name,
|
|
38
38
|
path: this.config.changelog.command.name,
|
|
39
39
|
segments: [this.config.changelog.command.name],
|
|
@@ -49,12 +49,12 @@ const plugin = (options = {}) => {
|
|
|
49
49
|
source: "changelog-plugin",
|
|
50
50
|
...this.config.changelog.command
|
|
51
51
|
});
|
|
52
|
+
this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
|
|
53
|
+
const content = await this.fs.read(this.config.changelog.file);
|
|
54
|
+
if (content) await render(this, createComponent(ChangelogCommand, { get changelog() {
|
|
55
|
+
return g(content);
|
|
56
|
+
} }));
|
|
52
57
|
}
|
|
53
|
-
},
|
|
54
|
-
async prepare() {
|
|
55
|
-
if (isSetString(this.config.changelog.file) && !this.fs.existsSync(this.config.changelog.file)) return;
|
|
56
|
-
this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
|
|
57
|
-
return render(this, createComponent(ChangelogCommand, {}));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../plugin-changelog/dist/index.mjs"],"sourcesContent":["import { ChangelogCommand } from \"./components/changelog-command.mjs\";\nimport \"./components/index.mjs\";\nimport { resolveChangelog } from \"./helpers/resolve-changelog.mjs\";\nimport { createComponent } from \"@alloy-js/core/jsx-runtime\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { getAppTitle } from \"@shell-shock/core/plugin-utils\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport defu from \"defu\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\n\n//#region src/index.tsx\n/**\n* The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.\n*/\nconst plugin = (options = {}) => {\n\treturn {\n\t\tname: \"shell-shock:changelog\",\n\t\tconfig() {\n\t\t\tthis.debug(\"Providing default configuration for the Shell Shock `changelog` plugin.\");\n\t\t\treturn { changelog: defu({
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["renderMarkdown"],"sources":["../../../../../plugin-changelog/dist/index.mjs"],"sourcesContent":["import { ChangelogCommand } from \"./components/changelog-command.mjs\";\nimport \"./components/index.mjs\";\nimport { resolveChangelog } from \"./helpers/resolve-changelog.mjs\";\nimport { createComponent } from \"@alloy-js/core/jsx-runtime\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { getAppTitle } from \"@shell-shock/core/plugin-utils\";\nimport { renderMarkdown } from \"@shell-shock/unified/markdown\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport defu from \"defu\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\n\n//#region src/index.tsx\n/**\n* The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.\n*/\nconst plugin = (options = {}) => {\n\treturn {\n\t\tname: \"shell-shock:changelog\",\n\t\tconfig() {\n\t\t\tthis.debug(\"Providing default configuration for the Shell Shock `changelog` plugin.\");\n\t\t\treturn { changelog: defu({ command: { name: isSetString(options.command) ? options.command : \"changelog\" } }, options) };\n\t\t},\n\t\tasync configResolved() {\n\t\t\tthis.debug(\"Adding the CLI changelog commands to the application context.\");\n\t\t\tif (!isSetString(this.config.changelog.file)) this.config.changelog.file = resolveChangelog(this, options);\n\t\t\tif (isSetString(this.config.changelog.file)) this.config.changelog.file = replacePathTokens(this, this.config.changelog.file);\n\t\t\tif (!isSetString(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {\n\t\t\t\tthis.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \\`${this.config.changelog.command.name}\\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \\`changelog.file\\` option to point to the correct location.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.inputs ??= [];\n\t\t\tif (this.inputs.some((input) => input.id === this.config.changelog.command.name)) this.info(\"The `changelog` command already exists in the commands list. If you would like the changelog command to be managed by the `@shell-shock/plugin-changelog` package, please remove or rename the command.\");\n\t\t\telse {\n\t\t\t\tthis.inputs.push({\n\t\t\t\t\tid: this.config.changelog.command.name,\n\t\t\t\t\tpath: this.config.changelog.command.name,\n\t\t\t\t\tsegments: [this.config.changelog.command.name],\n\t\t\t\t\ttitle: \"Changelog\",\n\t\t\t\t\ticon: \"🗃\",\n\t\t\t\t\ttags: [\"Utility\"],\n\t\t\t\t\tdescription: `Display the ${getAppTitle(this)} changelog.`,\n\t\t\t\t\tentry: {\n\t\t\t\t\t\tfile: joinPaths(this.entryPath, \"changelog\", \"index.ts\"),\n\t\t\t\t\t\tinput: { file: joinPaths(this.entryPath, \"changelog\", \"command.ts\") }\n\t\t\t\t\t},\n\t\t\t\t\tisVirtual: false,\n\t\t\t\t\tsource: \"changelog-plugin\",\n\t\t\t\t\t...this.config.changelog.command\n\t\t\t\t});\n\t\t\t\tthis.debug(\"Rendering changelog command module for the Shell Shock `changelog` plugin.\");\n\t\t\t\tconst content = await this.fs.read(this.config.changelog.file);\n\t\t\t\tif (content) await render(this, createComponent(ChangelogCommand, { get changelog() {\n\t\t\t\t\treturn renderMarkdown(content);\n\t\t\t\t} }));\n\t\t\t}\n\t\t}\n\t};\n};\n\n//#endregion\nexport { plugin as default, plugin };\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,MAAM,UAAU,UAAU,EAAE,KAAK;AAChC,QAAO;EACN,MAAM;EACN,SAAS;AACR,QAAK,MAAM,0EAA0E;AACrF,UAAO,EAAE,WAAW,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,QAAQ,QAAQ,GAAG,QAAQ,UAAU,aAAa,EAAE,EAAE,QAAQ,EAAE;;EAEzH,MAAM,iBAAiB;AACtB,QAAK,MAAM,gEAAgE;AAC3E,OAAI,CAAC,YAAY,KAAK,OAAO,UAAU,KAAK,CAAE,MAAK,OAAO,UAAU,OAAO,iBAAiB,MAAM,QAAQ;AAC1G,OAAI,YAAY,KAAK,OAAO,UAAU,KAAK,CAAE,MAAK,OAAO,UAAU,OAAO,kBAAkB,MAAM,KAAK,OAAO,UAAU,KAAK;AAC7H,OAAI,CAAC,YAAY,KAAK,OAAO,UAAU,KAAK,IAAI,CAAC,KAAK,GAAG,WAAW,KAAK,OAAO,UAAU,KAAK,EAAE;AAChG,SAAK,KAAK,+DAA+D,KAAK,OAAO,UAAU,KAAK,UAAU,KAAK,OAAO,UAAU,QAAQ,KAAK,+LAA+L;AAChV;;AAED,QAAK,WAAW,EAAE;AAClB,OAAI,KAAK,OAAO,MAAM,UAAU,MAAM,OAAO,KAAK,OAAO,UAAU,QAAQ,KAAK,CAAE,MAAK,KAAK,0MAA0M;QACjS;AACJ,SAAK,OAAO,KAAK;KAChB,IAAI,KAAK,OAAO,UAAU,QAAQ;KAClC,MAAM,KAAK,OAAO,UAAU,QAAQ;KACpC,UAAU,CAAC,KAAK,OAAO,UAAU,QAAQ,KAAK;KAC9C,OAAO;KACP,MAAM;KACN,MAAM,CAAC,UAAU;KACjB,aAAa,eAAe,YAAY,KAAK,CAAC;KAC9C,OAAO;MACN,MAAM,UAAU,KAAK,WAAW,aAAa,WAAW;MACxD,OAAO,EAAE,MAAM,UAAU,KAAK,WAAW,aAAa,aAAa,EAAE;MACrE;KACD,WAAW;KACX,QAAQ;KACR,GAAG,KAAK,OAAO,UAAU;KACzB,CAAC;AACF,SAAK,MAAM,6EAA6E;IACxF,MAAM,UAAU,MAAM,KAAK,GAAG,KAAK,KAAK,OAAO,UAAU,KAAK;AAC9D,QAAI,QAAS,OAAM,OAAO,MAAM,gBAAgB,kBAAkB,EAAE,IAAI,YAAY;AACnF,YAAOA,EAAe,QAAQ;OAC5B,CAAC,CAAC;;;EAGP"}
|
|
@@ -5,7 +5,7 @@ const require_index$1 = require('../../../node_modules/.pnpm/normalize-html-whit
|
|
|
5
5
|
const require_index$2 = require('../../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs');
|
|
6
6
|
let _shell_shock_plugin_theme_helpers_constants = require("@shell-shock/plugin-theme/helpers/constants");
|
|
7
7
|
|
|
8
|
-
//#region ../unified/dist/html-
|
|
8
|
+
//#region ../unified/dist/html-DzwMMQv6.mjs
|
|
9
9
|
var import_he = /* @__PURE__ */ require_runtime.__toESM(require_he$1.default, 1);
|
|
10
10
|
var import_normalize_html_whitespace = /* @__PURE__ */ require_runtime.__toESM(require_index$1.default, 1);
|
|
11
11
|
const a = (e) => ({
|
|
@@ -335,8 +335,8 @@ function Ue(e, t) {
|
|
|
335
335
|
}
|
|
336
336
|
const We = g((e) => `bold(${JSON.stringify(`[ ${String(e ?? `button`)} ]`)})`), Ge = g((e) => y(e)), Ke = h((e, t) => {
|
|
337
337
|
let n = Number.parseInt(u(t, `rows`, `0`) || `0`, 10), r = C(t);
|
|
338
|
-
return n > 1 || r.includes(`
|
|
339
|
-
`) ? S(r) : y(e);
|
|
338
|
+
return r && (n > 1 || r.includes(`
|
|
339
|
+
`)) ? S(r) : y(e);
|
|
340
340
|
});
|
|
341
341
|
function qe(e) {
|
|
342
342
|
return (e.childNodes ?? []).filter((e) => e.nodeName === `li`);
|
|
@@ -5,7 +5,7 @@ import { require_normalize_html_whitespace } from "../../../node_modules/.pnpm/n
|
|
|
5
5
|
import wrapAnsi from "../../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs";
|
|
6
6
|
import { THEME_MESSAGE_VARIANTS } from "@shell-shock/plugin-theme/helpers/constants";
|
|
7
7
|
|
|
8
|
-
//#region ../unified/dist/html-
|
|
8
|
+
//#region ../unified/dist/html-DzwMMQv6.mjs
|
|
9
9
|
var import_he = /* @__PURE__ */ __toESM(require_he(), 1);
|
|
10
10
|
var import_normalize_html_whitespace = /* @__PURE__ */ __toESM(require_normalize_html_whitespace(), 1);
|
|
11
11
|
const a = (e) => ({
|
|
@@ -335,8 +335,8 @@ function Ue(e, t) {
|
|
|
335
335
|
}
|
|
336
336
|
const We = g((e) => `bold(${JSON.stringify(`[ ${String(e ?? `button`)} ]`)})`), Ge = g((e) => y(e)), Ke = h((e, t) => {
|
|
337
337
|
let n = Number.parseInt(u(t, `rows`, `0`) || `0`, 10), r = C(t);
|
|
338
|
-
return n > 1 || r.includes(`
|
|
339
|
-
`) ? S(r) : y(e);
|
|
338
|
+
return r && (n > 1 || r.includes(`
|
|
339
|
+
`)) ? S(r) : y(e);
|
|
340
340
|
});
|
|
341
341
|
function qe(e) {
|
|
342
342
|
return (e.childNodes ?? []).filter((e) => e.nodeName === `li`);
|
|
@@ -610,4 +610,4 @@ function _t(t, n = {}) {
|
|
|
610
610
|
|
|
611
611
|
//#endregion
|
|
612
612
|
export { _t };
|
|
613
|
-
//# sourceMappingURL=html-
|
|
613
|
+
//# sourceMappingURL=html-DzwMMQv6.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-DzwMMQv6.mjs","names":["r","t","n","i","e"],"sources":["../../../../../unified/dist/html-DzwMMQv6.mjs"],"sourcesContent":["import{parse as e}from\"parse5\";import t from\"he\";import n from\"normalize-html-whitespace\";import r from\"wrap-ansi\";import{THEME_MESSAGE_VARIANTS as i}from\"@shell-shock/plugin-theme/helpers/constants\";const a=e=>({pre:!1,lineWidth:120,fontAttrs:!0,depth:0,asciiMode:!1,...e}),o=e=>{if(e==null)return 0;let t=Number(e);return Number.isFinite(t)?t:0},s=(e,t)=>{if(!e&&!t)return null;if(e){let e=o(t.marginTop),n=o(t.marginBottom);return{...t,marginTop:e,marginBottom:n}}if(t){let t=o(e.marginTop),n=o(e.marginBottom);return{...e,marginTop:t,marginBottom:n}}let n=o(e.marginTop),r=o(e.marginBottom),i=o(t.marginTop),a=o(t.marginBottom);if(!t.value)return{marginTop:n,value:e.value,marginBottom:Math.max(r,i,a)};if(!e.value)return{marginTop:Math.max(n,r,i),value:t.value,marginBottom:a};let s=Math.max(r,i);return{marginTop:n,value:`${e.value}${`\n`.repeat(s)}${t.value}`,marginBottom:a}},c=(e,t)=>e==null&&t==null?null:e==null?t:t==null?e:t.value==null?{pre:e.pre,value:e.value,post:e.post??t.pre??t.post??``,type:`inline`,nodeName:e.nodeName}:e.value==null?{pre:e.pre??e.post??t.pre??``,value:t.value,post:t.post,type:`inline`,nodeName:t.nodeName}:e.post==null?t.pre==null?{pre:e.pre,value:`${e.value}${t.value}`,post:t.post,type:`inline`,nodeName:t.nodeName}:{pre:e.pre,value:`${e.value}${t.pre}${t.value}`,post:t.post,type:`inline`,nodeName:t.nodeName}:{pre:e.pre,value:`${e.value}${e.post}${t.value}`,post:t.post,type:`inline`,nodeName:t.nodeName},l=new WeakMap,u=(e,t,n=null)=>{if(!e||typeof e!=`object`||!t||typeof t!=`string`)return n;let r=l.get(e);if(r){let e=r.get(t);if(e!==void 0)return e??n}if(!e.attrs||!Array.isArray(e.attrs)||e.attrs.length===0)return r||(r=new Map,l.set(e,r)),r.set(t,null),n;let i=e.attrs.find(e=>e&&typeof e==`object`&&e.name===t);if(r||(r=new Map,l.set(e,r)),!i||i.value===void 0)return r.set(t,null),n;let a=i.value;return r.set(t,a),a};function d(e){let t=u(e,`class`,null);return t?t.split(/\\s+/).map(e=>e.trim()).filter(e=>e.length>0):[]}const f=(e,t)=>r(e,t.lineWidth??80,{trim:!t.pre}),p=t.decode,ee=n,m=e=>e?{...e,marginTop:0,marginBottom:0,type:`block`,nodeName:`#blockTag`}:null,te=(e,t)=>{let n=String(e.value??``);if(t.pre)return{pre:null,value:p(n),post:null,type:`inline`,nodeName:`#text`};let r=[...(ee(n)||``).replaceAll(`\n`,` `)],i=[` `,`\n`].includes(r[0]??``)?r.shift()??null:null,a=[` `,`\n`].includes(r.at(-1)??``)?r.pop()??null:null;return{pre:i,value:r.length>0?`${p(r.join(``))}`:null,post:a,type:`inline`,nodeName:`#text`}};function h(e,t){return(n,r)=>{let i=e??(e=>e);if(!n||!n.childNodes)return null;let a=Number.parseInt(u(n,`start`,`1`)??`1`,10),o=n.childNodes.reduce((e,t)=>{let n=$(t,{...r,liItemNumber:a});return n?(n.nodeName===`li`&&(a+=1),n.type===`inline`?{block:e.block,inline:c(e.inline,n)}:(e.inline&&e.inline.value&&(e.inline.value=f(e.inline.value,r)),e.block=s(e.block??null,m(e.inline)??null),e.block=s(e.block??null,n),{block:e.block,inline:null})):e},{block:null,inline:null});o.inline&&o.inline.value&&(o.inline.value=f(o.inline.value,r)),o.block=s(o.block??null,m(o.inline)??null);let l=t?.marginTop??0;l=!r||!r.pre?l+1:l;let d=t?.marginBottom??0;return d=!r||!r.pre?d+1:d,!o.block||!o.block.value?{marginTop:l,value:``,marginBottom:d,type:`block`,nodeName:n.nodeName}:{marginTop:o.block.marginTop&&o.block.marginTop>l?o.block.marginTop:l,value:i(o.block.value,n,r),marginBottom:o.block.marginBottom&&o.block.marginBottom>d?o.block.marginBottom:d,type:`block`,nodeName:n.nodeName}}}const g=e=>(t,n)=>{let r=e??(e=>e??null),i=X.span;if(!t||!t.childNodes)return;let a=t.childNodes.reduce((e,r)=>{let a=$(r,n,i);return a?{...c(e,a),type:`inline`,nodeName:t.nodeName}:e},null);return{pre:a?.pre?r(a.pre,t,n):null,value:r(a?.value,t,n),post:a?.post?r(a.post,t,n):null,type:`inline`,nodeName:t.nodeName}},_=()=>void 0,ne=g((e,t,n)=>{let r=u(t,`href`,null),i=u(t,`title`,null),a=!r||[`file://`,`http://`,`https://`,`mailto:`,`ftp://`,`ftps://`,`sftp://`,`ssh://`,`dav://`,`tel:`,`git://`].some(e=>r.startsWith(e))?r:null;return a?`link(\"${a}\", { ${i?`text: \"${i}\", `:``}${a&&(a.startsWith(`http://`)||a.startsWith(`https://`))?`external: true`:`external: false`} })`:i?`\"${i}\"`:``}),v=g((e,t)=>{let n=u(t,`title`,null);return e?n?`${e} (${n})`:e:``}),re=v,ie=v;function y(e){return`textColors.body.primary(${JSON.stringify(String(e??``))})`}function b(e){return JSON.stringify(String(e??``))}function x(e){return`inlineCode(${b(e)})`}function S(e,t){return`code(${JSON.stringify(e)}${t?`, ${JSON.stringify(t)}`:``})`}function C(e){return e?typeof e.value==`string`?e.value:!e.childNodes||e.childNodes.length===0?``:e.childNodes.map(e=>C(e)).join(``):``}function w(e){return e.replaceAll(/\\s+/g,` `).trim()}function T(e,t,n=null,r=null){return{pre:n,value:t,post:r,type:`inline`,nodeName:e}}function E(e,t,n=0,r=0){return{marginTop:n,value:t,marginBottom:r,type:`block`,nodeName:e}}function ae(e){if(!e)return null;let t=u(e,`class`,``)?.split(/\\s+/).map(e=>e.trim()).filter(Boolean)??[];for(let e of t){if(e.startsWith(`language-`))return e.slice(9)||null;if(e.startsWith(`lang-`))return e.slice(5)||null}return null}function D(e,t,n=10,r=`#`,i=`-`){if(!Number.isFinite(e)||!Number.isFinite(t)||t<=0)return i.repeat(n);let a=Math.max(0,Math.min(1,e/t)),o=Math.round(a*n);return r.repeat(o)+i.repeat(Math.max(n-o,0))}const oe=h(e=>y(e)),se=g(e=>y(e)),ce=g(e=>y(e));function O(e){return String(e??``).replaceAll(`\\\\`,`\\\\\\\\`).replaceAll(\"`\",\"\\\\`\").replaceAll(\"${\",\"\\\\${\").replaceAll(`\n`,`\\\\n`).replaceAll(`\\r`,`\\\\r`).replaceAll(`\t`,`\\\\t`)}const k=e=>h(e=>`textColors.body.primary(\\`${O(e)}\\`)`),A=e=>g(e=>`textColors.body.primary(\\`${O(e)}\\`)`),le=h(e=>`textColors.body.primary(\\`${O(e)}\\`)`,{marginTop:1,marginBottom:1}),ue=A(`label`);A(`blink`);const de=k(`div`),fe=k(`header`),pe=k(`article`),me=k(`footer`),he=k(`section`),ge=k(`main`),_e=k(`nav`),ve=k(`aside`),j=k(`form`),M=k(`picture`),N=k(`hgroup`),P=k(`dialog`),F=g(e=>`blockquote(${e?`\\`${O(e)}\\``:`''`})`),ye=()=>({pre:``,value:`\n`,post:``,type:`inline`}),be=h(e=>y(e)),xe=g(e=>x(e));function Se(e,t){let n=e.childNodes?.find(e=>e.nodeName===`code`)??null,r=C(n??e).replaceAll(/\\n+$/g,``),i=ae(n??e);return E(e.nodeName,S(r,i),1,1)}const Ce=g((e,t)=>{let n=u(t,`value`,null),r=String(e??``);return y(n&&r&&n!==r?`${r} (${n})`:r||n||``)}),we=h(void 0,{marginTop:1,marginBottom:1}),Te=h(e=>`bold(${b(e)})`),Ee=h(e=>y(` ${String(e??``)}`)),De=(e,t)=>({pre:null,value:`bold(${b(w(e.childNodes?.map(e=>e.value??``).join(``)??``))})`,post:null,type:`inline`,nodeName:e.nodeName});function Oe(e,t){let n=w((e.childNodes?.find(e=>e.nodeName===`summary`)??null)?.childNodes?.map(e=>e.value??``).join(``)??`Details`),r=w((e.childNodes??[]).filter(e=>e.nodeName!==`summary`).map(e=>typeof e.value==`string`?e.value:e.childNodes?.map(e=>e.value??``).join(``)??``).join(`\n`)),i=u(e,`open`,null)===null?`[+]`:`[-]`,a=r?`${i} ${n}\\n${r}`:`${i} ${n}`;return E(e.nodeName,`blockquote(${b(a)})`,1,1)}const I=h(),ke=I,Ae=I,je=g(e=>`bold(${b(e)})`);function Me(e,t){let n=w((e.childNodes?.find(e=>e.nodeName===`legend`)??null)?.childNodes?.map(e=>e.value??``).join(``)??``),r=w((e.childNodes??[]).filter(e=>e.nodeName!==`legend`).map(e=>typeof e.value==`string`?e.value:e.childNodes?.map(e=>e.value??``).join(``)??``).join(`\n`)),i=n?`${n}\\n${r}`.trim():r;return E(e.nodeName,`blockquote(${b(i)})`,1,1)}const Ne=h(e=>`italic(${b(e)})`);function Pe(e,t){let n=w((e.childNodes?.find(e=>e.nodeName===`figcaption`)??null)?.childNodes?.map(e=>e.value??``).join(``)??``),r=w((e.childNodes??[]).filter(e=>e.nodeName!==`figcaption`).map(e=>typeof e.value==`string`?e.value:e.childNodes?.map(e=>e.value??``).join(``)??``).join(`\n`)),i=n?`${r}\\n${n}`.trim():r;return E(e.nodeName,`blockquote(${b(i)})`,1,1)}const L=e=>h(t=>`bold(textColors.heading.${e===1?`primary`:e===2?`secondary`:`tertiary`}(${b(t)}))`,{marginTop:1,marginBottom:1}),Fe=L(1),Ie=L(2),Le=L(3),Re=L(4),ze=L(5),Be=L(6);function Ve(e,t){return E(e.nodeName,`divider({ border: \"primary\" })`,1,1)}function He(e,t){let n=u(e,`alt`,null),r=u(e,`src`,null),i=n||r?`[Image: ${n||r}]`:`[Image]`;return T(e.nodeName,y(i))}function Ue(e,t){let n=(u(e,`type`,`text`)||`text`).toLowerCase(),r=u(e,`value`,``)||``,i=u(e,`placeholder`,``)||``,a=u(e,`checked`,null)!==null;if(n===`hidden`)return null;if(n===`checkbox`)return T(e.nodeName,y(a?`[x]`:`[ ]`));if(n===`radio`)return T(e.nodeName,y(a?`(o)`:`( )`));if([`submit`,`button`,`reset`].includes(n))return T(e.nodeName,`bold(${JSON.stringify(`[ ${r||n} ]`)})`);if(n===`range`){let t=Number.parseFloat(u(e,`max`,`100`)||`100`),n=Number.parseFloat(u(e,`value`,`0`)||`0`),r=D(n,t,10,`=`,`-`);return T(e.nodeName,y(`[${r}] ${Math.round(n)}/${Math.round(t)}`))}return T(e.nodeName,y(`[${r||i}]`))}const We=g(e=>`bold(${JSON.stringify(`[ ${String(e??`button`)} ]`)})`),Ge=g(e=>y(e)),Ke=h((e,t)=>{let n=Number.parseInt(u(t,`rows`,`0`)||`0`,10),r=C(t);return r&&(n>1||r.includes(`\n`))?S(r):y(e)});function qe(e){return(e.childNodes??[]).filter(e=>e.nodeName===`li`)}function R(e,t){let n=qe(e).map((e,n)=>{let r=w(C(e));return`${t(n)} ${r}`.trimEnd()});return E(e.nodeName,y(n.join(`\n`)),1,1)}function z(e,t){let n=u(e,`type`,`disc`)||`disc`,r=n===`square`?`▪`:n===`circle`?`◦`:`•`;return R(e,()=>r)}function Je(e,t){let n=Number.parseInt(u(e,`start`,`1`)||`1`,10);return R(e,e=>`${n+e}.`)}function B(e,t){let n=w(C(e));return E(e.nodeName,y(n))}const Ye=g((e,t)=>{let n=d(t).find(e=>e.startsWith(`message-type-`))?.replace(`message-type-`,``);(!n||!i.includes(n))&&(n=`info`);let r=t.childNodes?.find(e=>e.type===`message-header`||e.type===`message-title`)?.value;return`${n}(${e?`\\`${O(e)}\\``:`''`}${r?`, \\`${O(r)}\\``:``})`});function Xe(e,t){let n=Number.parseFloat(u(e,`min`,`0`)||`0`),r=Number.parseFloat(u(e,`max`,`1`)||`1`),i=Number.parseFloat(u(e,`value`,String(n))||String(n)),a=Math.max(0,i-n),o=Math.max(1,r-n),s=C(e).trim(),c=Math.round(a/o*100),l=D(a,o,10,`#`,`-`);return T(e.nodeName,y(`${s?`${s} `:``}[${l}] ${c}%`))}function Ze(e,t){let n=Number.parseFloat(u(e,`max`,`1`)||`1`),r=Number.parseFloat(u(e,`value`,`0`)||`0`),i=C(e).trim(),a=Math.round(Math.max(0,r)/Math.max(1,n)*100),o=D(r,n,10,`=`,`-`);return T(e.nodeName,y(`${i?`${i} `:``}[${o}] ${a}%`))}const Qe=g(e=>y(e)),$e=g(e=>`textColors.body.primary(${JSON.stringify(` (${String(e??``)})`)})`),et=_,tt=g(e=>y(e)),nt=h(e=>`bold(${b(e)})`);function V(e,t=``){let n=[];for(let r of e.childNodes??[]){if(r.nodeName===`optgroup`){let e=u(r,`label`,``)||w(C(r));n.push(`${t}${e}:`),n.push(...V(r,`${t} `));continue}if(r.nodeName===`option`){let e=u(r,`selected`,null)!==null;n.push(`${t}${e?`*`:`-`} ${w(C(r))}`)}}return n}function rt(e,t){let n=V(e);return E(e.nodeName,y(n.join(`\n`)),1,1)}const it=g(e=>y(e));function H(e){if(!e?.childNodes)return[];let t=[];for(let n of e.childNodes){if(n.nodeName===`tr`){t.push(n);continue}[`thead`,`tbody`,`tfoot`].includes(n.nodeName??``)&&t.push(...H(n))}return t}function at(e){return(e.childNodes??[]).filter(e=>[`td`,`th`].includes(e.nodeName??``)).map(e=>w(C(e)))}const ot=h(e=>`italic(${b(e)})`),st=h(),ct=h(),lt=h(),ut=h(),dt=h(),U=h(),ft=h(e=>y(e)),pt=h(e=>`bold(${b(e)})`);function mt(e,t){let n=H(e).map(at).filter(e=>e.length>0);return E(e.nodeName,`table(${JSON.stringify(n)})`,1,1)}const W=g(e=>y(e)),G=g(e=>`bold(${b(e)})`),K=g(e=>`italic(${b(e)})`),q=g(e=>`underline(${b(e)})`),J=g(e=>`strikethrough(${b(e)})`),Y=g(e=>x(e));var X={\"#text\":te,a:ne,abbr:v,acronym:re,address:oe,applet:_,area:_,article:pe,aside:ve,audio:_,b:G,base:_,basefont:_,bdi:W,bdo:W,bgsound:_,big:W,blink:se,dialog:P,div:de,blockquote:F,body:Ae,bold:G,br:ye,button:We,canvas:_,caption:ot,center:be,cite:K,code:xe,col:dt,colgroup:U,data:Ce,datalist:_,dd:Ee,del:J,details:Oe,dfn:ie,footer:me,form:j,dl:we,dt:Te,em:K,embed:_,fieldset:Me,figcaption:Ne,figure:Pe,font:W,frame:_,frameset:_,h1:Fe,h2:Ie,h3:Le,h4:Re,h5:ze,h6:Be,head:_,header:fe,hgroup:N,hr:Ve,html:ke,i:K,iframe:_,img:He,input:Ue,ins:q,italic:K,kbd:Y,keygen:_,label:ue,legend:je,li:B,link:_,main:ge,map:_,mark:g(e=>`underline(bold(${b(e)}))`),marquee:ce,math:_,menu:z,menuitem:B,message:Ye,meta:_,meter:Xe,nav:_e,nobr:W,noframes:_,noscript:_,object:_,ol:Je,optgroup:nt,option:tt,output:Ge,p:le,param:_,picture:M,plaintext:_,portal:_,pre:Se,progress:Ze,q:g(e=>y(`\"${String(e??``)}\"`)),rp:et,rt:$e,ruby:Qe,s:J,samp:Y,script:_,section:he,select:rt,slot:_,small:W,source:_,span:it,strike:J,strikethrough:J,strong:G,style:_,sub:W,summary:De,sup:W,svg:_,table:mt,tbody:lt,td:ft,template:_,textarea:Ke,tfoot:ut,th:pt,thead:ct,time:W,title:_,tr:st,track:_,tt:Y,u:q,ul:z,underline:q,var:Y,video:_,wbr:_,xmp:_};const Z=process.env.CACHE_RENDER!==`false`,Q=new WeakMap,ht=(e,t)=>{if(!Z||!e||typeof e!=`object`)return;let n=Q.get(e);if(n)return n.get(JSON.stringify({lineWidth:t.lineWidth,pre:t.pre,listDepth:t.listDepth,listType:t.listType,depth:t.depth}))},gt=(e,t,n)=>{if(!Z||!e||typeof e!=`object`)return;let r=Q.get(e);if(r||(r=new Map,Q.set(e,r)),r.set(JSON.stringify({lineWidth:t.lineWidth,pre:t.pre,listDepth:t.listDepth,listType:t.listType,depth:t.depth}),n),r.size>10){let e=r.keys().next().value;r.delete(e)}},$=(e,t,n=X.div)=>{if(!e)return null;let r=t.depth??0;if(r>=100)return null;let i={...t,depth:r+1},a=ht(e,i);if(a!==void 0)return a;let o=null;try{o=(X[e.nodeName||`#text`]||n)(e,i),gt(e,i,o)}catch{o=null}return o};function _t(t,n={}){return`${$(e(t,{sourceCodeLocationInfo:!0}),a(n))}\\n`}export{_t as t};\n//# sourceMappingURL=html-DzwMMQv6.mjs.map"],"mappings":";;;;;;;;;;AAAwM,MAAM,KAAE,OAAI;CAAC,KAAI,CAAC;CAAE,WAAU;CAAI,WAAU,CAAC;CAAE,OAAM;CAAE,WAAU,CAAC;CAAE,GAAG;CAAE,GAAE,KAAE,MAAG;AAAC,KAAG,KAAG,KAAK,QAAO;CAAE,IAAI,IAAE,OAAO,EAAE;AAAC,QAAO,OAAO,SAAS,EAAE,GAAC,IAAE;GAAG,KAAG,GAAE,MAAI;AAAC,KAAG,CAAC,KAAG,CAAC,EAAE,QAAO;AAAK,KAAG,GAAE;EAAC,IAAI,IAAE,EAAE,EAAE,UAAU,EAAC,IAAE,EAAE,EAAE,aAAa;AAAC,SAAM;GAAC,GAAG;GAAE,WAAU;GAAE,cAAa;GAAE;;AAAC,KAAG,GAAE;EAAC,IAAI,IAAE,EAAE,EAAE,UAAU,EAAC,IAAE,EAAE,EAAE,aAAa;AAAC,SAAM;GAAC,GAAG;GAAE,WAAU;GAAE,cAAa;GAAE;;CAAC,IAAI,IAAE,EAAE,EAAE,UAAU,EAAC,IAAE,EAAE,EAAE,aAAa,EAAC,IAAE,EAAE,EAAE,UAAU,EAAC,IAAE,EAAE,EAAE,aAAa;AAAC,KAAG,CAAC,EAAE,MAAM,QAAM;EAAC,WAAU;EAAE,OAAM,EAAE;EAAM,cAAa,KAAK,IAAI,GAAE,GAAE,EAAE;EAAC;AAAC,KAAG,CAAC,EAAE,MAAM,QAAM;EAAC,WAAU,KAAK,IAAI,GAAE,GAAE,EAAE;EAAC,OAAM,EAAE;EAAM,cAAa;EAAE;CAAC,IAAI,IA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AAE,EAAC,IAAE,GAAG,GAAE,EAAE;AAAC,KAAG,MAAI,KAAK,EAAE,QAAO;CAAE,IAAI,IAAE;AAAK,KAAG;AAAC,OAAG,EAAE,EAAE,YAAU,YAAU,GAAG,GAAE,EAAE,EAAC,GAAG,GAAE,GAAE,EAAE;SAAM;AAAC,MAAE;;AAAK,QAAO;;AAAG,SAAS,GAAG,GAAE,IAAE,EAAE,EAAC;AAAC,QAAM,GAAG,EAAEC,MAAE,GAAE,EAAC,wBAAuB,CAAC,GAAE,CAAC,EAAC,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_markdown_CLMRZZ3Y = require('../markdown-CLMRZZ3Y.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
-
const
|
|
2
|
+
const require_html_DzwMMQv6 = require('./html-DzwMMQv6.cjs');
|
|
3
3
|
const require_index = require('../../../node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs');
|
|
4
4
|
const require_index$1 = require('../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs');
|
|
5
5
|
require('../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs');
|
|
@@ -15,7 +15,7 @@ const require_index$11 = require('../../../node_modules/.pnpm/markdown-it-task-l
|
|
|
15
15
|
let _shell_shock_plugin_theme_helpers_constants = require("@shell-shock/plugin-theme/helpers/constants");
|
|
16
16
|
let _stryke_string_format = require("@stryke/string-format");
|
|
17
17
|
|
|
18
|
-
//#region ../unified/dist/markdown-
|
|
18
|
+
//#region ../unified/dist/markdown-CLMRZZ3Y.mjs
|
|
19
19
|
var import_markdown_it_task_lists = /* @__PURE__ */ require_runtime.__toESM(require_index$11.default, 1);
|
|
20
20
|
const m = () => {
|
|
21
21
|
let e = require_index$1.default({
|
|
@@ -39,7 +39,7 @@ const m = () => {
|
|
|
39
39
|
return e.renderer.rules.footnote_anchor = () => ``, e;
|
|
40
40
|
}, h = (e) => m().render(e);
|
|
41
41
|
function g(t, n = {}) {
|
|
42
|
-
return
|
|
42
|
+
return require_html_DzwMMQv6._t(h(t), n);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __toESM } from "../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
-
import { _t } from "./html-
|
|
2
|
+
import { _t } from "./html-DzwMMQv6.mjs";
|
|
3
3
|
import { t } from "../../../node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs";
|
|
4
4
|
import MarkdownIt from "../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs";
|
|
5
5
|
import "../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs";
|
|
@@ -15,7 +15,7 @@ import { require_markdown_it_task_lists } from "../../../node_modules/.pnpm/mark
|
|
|
15
15
|
import { THEME_MESSAGE_VARIANTS } from "@shell-shock/plugin-theme/helpers/constants";
|
|
16
16
|
import { titleCase } from "@stryke/string-format";
|
|
17
17
|
|
|
18
|
-
//#region ../unified/dist/markdown-
|
|
18
|
+
//#region ../unified/dist/markdown-CLMRZZ3Y.mjs
|
|
19
19
|
var import_markdown_it_task_lists = /* @__PURE__ */ __toESM(require_markdown_it_task_lists(), 1);
|
|
20
20
|
const m = () => {
|
|
21
21
|
let e = MarkdownIt({
|
|
@@ -44,4 +44,4 @@ function g(t, n = {}) {
|
|
|
44
44
|
|
|
45
45
|
//#endregion
|
|
46
46
|
export { g };
|
|
47
|
-
//# sourceMappingURL=markdown-
|
|
47
|
+
//# sourceMappingURL=markdown-CLMRZZ3Y.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-
|
|
1
|
+
{"version":3,"file":"markdown-CLMRZZ3Y.mjs","names":["i","c","l","u","s","a","o","f","d","p","n","t","r","e"],"sources":["../../../../../unified/dist/markdown-CLMRZZ3Y.mjs"],"sourcesContent":["import{t as e}from\"./html-DzwMMQv6.mjs\";import{THEME_MESSAGE_VARIANTS as t}from\"@shell-shock/plugin-theme/helpers/constants\";import{alert as n}from\"@mdit/plugin-alert\";import{titleCase as r}from\"@stryke/string-format\";import i from\"markdown-it\";import a from\"markdown-it-abbr\";import o from\"markdown-it-container\";import s from\"markdown-it-deflist\";import c from\"markdown-it-footnote\";import l from\"markdown-it-ins\";import u from\"markdown-it-mark\";import d from\"markdown-it-sub\";import f from\"markdown-it-sup\";import p from\"markdown-it-task-lists\";const m=()=>{let e=i({html:!0,langPrefix:`language-`,linkify:!0}).use(c).use(l).use(u).use(s).use(a).use(o).use(f).use(d).use(p).use(n,{deep:!1,openRender(e,n){let r=e[n],i=`info`;return t.includes(r?.markup)&&(i=r?.markup),`<message class=\"message-type-${i}\">`},closeRender(){return`</message>`},titleRender(e,t){let n=e[t];return`<message-header>${r(n?.content||``)}</message-header>`}});return e.renderer.rules.footnote_anchor=()=>``,e},h=e=>m().render(e);function g(t,n={}){return e(h(t),n)}export{g as t};\n//# sourceMappingURL=markdown-CLMRZZ3Y.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAAoiB,MAAM,UAAM;CAAC,IAAI,IAAEA,WAAE;EAAC,MAAK,CAAC;EAAE,YAAW;EAAY,SAAQ,CAAC;EAAE,CAAC,CAAC,IAAIC,gBAAE,CAAC,IAAIC,WAAE,CAAC,IAAIC,aAAE,CAAC,IAAIC,eAAE,CAAC,IAAIC,YAAE,CAAC,IAAIC,iBAAE,CAAC,IAAIC,WAAE,CAAC,IAAIC,WAAE,CAAC,IAAIC,sCAAE,CAAC,IAAIC,GAAE;EAAC,MAAK,CAAC;EAAE,WAAW,GAAE,GAAE;GAAC,IAAI,IAAE,EAAE,IAAG,IAAE;AAAO,UAAOC,uBAAE,SAAS,GAAG,OAAO,KAAG,IAAE,GAAG,SAAQ,gCAAgC,EAAE;;EAAK,cAAa;AAAC,UAAM;;EAAc,YAAY,GAAE,GAAE;GAAC,IAAI,IAAE,EAAE;AAAG,UAAM,mBAAmBC,UAAE,GAAG,WAAS,GAAG,CAAC;;EAAoB,CAAC;AAAC,QAAO,EAAE,SAAS,MAAM,wBAAoB,IAAG;GAAG,KAAE,MAAG,GAAG,CAAC,OAAO,EAAE;AAAC,SAAS,EAAE,GAAE,IAAE,EAAE,EAAC;AAAC,QAAOC,GAAE,EAAE,EAAE,EAAC,EAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/preset-cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
|
|
6
6
|
"keywords": [
|
|
@@ -181,24 +181,24 @@
|
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
183
183
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
184
|
-
"@powerlines/deepkit": "^0.8.
|
|
185
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
186
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
187
|
-
"@shell-shock/core": "^0.17.
|
|
188
|
-
"@shell-shock/plugin-banner": "^0.1.
|
|
189
|
-
"@shell-shock/plugin-completions": "^0.4.
|
|
190
|
-
"@shell-shock/plugin-console": "^0.2.
|
|
191
|
-
"@shell-shock/plugin-help": "^0.2.
|
|
192
|
-
"@shell-shock/plugin-prompts": "^0.3.
|
|
193
|
-
"@shell-shock/plugin-theme": "^0.4.
|
|
194
|
-
"@shell-shock/plugin-upgrade": "^0.1.
|
|
195
|
-
"@shell-shock/preset-script": "^0.6.
|
|
184
|
+
"@powerlines/deepkit": "^0.8.2",
|
|
185
|
+
"@powerlines/plugin-alloy": "^0.26.18",
|
|
186
|
+
"@powerlines/plugin-plugin": "^0.12.350",
|
|
187
|
+
"@shell-shock/core": "^0.17.7",
|
|
188
|
+
"@shell-shock/plugin-banner": "^0.1.34",
|
|
189
|
+
"@shell-shock/plugin-completions": "^0.4.15",
|
|
190
|
+
"@shell-shock/plugin-console": "^0.2.11",
|
|
191
|
+
"@shell-shock/plugin-help": "^0.2.25",
|
|
192
|
+
"@shell-shock/plugin-prompts": "^0.3.48",
|
|
193
|
+
"@shell-shock/plugin-theme": "^0.4.20",
|
|
194
|
+
"@shell-shock/plugin-upgrade": "^0.1.52",
|
|
195
|
+
"@shell-shock/preset-script": "^0.6.62",
|
|
196
196
|
"@stryke/path": "^0.27.4",
|
|
197
197
|
"@stryke/string-format": "^0.17.9",
|
|
198
198
|
"@stryke/type-checks": "^0.6.1",
|
|
199
199
|
"cfonts": "^3.3.1",
|
|
200
200
|
"defu": "^6.1.7",
|
|
201
|
-
"powerlines": "^0.42.
|
|
201
|
+
"powerlines": "^0.42.40"
|
|
202
202
|
},
|
|
203
203
|
"devDependencies": {
|
|
204
204
|
"@stryke/types": "^0.11.3",
|
|
@@ -256,5 +256,5 @@
|
|
|
256
256
|
"uc.micro": "2.1.0",
|
|
257
257
|
"wrap-ansi": "10.0.0"
|
|
258
258
|
},
|
|
259
|
-
"gitHead": "
|
|
259
|
+
"gitHead": "dcc6ef2c66de17416af3242b25b977c49974b4a1"
|
|
260
260
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"html-BwC2s0z0.mjs","names":["r","t","n","i","e"],"sources":["../../../../../unified/dist/html-BwC2s0z0.mjs"],"sourcesContent":["import{parse as e}from\"parse5\";import t from\"he\";import n from\"normalize-html-whitespace\";import r from\"wrap-ansi\";import{THEME_MESSAGE_VARIANTS as i}from\"@shell-shock/plugin-theme/helpers/constants\";const a=e=>({pre:!1,lineWidth:120,fontAttrs:!0,depth:0,asciiMode:!1,...e}),o=e=>{if(e==null)return 0;let t=Number(e);return Number.isFinite(t)?t:0},s=(e,t)=>{if(!e&&!t)return null;if(e){let e=o(t.marginTop),n=o(t.marginBottom);return{...t,marginTop:e,marginBottom:n}}if(t){let t=o(e.marginTop),n=o(e.marginBottom);return{...e,marginTop:t,marginBottom:n}}let n=o(e.marginTop),r=o(e.marginBottom),i=o(t.marginTop),a=o(t.marginBottom);if(!t.value)return{marginTop:n,value:e.value,marginBottom:Math.max(r,i,a)};if(!e.value)return{marginTop:Math.max(n,r,i),value:t.value,marginBottom:a};let s=Math.max(r,i);return{marginTop:n,value:`${e.value}${`\n`.repeat(s)}${t.value}`,marginBottom:a}},c=(e,t)=>e==null&&t==null?null:e==null?t:t==null?e:t.value==null?{pre:e.pre,value:e.value,post:e.post??t.pre??t.post??``,type:`inline`,nodeName:e.nodeName}:e.value==null?{pre:e.pre??e.post??t.pre??``,value:t.value,post:t.post,type:`inline`,nodeName:t.nodeName}:e.post==null?t.pre==null?{pre:e.pre,value:`${e.value}${t.value}`,post:t.post,type:`inline`,nodeName:t.nodeName}:{pre:e.pre,value:`${e.value}${t.pre}${t.value}`,post:t.post,type:`inline`,nodeName:t.nodeName}:{pre:e.pre,value:`${e.value}${e.post}${t.value}`,post:t.post,type:`inline`,nodeName:t.nodeName},l=new WeakMap,u=(e,t,n=null)=>{if(!e||typeof e!=`object`||!t||typeof t!=`string`)return n;let r=l.get(e);if(r){let e=r.get(t);if(e!==void 0)return e??n}if(!e.attrs||!Array.isArray(e.attrs)||e.attrs.length===0)return r||(r=new Map,l.set(e,r)),r.set(t,null),n;let i=e.attrs.find(e=>e&&typeof e==`object`&&e.name===t);if(r||(r=new Map,l.set(e,r)),!i||i.value===void 0)return r.set(t,null),n;let a=i.value;return r.set(t,a),a};function d(e){let t=u(e,`class`,null);return t?t.split(/\\s+/).map(e=>e.trim()).filter(e=>e.length>0):[]}const f=(e,t)=>r(e,t.lineWidth??80,{trim:!t.pre}),p=t.decode,ee=n,m=e=>e?{...e,marginTop:0,marginBottom:0,type:`block`,nodeName:`#blockTag`}:null,te=(e,t)=>{let n=String(e.value??``);if(t.pre)return{pre:null,value:p(n),post:null,type:`inline`,nodeName:`#text`};let r=[...(ee(n)||``).replaceAll(`\n`,` `)],i=[` `,`\n`].includes(r[0]??``)?r.shift()??null:null,a=[` `,`\n`].includes(r.at(-1)??``)?r.pop()??null:null;return{pre:i,value:r.length>0?`${p(r.join(``))}`:null,post:a,type:`inline`,nodeName:`#text`}};function h(e,t){return(n,r)=>{let i=e??(e=>e);if(!n||!n.childNodes)return null;let a=Number.parseInt(u(n,`start`,`1`)??`1`,10),o=n.childNodes.reduce((e,t)=>{let n=$(t,{...r,liItemNumber:a});return n?(n.nodeName===`li`&&(a+=1),n.type===`inline`?{block:e.block,inline:c(e.inline,n)}:(e.inline&&e.inline.value&&(e.inline.value=f(e.inline.value,r)),e.block=s(e.block??null,m(e.inline)??null),e.block=s(e.block??null,n),{block:e.block,inline:null})):e},{block:null,inline:null});o.inline&&o.inline.value&&(o.inline.value=f(o.inline.value,r)),o.block=s(o.block??null,m(o.inline)??null);let l=t?.marginTop??0;l=!r||!r.pre?l+1:l;let d=t?.marginBottom??0;return d=!r||!r.pre?d+1:d,!o.block||!o.block.value?{marginTop:l,value:``,marginBottom:d,type:`block`,nodeName:n.nodeName}:{marginTop:o.block.marginTop&&o.block.marginTop>l?o.block.marginTop:l,value:i(o.block.value,n,r),marginBottom:o.block.marginBottom&&o.block.marginBottom>d?o.block.marginBottom:d,type:`block`,nodeName:n.nodeName}}}const g=e=>(t,n)=>{let r=e??(e=>e??null),i=X.span;if(!t||!t.childNodes)return;let a=t.childNodes.reduce((e,r)=>{let a=$(r,n,i);return a?{...c(e,a),type:`inline`,nodeName:t.nodeName}:e},null);return{pre:a?.pre?r(a.pre,t,n):null,value:r(a?.value,t,n),post:a?.post?r(a.post,t,n):null,type:`inline`,nodeName:t.nodeName}},_=()=>void 0,ne=g((e,t,n)=>{let r=u(t,`href`,null),i=u(t,`title`,null),a=!r||[`file://`,`http://`,`https://`,`mailto:`,`ftp://`,`ftps://`,`sftp://`,`ssh://`,`dav://`,`tel:`,`git://`].some(e=>r.startsWith(e))?r:null;return a?`link(\"${a}\", { ${i?`text: \"${i}\", `:``}${a&&(a.startsWith(`http://`)||a.startsWith(`https://`))?`external: true`:`external: false`} })`:i?`\"${i}\"`:``}),v=g((e,t)=>{let n=u(t,`title`,null);return e?n?`${e} (${n})`:e:``}),re=v,ie=v;function y(e){return`textColors.body.primary(${JSON.stringify(String(e??``))})`}function b(e){return JSON.stringify(String(e??``))}function x(e){return`inlineCode(${b(e)})`}function S(e,t){return`code(${JSON.stringify(e)}${t?`, ${JSON.stringify(t)}`:``})`}function C(e){return e?typeof e.value==`string`?e.value:!e.childNodes||e.childNodes.length===0?``:e.childNodes.map(e=>C(e)).join(``):``}function w(e){return e.replaceAll(/\\s+/g,` `).trim()}function T(e,t,n=null,r=null){return{pre:n,value:t,post:r,type:`inline`,nodeName:e}}function E(e,t,n=0,r=0){return{marginTop:n,value:t,marginBottom:r,type:`block`,nodeName:e}}function ae(e){if(!e)return null;let t=u(e,`class`,``)?.split(/\\s+/).map(e=>e.trim()).filter(Boolean)??[];for(let e of t){if(e.startsWith(`language-`))return e.slice(9)||null;if(e.startsWith(`lang-`))return e.slice(5)||null}return null}function D(e,t,n=10,r=`#`,i=`-`){if(!Number.isFinite(e)||!Number.isFinite(t)||t<=0)return i.repeat(n);let a=Math.max(0,Math.min(1,e/t)),o=Math.round(a*n);return r.repeat(o)+i.repeat(Math.max(n-o,0))}const oe=h(e=>y(e)),se=g(e=>y(e)),ce=g(e=>y(e));function O(e){return String(e??``).replaceAll(`\\\\`,`\\\\\\\\`).replaceAll(\"`\",\"\\\\`\").replaceAll(\"${\",\"\\\\${\").replaceAll(`\n`,`\\\\n`).replaceAll(`\\r`,`\\\\r`).replaceAll(`\t`,`\\\\t`)}const k=e=>h(e=>`textColors.body.primary(\\`${O(e)}\\`)`),A=e=>g(e=>`textColors.body.primary(\\`${O(e)}\\`)`),le=h(e=>`textColors.body.primary(\\`${O(e)}\\`)`,{marginTop:1,marginBottom:1}),ue=A(`label`);A(`blink`);const de=k(`div`),fe=k(`header`),pe=k(`article`),me=k(`footer`),he=k(`section`),ge=k(`main`),_e=k(`nav`),ve=k(`aside`),j=k(`form`),M=k(`picture`),N=k(`hgroup`),P=k(`dialog`),F=g(e=>`blockquote(${e?`\\`${O(e)}\\``:`''`})`),ye=()=>({pre:``,value:`\n`,post:``,type:`inline`}),be=h(e=>y(e)),xe=g(e=>x(e));function Se(e,t){let n=e.childNodes?.find(e=>e.nodeName===`code`)??null,r=C(n??e).replaceAll(/\\n+$/g,``),i=ae(n??e);return E(e.nodeName,S(r,i),1,1)}const Ce=g((e,t)=>{let n=u(t,`value`,null),r=String(e??``);return y(n&&r&&n!==r?`${r} (${n})`:r||n||``)}),we=h(void 0,{marginTop:1,marginBottom:1}),Te=h(e=>`bold(${b(e)})`),Ee=h(e=>y(` ${String(e??``)}`)),De=(e,t)=>({pre:null,value:`bold(${b(w(e.childNodes?.map(e=>e.value??``).join(``)??``))})`,post:null,type:`inline`,nodeName:e.nodeName});function Oe(e,t){let n=w((e.childNodes?.find(e=>e.nodeName===`summary`)??null)?.childNodes?.map(e=>e.value??``).join(``)??`Details`),r=w((e.childNodes??[]).filter(e=>e.nodeName!==`summary`).map(e=>typeof e.value==`string`?e.value:e.childNodes?.map(e=>e.value??``).join(``)??``).join(`\n`)),i=u(e,`open`,null)===null?`[+]`:`[-]`,a=r?`${i} ${n}\\n${r}`:`${i} ${n}`;return E(e.nodeName,`blockquote(${b(a)})`,1,1)}const I=h(),ke=I,Ae=I,je=g(e=>`bold(${b(e)})`);function Me(e,t){let n=w((e.childNodes?.find(e=>e.nodeName===`legend`)??null)?.childNodes?.map(e=>e.value??``).join(``)??``),r=w((e.childNodes??[]).filter(e=>e.nodeName!==`legend`).map(e=>typeof e.value==`string`?e.value:e.childNodes?.map(e=>e.value??``).join(``)??``).join(`\n`)),i=n?`${n}\\n${r}`.trim():r;return E(e.nodeName,`blockquote(${b(i)})`,1,1)}const Ne=h(e=>`italic(${b(e)})`);function Pe(e,t){let n=w((e.childNodes?.find(e=>e.nodeName===`figcaption`)??null)?.childNodes?.map(e=>e.value??``).join(``)??``),r=w((e.childNodes??[]).filter(e=>e.nodeName!==`figcaption`).map(e=>typeof e.value==`string`?e.value:e.childNodes?.map(e=>e.value??``).join(``)??``).join(`\n`)),i=n?`${r}\\n${n}`.trim():r;return E(e.nodeName,`blockquote(${b(i)})`,1,1)}const L=e=>h(t=>`bold(textColors.heading.${e===1?`primary`:e===2?`secondary`:`tertiary`}(${b(t)}))`,{marginTop:1,marginBottom:1}),Fe=L(1),Ie=L(2),Le=L(3),Re=L(4),ze=L(5),Be=L(6);function Ve(e,t){return E(e.nodeName,`divider({ border: \"primary\" })`,1,1)}function He(e,t){let n=u(e,`alt`,null),r=u(e,`src`,null),i=n||r?`[Image: ${n||r}]`:`[Image]`;return T(e.nodeName,y(i))}function Ue(e,t){let n=(u(e,`type`,`text`)||`text`).toLowerCase(),r=u(e,`value`,``)||``,i=u(e,`placeholder`,``)||``,a=u(e,`checked`,null)!==null;if(n===`hidden`)return null;if(n===`checkbox`)return T(e.nodeName,y(a?`[x]`:`[ ]`));if(n===`radio`)return T(e.nodeName,y(a?`(o)`:`( )`));if([`submit`,`button`,`reset`].includes(n))return T(e.nodeName,`bold(${JSON.stringify(`[ ${r||n} ]`)})`);if(n===`range`){let t=Number.parseFloat(u(e,`max`,`100`)||`100`),n=Number.parseFloat(u(e,`value`,`0`)||`0`),r=D(n,t,10,`=`,`-`);return T(e.nodeName,y(`[${r}] ${Math.round(n)}/${Math.round(t)}`))}return T(e.nodeName,y(`[${r||i}]`))}const We=g(e=>`bold(${JSON.stringify(`[ ${String(e??`button`)} ]`)})`),Ge=g(e=>y(e)),Ke=h((e,t)=>{let n=Number.parseInt(u(t,`rows`,`0`)||`0`,10),r=C(t);return n>1||r.includes(`\n`)?S(r):y(e)});function qe(e){return(e.childNodes??[]).filter(e=>e.nodeName===`li`)}function R(e,t){let n=qe(e).map((e,n)=>{let r=w(C(e));return`${t(n)} ${r}`.trimEnd()});return E(e.nodeName,y(n.join(`\n`)),1,1)}function z(e,t){let n=u(e,`type`,`disc`)||`disc`,r=n===`square`?`▪`:n===`circle`?`◦`:`•`;return R(e,()=>r)}function Je(e,t){let n=Number.parseInt(u(e,`start`,`1`)||`1`,10);return R(e,e=>`${n+e}.`)}function B(e,t){let n=w(C(e));return E(e.nodeName,y(n))}const Ye=g((e,t)=>{let n=d(t).find(e=>e.startsWith(`message-type-`))?.replace(`message-type-`,``);(!n||!i.includes(n))&&(n=`info`);let r=t.childNodes?.find(e=>e.type===`message-header`||e.type===`message-title`)?.value;return`${n}(${e?`\\`${O(e)}\\``:`''`}${r?`, \\`${O(r)}\\``:``})`});function Xe(e,t){let n=Number.parseFloat(u(e,`min`,`0`)||`0`),r=Number.parseFloat(u(e,`max`,`1`)||`1`),i=Number.parseFloat(u(e,`value`,String(n))||String(n)),a=Math.max(0,i-n),o=Math.max(1,r-n),s=C(e).trim(),c=Math.round(a/o*100),l=D(a,o,10,`#`,`-`);return T(e.nodeName,y(`${s?`${s} `:``}[${l}] ${c}%`))}function Ze(e,t){let n=Number.parseFloat(u(e,`max`,`1`)||`1`),r=Number.parseFloat(u(e,`value`,`0`)||`0`),i=C(e).trim(),a=Math.round(Math.max(0,r)/Math.max(1,n)*100),o=D(r,n,10,`=`,`-`);return T(e.nodeName,y(`${i?`${i} `:``}[${o}] ${a}%`))}const Qe=g(e=>y(e)),$e=g(e=>`textColors.body.primary(${JSON.stringify(` (${String(e??``)})`)})`),et=_,tt=g(e=>y(e)),nt=h(e=>`bold(${b(e)})`);function V(e,t=``){let n=[];for(let r of e.childNodes??[]){if(r.nodeName===`optgroup`){let e=u(r,`label`,``)||w(C(r));n.push(`${t}${e}:`),n.push(...V(r,`${t} `));continue}if(r.nodeName===`option`){let e=u(r,`selected`,null)!==null;n.push(`${t}${e?`*`:`-`} ${w(C(r))}`)}}return n}function rt(e,t){let n=V(e);return E(e.nodeName,y(n.join(`\n`)),1,1)}const it=g(e=>y(e));function H(e){if(!e?.childNodes)return[];let t=[];for(let n of e.childNodes){if(n.nodeName===`tr`){t.push(n);continue}[`thead`,`tbody`,`tfoot`].includes(n.nodeName??``)&&t.push(...H(n))}return t}function at(e){return(e.childNodes??[]).filter(e=>[`td`,`th`].includes(e.nodeName??``)).map(e=>w(C(e)))}const ot=h(e=>`italic(${b(e)})`),st=h(),ct=h(),lt=h(),ut=h(),dt=h(),U=h(),ft=h(e=>y(e)),pt=h(e=>`bold(${b(e)})`);function mt(e,t){let n=H(e).map(at).filter(e=>e.length>0);return E(e.nodeName,`table(${JSON.stringify(n)})`,1,1)}const W=g(e=>y(e)),G=g(e=>`bold(${b(e)})`),K=g(e=>`italic(${b(e)})`),q=g(e=>`underline(${b(e)})`),J=g(e=>`strikethrough(${b(e)})`),Y=g(e=>x(e));var X={\"#text\":te,a:ne,abbr:v,acronym:re,address:oe,applet:_,area:_,article:pe,aside:ve,audio:_,b:G,base:_,basefont:_,bdi:W,bdo:W,bgsound:_,big:W,blink:se,dialog:P,div:de,blockquote:F,body:Ae,bold:G,br:ye,button:We,canvas:_,caption:ot,center:be,cite:K,code:xe,col:dt,colgroup:U,data:Ce,datalist:_,dd:Ee,del:J,details:Oe,dfn:ie,footer:me,form:j,dl:we,dt:Te,em:K,embed:_,fieldset:Me,figcaption:Ne,figure:Pe,font:W,frame:_,frameset:_,h1:Fe,h2:Ie,h3:Le,h4:Re,h5:ze,h6:Be,head:_,header:fe,hgroup:N,hr:Ve,html:ke,i:K,iframe:_,img:He,input:Ue,ins:q,italic:K,kbd:Y,keygen:_,label:ue,legend:je,li:B,link:_,main:ge,map:_,mark:g(e=>`underline(bold(${b(e)}))`),marquee:ce,math:_,menu:z,menuitem:B,message:Ye,meta:_,meter:Xe,nav:_e,nobr:W,noframes:_,noscript:_,object:_,ol:Je,optgroup:nt,option:tt,output:Ge,p:le,param:_,picture:M,plaintext:_,portal:_,pre:Se,progress:Ze,q:g(e=>y(`\"${String(e??``)}\"`)),rp:et,rt:$e,ruby:Qe,s:J,samp:Y,script:_,section:he,select:rt,slot:_,small:W,source:_,span:it,strike:J,strikethrough:J,strong:G,style:_,sub:W,summary:De,sup:W,svg:_,table:mt,tbody:lt,td:ft,template:_,textarea:Ke,tfoot:ut,th:pt,thead:ct,time:W,title:_,tr:st,track:_,tt:Y,u:q,ul:z,underline:q,var:Y,video:_,wbr:_,xmp:_};const Z=process.env.CACHE_RENDER!==`false`,Q=new WeakMap,ht=(e,t)=>{if(!Z||!e||typeof e!=`object`)return;let n=Q.get(e);if(n)return n.get(JSON.stringify({lineWidth:t.lineWidth,pre:t.pre,listDepth:t.listDepth,listType:t.listType,depth:t.depth}))},gt=(e,t,n)=>{if(!Z||!e||typeof e!=`object`)return;let r=Q.get(e);if(r||(r=new Map,Q.set(e,r)),r.set(JSON.stringify({lineWidth:t.lineWidth,pre:t.pre,listDepth:t.listDepth,listType:t.listType,depth:t.depth}),n),r.size>10){let e=r.keys().next().value;r.delete(e)}},$=(e,t,n=X.div)=>{if(!e)return null;let r=t.depth??0;if(r>=100)return null;let i={...t,depth:r+1},a=ht(e,i);if(a!==void 0)return a;let o=null;try{o=(X[e.nodeName||`#text`]||n)(e,i),gt(e,i,o)}catch{o=null}return o};function _t(t,n={}){return`${$(e(t,{sourceCodeLocationInfo:!0}),a(n))}\\n`}export{_t as t};\n//# sourceMappingURL=html-BwC2s0z0.mjs.map"],"mappings":";;;;;;;;;;AAAwM,MAAM,KAAE,OAAI;CAAC,KAAI,CAAC;CAAE,WAAU;CAAI,WAAU,CAAC;CAAE,OAAM;CAAE,WAAU,CAAC;CAAE,GAAG;CAAE,GAAE,KAAE,MAAG;AAAC,KAAG,KAAG,KAAK,QAAO;CAAE,IAAI,IAAE,OAAO,EAAE;AAAC,QAAO,OAAO,SAAS,E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