@shell-shock/core 0.17.19 → 0.17.20
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/api.d.cts +1 -1
- package/dist/api.d.mts +1 -1
- package/dist/helpers/persistence.cjs +1 -0
- package/dist/helpers/persistence.mjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/dist/plugin.cjs +19 -17
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.mjs +20 -18
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +2 -2
- package/package.json +13 -27
- package/dist/types/options.cjs +0 -13
- package/dist/types/options.cjs.map +0 -1
- package/dist/types/options.d.cts +0 -8
- package/dist/types/options.d.cts.map +0 -1
- package/dist/types/options.d.mts +0 -8
- package/dist/types/options.d.mts.map +0 -1
- package/dist/types/options.mjs +0 -11
- package/dist/types/options.mjs.map +0 -1
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/api.d.ts
|
|
2
|
-
declare const _default: (params: import("@powerlines/engine").ExecutionApiParams<import("powerlines").ExecutionOptions, "types" | "
|
|
2
|
+
declare const _default: (params: import("@powerlines/engine").ExecutionApiParams<import("powerlines").ExecutionOptions, "types" | "prepare" | "create" | "clean" | "lint" | "test" | "build" | "docs" | "deploy">) => Promise<void>;
|
|
3
3
|
export = _default;
|
|
4
4
|
//# sourceMappingURL=api.d.cts.map
|
package/dist/api.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/api.d.ts
|
|
2
|
-
declare const _default: (params: import("@powerlines/engine").ExecutionApiParams<import("powerlines").ExecutionOptions, "types" | "
|
|
2
|
+
declare const _default: (params: import("@powerlines/engine").ExecutionApiParams<import("powerlines").ExecutionOptions, "types" | "prepare" | "create" | "clean" | "lint" | "test" | "build" | "docs" | "deploy">) => Promise<void>;
|
|
3
3
|
//#endregion
|
|
4
4
|
export { _default as default };
|
|
5
5
|
//# sourceMappingURL=api.d.mts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.cjs";
|
|
2
2
|
import { Context, ExecutionContext, UnresolvedContext } from "./types/context.cjs";
|
|
3
3
|
import { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise } from "./types/config.cjs";
|
|
4
|
-
import {
|
|
4
|
+
import { ShellShockEnv } from "./types/env.cjs";
|
|
5
5
|
import { defineConfig } from "./config.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
|
@@ -77,5 +77,5 @@ declare function defineOptions(options: Record<string, CommandOptionConfig>): Re
|
|
|
77
77
|
*/
|
|
78
78
|
declare function defineArguments(args: CommandArgumentConfig[]): CommandArgumentConfig[];
|
|
79
79
|
//#endregion
|
|
80
|
-
export { type AsCommandParameterConfig, type BaseBooleanCommandParameter, type
|
|
80
|
+
export { type AsCommandParameterConfig, type BaseBooleanCommandParameter, type BaseCommandParameter, type BaseNumberCommandParameter, type BaseSingleCommandParameter, type BaseStringCommandParameter, type BaseVariadicCommandParameter, type BooleanCommandOption, type BooleanCommandParameter, type BooleanCommandParameterConfig, type CommandArgument, type CommandArgumentConfig, type CommandBase, type CommandConfig, type CommandMetadata, type CommandModule, type CommandOption, type CommandOptionConfig, type CommandParameter, type CommandParameterConfig, type CommandParameterType, type CommandTree, type Context, type DocsOptions, type EngineOptions, type ExecutionContext, type NumberCommandParameter, type NumberCommandParameterConfig, type Options, type OutputConfig, type ResolvedConfig, type SerializedCommandTree, type ShellShockEnv, type SingleBooleanCommandParameter, type SingleNumberCommandParameter, type SingleStringCommandParameter, type StringCommandParameter, type StringCommandParameterConfig, type UnresolvedContext, type UserConfig, type UserConfigExport, type UserConfigFn, type UserConfigFnObject, type UserConfigFnPromise, type VariadicBooleanCommandParameter, type VariadicNumberCommandParameter, type VariadicStringCommandParameter, defineArguments, defineConfig, defineMetadata, defineOptions };
|
|
81
81
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.mjs";
|
|
2
2
|
import { Context, ExecutionContext, UnresolvedContext } from "./types/context.mjs";
|
|
3
3
|
import { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise } from "./types/config.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { ShellShockEnv } from "./types/env.mjs";
|
|
5
5
|
import { defineConfig } from "./config.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/index.d.ts
|
|
@@ -77,5 +77,5 @@ declare function defineOptions(options: Record<string, CommandOptionConfig>): Re
|
|
|
77
77
|
*/
|
|
78
78
|
declare function defineArguments(args: CommandArgumentConfig[]): CommandArgumentConfig[];
|
|
79
79
|
//#endregion
|
|
80
|
-
export { type AsCommandParameterConfig, type BaseBooleanCommandParameter, type
|
|
80
|
+
export { type AsCommandParameterConfig, type BaseBooleanCommandParameter, type BaseCommandParameter, type BaseNumberCommandParameter, type BaseSingleCommandParameter, type BaseStringCommandParameter, type BaseVariadicCommandParameter, type BooleanCommandOption, type BooleanCommandParameter, type BooleanCommandParameterConfig, type CommandArgument, type CommandArgumentConfig, type CommandBase, type CommandConfig, type CommandMetadata, type CommandModule, type CommandOption, type CommandOptionConfig, type CommandParameter, type CommandParameterConfig, type CommandParameterType, type CommandTree, type Context, type DocsOptions, type EngineOptions, type ExecutionContext, type NumberCommandParameter, type NumberCommandParameterConfig, type Options, type OutputConfig, type ResolvedConfig, type SerializedCommandTree, type ShellShockEnv, type SingleBooleanCommandParameter, type SingleNumberCommandParameter, type SingleStringCommandParameter, type StringCommandParameter, type StringCommandParameterConfig, type UnresolvedContext, type UserConfig, type UserConfigExport, type UserConfigFn, type UserConfigFnObject, type UserConfigFnPromise, type VariadicBooleanCommandParameter, type VariadicNumberCommandParameter, type VariadicStringCommandParameter, defineArguments, defineConfig, defineMetadata, defineOptions };
|
|
81
81
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/package.cjs
CHANGED
package/dist/package.mjs
CHANGED
package/dist/plugin.cjs
CHANGED
|
@@ -111,8 +111,7 @@ const plugin = __assignType((options$1 = {}) => {
|
|
|
111
111
|
description: this.config.description,
|
|
112
112
|
alias: [],
|
|
113
113
|
virtual: false
|
|
114
|
-
}))
|
|
115
|
-
this.globalOptions = this.globalOptions.map(__assignType((option) => ({
|
|
114
|
+
})).map(__assignType((option) => ({
|
|
116
115
|
...option,
|
|
117
116
|
name: (0, _stryke_string_format_camel_case.camelCase)(option.name),
|
|
118
117
|
alias: option.alias ?? [],
|
|
@@ -324,27 +323,29 @@ const plugin = __assignType((options$1 = {}) => {
|
|
|
324
323
|
}
|
|
325
324
|
if (!(0, _powerlines_schema.isJsonSchemaObject)(this.env.config.schema)) throw new Error("Invalid environment variable schema extracted.");
|
|
326
325
|
const env = (0, _powerlines_schema.getProperties)(this.env.config);
|
|
327
|
-
|
|
326
|
+
this.globalOptions.filter(__assignType((option) => (0, _stryke_type_checks_is_set_string.isSetString)(option.env) && !env[option.env], [
|
|
328
327
|
"option",
|
|
329
328
|
"",
|
|
330
329
|
"P\"2!\"/\""
|
|
331
|
-
])).
|
|
330
|
+
])).forEach(__assignType((option) => {
|
|
331
|
+
(0, _powerlines_schema.addProperty)(this.env.config, option.env, {
|
|
332
|
+
...option,
|
|
333
|
+
name: option.env,
|
|
334
|
+
alias: option.alias.filter(__assignType((alias) => alias.length > 1, [
|
|
335
|
+
"alias",
|
|
336
|
+
"",
|
|
337
|
+
"P\"2!\"/\""
|
|
338
|
+
])).map(__assignType((alias) => (0, _stryke_string_format_constant_case.constantCase)(alias), [
|
|
339
|
+
"alias",
|
|
340
|
+
"",
|
|
341
|
+
"P\"2!\"/\""
|
|
342
|
+
]))
|
|
343
|
+
});
|
|
344
|
+
}, [
|
|
332
345
|
"option",
|
|
333
346
|
"",
|
|
334
347
|
"P\"2!\"/\""
|
|
335
|
-
]))
|
|
336
|
-
...option,
|
|
337
|
-
name: option.env,
|
|
338
|
-
alias: option.alias.filter(__assignType((alias) => alias.length > 1, [
|
|
339
|
-
"alias",
|
|
340
|
-
"",
|
|
341
|
-
"P\"2!\"/\""
|
|
342
|
-
])).map(__assignType((alias) => (0, _stryke_string_format_constant_case.constantCase)(alias), [
|
|
343
|
-
"alias",
|
|
344
|
-
"",
|
|
345
|
-
"P\"2!\"/\""
|
|
346
|
-
]))
|
|
347
|
-
});
|
|
348
|
+
]));
|
|
348
349
|
await (0, _powerlines_plugin_env_helpers_schema.writeEnv)(this);
|
|
349
350
|
}
|
|
350
351
|
}
|
|
@@ -359,6 +360,7 @@ const plugin = __assignType((options$1 = {}) => {
|
|
|
359
360
|
if (this.config.command !== "prepare" && this.config.skipCache !== true && this.persistedMeta?.checksum === this.meta.checksum && this.fs.existsSync((0, _powerlines_schema.getCacheFilePath)(this, this.env.config))) {
|
|
360
361
|
this.debug(`Skipping command resolution as the meta checksum has not changed.`);
|
|
361
362
|
await (0, _powerlines_plugin_env_helpers_schema.extractEnv)(this);
|
|
363
|
+
await require_persistence.readCommandsPersistence(this);
|
|
362
364
|
} else {
|
|
363
365
|
for (const input of this.inputs.filter(__assignType((input) => input.segments.filter(__assignType((segment) => !require_context_helpers.isDynamicPathSegment(segment) && !require_context_helpers.isPathSegmentGroup(segment), [
|
|
364
366
|
"segment",
|
package/dist/plugin.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../src/plugin.tsx"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../src/plugin.tsx"],"mappings":";;;;;;;AAgGA;cAAa,MAAA,oBAA2B,OAAA,GAAU,OAAA,EAChD,OAAA,GAAS,OAAA,KACR,MAAA,CAAO,QAAA"}
|
package/dist/plugin.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { UtilsBuiltin } from "./components/utils-builtin.mjs";
|
|
|
8
8
|
import { args, commands, options, usage } from "./helpers/automd.mjs";
|
|
9
9
|
import { getFramework } from "./helpers/get-framework.mjs";
|
|
10
10
|
import { findCommandsRoot, resolveCommandId, resolveCommandName, resolveCommandPath } from "./helpers/paths.mjs";
|
|
11
|
-
import { writeCommandsPersistence } from "./helpers/persistence.mjs";
|
|
11
|
+
import { readCommandsPersistence, writeCommandsPersistence } from "./helpers/persistence.mjs";
|
|
12
12
|
import { formatBinaryPath, updatePackageJsonBinary } from "./helpers/update-package-json.mjs";
|
|
13
13
|
import { formatCommandTree, getGlobalOptions } from "./helpers/utilities.mjs";
|
|
14
14
|
import { validateCommand } from "./helpers/validations.mjs";
|
|
@@ -106,8 +106,7 @@ const plugin = __assignType((options$1 = {}) => {
|
|
|
106
106
|
description: this.config.description,
|
|
107
107
|
alias: [],
|
|
108
108
|
virtual: false
|
|
109
|
-
}))
|
|
110
|
-
this.globalOptions = this.globalOptions.map(__assignType((option) => ({
|
|
109
|
+
})).map(__assignType((option) => ({
|
|
111
110
|
...option,
|
|
112
111
|
name: camelCase(option.name),
|
|
113
112
|
alias: option.alias ?? [],
|
|
@@ -319,27 +318,29 @@ const plugin = __assignType((options$1 = {}) => {
|
|
|
319
318
|
}
|
|
320
319
|
if (!isJsonSchemaObject(this.env.config.schema)) throw new Error("Invalid environment variable schema extracted.");
|
|
321
320
|
const env = getProperties(this.env.config);
|
|
322
|
-
|
|
321
|
+
this.globalOptions.filter(__assignType((option) => isSetString(option.env) && !env[option.env], [
|
|
323
322
|
"option",
|
|
324
323
|
"",
|
|
325
324
|
"P\"2!\"/\""
|
|
326
|
-
])).
|
|
325
|
+
])).forEach(__assignType((option) => {
|
|
326
|
+
addProperty(this.env.config, option.env, {
|
|
327
|
+
...option,
|
|
328
|
+
name: option.env,
|
|
329
|
+
alias: option.alias.filter(__assignType((alias) => alias.length > 1, [
|
|
330
|
+
"alias",
|
|
331
|
+
"",
|
|
332
|
+
"P\"2!\"/\""
|
|
333
|
+
])).map(__assignType((alias) => constantCase(alias), [
|
|
334
|
+
"alias",
|
|
335
|
+
"",
|
|
336
|
+
"P\"2!\"/\""
|
|
337
|
+
]))
|
|
338
|
+
});
|
|
339
|
+
}, [
|
|
327
340
|
"option",
|
|
328
341
|
"",
|
|
329
342
|
"P\"2!\"/\""
|
|
330
|
-
]))
|
|
331
|
-
...option,
|
|
332
|
-
name: option.env,
|
|
333
|
-
alias: option.alias.filter(__assignType((alias) => alias.length > 1, [
|
|
334
|
-
"alias",
|
|
335
|
-
"",
|
|
336
|
-
"P\"2!\"/\""
|
|
337
|
-
])).map(__assignType((alias) => constantCase(alias), [
|
|
338
|
-
"alias",
|
|
339
|
-
"",
|
|
340
|
-
"P\"2!\"/\""
|
|
341
|
-
]))
|
|
342
|
-
});
|
|
343
|
+
]));
|
|
343
344
|
await writeEnv(this);
|
|
344
345
|
}
|
|
345
346
|
}
|
|
@@ -354,6 +355,7 @@ const plugin = __assignType((options$1 = {}) => {
|
|
|
354
355
|
if (this.config.command !== "prepare" && this.config.skipCache !== true && this.persistedMeta?.checksum === this.meta.checksum && this.fs.existsSync(getCacheFilePath(this, this.env.config))) {
|
|
355
356
|
this.debug(`Skipping command resolution as the meta checksum has not changed.`);
|
|
356
357
|
await extractEnv(this);
|
|
358
|
+
await readCommandsPersistence(this);
|
|
357
359
|
} else {
|
|
358
360
|
for (const input of this.inputs.filter(__assignType((input) => input.segments.filter(__assignType((segment) => !isDynamicPathSegment(segment) && !isPathSegmentGroup(segment), [
|
|
359
361
|
"segment",
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_types_options = require('./options.cjs');
|
|
3
2
|
const require_types_command = require('./command.cjs');
|
|
4
3
|
const require_types_config = require('./config.cjs');
|
|
5
4
|
const require_types_context = require('./context.cjs');
|
|
5
|
+
const require_types_env = require('./env.cjs');
|
|
6
6
|
|
|
7
7
|
exports.__ΩAsCommandParameterConfig = require_types_command.__ΩAsCommandParameterConfig;
|
|
8
8
|
exports.__ΩBaseBooleanCommandParameter = require_types_command.__ΩBaseBooleanCommandParameter;
|
|
9
|
-
exports.__ΩBaseCommandOptions = require_types_options.__ΩBaseCommandOptions;
|
|
10
9
|
exports.__ΩBaseCommandParameter = require_types_command.__ΩBaseCommandParameter;
|
|
11
10
|
exports.__ΩBaseNumberCommandParameter = require_types_command.__ΩBaseNumberCommandParameter;
|
|
12
11
|
exports.__ΩBaseSingleCommandParameter = require_types_command.__ΩBaseSingleCommandParameter;
|
|
@@ -37,6 +36,7 @@ exports.__ΩOptions = require_types_config.__ΩOptions;
|
|
|
37
36
|
exports.__ΩOutputConfig = require_types_config.__ΩOutputConfig;
|
|
38
37
|
exports.__ΩResolvedConfig = require_types_config.__ΩResolvedConfig;
|
|
39
38
|
exports.__ΩSerializedCommandTree = require_types_command.__ΩSerializedCommandTree;
|
|
39
|
+
exports.__ΩShellShockEnv = require_types_env.__ΩShellShockEnv;
|
|
40
40
|
exports.__ΩSingleBooleanCommandParameter = require_types_command.__ΩSingleBooleanCommandParameter;
|
|
41
41
|
exports.__ΩSingleNumberCommandParameter = require_types_command.__ΩSingleNumberCommandParameter;
|
|
42
42
|
exports.__ΩSingleStringCommandParameter = require_types_command.__ΩSingleStringCommandParameter;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./command.cjs";
|
|
2
2
|
import { Context, ExecutionContext, UnresolvedContext } from "./context.cjs";
|
|
3
3
|
import { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise } from "./config.cjs";
|
|
4
|
-
import {
|
|
5
|
-
export { AsCommandParameterConfig, BaseBooleanCommandParameter,
|
|
4
|
+
import { ShellShockEnv } from "./env.cjs";
|
|
5
|
+
export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, Context, DocsOptions, EngineOptions, ExecutionContext, NumberCommandParameter, NumberCommandParameterConfig, Options, OutputConfig, ResolvedConfig, SerializedCommandTree, ShellShockEnv, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, UnresolvedContext, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./command.mjs";
|
|
2
2
|
import { Context, ExecutionContext, UnresolvedContext } from "./context.mjs";
|
|
3
3
|
import { DocsOptions, EngineOptions, Options, OutputConfig, ResolvedConfig, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise } from "./config.mjs";
|
|
4
|
-
import {
|
|
5
|
-
export { AsCommandParameterConfig, BaseBooleanCommandParameter,
|
|
4
|
+
import { ShellShockEnv } from "./env.mjs";
|
|
5
|
+
export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, Context, DocsOptions, EngineOptions, ExecutionContext, NumberCommandParameter, NumberCommandParameterConfig, Options, OutputConfig, ResolvedConfig, SerializedCommandTree, ShellShockEnv, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, UnresolvedContext, UserConfig, UserConfigExport, UserConfigFn, UserConfigFnObject, UserConfigFnPromise, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __ΩBaseCommandOptions } from "./options.mjs";
|
|
2
1
|
import { __ΩAsCommandParameterConfig, __ΩBaseBooleanCommandParameter, __ΩBaseCommandParameter, __ΩBaseNumberCommandParameter, __ΩBaseSingleCommandParameter, __ΩBaseStringCommandParameter, __ΩBaseVariadicCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterType, __ΩCommandTree, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩSerializedCommandTree, __ΩSingleBooleanCommandParameter, __ΩSingleNumberCommandParameter, __ΩSingleStringCommandParameter, __ΩStringCommandParameter, __ΩStringCommandParameterConfig, __ΩVariadicBooleanCommandParameter, __ΩVariadicNumberCommandParameter, __ΩVariadicStringCommandParameter } from "./command.mjs";
|
|
3
2
|
import { __ΩDocsOptions, __ΩEngineOptions, __ΩOptions, __ΩOutputConfig, __ΩResolvedConfig, __ΩUserConfig, __ΩUserConfigExport, __ΩUserConfigFn, __ΩUserConfigFnObject, __ΩUserConfigFnPromise } from "./config.mjs";
|
|
4
3
|
import { __ΩContext, __ΩExecutionContext, __ΩUnresolvedContext } from "./context.mjs";
|
|
4
|
+
import { __ΩShellShockEnv } from "./env.mjs";
|
|
5
5
|
|
|
6
|
-
export { __ΩAsCommandParameterConfig, __ΩBaseBooleanCommandParameter, __Ω
|
|
6
|
+
export { __ΩAsCommandParameterConfig, __ΩBaseBooleanCommandParameter, __ΩBaseCommandParameter, __ΩBaseNumberCommandParameter, __ΩBaseSingleCommandParameter, __ΩBaseStringCommandParameter, __ΩBaseVariadicCommandParameter, __ΩBooleanCommandOption, __ΩBooleanCommandParameter, __ΩBooleanCommandParameterConfig, __ΩCommandArgument, __ΩCommandArgumentConfig, __ΩCommandBase, __ΩCommandConfig, __ΩCommandMetadata, __ΩCommandModule, __ΩCommandOption, __ΩCommandOptionConfig, __ΩCommandParameter, __ΩCommandParameterConfig, __ΩCommandParameterType, __ΩCommandTree, __ΩContext, __ΩDocsOptions, __ΩEngineOptions, __ΩExecutionContext, __ΩNumberCommandParameter, __ΩNumberCommandParameterConfig, __ΩOptions, __ΩOutputConfig, __ΩResolvedConfig, __ΩSerializedCommandTree, __ΩShellShockEnv, __ΩSingleBooleanCommandParameter, __ΩSingleNumberCommandParameter, __ΩSingleStringCommandParameter, __ΩStringCommandParameter, __ΩStringCommandParameterConfig, __ΩUnresolvedContext, __ΩUserConfig, __ΩUserConfigExport, __ΩUserConfigFn, __ΩUserConfigFnObject, __ΩUserConfigFnPromise, __ΩVariadicBooleanCommandParameter, __ΩVariadicNumberCommandParameter, __ΩVariadicStringCommandParameter };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/core",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.20",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the core Shell Shock functionality used to build and manage a command-line application.",
|
|
6
6
|
"keywords": ["shell-shock", "powerlines", "storm-software"],
|
|
@@ -353,20 +353,6 @@
|
|
|
353
353
|
"types": "./dist/types/env.d.mts",
|
|
354
354
|
"default": "./dist/types/env.mjs"
|
|
355
355
|
}
|
|
356
|
-
},
|
|
357
|
-
"./types/options": {
|
|
358
|
-
"require": {
|
|
359
|
-
"types": "./dist/types/options.d.cts",
|
|
360
|
-
"default": "./dist/types/options.cjs"
|
|
361
|
-
},
|
|
362
|
-
"import": {
|
|
363
|
-
"types": "./dist/types/options.d.mts",
|
|
364
|
-
"default": "./dist/types/options.mjs"
|
|
365
|
-
},
|
|
366
|
-
"default": {
|
|
367
|
-
"types": "./dist/types/options.d.mts",
|
|
368
|
-
"default": "./dist/types/options.mjs"
|
|
369
|
-
}
|
|
370
356
|
}
|
|
371
357
|
},
|
|
372
358
|
"main": "./dist/index.cjs",
|
|
@@ -378,15 +364,15 @@
|
|
|
378
364
|
"@alloy-js/core": "^0.23.1",
|
|
379
365
|
"@alloy-js/markdown": "^0.23.0",
|
|
380
366
|
"@alloy-js/typescript": "^0.23.0",
|
|
381
|
-
"@powerlines/core": "^0.48.
|
|
382
|
-
"@powerlines/deepkit": "^0.9.
|
|
383
|
-
"@powerlines/engine": "^0.49.
|
|
384
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
385
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
386
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
387
|
-
"@powerlines/plugin-nodejs": "^0.1.
|
|
388
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
389
|
-
"@powerlines/schema": "^0.11.
|
|
367
|
+
"@powerlines/core": "^0.48.56",
|
|
368
|
+
"@powerlines/deepkit": "^0.9.88",
|
|
369
|
+
"@powerlines/engine": "^0.49.58",
|
|
370
|
+
"@powerlines/plugin-alloy": "^0.26.227",
|
|
371
|
+
"@powerlines/plugin-automd": "^0.1.595",
|
|
372
|
+
"@powerlines/plugin-deepkit": "^0.11.477",
|
|
373
|
+
"@powerlines/plugin-nodejs": "^0.1.539",
|
|
374
|
+
"@powerlines/plugin-tsdown": "^0.1.535",
|
|
375
|
+
"@powerlines/schema": "^0.11.116",
|
|
390
376
|
"@stryke/cli": "^0.13.57",
|
|
391
377
|
"@stryke/convert": "^0.7.15",
|
|
392
378
|
"@stryke/fs": "^0.33.85",
|
|
@@ -398,14 +384,14 @@
|
|
|
398
384
|
"@stryke/types": "^0.12.12",
|
|
399
385
|
"automd": "^0.4.3",
|
|
400
386
|
"defu": "^6.1.7",
|
|
401
|
-
"powerlines": "^0.47.
|
|
387
|
+
"powerlines": "^0.47.134",
|
|
402
388
|
"tsdown": "^0.22.2"
|
|
403
389
|
},
|
|
404
390
|
"devDependencies": {
|
|
405
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
391
|
+
"@powerlines/plugin-plugin": "^0.12.546",
|
|
406
392
|
"@types/node": "^25.9.2",
|
|
407
393
|
"typescript": "^6.0.3"
|
|
408
394
|
},
|
|
409
395
|
"publishConfig": { "access": "public" },
|
|
410
|
-
"gitHead": "
|
|
396
|
+
"gitHead": "7c26148e430cd5dca15bc74320969a4656683511"
|
|
411
397
|
}
|
package/dist/types/options.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
//#region src/types/options.ts
|
|
4
|
-
const __ΩBaseCommandOptions = [
|
|
5
|
-
"help",
|
|
6
|
-
"version",
|
|
7
|
-
"BaseCommandOptions",
|
|
8
|
-
"P)4!)4\"Mw#y"
|
|
9
|
-
];
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
exports.__ΩBaseCommandOptions = __ΩBaseCommandOptions;
|
|
13
|
-
//# sourceMappingURL=options.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.cjs","names":[],"sources":[],"mappings":""}
|
package/dist/types/options.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.cts","names":[],"sources":["../../src/types/options.ts"],"mappings":";UAkBiB,kBAAA;EACf,IAAA;EACA,OAAO;AAAA"}
|
package/dist/types/options.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.mts","names":[],"sources":["../../src/types/options.ts"],"mappings":""}
|
package/dist/types/options.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.mjs","names":[],"sources":[],"mappings":""}
|