@shell-shock/plugin-console 0.1.6 → 0.1.7
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/dist/components/console-builtin.cjs +4 -4
- package/dist/components/console-builtin.d.cts +1 -1
- package/dist/components/console-builtin.d.mts +1 -1
- package/dist/components/console-builtin.mjs +4 -4
- package/dist/components/console-builtin.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +3 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@ __shell_shock_plugin_theme = require_rolldown_runtime.__toESM(__shell_shock_plug
|
|
|
12
12
|
* A Shell Shock plugin to generate the `console` built-in module, which provides a set of commands for logging messages to the console and inspecting values. This plugin is designed to be used in conjunction with the `script` preset, but can also be used independently in any Shell Shock application.
|
|
13
13
|
*/
|
|
14
14
|
const plugin = (options = {}) => {
|
|
15
|
-
return [...(0, __shell_shock_plugin_theme.default)(
|
|
15
|
+
return [...(0, __shell_shock_plugin_theme.default)(options), {
|
|
16
16
|
name: "shell-shock:console",
|
|
17
17
|
config() {
|
|
18
18
|
this.debug("Providing default configuration for the Shell Shock `console` plugin.");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ConsolePluginContext, ConsolePluginOptions } from "./types/plugin.cjs";
|
|
1
|
+
import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "./types/plugin.cjs";
|
|
2
|
+
import "./types/index.cjs";
|
|
2
3
|
import { Plugin } from "powerlines";
|
|
3
4
|
|
|
4
5
|
//#region src/index.d.ts
|
|
@@ -8,5 +9,5 @@ import { Plugin } from "powerlines";
|
|
|
8
9
|
*/
|
|
9
10
|
declare const plugin: <TContext extends ConsolePluginContext = ConsolePluginContext>(options?: ConsolePluginOptions) => Plugin<TContext>[];
|
|
10
11
|
//#endregion
|
|
11
|
-
export { plugin as default, plugin };
|
|
12
|
+
export { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig, plugin as default, plugin };
|
|
12
13
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAgCA;AACmB,cADN,MACM,EAAA,CAAA,iBAAA,oBAAA,GAAuB,oBAAvB,CAAA,CAAA,OAAA,CAAA,EAER,oBAFQ,EAAA,GAGhB,MAHgB,CAGT,QAHS,CAAA,EAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ConsolePluginContext, ConsolePluginOptions } from "./types/plugin.mjs";
|
|
1
|
+
import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "./types/plugin.mjs";
|
|
2
|
+
import "./types/index.mjs";
|
|
2
3
|
import { Plugin } from "powerlines";
|
|
3
4
|
|
|
4
5
|
//#region src/index.d.ts
|
|
@@ -8,5 +9,5 @@ import { Plugin } from "powerlines";
|
|
|
8
9
|
*/
|
|
9
10
|
declare const plugin: <TContext extends ConsolePluginContext = ConsolePluginContext>(options?: ConsolePluginOptions) => Plugin<TContext>[];
|
|
10
11
|
//#endregion
|
|
11
|
-
export { plugin as default, plugin };
|
|
12
|
+
export { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig, plugin as default, plugin };
|
|
12
13
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAgCA;AACmB,cADN,MACM,EAAA,CAAA,iBAAA,oBAAA,GAAuB,oBAAvB,CAAA,CAAA,OAAA,CAAA,EAER,oBAFQ,EAAA,GAGhB,MAHgB,CAGT,QAHS,CAAA,EAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import theme from "@shell-shock/plugin-theme";
|
|
|
9
9
|
* A Shell Shock plugin to generate the `console` built-in module, which provides a set of commands for logging messages to the console and inspecting values. This plugin is designed to be used in conjunction with the `script` preset, but can also be used independently in any Shell Shock application.
|
|
10
10
|
*/
|
|
11
11
|
const plugin = (options = {}) => {
|
|
12
|
-
return [...theme(
|
|
12
|
+
return [...theme(options), {
|
|
13
13
|
name: "shell-shock:console",
|
|
14
14
|
config() {
|
|
15
15
|
this.debug("Providing default configuration for the Shell Shock `console` plugin.");
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["render","theme","ConsoleBuiltin","plugin","options","name","config","debug","prepare","_$createComponent"],"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 { render } from \"@powerlines/plugin-alloy/render\";\nimport theme from \"@shell-shock/plugin-theme\";\nimport type { Plugin } from \"powerlines\";\nimport { ConsoleBuiltin } from \"./components\";\nimport type {\n ConsolePluginContext,\n ConsolePluginOptions\n} from \"./types/plugin\";\n\n/**\n * A Shell Shock plugin to generate the `console` built-in module, which provides a set of commands for logging messages to the console and inspecting values. This plugin is designed to be used in conjunction with the `script` preset, but can also be used independently in any Shell Shock application.\n */\nexport const plugin = <\n TContext extends ConsolePluginContext = ConsolePluginContext\n>(\n options: ConsolePluginOptions = {}\n): Plugin<TContext>[] => {\n return [\n ...theme(
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["render","theme","ConsoleBuiltin","plugin","options","name","config","debug","prepare","_$createComponent"],"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 { render } from \"@powerlines/plugin-alloy/render\";\nimport theme from \"@shell-shock/plugin-theme\";\nimport type { Plugin } from \"powerlines\";\nimport { ConsoleBuiltin } from \"./components\";\nimport type {\n ConsolePluginContext,\n ConsolePluginOptions\n} from \"./types/plugin\";\n\nexport type * from \"./types\";\n\n/**\n * A Shell Shock plugin to generate the `console` built-in module, which provides a set of commands for logging messages to the console and inspecting values. This plugin is designed to be used in conjunction with the `script` preset, but can also be used independently in any Shell Shock application.\n */\nexport const plugin = <\n TContext extends ConsolePluginContext = ConsolePluginContext\n>(\n options: ConsolePluginOptions = {}\n): Plugin<TContext>[] => {\n return [\n ...theme(options),\n {\n name: \"shell-shock:console\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `console` plugin.\"\n );\n\n return options;\n },\n async prepare() {\n this.debug(\n \"Rendering command handling modules for the Shell Shock `console` plugin.\"\n );\n\n return render(this, <ConsoleBuiltin />);\n }\n }\n ] as Plugin<TContext>[];\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;AAgCA,MAAaG,UAGXC,UAAgC,EAAE,KACX;AACvB,QAAO,CACL,GAAGH,MAAMG,QAAQ,EACjB;EACEC,MAAM;EACNC,SAAS;AACP,QAAKC,MACH,wEACD;AAED,UAAOH;;EAET,MAAMI,UAAU;AACd,QAAKD,MACH,2EACD;AAED,UAAOP,OAAO,MAAIS,gBAAGP,gBAAc,EAAA,CAAG,CAAC;;EAE1C,CACF;;AAGH,kBAAeC"}
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
|
|
1
2
|
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types";
|
|
2
3
|
import { Context, ResolvedConfig } from "@shell-shock/core";
|
|
3
|
-
import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/types/plugin.d.ts
|
|
6
6
|
interface ConsolePluginOptions extends ThemePluginOptions {}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
|
|
1
2
|
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types";
|
|
2
3
|
import { Context, ResolvedConfig } from "@shell-shock/core";
|
|
3
|
-
import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme/types/plugin";
|
|
4
4
|
|
|
5
5
|
//#region src/types/plugin.d.ts
|
|
6
6
|
interface ConsolePluginOptions extends ThemePluginOptions {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/plugin-console",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to generate the `console` built-in module.",
|
|
6
6
|
"repository": {
|
|
@@ -126,17 +126,17 @@
|
|
|
126
126
|
"dependencies": {
|
|
127
127
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
128
128
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
129
|
-
"@powerlines/deepkit": "^0.6.
|
|
130
|
-
"@powerlines/plugin-alloy": "^0.
|
|
131
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
132
|
-
"@shell-shock/core": "^0.
|
|
133
|
-
"@shell-shock/plugin-theme": "^0.3.
|
|
134
|
-
"@stryke/string-format": "^0.14.
|
|
129
|
+
"@powerlines/deepkit": "^0.6.90",
|
|
130
|
+
"@powerlines/plugin-alloy": "^0.24.2",
|
|
131
|
+
"@powerlines/plugin-plugin": "^0.12.262",
|
|
132
|
+
"@shell-shock/core": "^0.11.0",
|
|
133
|
+
"@shell-shock/plugin-theme": "^0.3.11",
|
|
134
|
+
"@stryke/string-format": "^0.14.8",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
|
-
"powerlines": "^0.39.
|
|
136
|
+
"powerlines": "^0.39.19"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
139
|
+
"@powerlines/plugin-deepkit": "^0.11.190",
|
|
140
140
|
"@types/node": "^25.3.3"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": {
|
|
@@ -154,5 +154,5 @@
|
|
|
154
154
|
"./package.json": "./package.json"
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "6fbda1ffc234bdd12b5d0fd0a32e59727b369c5c"
|
|
158
158
|
}
|