@shell-shock/preset-script 0.4.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/banner-function-declaration.cjs +1 -1
- package/dist/components/banner-function-declaration.cjs.map +1 -1
- package/dist/components/banner-function-declaration.mjs +1 -1
- package/dist/components/banner-function-declaration.mjs.map +1 -1
- package/dist/components/bin-entry.cjs +1 -2
- package/dist/components/bin-entry.cjs.map +1 -1
- package/dist/components/bin-entry.d.cts.map +1 -1
- package/dist/components/bin-entry.d.mts.map +1 -1
- package/dist/components/bin-entry.mjs +1 -2
- package/dist/components/bin-entry.mjs.map +1 -1
- package/dist/components/command-entry.cjs +205 -7
- package/dist/components/command-entry.cjs.map +1 -1
- package/dist/components/command-entry.d.cts.map +1 -1
- package/dist/components/command-entry.d.mts.map +1 -1
- package/dist/components/command-entry.mjs +206 -8
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.cjs +5 -5
- package/dist/components/command-router.cjs.map +1 -1
- package/dist/components/command-router.d.cts +1 -1
- package/dist/components/command-router.d.cts.map +1 -1
- package/dist/components/command-router.d.mts +1 -1
- package/dist/components/command-router.d.mts.map +1 -1
- package/dist/components/command-router.mjs +5 -5
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/console-builtin.cjs +15 -10
- package/dist/components/console-builtin.cjs.map +1 -1
- package/dist/components/console-builtin.d.cts.map +1 -1
- package/dist/components/console-builtin.d.mts.map +1 -1
- package/dist/components/console-builtin.mjs +15 -10
- package/dist/components/console-builtin.mjs.map +1 -1
- package/dist/components/help.cjs +25 -18
- package/dist/components/help.cjs.map +1 -1
- package/dist/components/help.d.cts +9 -9
- package/dist/components/help.d.cts.map +1 -1
- package/dist/components/help.d.mts +9 -9
- package/dist/components/help.d.mts.map +1 -1
- package/dist/components/help.mjs +26 -19
- package/dist/components/help.mjs.map +1 -1
- package/dist/components/helpers.cjs +54 -0
- package/dist/components/helpers.cjs.map +1 -0
- package/dist/components/helpers.d.cts +29 -0
- package/dist/components/helpers.d.cts.map +1 -0
- package/dist/components/helpers.d.mts +29 -0
- package/dist/components/helpers.d.mts.map +1 -0
- package/dist/components/helpers.mjs +50 -0
- package/dist/components/helpers.mjs.map +1 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +2 -2
- package/dist/components/utils-builtin.cjs +160 -6
- package/dist/components/utils-builtin.cjs.map +1 -1
- package/dist/components/utils-builtin.d.cts +9 -8
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts +9 -8
- package/dist/components/utils-builtin.d.mts.map +1 -1
- package/dist/components/utils-builtin.mjs +161 -8
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +10 -7
- package/dist/components/virtual-command-entry.cjs.map +1 -1
- package/dist/components/virtual-command-entry.mjs +10 -7
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/helpers/ansi-utils.cjs +4 -4
- package/dist/helpers/ansi-utils.cjs.map +1 -1
- package/dist/helpers/ansi-utils.mjs +4 -4
- package/dist/helpers/ansi-utils.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -9
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_contexts_theme = require('../contexts/theme.cjs');
|
|
3
|
+
const require_components_helpers = require('./helpers.cjs');
|
|
3
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
5
6
|
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
@@ -738,15 +739,15 @@ function ColorsDeclaration() {
|
|
|
738
739
|
return colors.ansi16m.theme.text.usage.command;
|
|
739
740
|
}
|
|
740
741
|
})},
|
|
741
|
-
|
|
742
|
+
dynamic: ${(0, __alloy_js_core_jsx_runtime.createComponent)(ColorFunction, {
|
|
742
743
|
get ansi16() {
|
|
743
|
-
return colors.ansi16.theme.text.usage.
|
|
744
|
+
return colors.ansi16.theme.text.usage.dynamic;
|
|
744
745
|
},
|
|
745
746
|
get ansi256() {
|
|
746
|
-
return colors.ansi256.theme.text.usage.
|
|
747
|
+
return colors.ansi256.theme.text.usage.dynamic;
|
|
747
748
|
},
|
|
748
749
|
get ansi16m() {
|
|
749
|
-
return colors.ansi16m.theme.text.usage.
|
|
750
|
+
return colors.ansi16m.theme.text.usage.dynamic;
|
|
750
751
|
}
|
|
751
752
|
})},
|
|
752
753
|
options: ${(0, __alloy_js_core_jsx_runtime.createComponent)(ColorFunction, {
|
|
@@ -760,15 +761,15 @@ function ColorsDeclaration() {
|
|
|
760
761
|
return colors.ansi16m.theme.text.usage.options;
|
|
761
762
|
}
|
|
762
763
|
})},
|
|
763
|
-
|
|
764
|
+
arguments: ${(0, __alloy_js_core_jsx_runtime.createComponent)(ColorFunction, {
|
|
764
765
|
get ansi16() {
|
|
765
|
-
return colors.ansi16.theme.text.usage.
|
|
766
|
+
return colors.ansi16.theme.text.usage.arguments;
|
|
766
767
|
},
|
|
767
768
|
get ansi256() {
|
|
768
|
-
return colors.ansi256.theme.text.usage.
|
|
769
|
+
return colors.ansi256.theme.text.usage.arguments;
|
|
769
770
|
},
|
|
770
771
|
get ansi16m() {
|
|
771
|
-
return colors.ansi16m.theme.text.usage.
|
|
772
|
+
return colors.ansi16m.theme.text.usage.arguments;
|
|
772
773
|
}
|
|
773
774
|
})},
|
|
774
775
|
description: ${(0, __alloy_js_core_jsx_runtime.createComponent)(ColorFunction, {
|
|
@@ -2168,7 +2169,9 @@ function ConsoleBuiltin() {
|
|
|
2168
2169
|
timestamp: true,
|
|
2169
2170
|
get prefix() {
|
|
2170
2171
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.IfStatement, {
|
|
2171
|
-
condition
|
|
2172
|
+
get condition() {
|
|
2173
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_components_helpers.IsNotDebug, {});
|
|
2174
|
+
},
|
|
2172
2175
|
children: __alloy_js_core.code`return; `
|
|
2173
2176
|
});
|
|
2174
2177
|
}
|
|
@@ -2184,7 +2187,9 @@ function ConsoleBuiltin() {
|
|
|
2184
2187
|
timestamp: true,
|
|
2185
2188
|
get prefix() {
|
|
2186
2189
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.IfStatement, {
|
|
2187
|
-
condition
|
|
2190
|
+
get condition() {
|
|
2191
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_components_helpers.IsNotVerbose, {});
|
|
2192
|
+
},
|
|
2188
2193
|
children: __alloy_js_core.code`return; `
|
|
2189
2194
|
});
|
|
2190
2195
|
}
|