@shell-shock/core 0.17.8 → 0.17.11
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/_virtual/_rolldown/runtime.cjs +29 -1
- package/dist/api.cjs +36 -1
- package/dist/api.cjs.map +1 -0
- package/dist/api.d.cts +2 -77
- package/dist/api.d.cts.map +1 -1
- package/dist/api.d.mts +2 -76
- package/dist/api.d.mts.map +1 -1
- package/dist/api.mjs +35 -1
- package/dist/api.mjs.map +1 -1
- package/dist/components/command-validation-logic.cjs +291 -1
- package/dist/components/command-validation-logic.cjs.map +1 -0
- package/dist/components/command-validation-logic.d.cts +1 -3
- package/dist/components/command-validation-logic.d.cts.map +1 -1
- package/dist/components/command-validation-logic.d.mts +1 -3
- package/dist/components/command-validation-logic.d.mts.map +1 -1
- package/dist/components/command-validation-logic.mjs +288 -1
- package/dist/components/command-validation-logic.mjs.map +1 -1
- package/dist/components/docs.cjs +265 -1
- package/dist/components/docs.cjs.map +1 -0
- package/dist/components/docs.d.cts +4 -5
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts +4 -5
- package/dist/components/docs.d.mts.map +1 -1
- package/dist/components/docs.mjs +256 -1
- package/dist/components/docs.mjs.map +1 -1
- package/dist/components/exec-builtin.cjs +429 -15
- package/dist/components/exec-builtin.cjs.map +1 -0
- package/dist/components/exec-builtin.d.cts +1 -2
- package/dist/components/exec-builtin.d.cts.map +1 -1
- package/dist/components/exec-builtin.d.mts +1 -2
- package/dist/components/exec-builtin.d.mts.map +1 -1
- package/dist/components/exec-builtin.mjs +424 -15
- package/dist/components/exec-builtin.mjs.map +1 -1
- package/dist/components/helpers.cjs +119 -1
- package/dist/components/helpers.cjs.map +1 -0
- package/dist/components/helpers.d.cts +6 -8
- package/dist/components/helpers.d.cts.map +1 -1
- package/dist/components/helpers.d.mts +6 -8
- package/dist/components/helpers.d.mts.map +1 -1
- package/dist/components/helpers.mjs +111 -1
- package/dist/components/helpers.mjs.map +1 -1
- package/dist/components/index.cjs +58 -1
- package/dist/components/index.mjs +10 -1
- package/dist/components/options-parser-logic.cjs +959 -5
- package/dist/components/options-parser-logic.cjs.map +1 -0
- package/dist/components/options-parser-logic.d.cts +8 -9
- package/dist/components/options-parser-logic.d.cts.map +1 -1
- package/dist/components/options-parser-logic.d.mts +8 -9
- package/dist/components/options-parser-logic.d.mts.map +1 -1
- package/dist/components/options-parser-logic.mjs +944 -5
- package/dist/components/options-parser-logic.mjs.map +1 -1
- package/dist/components/state-builtin.cjs +630 -8
- package/dist/components/state-builtin.cjs.map +1 -0
- package/dist/components/state-builtin.d.cts +4 -5
- package/dist/components/state-builtin.d.cts.map +1 -1
- package/dist/components/state-builtin.d.mts +4 -5
- package/dist/components/state-builtin.d.mts.map +1 -1
- package/dist/components/state-builtin.mjs +622 -8
- package/dist/components/state-builtin.mjs.map +1 -1
- package/dist/components/usage.cjs +116 -1
- package/dist/components/usage.cjs.map +1 -0
- package/dist/components/usage.d.cts +1 -2
- package/dist/components/usage.d.cts.map +1 -1
- package/dist/components/usage.d.mts +1 -2
- package/dist/components/usage.d.mts.map +1 -1
- package/dist/components/usage.mjs +113 -1
- package/dist/components/usage.mjs.map +1 -1
- package/dist/components/utils-builtin.cjs +839 -33
- package/dist/components/utils-builtin.cjs.map +1 -0
- package/dist/components/utils-builtin.d.cts +7 -8
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts +7 -8
- package/dist/components/utils-builtin.d.mts.map +1 -1
- package/dist/components/utils-builtin.mjs +828 -33
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/config.cjs +65 -1
- package/dist/config.cjs.map +1 -0
- package/dist/config.d.cts +29 -8
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +29 -8
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +62 -1
- package/dist/config.mjs.map +1 -1
- package/dist/contexts/command.cjs +26 -1
- package/dist/contexts/command.cjs.map +1 -0
- package/dist/contexts/command.d.cts.map +1 -1
- package/dist/contexts/command.d.mts.map +1 -1
- package/dist/contexts/command.mjs +23 -1
- package/dist/contexts/command.mjs.map +1 -1
- package/dist/contexts/index.cjs +9 -1
- package/dist/contexts/index.mjs +4 -1
- package/dist/contexts/options.cjs +63 -1
- package/dist/contexts/options.cjs.map +1 -0
- package/dist/contexts/options.d.cts.map +1 -1
- package/dist/contexts/options.d.mts.map +1 -1
- package/dist/contexts/options.mjs +57 -1
- package/dist/contexts/options.mjs.map +1 -1
- package/dist/engine.cjs +138 -0
- package/dist/engine.cjs.map +1 -0
- package/dist/engine.d.cts +79 -0
- package/dist/engine.d.cts.map +1 -0
- package/dist/engine.d.mts +79 -0
- package/dist/engine.d.mts.map +1 -0
- package/dist/engine.mjs +136 -0
- package/dist/engine.mjs.map +1 -0
- package/dist/helpers/automd.cjs +70 -1
- package/dist/helpers/automd.cjs.map +1 -0
- package/dist/helpers/automd.mjs +69 -1
- package/dist/helpers/automd.mjs.map +1 -1
- package/dist/helpers/docs-helpers.cjs +23 -1
- package/dist/helpers/docs-helpers.cjs.map +1 -0
- package/dist/helpers/docs-helpers.mjs +22 -1
- package/dist/helpers/docs-helpers.mjs.map +1 -1
- package/dist/helpers/get-framework.cjs +24 -0
- package/dist/helpers/get-framework.cjs.map +1 -0
- package/dist/helpers/get-framework.mjs +24 -0
- package/dist/helpers/get-framework.mjs.map +1 -0
- package/dist/helpers/paths.cjs +137 -1
- package/dist/helpers/paths.cjs.map +1 -0
- package/dist/helpers/paths.mjs +133 -1
- package/dist/helpers/paths.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +113 -1
- package/dist/helpers/persistence.cjs.map +1 -0
- package/dist/helpers/persistence.mjs +112 -1
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/update-package-json.cjs +65 -1
- package/dist/helpers/update-package-json.cjs.map +1 -0
- package/dist/helpers/update-package-json.mjs +63 -1
- package/dist/helpers/update-package-json.mjs.map +1 -1
- package/dist/helpers/utilities.cjs +95 -1
- package/dist/helpers/utilities.cjs.map +1 -0
- package/dist/helpers/utilities.mjs +93 -1
- package/dist/helpers/utilities.mjs.map +1 -1
- package/dist/helpers/validations.cjs +71 -1
- package/dist/helpers/validations.cjs.map +1 -0
- package/dist/helpers/validations.mjs +69 -1
- package/dist/helpers/validations.mjs.map +1 -1
- package/dist/index.cjs +123 -1
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +80 -5
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +80 -5
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +119 -1
- package/dist/index.mjs.map +1 -0
- package/dist/package.cjs +12 -0
- package/dist/package.cjs.map +1 -0
- package/dist/package.mjs +6 -0
- package/dist/package.mjs.map +1 -0
- package/dist/plugin-utils/compute-bin.cjs +48 -1
- package/dist/plugin-utils/compute-bin.cjs.map +1 -0
- package/dist/plugin-utils/compute-bin.d.cts +2 -2
- package/dist/plugin-utils/compute-bin.d.cts.map +1 -1
- package/dist/plugin-utils/compute-bin.d.mts +2 -2
- package/dist/plugin-utils/compute-bin.d.mts.map +1 -1
- package/dist/plugin-utils/compute-bin.mjs +47 -1
- package/dist/plugin-utils/compute-bin.mjs.map +1 -1
- package/dist/plugin-utils/context-helpers.cjs +224 -1
- package/dist/plugin-utils/context-helpers.cjs.map +1 -0
- package/dist/plugin-utils/context-helpers.d.cts +4 -4
- package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
- package/dist/plugin-utils/context-helpers.d.mts +4 -4
- package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
- package/dist/plugin-utils/context-helpers.mjs +214 -1
- package/dist/plugin-utils/context-helpers.mjs.map +1 -1
- package/dist/plugin-utils/deepkit.cjs +70 -1
- package/dist/plugin-utils/deepkit.cjs.map +1 -0
- package/dist/plugin-utils/deepkit.d.cts +5 -5
- package/dist/plugin-utils/deepkit.d.cts.map +1 -1
- package/dist/plugin-utils/deepkit.d.mts +5 -5
- package/dist/plugin-utils/deepkit.d.mts.map +1 -1
- package/dist/plugin-utils/deepkit.mjs +68 -1
- package/dist/plugin-utils/deepkit.mjs.map +1 -1
- package/dist/plugin-utils/description-helpers.cjs +112 -2
- package/dist/plugin-utils/description-helpers.cjs.map +1 -0
- package/dist/plugin-utils/description-helpers.d.cts.map +1 -1
- package/dist/plugin-utils/description-helpers.d.mts.map +1 -1
- package/dist/plugin-utils/description-helpers.mjs +107 -2
- package/dist/plugin-utils/description-helpers.mjs.map +1 -1
- package/dist/plugin-utils/get-command-tree.cjs +118 -1
- package/dist/plugin-utils/get-command-tree.cjs.map +1 -0
- package/dist/plugin-utils/get-command-tree.d.cts.map +1 -1
- package/dist/plugin-utils/get-command-tree.d.mts.map +1 -1
- package/dist/plugin-utils/get-command-tree.mjs +114 -1
- package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
- package/dist/plugin-utils/index.cjs +39 -1
- package/dist/plugin-utils/index.d.cts +2 -2
- package/dist/plugin-utils/index.d.mts +2 -2
- package/dist/plugin-utils/index.mjs +10 -1
- package/dist/plugin-utils/reflect.cjs +52 -1
- package/dist/plugin-utils/reflect.cjs.map +1 -0
- package/dist/plugin-utils/reflect.d.cts.map +1 -1
- package/dist/plugin-utils/reflect.d.mts.map +1 -1
- package/dist/plugin-utils/reflect.mjs +50 -1
- package/dist/plugin-utils/reflect.mjs.map +1 -1
- package/dist/plugin-utils/traverse-command-tree.cjs +65 -1
- package/dist/plugin-utils/traverse-command-tree.cjs.map +1 -0
- package/dist/plugin-utils/traverse-command-tree.d.cts.map +1 -1
- package/dist/plugin-utils/traverse-command-tree.d.mts.map +1 -1
- package/dist/plugin-utils/traverse-command-tree.mjs +62 -1
- package/dist/plugin-utils/traverse-command-tree.mjs.map +1 -1
- package/dist/plugin-utils/type-checks.cjs +222 -1
- package/dist/plugin-utils/type-checks.cjs.map +1 -0
- package/dist/plugin-utils/type-checks.d.cts +5 -5
- package/dist/plugin-utils/type-checks.d.cts.map +1 -1
- package/dist/plugin-utils/type-checks.d.mts +5 -5
- package/dist/plugin-utils/type-checks.d.mts.map +1 -1
- package/dist/plugin-utils/type-checks.mjs +217 -1
- package/dist/plugin-utils/type-checks.mjs.map +1 -1
- package/dist/plugin.cjs +495 -4
- package/dist/plugin.cjs.map +1 -0
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +488 -4
- package/dist/plugin.mjs.map +1 -1
- package/dist/resolver/helpers.cjs +182 -1
- package/dist/resolver/helpers.cjs.map +1 -0
- package/dist/resolver/helpers.mjs +178 -1
- package/dist/resolver/helpers.mjs.map +1 -1
- package/dist/resolver/resolve.cjs +479 -1
- package/dist/resolver/resolve.cjs.map +1 -0
- package/dist/resolver/resolve.mjs +478 -1
- package/dist/resolver/resolve.mjs.map +1 -1
- package/dist/types/command.cjs +402 -1
- package/dist/types/command.cjs.map +1 -0
- package/dist/types/command.d.cts +61 -119
- package/dist/types/command.d.cts.map +1 -1
- package/dist/types/command.d.mts +61 -119
- package/dist/types/command.d.mts.map +1 -1
- package/dist/types/command.mjs +367 -1
- package/dist/types/command.mjs.map +1 -1
- package/dist/types/config.cjs +175 -1
- package/dist/types/config.cjs.map +1 -0
- package/dist/types/config.d.cts +19 -12
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +19 -12
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/config.mjs +163 -1
- package/dist/types/config.mjs.map +1 -1
- package/dist/types/context.cjs +45 -1
- package/dist/types/context.cjs.map +1 -0
- package/dist/types/context.d.cts +3 -2
- package/dist/types/context.d.cts.map +1 -1
- package/dist/types/context.d.mts +3 -2
- package/dist/types/context.d.mts.map +1 -1
- package/dist/types/context.mjs +40 -1
- package/dist/types/context.mjs.map +1 -1
- package/dist/types/env.cjs +53 -1
- package/dist/types/env.cjs.map +1 -0
- package/dist/types/env.d.cts +1 -1
- package/dist/types/env.d.cts.map +1 -1
- package/dist/types/env.d.mts +1 -1
- package/dist/types/env.d.mts.map +1 -1
- package/dist/types/env.mjs +50 -1
- package/dist/types/env.mjs.map +1 -1
- package/dist/types/index.cjs +53 -1
- package/dist/types/index.d.cts +4 -4
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.mjs +6 -1
- package/dist/types/options.cjs +13 -1
- package/dist/types/options.cjs.map +1 -0
- package/dist/types/options.d.cts.map +1 -1
- package/dist/types/options.d.mts.map +1 -1
- package/dist/types/options.mjs +10 -1
- package/dist/types/options.mjs.map +1 -1
- package/package.json +43 -34
- package/dist/resolver/deepkit.cjs +0 -1
- package/dist/resolver/deepkit.mjs +0 -2
- package/dist/resolver/deepkit.mjs.map +0 -1
- package/dist/resolver/module.cjs +0 -1
- package/dist/resolver/module.mjs +0 -2
- package/dist/resolver/module.mjs.map +0 -1
package/dist/types/config.d.cts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { CommandBase, CommandOption } from "./command.cjs";
|
|
2
2
|
import { Context } from "./context.cjs";
|
|
3
|
-
import {
|
|
3
|
+
import { RequiredKeys } from "@stryke/types/base";
|
|
4
|
+
import { ConfigParams, OutputConfig as OutputConfig$1, UserConfig as UserConfig$1 } from "powerlines";
|
|
4
5
|
import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
|
|
5
6
|
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
6
|
-
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig
|
|
7
|
-
import { TsdownPluginResolvedConfig
|
|
7
|
+
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
8
|
+
import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
9
|
+
import { EngineOptions as EngineOptions$1 } from "powerlines/engine";
|
|
8
10
|
|
|
9
11
|
//#region src/types/config.d.ts
|
|
10
|
-
type BuildOptions = Pick<
|
|
12
|
+
type BuildOptions = Pick<UserConfig$1, "name" | "title" | "description" | "input" | "output" | "logLevel" | "mode" | "define" | "inject" | "resolve" | "organization" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
|
|
11
13
|
interface ReferenceOptions {
|
|
12
14
|
/**
|
|
13
15
|
* A URL to the application documentation or reference.
|
|
@@ -17,18 +19,18 @@ interface ReferenceOptions {
|
|
|
17
19
|
* A URL to the application command specific documentation or reference.
|
|
18
20
|
*
|
|
19
21
|
* @remarks
|
|
20
|
-
* This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{
|
|
22
|
+
* This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
21
23
|
*/
|
|
22
24
|
commands?: string;
|
|
23
25
|
}
|
|
24
|
-
|
|
26
|
+
interface BaseOptions {
|
|
25
27
|
/**
|
|
26
28
|
* A set of global command options to apply to each command.
|
|
27
29
|
*
|
|
28
30
|
* @remarks
|
|
29
31
|
* Each command will inherit these global options. To disable the addition of these global options, set this property to `false`, or provide a custom set of options/a function that returns them. A `GlobalOptions` interface will be created by the `shell-shock types` command and added to the generated `shell-shock.d.ts` file.
|
|
30
32
|
*/
|
|
31
|
-
globalOptions?: CommandOption[] | ((context: Context
|
|
33
|
+
globalOptions?: CommandOption[] | ((context: Context<any>, input: CommandBase) => CommandOption[]) | false;
|
|
32
34
|
/**
|
|
33
35
|
* Determines whether commands and option names are treated as case-sensitive.
|
|
34
36
|
*
|
|
@@ -60,10 +62,10 @@ type BaseOptions = Partial<BuildOptions> & {
|
|
|
60
62
|
* A URL to the application documentation or reference.
|
|
61
63
|
*
|
|
62
64
|
* @remarks
|
|
63
|
-
* This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{
|
|
65
|
+
* This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
64
66
|
*/
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
+
docs?: ReferenceOptions | string;
|
|
68
|
+
}
|
|
67
69
|
/**
|
|
68
70
|
* The plugin options for Shell Shock.
|
|
69
71
|
*/
|
|
@@ -80,12 +82,17 @@ type OutputConfig = Pick<OutputConfig$1, "path" | "copy" | "storage" | "sourceMa
|
|
|
80
82
|
/**
|
|
81
83
|
* The user configuration options for Shell Shock.
|
|
82
84
|
*/
|
|
83
|
-
type UserConfig = BaseOptions &
|
|
85
|
+
type UserConfig = BaseOptions & RequiredKeys<BuildOptions, "name"> & {
|
|
84
86
|
/**
|
|
85
87
|
* Configuration for the output of the build process
|
|
86
88
|
*/
|
|
87
89
|
output?: OutputConfig;
|
|
88
90
|
};
|
|
91
|
+
type UserConfigFnObject = (env: ConfigParams) => UserConfig | UserConfig[];
|
|
92
|
+
type UserConfigFnPromise = (env: ConfigParams) => Promise<UserConfig | UserConfig[]>;
|
|
93
|
+
type UserConfigFn = (env: ConfigParams) => UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]>;
|
|
94
|
+
type UserConfigExport = UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
95
|
+
type EngineOptions = Omit<EngineOptions$1, "root" | "name" | "framework">;
|
|
89
96
|
/**
|
|
90
97
|
* The resolved configuration options for Shell Shock.
|
|
91
98
|
*/
|
|
@@ -115,5 +122,5 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & A
|
|
|
115
122
|
userConfig: UserConfig;
|
|
116
123
|
};
|
|
117
124
|
//#endregion
|
|
118
|
-
export { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
|
|
125
|
+
export { EngineOptions, Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise };
|
|
119
126
|
//# sourceMappingURL=config.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;;;KAmCK,YAAA,GAAe,IAAI,CACtB,YAAA;AAAA,UAmBe,gBAAA;EApBZ;;;EAwBH,GAAA;EAvBoB;AAmBtB;;;;AAYU;EAAR,QAAQ;AAAA;AAAA,UAGA,WAAA;EAQJ;;;;;;EADJ,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,OAAc,KAAA,EAAO,WAAA,KAAgB,aAAA;EAFpD;;;;;EAUA,eAAA;EARoD;;;;;;;AAuC7B;AAMzB;;EAzBE,GAAA;EAyBoB;;;;;;;;;EAdpB,aAAA;EAmBU;;;;;;EAXV,IAAA,GAAO,gBAAA;AAAA;AAkBJ;AAML;;AANK,KAZO,OAAA,GAAU,WAAA,GAAc,OAAA,CAAQ,mBAAA;;;;KAKhC,YAAA,GAAe,IAAI,CAC7B,cAAA;EAiBuB;;;EAXvB,GAAA;AAAA;;;;KAMU,UAAA,GAAa,WAAA,GACvB,YAAA,CAAa,YAAA;EAOH;;;EAHR,MAAA,GAAS,YAAA;AAAA;AAAA,KAGD,kBAAA,IACV,GAAA,EAAK,YAAA,KACF,UAAA,GAAa,UAAA;AAAA,KACN,mBAAA,IACV,GAAA,EAAK,YAAA,KACF,OAAA,CAAQ,UAAA,GAAa,UAAA;AAAA,KACd,YAAA,IACV,GAAA,EAAK,YAAA,KACF,UAAA,GAAa,UAAA,KAAe,OAAA,CAAQ,UAAA,GAAa,UAAA;AAAA,KAE1C,gBAAA,GACR,UAAA,GACA,UAAA,KACA,OAAA,CAAQ,UAAA,GAAa,UAAA,MACrB,kBAAA,GACA,mBAAA,GACA,YAAA;AAAA,KAEQ,aAAA,GAAgB,IAAI,CAC9B,eAAA;;;;KAOU,cAAA,GAAiB,0BAAA,GAC3B,yBAAA,GACA,0BAAA,GACA,0BAAA,GACA,QAAA,CAAS,IAAA,CAAK,OAAA;EA3BJ;;;;;;;;;;EAsCR,GAAA,EAAK,MAAA;EApCJ;;;EAyCD,SAAA,EAAW,gBAAA;EAzCqB;AACpC;;EA6CI,oBAAA;EA5CG;;;EAiDH,UAAA,EAAY,UAAA;AAAA"}
|
package/dist/types/config.d.mts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { CommandBase, CommandOption } from "./command.mjs";
|
|
2
2
|
import { Context } from "./context.mjs";
|
|
3
|
-
import { OutputConfig as OutputConfig$1 } from "powerlines";
|
|
4
3
|
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
4
|
+
import { ConfigParams, OutputConfig as OutputConfig$1, UserConfig as UserConfig$1 } from "powerlines";
|
|
5
|
+
import { RequiredKeys } from "@stryke/types/base";
|
|
5
6
|
import { AlloyPluginResolvedConfig } from "@powerlines/plugin-alloy/types/plugin";
|
|
6
|
-
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig
|
|
7
|
-
import { TsdownPluginResolvedConfig
|
|
7
|
+
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
8
|
+
import { TsdownPluginResolvedConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
9
|
+
import { EngineOptions as EngineOptions$1 } from "powerlines/engine";
|
|
8
10
|
|
|
9
11
|
//#region src/types/config.d.ts
|
|
10
|
-
type BuildOptions = Pick<
|
|
12
|
+
type BuildOptions = Pick<UserConfig$1, "name" | "title" | "description" | "input" | "output" | "logLevel" | "mode" | "define" | "inject" | "resolve" | "organization" | "skipCache" | "autoInstall" | "plugins" | "tsconfig" | "tsconfigRaw">;
|
|
11
13
|
interface ReferenceOptions {
|
|
12
14
|
/**
|
|
13
15
|
* A URL to the application documentation or reference.
|
|
@@ -17,18 +19,18 @@ interface ReferenceOptions {
|
|
|
17
19
|
* A URL to the application command specific documentation or reference.
|
|
18
20
|
*
|
|
19
21
|
* @remarks
|
|
20
|
-
* This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{
|
|
22
|
+
* This URL is expected to contain the token `{command}`, which will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
21
23
|
*/
|
|
22
24
|
commands?: string;
|
|
23
25
|
}
|
|
24
|
-
|
|
26
|
+
interface BaseOptions {
|
|
25
27
|
/**
|
|
26
28
|
* A set of global command options to apply to each command.
|
|
27
29
|
*
|
|
28
30
|
* @remarks
|
|
29
31
|
* Each command will inherit these global options. To disable the addition of these global options, set this property to `false`, or provide a custom set of options/a function that returns them. A `GlobalOptions` interface will be created by the `shell-shock types` command and added to the generated `shell-shock.d.ts` file.
|
|
30
32
|
*/
|
|
31
|
-
globalOptions?: CommandOption[] | ((context: Context
|
|
33
|
+
globalOptions?: CommandOption[] | ((context: Context<any>, input: CommandBase) => CommandOption[]) | false;
|
|
32
34
|
/**
|
|
33
35
|
* Determines whether commands and option names are treated as case-sensitive.
|
|
34
36
|
*
|
|
@@ -60,10 +62,10 @@ type BaseOptions = Partial<BuildOptions> & {
|
|
|
60
62
|
* A URL to the application documentation or reference.
|
|
61
63
|
*
|
|
62
64
|
* @remarks
|
|
63
|
-
* This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{
|
|
65
|
+
* This URL can be used in various displays of the user interface and documentation to provide users with a reference for the application. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
|
|
64
66
|
*/
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
+
docs?: ReferenceOptions | string;
|
|
68
|
+
}
|
|
67
69
|
/**
|
|
68
70
|
* The plugin options for Shell Shock.
|
|
69
71
|
*/
|
|
@@ -80,12 +82,17 @@ type OutputConfig = Pick<OutputConfig$1, "path" | "copy" | "storage" | "sourceMa
|
|
|
80
82
|
/**
|
|
81
83
|
* The user configuration options for Shell Shock.
|
|
82
84
|
*/
|
|
83
|
-
type UserConfig = BaseOptions &
|
|
85
|
+
type UserConfig = BaseOptions & RequiredKeys<BuildOptions, "name"> & {
|
|
84
86
|
/**
|
|
85
87
|
* Configuration for the output of the build process
|
|
86
88
|
*/
|
|
87
89
|
output?: OutputConfig;
|
|
88
90
|
};
|
|
91
|
+
type UserConfigFnObject = (env: ConfigParams) => UserConfig | UserConfig[];
|
|
92
|
+
type UserConfigFnPromise = (env: ConfigParams) => Promise<UserConfig | UserConfig[]>;
|
|
93
|
+
type UserConfigFn = (env: ConfigParams) => UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]>;
|
|
94
|
+
type UserConfigExport = UserConfig | UserConfig[] | Promise<UserConfig | UserConfig[]> | UserConfigFnObject | UserConfigFnPromise | UserConfigFn;
|
|
95
|
+
type EngineOptions = Omit<EngineOptions$1, "root" | "name" | "framework">;
|
|
89
96
|
/**
|
|
90
97
|
* The resolved configuration options for Shell Shock.
|
|
91
98
|
*/
|
|
@@ -115,5 +122,5 @@ type ResolvedConfig = TsdownPluginResolvedConfig & AlloyPluginResolvedConfig & A
|
|
|
115
122
|
userConfig: UserConfig;
|
|
116
123
|
};
|
|
117
124
|
//#endregion
|
|
118
|
-
export { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig };
|
|
125
|
+
export { EngineOptions, Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise };
|
|
119
126
|
//# sourceMappingURL=config.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.mts","names":[],"sources":["../../src/types/config.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.mts","names":[],"sources":["../../src/types/config.ts"],"mappings":""}
|
package/dist/types/config.mjs
CHANGED
|
@@ -1,2 +1,164 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/types/config.ts
|
|
2
|
+
const __ΩPick = [
|
|
3
|
+
"T",
|
|
4
|
+
"K",
|
|
5
|
+
"Pick",
|
|
6
|
+
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
7
|
+
];
|
|
8
|
+
const __ΩPartial = [
|
|
9
|
+
"T",
|
|
10
|
+
"Partial",
|
|
11
|
+
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
12
|
+
];
|
|
13
|
+
const __ΩOmit = [
|
|
14
|
+
"T",
|
|
15
|
+
"K",
|
|
16
|
+
() => __ΩPick,
|
|
17
|
+
() => __ΩExclude,
|
|
18
|
+
"Omit",
|
|
19
|
+
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
20
|
+
];
|
|
21
|
+
const __ΩRequired = [
|
|
22
|
+
"T",
|
|
23
|
+
"Required",
|
|
24
|
+
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
25
|
+
];
|
|
26
|
+
const __ΩRecord = [
|
|
27
|
+
"K",
|
|
28
|
+
"T",
|
|
29
|
+
"Record",
|
|
30
|
+
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
31
|
+
];
|
|
32
|
+
const __ΩExclude = [
|
|
33
|
+
"T",
|
|
34
|
+
"U",
|
|
35
|
+
"Exclude",
|
|
36
|
+
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
37
|
+
];
|
|
38
|
+
const __ΩReferenceOptions = [
|
|
39
|
+
"app",
|
|
40
|
+
"A URL to the application documentation or reference.",
|
|
41
|
+
"commands",
|
|
42
|
+
"A URL to the application command specific documentation or reference.",
|
|
43
|
+
"ReferenceOptions",
|
|
44
|
+
"P&4!?\"&4#8?$Mw%y"
|
|
45
|
+
];
|
|
46
|
+
const __ΩBaseOptions = [
|
|
47
|
+
"CommandOption",
|
|
48
|
+
"Context",
|
|
49
|
+
"context",
|
|
50
|
+
"CommandBase",
|
|
51
|
+
"input",
|
|
52
|
+
"",
|
|
53
|
+
false,
|
|
54
|
+
"globalOptions",
|
|
55
|
+
"A set of global command options to apply to each command.",
|
|
56
|
+
"isCaseSensitive",
|
|
57
|
+
true,
|
|
58
|
+
"Determines whether commands and option names are treated as case-sensitive.",
|
|
59
|
+
"bin",
|
|
60
|
+
"The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).",
|
|
61
|
+
true,
|
|
62
|
+
"autoAssignEnv",
|
|
63
|
+
"Should Shell Shock attempt to automatically assign environment variables to manipulate default values for command options based on the option name?",
|
|
64
|
+
() => __ΩReferenceOptions,
|
|
65
|
+
"docs",
|
|
66
|
+
"A URL to the application documentation or reference.",
|
|
67
|
+
"BaseOptions",
|
|
68
|
+
"PP\"w!FP\"w\"2#\"w$2%\"w!F/&.'J4(8?))4*8>+?,P&&FJ4-8?.P./&J408?1Pn2&J438?4Mw5y"
|
|
69
|
+
];
|
|
70
|
+
const __ΩOptions = [
|
|
71
|
+
() => __ΩBaseOptions,
|
|
72
|
+
() => __ΩPartial,
|
|
73
|
+
"Options",
|
|
74
|
+
"Pn!!o\"\"Kw#y"
|
|
75
|
+
];
|
|
76
|
+
const __ΩOutputConfig = [
|
|
77
|
+
() => __ΩPick,
|
|
78
|
+
"path",
|
|
79
|
+
"copy",
|
|
80
|
+
"storage",
|
|
81
|
+
"sourceMap",
|
|
82
|
+
false,
|
|
83
|
+
"dts",
|
|
84
|
+
"An indicator specifying whether to generate TypeScript declaration files (.d.ts) during the build process.",
|
|
85
|
+
"OutputConfig",
|
|
86
|
+
"P!P.\".#.$.%Jo!#P.&4'8?(MKw)y"
|
|
87
|
+
];
|
|
88
|
+
const __ΩUserConfig = [
|
|
89
|
+
() => __ΩBaseOptions,
|
|
90
|
+
() => __ΩOutputConfig,
|
|
91
|
+
"output",
|
|
92
|
+
"Configuration for the output of the build process",
|
|
93
|
+
"UserConfig",
|
|
94
|
+
"Pn!!Pn\"4#8?$MKw%y"
|
|
95
|
+
];
|
|
96
|
+
const __ΩUserConfigFnObject = [
|
|
97
|
+
"env",
|
|
98
|
+
() => __ΩUserConfig,
|
|
99
|
+
() => __ΩUserConfig,
|
|
100
|
+
"",
|
|
101
|
+
"UserConfigFnObject",
|
|
102
|
+
"P!2!Pn\"n#FJ/$w%y"
|
|
103
|
+
];
|
|
104
|
+
const __ΩUserConfigFnPromise = [
|
|
105
|
+
"env",
|
|
106
|
+
() => __ΩUserConfig,
|
|
107
|
+
() => __ΩUserConfig,
|
|
108
|
+
"",
|
|
109
|
+
"UserConfigFnPromise",
|
|
110
|
+
"P!2!Pn\"n#FJ`/$w%y"
|
|
111
|
+
];
|
|
112
|
+
const __ΩUserConfigFn = [
|
|
113
|
+
"env",
|
|
114
|
+
() => __ΩUserConfig,
|
|
115
|
+
() => __ΩUserConfig,
|
|
116
|
+
() => __ΩUserConfig,
|
|
117
|
+
() => __ΩUserConfig,
|
|
118
|
+
"",
|
|
119
|
+
"UserConfigFn",
|
|
120
|
+
"P!2!Pn\"n#FPn$n%FJ`J/&w'y"
|
|
121
|
+
];
|
|
122
|
+
const __ΩUserConfigExport = [
|
|
123
|
+
() => __ΩUserConfig,
|
|
124
|
+
() => __ΩUserConfig,
|
|
125
|
+
() => __ΩUserConfig,
|
|
126
|
+
() => __ΩUserConfig,
|
|
127
|
+
() => __ΩUserConfigFnObject,
|
|
128
|
+
() => __ΩUserConfigFnPromise,
|
|
129
|
+
() => __ΩUserConfigFn,
|
|
130
|
+
"UserConfigExport",
|
|
131
|
+
"Pn!n\"FPn#n$FJ`n%n&n'Jw(y"
|
|
132
|
+
];
|
|
133
|
+
const __ΩEngineOptions = [
|
|
134
|
+
() => __ΩOmit,
|
|
135
|
+
"root",
|
|
136
|
+
"name",
|
|
137
|
+
"framework",
|
|
138
|
+
"EngineOptions",
|
|
139
|
+
"!P.\".#.$Jo!#w%y"
|
|
140
|
+
];
|
|
141
|
+
const __ΩResolvedConfig = [
|
|
142
|
+
() => __ΩRequired,
|
|
143
|
+
() => __ΩOmit,
|
|
144
|
+
() => __ΩOptions,
|
|
145
|
+
"bin",
|
|
146
|
+
"reference",
|
|
147
|
+
() => __ΩRecord,
|
|
148
|
+
"bin",
|
|
149
|
+
"The name of the binary (the {@link https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin | \"bin\" field} in package.json) that will be used to run the application through NodeJs package managers (e.g., npm, yarn, pnpm).",
|
|
150
|
+
() => __ΩReferenceOptions,
|
|
151
|
+
"reference",
|
|
152
|
+
"The URL(s) to the application documentation or reference.",
|
|
153
|
+
"appSpecificEnvPrefix",
|
|
154
|
+
"The command-line application specific environment variable prefix used for automatically assigning environment variables to command options.",
|
|
155
|
+
() => __ΩUserConfig,
|
|
156
|
+
"userConfig",
|
|
157
|
+
"The user configuration for the Shell Shock process.",
|
|
158
|
+
"ResolvedConfig",
|
|
159
|
+
"P!!!!n#P.$.%Jo\"#o!\"P&&o'?(n)4*?+&4,?-n.4/?0MKw1y"
|
|
160
|
+
];
|
|
161
|
+
|
|
162
|
+
//#endregion
|
|
163
|
+
export { __ΩEngineOptions, __ΩOptions, __ΩOutputConfig, __ΩReferenceOptions, __ΩResolvedConfig, __ΩUserConfig, __ΩUserConfigExport, __ΩUserConfigFn, __ΩUserConfigFnObject, __ΩUserConfigFnPromise };
|
|
2
164
|
//# sourceMappingURL=config.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.mjs","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"config.mjs","names":[],"sources":[],"mappings":""}
|
package/dist/types/context.cjs
CHANGED
|
@@ -1 +1,45 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/types/context.ts
|
|
4
|
+
const __ΩRecord = [
|
|
5
|
+
"K",
|
|
6
|
+
"T",
|
|
7
|
+
"Record",
|
|
8
|
+
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
9
|
+
];
|
|
10
|
+
const __ΩContext = [
|
|
11
|
+
"ResolvedConfig",
|
|
12
|
+
"TResolvedConfig",
|
|
13
|
+
"commandsPath",
|
|
14
|
+
"The root path where commands are located.",
|
|
15
|
+
"CommandOption",
|
|
16
|
+
"globalOptions",
|
|
17
|
+
"The default command arguments to apply to all application commands.",
|
|
18
|
+
"CommandConfig",
|
|
19
|
+
"inputs",
|
|
20
|
+
"The list of commands discovered in the project.",
|
|
21
|
+
() => __ΩRecord,
|
|
22
|
+
"CommandTree",
|
|
23
|
+
"commands",
|
|
24
|
+
"The command-line application structure.",
|
|
25
|
+
"Context",
|
|
26
|
+
"\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
|
|
27
|
+
];
|
|
28
|
+
const __ΩExecutionContext = [
|
|
29
|
+
"ResolvedConfig",
|
|
30
|
+
"TResolvedConfig",
|
|
31
|
+
"ExecutionContext",
|
|
32
|
+
"\"w!c\"!w#y"
|
|
33
|
+
];
|
|
34
|
+
const __ΩUnresolvedContext = [
|
|
35
|
+
"ResolvedConfig",
|
|
36
|
+
"TResolvedConfig",
|
|
37
|
+
"UnresolvedContext",
|
|
38
|
+
"\"w!c\"!w#y"
|
|
39
|
+
];
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.__ΩContext = __ΩContext;
|
|
43
|
+
exports.__ΩExecutionContext = __ΩExecutionContext;
|
|
44
|
+
exports.__ΩUnresolvedContext = __ΩUnresolvedContext;
|
|
45
|
+
//# sourceMappingURL=context.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.cjs","names":[],"sources":[],"mappings":""}
|
package/dist/types/context.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommandConfig, CommandOption, CommandTree } from "./command.cjs";
|
|
2
2
|
import { ResolvedConfig } from "./config.cjs";
|
|
3
|
-
import { UnresolvedContext as UnresolvedContext$1 } from "powerlines";
|
|
3
|
+
import { ExecutionContext as ExecutionContext$1, UnresolvedContext as UnresolvedContext$1 } from "powerlines";
|
|
4
4
|
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
|
|
5
5
|
import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
|
|
6
6
|
import { TsdownPluginContext } from "@powerlines/plugin-tsdown/types/plugin";
|
|
@@ -24,7 +24,8 @@ type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPl
|
|
|
24
24
|
*/
|
|
25
25
|
commands: Record<string, CommandTree>;
|
|
26
26
|
};
|
|
27
|
+
type ExecutionContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = ExecutionContext$1<TResolvedConfig>;
|
|
27
28
|
type UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnresolvedContext$1<TResolvedConfig>;
|
|
28
29
|
//#endregion
|
|
29
|
-
export { Context, UnresolvedContext };
|
|
30
|
+
export { Context, ExecutionContext, UnresolvedContext };
|
|
30
31
|
//# sourceMappingURL=context.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.cts","names":[],"sources":["../../src/types/context.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"context.d.cts","names":[],"sources":["../../src/types/context.ts"],"mappings":";;;;;;;;KA4BY,OAAA,yBAAgC,cAAA,GAAiB,cAAA,IAC3D,mBAAA,CAAoB,eAAA,IAClB,kBAAA,CAAmB,eAAA,IACnB,mBAAA,CAAoB,eAAA;;AAHxB;;EAOM,YAAA;EAPsC;;;EAYtC,aAAA,EAAe,aAAA;EAVE;;;EAejB,MAAA,EAAQ,aAAA;EALO;;;EAUf,QAAA,EAAU,MAAA,SAAe,WAAA;AAAA;AAAA,KAGnB,gBAAA,yBACc,cAAA,GAAiB,cAAA,IACvC,kBAAA,CAA2B,eAAA;AAAA,KAEnB,iBAAA,yBACc,cAAA,GAAiB,cAAA,IACvC,mBAAA,CAA4B,eAAA"}
|
package/dist/types/context.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommandConfig, CommandOption, CommandTree } from "./command.mjs";
|
|
2
2
|
import { ResolvedConfig } from "./config.mjs";
|
|
3
|
-
import { UnresolvedContext as UnresolvedContext$1 } from "powerlines";
|
|
3
|
+
import { ExecutionContext as ExecutionContext$1, UnresolvedContext as UnresolvedContext$1 } from "powerlines";
|
|
4
4
|
import { AlloyPluginContext } from "@powerlines/plugin-alloy/types/plugin";
|
|
5
5
|
import { NodeJsPluginContext } from "@powerlines/plugin-nodejs/types/plugin";
|
|
6
6
|
import { TsdownPluginContext } from "@powerlines/plugin-tsdown/types/plugin";
|
|
@@ -24,7 +24,8 @@ type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = TsdownPl
|
|
|
24
24
|
*/
|
|
25
25
|
commands: Record<string, CommandTree>;
|
|
26
26
|
};
|
|
27
|
+
type ExecutionContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = ExecutionContext$1<TResolvedConfig>;
|
|
27
28
|
type UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnresolvedContext$1<TResolvedConfig>;
|
|
28
29
|
//#endregion
|
|
29
|
-
export { Context, UnresolvedContext };
|
|
30
|
+
export { Context, ExecutionContext, UnresolvedContext };
|
|
30
31
|
//# sourceMappingURL=context.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.mts","names":[],"sources":["../../src/types/context.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.d.mts","names":[],"sources":["../../src/types/context.ts"],"mappings":""}
|
package/dist/types/context.mjs
CHANGED
|
@@ -1,2 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/types/context.ts
|
|
2
|
+
const __ΩRecord = [
|
|
3
|
+
"K",
|
|
4
|
+
"T",
|
|
5
|
+
"Record",
|
|
6
|
+
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
7
|
+
];
|
|
8
|
+
const __ΩContext = [
|
|
9
|
+
"ResolvedConfig",
|
|
10
|
+
"TResolvedConfig",
|
|
11
|
+
"commandsPath",
|
|
12
|
+
"The root path where commands are located.",
|
|
13
|
+
"CommandOption",
|
|
14
|
+
"globalOptions",
|
|
15
|
+
"The default command arguments to apply to all application commands.",
|
|
16
|
+
"CommandConfig",
|
|
17
|
+
"inputs",
|
|
18
|
+
"The list of commands discovered in the project.",
|
|
19
|
+
() => __ΩRecord,
|
|
20
|
+
"CommandTree",
|
|
21
|
+
"commands",
|
|
22
|
+
"The command-line application structure.",
|
|
23
|
+
"Context",
|
|
24
|
+
"\"w!c\"P!!!P&4#?$\"w%F4&?'\"w(F4)?*&\"w,o+#4-?.MKw/y"
|
|
25
|
+
];
|
|
26
|
+
const __ΩExecutionContext = [
|
|
27
|
+
"ResolvedConfig",
|
|
28
|
+
"TResolvedConfig",
|
|
29
|
+
"ExecutionContext",
|
|
30
|
+
"\"w!c\"!w#y"
|
|
31
|
+
];
|
|
32
|
+
const __ΩUnresolvedContext = [
|
|
33
|
+
"ResolvedConfig",
|
|
34
|
+
"TResolvedConfig",
|
|
35
|
+
"UnresolvedContext",
|
|
36
|
+
"\"w!c\"!w#y"
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
export { __ΩContext, __ΩExecutionContext, __ΩUnresolvedContext };
|
|
2
41
|
//# sourceMappingURL=context.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.mjs","names":[],"sources":[
|
|
1
|
+
{"version":3,"file":"context.mjs","names":[],"sources":[],"mappings":""}
|
package/dist/types/env.cjs
CHANGED
|
@@ -1 +1,53 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
|
|
3
|
+
//#region src/types/env.ts
|
|
4
|
+
const __ΩShellShockEnv = [
|
|
5
|
+
"PATHEXT",
|
|
6
|
+
"The system PATHEXT variable, used to determine which file extensions are considered executable on Windows.",
|
|
7
|
+
{
|
|
8
|
+
hidden: true,
|
|
9
|
+
internal: true,
|
|
10
|
+
runtime: true
|
|
11
|
+
},
|
|
12
|
+
"PATH",
|
|
13
|
+
"The system PATH variable, used to locate executable files.",
|
|
14
|
+
{
|
|
15
|
+
hidden: true,
|
|
16
|
+
internal: true,
|
|
17
|
+
runtime: true
|
|
18
|
+
},
|
|
19
|
+
"npm_config_user_agent",
|
|
20
|
+
"The npm user agent string, which can be used to detect if the environment is running within an npm script.",
|
|
21
|
+
{
|
|
22
|
+
hidden: true,
|
|
23
|
+
internal: true,
|
|
24
|
+
runtime: true
|
|
25
|
+
},
|
|
26
|
+
"npm_config_fund",
|
|
27
|
+
"The npm_config_fund environment variable, which can be used to control npm's funding behavior.",
|
|
28
|
+
{
|
|
29
|
+
hidden: true,
|
|
30
|
+
internal: true,
|
|
31
|
+
runtime: true
|
|
32
|
+
},
|
|
33
|
+
"npm_execpath",
|
|
34
|
+
"The npm execution path, which can be used to determine the location of the npm executable.",
|
|
35
|
+
{
|
|
36
|
+
hidden: true,
|
|
37
|
+
internal: true,
|
|
38
|
+
runtime: true
|
|
39
|
+
},
|
|
40
|
+
"COMSPEC",
|
|
41
|
+
"The COMSPEC environment variable, which specifies the command-line interpreter to use on Windows.",
|
|
42
|
+
{
|
|
43
|
+
hidden: true,
|
|
44
|
+
internal: true,
|
|
45
|
+
runtime: true
|
|
46
|
+
},
|
|
47
|
+
"ShellShockEnv",
|
|
48
|
+
"P!&4!8?\"z#&4$8?%z&&4'8?(z)&4*8?+z,&4-8?.z/&408?1z2Mw3y"
|
|
49
|
+
];
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
exports.__ΩShellShockEnv = __ΩShellShockEnv;
|
|
53
|
+
//# sourceMappingURL=env.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.cjs","names":[],"sources":[],"mappings":""}
|
package/dist/types/env.d.cts
CHANGED
package/dist/types/env.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.cts","names":[],"sources":["../../src/types/env.ts"],"mappings":";;;UAqBiB,aAAA,SAAsB,
|
|
1
|
+
{"version":3,"file":"env.d.cts","names":[],"sources":["../../src/types/env.ts"],"mappings":";;;UAqBiB,aAAA,SAAsB,YAAY;;AAAnD;;;;;;;;;EAWE,OAAA;EAyDA;;AAAO;;;;;EAhDP,IAAA;;;;;;;;;;;EAYA,qBAAA;;;;;;;;;;;EAYA,eAAA;;;;;;;;;;;EAYA,YAAA;;;;;;;;;;;EAYA,OAAA;AAAA"}
|
package/dist/types/env.d.mts
CHANGED
package/dist/types/env.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.mts","names":[],"sources":["../../src/types/env.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"env.d.mts","names":[],"sources":["../../src/types/env.ts"],"mappings":""}
|