@shell-shock/preset-script 0.6.77 → 0.6.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/command-entry-BlT9_UEL.cjs +367 -0
  2. package/dist/command-entry-DWSekIys.mjs +339 -0
  3. package/dist/command-entry-DWSekIys.mjs.map +1 -0
  4. package/dist/components/bin-entry.cjs +20 -18
  5. package/dist/components/bin-entry.d.cts +2 -3
  6. package/dist/components/bin-entry.d.cts.map +1 -1
  7. package/dist/components/bin-entry.d.mts +2 -3
  8. package/dist/components/bin-entry.mjs +10 -6
  9. package/dist/components/command-entry.cjs +4 -204
  10. package/dist/components/command-entry.d.cts +1 -2
  11. package/dist/components/command-entry.d.cts.map +1 -1
  12. package/dist/components/command-entry.d.mts +1 -2
  13. package/dist/components/command-entry.mjs +2 -201
  14. package/dist/components/command-router.cjs +7 -7
  15. package/dist/components/command-router.d.cts +0 -1
  16. package/dist/components/command-router.d.cts.map +1 -1
  17. package/dist/components/command-router.d.mts +0 -1
  18. package/dist/components/command-router.mjs +3 -3
  19. package/dist/components/exit-function-declaration.cjs +11 -11
  20. package/dist/components/exit-function-declaration.d.cts.map +1 -1
  21. package/dist/components/exit-function-declaration.mjs +3 -3
  22. package/dist/components/index.cjs +6 -7
  23. package/dist/components/index.mjs +1 -2
  24. package/dist/components/virtual-command-entry.cjs +3 -154
  25. package/dist/components/virtual-command-entry.d.cts +1 -2
  26. package/dist/components/virtual-command-entry.d.cts.map +1 -1
  27. package/dist/components/virtual-command-entry.d.mts +1 -2
  28. package/dist/components/virtual-command-entry.mjs +2 -152
  29. package/dist/generator.cjs +108 -0
  30. package/dist/generator.d.cts +10 -0
  31. package/dist/generator.d.cts.map +1 -0
  32. package/dist/generator.d.mts +10 -0
  33. package/dist/generator.d.mts.map +1 -0
  34. package/dist/generator.mjs +107 -0
  35. package/dist/generator.mjs.map +1 -0
  36. package/dist/helpers/get-global-options.cjs +0 -1
  37. package/dist/helpers/get-global-options.d.cts +0 -1
  38. package/dist/helpers/get-global-options.d.cts.map +1 -1
  39. package/dist/helpers/get-global-options.d.mts +0 -1
  40. package/dist/index.cjs +9 -90
  41. package/dist/index.d.cts +2 -2
  42. package/dist/index.d.cts.map +1 -1
  43. package/dist/index.d.mts +2 -2
  44. package/dist/index.mjs +11 -89
  45. package/dist/types/index.cjs +1 -0
  46. package/dist/types/index.mjs +2 -0
  47. package/dist/types/plugin.d.cts +0 -1
  48. package/dist/types/plugin.d.cts.map +1 -1
  49. package/dist/types/plugin.d.mts +0 -1
  50. package/package.json +32 -18
  51. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  52. package/dist/components/command-entry.mjs.map +0 -1
  53. package/dist/components/virtual-command-entry.mjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,21 +1,10 @@
1
1
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
- const require_components_bin_entry = require('./components/bin-entry.cjs');
4
- const require_components_command_router = require('./components/command-router.cjs');
5
- const require_components_virtual_command_entry = require('./components/virtual-command-entry.cjs');
6
- const require_components_command_entry = require('./components/command-entry.cjs');
2
+ const require_generator = require('./generator.cjs');
7
3
  const require_helpers_get_global_options = require('./helpers/get-global-options.cjs');
8
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
9
- let _alloy_js_core = require("@alloy-js/core");
10
- let _alloy_js_typescript = require("@alloy-js/typescript");
11
- let _powerlines_plugin_alloy_core_components = require("@powerlines/plugin-alloy/core/components");
12
- let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
4
+ let _shell_shock_core_helpers_power_plant = require("@shell-shock/core/helpers/power-plant");
13
5
  let _shell_shock_plugin_banner = require("@shell-shock/plugin-banner");
14
- _shell_shock_plugin_banner = require_runtime.__toESM(_shell_shock_plugin_banner, 1);
15
6
  let _shell_shock_plugin_console = require("@shell-shock/plugin-console");
16
- _shell_shock_plugin_console = require_runtime.__toESM(_shell_shock_plugin_console, 1);
17
7
  let _shell_shock_plugin_help = require("@shell-shock/plugin-help");
18
- _shell_shock_plugin_help = require_runtime.__toESM(_shell_shock_plugin_help, 1);
19
8
 
20
9
  //#region src/index.tsx
21
10
  /**
@@ -23,9 +12,9 @@ _shell_shock_plugin_help = require_runtime.__toESM(_shell_shock_plugin_help, 1);
23
12
  */
24
13
  const plugin = (options = {}) => {
25
14
  return [
26
- ...(0, _shell_shock_plugin_console.default)(options),
27
- ...(0, _shell_shock_plugin_help.default)(options),
28
- ...(0, _shell_shock_plugin_banner.default)(options.banner),
15
+ ...(0, _shell_shock_plugin_console.plugin)(options),
16
+ ...(0, _shell_shock_plugin_help.plugin)(options),
17
+ ...(0, _shell_shock_plugin_banner.plugin)(options.banner),
29
18
  {
30
19
  name: "shell-shock/script-preset",
31
20
  config() {
@@ -39,79 +28,8 @@ const plugin = (options = {}) => {
39
28
  prepare: {
40
29
  order: "post",
41
30
  async handler() {
42
- const _self$ = this;
43
- this.debug("Rendering entrypoint modules for the Shell Shock `script` preset.");
44
- return (0, _powerlines_plugin_alloy_render.render)(this, [(0, _alloy_js_core_jsx_runtime.createComponent)(require_components_bin_entry.BinEntry, {
45
- builtinImports: {
46
- console: [
47
- "divider",
48
- "stripAnsi",
49
- "writeLine",
50
- "splitText",
51
- "help"
52
- ],
53
- utils: ["isMinimal"],
54
- state: [
55
- "useArgs",
56
- "hasFlag",
57
- "isHelp"
58
- ]
59
- },
60
- get children() {
61
- return [
62
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
63
- get when() {
64
- return Object.keys(_self$.commands).length > 0;
65
- },
66
- get children() {
67
- return [
68
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
69
- "const": true,
70
- name: "args",
71
- type: "string[]",
72
- initializer: _alloy_js_core.code`useArgs();`
73
- }),
74
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
75
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_command_router.CommandRouter, {
76
- segments: [],
77
- get commands() {
78
- return _self$.commands ?? {};
79
- }
80
- }),
81
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
82
- ];
83
- }
84
- }),
85
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components.Spacing, {}),
86
- _alloy_js_core.code`await showBanner();`,
87
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components.Spacing, {}),
88
- _alloy_js_core.code`return showHelp();`
89
- ];
90
- }
91
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
92
- get when() {
93
- return Object.values(_self$.commands).length > 0;
94
- },
95
- get children() {
96
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
97
- get each() {
98
- return Object.values(_self$.commands);
99
- },
100
- doubleHardline: true,
101
- children: (child) => (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
102
- get when() {
103
- return child.virtual;
104
- },
105
- get fallback() {
106
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_command_entry.CommandEntry, { command: child });
107
- },
108
- get children() {
109
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_virtual_command_entry.VirtualCommandEntry, { command: child });
110
- }
111
- })
112
- });
113
- }
114
- })]);
31
+ this.debug("Rendering entrypoint modules via Power Plant for the Shell Shock `script` preset.");
32
+ return (0, _shell_shock_core_helpers_power_plant.executeCommandGenerator)(this, require_generator.default);
115
33
  }
116
34
  }
117
35
  }
@@ -120,4 +38,5 @@ const plugin = (options = {}) => {
120
38
 
121
39
  //#endregion
122
40
  exports.default = plugin;
123
- exports.plugin = plugin;
41
+ exports.plugin = plugin;
42
+ exports.scriptEntrypointGenerator = require_generator.default;
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
+ import scriptEntrypointGenerator from "./generator.cjs";
1
2
  import { ScriptPresetContext, ScriptPresetOptions } from "./types/plugin.cjs";
2
3
  import { Plugin } from "powerlines";
3
-
4
4
  //#region src/index.d.ts
5
5
  /**
6
6
  * The Shell Shock base plugin.
7
7
  */
8
8
  declare const plugin: <TContext extends ScriptPresetContext = ScriptPresetContext>(options?: ScriptPresetOptions) => Plugin<TContext>[];
9
9
  //#endregion
10
- export { plugin as default, plugin };
10
+ export { plugin as default, plugin, scriptEntrypointGenerator };
11
11
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AAqCA;cAAa,MAAA,oBACM,mBAAA,GAAsB,mBAAA,EAEvC,OAAA,GAAS,mBAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;;cAgCa,SACX,iBAAiB,sBAAsB,qBAEvC,UAAS,wBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
+ import scriptEntrypointGenerator from "./generator.mjs";
1
2
  import { ScriptPresetContext, ScriptPresetOptions } from "./types/plugin.mjs";
2
3
  import { Plugin } from "powerlines";
3
-
4
4
  //#region src/index.d.ts
5
5
  /**
6
6
  * The Shell Shock base plugin.
7
7
  */
8
8
  declare const plugin: <TContext extends ScriptPresetContext = ScriptPresetContext>(options?: ScriptPresetOptions) => Plugin<TContext>[];
9
9
  //#endregion
10
- export { plugin as default, plugin };
10
+ export { plugin as default, plugin, scriptEntrypointGenerator };
11
11
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,16 +1,9 @@
1
- import { BinEntry } from "./components/bin-entry.mjs";
2
- import { CommandRouter } from "./components/command-router.mjs";
3
- import { VirtualCommandEntry } from "./components/virtual-command-entry.mjs";
4
- import { CommandEntry } from "./components/command-entry.mjs";
1
+ import scriptEntrypointGenerator from "./generator.mjs";
5
2
  import { getGlobalOptions } from "./helpers/get-global-options.mjs";
6
- import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
7
- import { For, Show, code } from "@alloy-js/core";
8
- import { VarDeclaration } from "@alloy-js/typescript";
9
- import { Spacing } from "@powerlines/plugin-alloy/core/components";
10
- import { render } from "@powerlines/plugin-alloy/render";
11
- import banner from "@shell-shock/plugin-banner";
12
- import console from "@shell-shock/plugin-console";
13
- import help from "@shell-shock/plugin-help";
3
+ import { executeCommandGenerator } from "@shell-shock/core/helpers/power-plant";
4
+ import { plugin as plugin$1 } from "@shell-shock/plugin-banner";
5
+ import { plugin as plugin$2 } from "@shell-shock/plugin-console";
6
+ import { plugin as plugin$3 } from "@shell-shock/plugin-help";
14
7
 
15
8
  //#region src/index.tsx
16
9
  /**
@@ -18,9 +11,9 @@ import help from "@shell-shock/plugin-help";
18
11
  */
19
12
  const plugin = (options = {}) => {
20
13
  return [
21
- ...console(options),
22
- ...help(options),
23
- ...banner(options.banner),
14
+ ...plugin$2(options),
15
+ ...plugin$3(options),
16
+ ...plugin$1(options.banner),
24
17
  {
25
18
  name: "shell-shock/script-preset",
26
19
  config() {
@@ -34,79 +27,8 @@ const plugin = (options = {}) => {
34
27
  prepare: {
35
28
  order: "post",
36
29
  async handler() {
37
- const _self$ = this;
38
- this.debug("Rendering entrypoint modules for the Shell Shock `script` preset.");
39
- return render(this, [createComponent(BinEntry, {
40
- builtinImports: {
41
- console: [
42
- "divider",
43
- "stripAnsi",
44
- "writeLine",
45
- "splitText",
46
- "help"
47
- ],
48
- utils: ["isMinimal"],
49
- state: [
50
- "useArgs",
51
- "hasFlag",
52
- "isHelp"
53
- ]
54
- },
55
- get children() {
56
- return [
57
- createComponent(Show, {
58
- get when() {
59
- return Object.keys(_self$.commands).length > 0;
60
- },
61
- get children() {
62
- return [
63
- createComponent(VarDeclaration, {
64
- "const": true,
65
- name: "args",
66
- type: "string[]",
67
- initializer: code`useArgs();`
68
- }),
69
- createIntrinsic("hbr", {}),
70
- createComponent(CommandRouter, {
71
- segments: [],
72
- get commands() {
73
- return _self$.commands ?? {};
74
- }
75
- }),
76
- createIntrinsic("hbr", {})
77
- ];
78
- }
79
- }),
80
- createComponent(Spacing, {}),
81
- code`await showBanner();`,
82
- createComponent(Spacing, {}),
83
- code`return showHelp();`
84
- ];
85
- }
86
- }), createComponent(Show, {
87
- get when() {
88
- return Object.values(_self$.commands).length > 0;
89
- },
90
- get children() {
91
- return createComponent(For, {
92
- get each() {
93
- return Object.values(_self$.commands);
94
- },
95
- doubleHardline: true,
96
- children: (child) => createComponent(Show, {
97
- get when() {
98
- return child.virtual;
99
- },
100
- get fallback() {
101
- return createComponent(CommandEntry, { command: child });
102
- },
103
- get children() {
104
- return createComponent(VirtualCommandEntry, { command: child });
105
- }
106
- })
107
- });
108
- }
109
- })]);
30
+ this.debug("Rendering entrypoint modules via Power Plant for the Shell Shock `script` preset.");
31
+ return executeCommandGenerator(this, scriptEntrypointGenerator);
110
32
  }
111
33
  }
112
34
  }
@@ -114,5 +36,5 @@ const plugin = (options = {}) => {
114
36
  };
115
37
 
116
38
  //#endregion
117
- export { plugin as default, plugin };
39
+ export { plugin as default, plugin, scriptEntrypointGenerator };
118
40
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ require('./plugin.cjs');
@@ -1 +1,3 @@
1
+ import "./plugin.mjs";
2
+
1
3
  export { };
@@ -4,7 +4,6 @@ import { BannerPluginContext, BannerPluginOptions, BannerPluginResolvedConfig, B
4
4
  import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
5
5
  import { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig } from "@shell-shock/plugin-help";
6
6
  import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
7
-
8
7
  //#region src/types/plugin.d.ts
9
8
  type ScriptPresetOptions = Omit<Options, "globalOptions"> & ThemePluginOptions & ConsolePluginOptions & HelpPluginOptions & {
10
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;KAoDY,mBAAA,GAAsB,IAAA,CAAK,OAAA,qBACrC,kBAAA,GACA,oBAAA,GACA,iBAAA;;AAHF;;;;;;;;;;EAeI,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAAA;;;EAM/C,MAAA,GAAS,IAAA,CAAK,mBAAA;AAAA;AAAA,KAGN,sBAAA,GAAyB,UAAA,GACnC,mBAAA,GACA,qBAAA,GACA,uBAAA,GACA,oBAAA,GACA,sBAAA;AAAA,KAEU,0BAAA,GAA6B,cAAA,GACvC,mBAAA,GACA,yBAAA,GACA,2BAAA,GACA,wBAAA,GACA,0BAAA;AAAA,KAEU,mBAAA,yBACc,0BAAA,GACtB,0BAAA,IACA,kBAAA,CAAmB,eAAA,IACrB,OAAA,CAAQ,eAAA,IACR,kBAAA,CAAmB,eAAA,IACnB,oBAAA,CAAqB,eAAA,IACrB,iBAAA,CAAkB,eAAA,IAClB,mBAAA,CAAoB,eAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;KAoDY,sBAAsB,KAAK,4BACrC,qBACA,uBACA;;;;;;;;;;;;EAYE,gBACI,oBACE,SAAS,SAAS,OAAO,gBAAgB;;;;EAM/C,SAAS,KAAK;;KAGN,yBAAyB,aACnC,sBACA,wBACA,0BACA,uBACA;KAEU,6BAA6B,iBACvC,sBACA,4BACA,8BACA,2BACA;KAEU,oBACV,wBAAwB,6BACtB,8BACA,mBAAmB,mBACrB,QAAQ,mBACR,mBAAmB,mBACnB,qBAAqB,mBACrB,kBAAkB,mBAClB,oBAAoB"}
@@ -4,7 +4,6 @@ import { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPlu
4
4
  import { CommandBase, CommandOption, Context, Options, ResolvedConfig, UserConfig } from "@shell-shock/core";
5
5
  import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
6
6
  import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
7
-
8
7
  //#region src/types/plugin.d.ts
9
8
  type ScriptPresetOptions = Omit<Options, "globalOptions"> & ThemePluginOptions & ConsolePluginOptions & HelpPluginOptions & {
10
9
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/preset-script",
3
- "version": "0.6.77",
3
+ "version": "0.6.79",
4
4
  "private": false,
5
5
  "description": "A Shell Shock preset that generates a fully-featured script application.",
6
6
  "keywords": [
@@ -143,6 +143,20 @@
143
143
  "default": "./dist/components/virtual-command-entry.mjs"
144
144
  }
145
145
  },
146
+ "./generator": {
147
+ "require": {
148
+ "types": "./dist/generator.d.cts",
149
+ "default": "./dist/generator.cjs"
150
+ },
151
+ "import": {
152
+ "types": "./dist/generator.d.mts",
153
+ "default": "./dist/generator.mjs"
154
+ },
155
+ "default": {
156
+ "types": "./dist/generator.d.mts",
157
+ "default": "./dist/generator.mjs"
158
+ }
159
+ },
146
160
  "./helpers/get-global-options": {
147
161
  "require": {
148
162
  "types": "./dist/helpers/get-global-options.d.cts",
@@ -191,25 +205,25 @@
191
205
  "module": "./dist/index.mjs",
192
206
  "types": "./dist/index.d.cts",
193
207
  "typings": "dist/index.d.mts",
194
- "files": ["dist/**/*"],
208
+ "files": ["dist"],
195
209
  "dependencies": {
196
- "@alloy-js/core": "^0.23.1",
197
- "@alloy-js/typescript": "^0.23.0",
198
- "@powerlines/deepkit": "^0.9.91",
199
- "@powerlines/plugin-alloy": "^0.26.230",
200
- "@powerlines/plugin-plugin": "^0.12.549",
201
- "@shell-shock/core": "0.17.22",
202
- "@shell-shock/plugin-banner": "0.1.49",
203
- "@shell-shock/plugin-console": "0.2.26",
204
- "@shell-shock/plugin-help": "0.2.40",
205
- "@shell-shock/plugin-theme": "0.4.35",
206
- "@stryke/helpers": "^0.10.24",
207
- "@stryke/path": "^0.29.11",
208
- "@stryke/string-format": "^0.17.26",
210
+ "@alloy-js/core": "^0.24.1",
211
+ "@alloy-js/typescript": "^0.24.0",
212
+ "@power-plant/alloy-js": "^0.0.87",
213
+ "@powerlines/plugin-alloy": "^0.26.309",
214
+ "@powerlines/plugin-plugin": "^0.12.624",
215
+ "@shell-shock/core": "0.17.24",
216
+ "@shell-shock/plugin-banner": "0.1.51",
217
+ "@shell-shock/plugin-console": "0.2.28",
218
+ "@shell-shock/plugin-help": "0.2.42",
219
+ "@shell-shock/plugin-theme": "0.4.37",
220
+ "@stryke/helpers": "^0.10.48",
221
+ "@stryke/path": "^0.29.35",
222
+ "@stryke/string-format": "^0.17.50",
209
223
  "defu": "^6.1.7",
210
- "powerlines": "^0.47.137"
224
+ "powerlines": "^0.47.211"
211
225
  },
212
- "devDependencies": { "@types/node": "^25.9.3" },
226
+ "devDependencies": { "@types/node": "^25.9.5" },
213
227
  "publishConfig": { "access": "public" },
214
- "gitHead": "a6c69ec8211e244444893231fe37d7cfbe518fb1"
228
+ "gitHead": "06592cb0cccc2c7e9297af4c5138550e86fa4eec"
215
229
  }
@@ -1,29 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
- value: mod,
24
- enumerable: true
25
- }) : target, mod));
26
-
27
- //#endregion
28
-
29
- exports.__toESM = __toESM;
@@ -1 +0,0 @@
1
- {"version":3,"file":"command-entry.mjs","names":[],"sources":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"virtual-command-entry.mjs","names":[],"sources":[],"mappings":""}