@shell-shock/plugin-theme 0.4.17 → 0.4.19
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/core/dist/index.d.cts +1 -1
- package/dist/core/dist/index.d.mts +1 -1
- package/dist/core/dist/types/command.d.cts +75 -8
- package/dist/core/dist/types/command.d.cts.map +1 -1
- package/dist/core/dist/types/command.d.mts +75 -8
- package/dist/core/dist/types/command.d.mts.map +1 -1
- package/dist/core/dist/types/config.d.cts +2 -3
- package/dist/core/dist/types/config.d.cts.map +1 -1
- package/dist/core/dist/types/config.d.mts +2 -3
- package/dist/core/dist/types/config.d.mts.map +1 -1
- package/package.json +7 -7
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, StringCommandParameter } from "./types/command.cjs";
|
|
1
|
+
import { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.cjs";
|
|
2
2
|
import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./types/config.cjs";
|
|
3
3
|
import { Context } from "./types/context.cjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, StringCommandParameter } from "./types/command.mjs";
|
|
1
|
+
import { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter } from "./types/command.mjs";
|
|
2
2
|
import { Options, OutputConfig, ReferenceOptions, ResolvedConfig, UserConfig } from "./types/config.mjs";
|
|
3
3
|
import { Context } from "./types/context.mjs";
|
|
@@ -28,6 +28,10 @@ interface BaseCommandParameter {
|
|
|
28
28
|
* Alternative option names.
|
|
29
29
|
*/
|
|
30
30
|
alias: string[];
|
|
31
|
+
/**
|
|
32
|
+
* The default value.
|
|
33
|
+
*/
|
|
34
|
+
default?: string | number | boolean | string[] | number[] | boolean[];
|
|
31
35
|
/**
|
|
32
36
|
* The environment variable name or false to disable.
|
|
33
37
|
*/
|
|
@@ -41,7 +45,7 @@ interface BaseCommandParameter {
|
|
|
41
45
|
*/
|
|
42
46
|
variadic: boolean;
|
|
43
47
|
}
|
|
44
|
-
interface
|
|
48
|
+
interface BaseStringCommandParameter extends BaseCommandParameter {
|
|
45
49
|
/**
|
|
46
50
|
* The option kind.
|
|
47
51
|
*/
|
|
@@ -49,7 +53,7 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
49
53
|
/**
|
|
50
54
|
* The default value.
|
|
51
55
|
*/
|
|
52
|
-
default?: string;
|
|
56
|
+
default?: string | string[];
|
|
53
57
|
/**
|
|
54
58
|
* A standard string format to validate the option value against.
|
|
55
59
|
*/
|
|
@@ -59,7 +63,28 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
59
63
|
*/
|
|
60
64
|
choices?: string[];
|
|
61
65
|
}
|
|
62
|
-
interface
|
|
66
|
+
interface SingleStringCommandParameter extends BaseStringCommandParameter {
|
|
67
|
+
/**
|
|
68
|
+
* The default value.
|
|
69
|
+
*/
|
|
70
|
+
default?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the option accepts multiple values.
|
|
73
|
+
*/
|
|
74
|
+
variadic: false;
|
|
75
|
+
}
|
|
76
|
+
interface VariadicStringCommandParameter extends BaseStringCommandParameter {
|
|
77
|
+
/**
|
|
78
|
+
* The default value.
|
|
79
|
+
*/
|
|
80
|
+
default?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Whether the option accepts multiple values.
|
|
83
|
+
*/
|
|
84
|
+
variadic: true;
|
|
85
|
+
}
|
|
86
|
+
type StringCommandParameter = SingleStringCommandParameter | VariadicStringCommandParameter;
|
|
87
|
+
interface BaseNumberCommandParameter extends BaseCommandParameter {
|
|
63
88
|
/**
|
|
64
89
|
* The option kind.
|
|
65
90
|
*/
|
|
@@ -67,23 +92,65 @@ interface NumberCommandParameter extends BaseCommandParameter {
|
|
|
67
92
|
/**
|
|
68
93
|
* The default value.
|
|
69
94
|
*/
|
|
70
|
-
default?: number;
|
|
95
|
+
default?: number | number[];
|
|
71
96
|
/**
|
|
72
97
|
* The allowed choices for the option value.
|
|
73
98
|
*/
|
|
74
99
|
choices?: number[];
|
|
75
100
|
}
|
|
76
|
-
interface
|
|
101
|
+
interface SingleNumberCommandParameter extends BaseNumberCommandParameter {
|
|
102
|
+
/**
|
|
103
|
+
* The default value.
|
|
104
|
+
*/
|
|
105
|
+
default?: number;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the option accepts multiple values.
|
|
108
|
+
*/
|
|
109
|
+
variadic: false;
|
|
110
|
+
}
|
|
111
|
+
interface VariadicNumberCommandParameter extends BaseNumberCommandParameter {
|
|
112
|
+
/**
|
|
113
|
+
* The default value.
|
|
114
|
+
*/
|
|
115
|
+
default?: number[];
|
|
116
|
+
/**
|
|
117
|
+
* Whether the option accepts multiple values.
|
|
118
|
+
*/
|
|
119
|
+
variadic: true;
|
|
120
|
+
}
|
|
121
|
+
type NumberCommandParameter = SingleNumberCommandParameter | VariadicNumberCommandParameter;
|
|
122
|
+
interface BaseBooleanCommandParameter extends BaseCommandParameter {
|
|
77
123
|
/**
|
|
78
124
|
* The option kind.
|
|
79
125
|
*/
|
|
80
126
|
kind: "boolean";
|
|
127
|
+
/**
|
|
128
|
+
* The default value.
|
|
129
|
+
*/
|
|
130
|
+
default?: boolean | boolean[];
|
|
131
|
+
}
|
|
132
|
+
interface SingleBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
81
133
|
/**
|
|
82
134
|
* The default value.
|
|
83
135
|
*/
|
|
84
136
|
default?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Whether the option accepts multiple values.
|
|
139
|
+
*/
|
|
140
|
+
variadic: false;
|
|
141
|
+
}
|
|
142
|
+
interface VariadicBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
143
|
+
/**
|
|
144
|
+
* The default value.
|
|
145
|
+
*/
|
|
146
|
+
default?: boolean[];
|
|
147
|
+
/**
|
|
148
|
+
* Whether the option accepts multiple values.
|
|
149
|
+
*/
|
|
150
|
+
variadic: true;
|
|
85
151
|
}
|
|
86
|
-
|
|
152
|
+
type BooleanCommandParameter = SingleBooleanCommandParameter | VariadicBooleanCommandParameter;
|
|
153
|
+
interface BooleanCommandOption extends SingleBooleanCommandParameter {
|
|
87
154
|
/**
|
|
88
155
|
* The option this negates.
|
|
89
156
|
*/
|
|
@@ -93,7 +160,7 @@ interface BooleanCommandOption extends BooleanCommandParameter {
|
|
|
93
160
|
*/
|
|
94
161
|
skipAddingNegative?: boolean;
|
|
95
162
|
}
|
|
96
|
-
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption;
|
|
163
|
+
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption | VariadicBooleanCommandParameter;
|
|
97
164
|
type CommandArgument = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
|
|
98
165
|
interface CommandBase {
|
|
99
166
|
/**
|
|
@@ -203,5 +270,5 @@ type CommandTree = CommandConfig & {
|
|
|
203
270
|
children: Record<string, CommandTree>;
|
|
204
271
|
};
|
|
205
272
|
//#endregion
|
|
206
|
-
export { BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, StringCommandParameter };
|
|
273
|
+
export { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
|
|
207
274
|
//# sourceMappingURL=command.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","StandardJSONSchemaV1","JsonSchema7TupleType","AnyFunction","JSONSchema7Object","z3","CommandParameterType","CommandParameterKinds","string","number","boolean","CommandParameterKind","BaseCommandParameter","name","kind","title","description","alias","env","optional","variadic","
|
|
1
|
+
{"version":3,"file":"command.d.cts","names":["ResolvedEntryTypeDefinition","StandardJSONSchemaV1","JsonSchema7TupleType","AnyFunction","JSONSchema7Object","z3","CommandParameterType","CommandParameterKinds","string","number","boolean","CommandParameterKind","BaseCommandParameter","name","kind","title","description","alias","default","env","optional","variadic","BaseSingleCommandParameter","BaseVariadicCommandParameter","BaseStringCommandParameter","format","choices","SingleStringCommandParameter","VariadicStringCommandParameter","StringCommandParameter","BaseNumberCommandParameter","SingleNumberCommandParameter","VariadicNumberCommandParameter","NumberCommandParameter","BaseBooleanCommandParameter","SingleBooleanCommandParameter","VariadicBooleanCommandParameter","BooleanCommandParameter","CommandParameter","AsCommandParameterConfig","T","Pick","Omit","Partial","StringCommandParameterConfig","NumberCommandParameterConfig","BooleanCommandParameterConfig","CommandParameterConfig","BooleanCommandOption","isNegativeOf","skipAddingNegative","CommandOption","CommandOptionConfig","CommandArgument","CommandArgumentConfig","CommandBase","id","path","segments","icon","reference","isVirtual","CommandConfig","entry","tags","source","CommandTree","Record","options","args","parent","children","SerializedCommandTree","CommandMetadata","CommandModule","AnyZodObject","AnyZodTuple","metadata"],"sources":["../../../../../core/dist/types/command.d.cts"],"mappings":";;;cAScO,qBAAAA;EAAAA,SACHC,MAAAA;EAAAA,SACAC,MAAAA;EAAAA,SACAC,OAAAA;AAAAA;AAAAA,KAENC,oBAAAA,WAA+BJ,qBAAAA,eAAoCA,qBAAAA;AAAAA,UAC9DK,oBAAAA;EADmF;AAAA;;EAK3FC,IAAAA;EAI0B;;;EAA1BC,IAAAA,EAAMH,oBAAAA;EAINI;;;EAAAA,KAAAA;EAgBAI;;;EAZAH,WAAAA;EAoBQ;AAoBA;;EApCRC,KAAAA;EAsC+D;;;EAlC/DC,OAAAA;EA8CAO;;;EA1CAN,GAAAA;EA8CO;;;EA1CPC,QAAAA;EA4C6CI;;;EAxC7CH,QAAAA;AAAAA;AAAAA,UAsBQG,0BAAAA,SAAmCZ,oBAAAA;EAmD3Cc;;;EA/CAZ,IAAAA;EAiDoC;;;EA7CpCI,OAAAA;EAiDAA;;;EA7CAO,MAAAA;EAiDQ;;;EA7CRC,OAAAA;AAAAA;AAAAA,UAEQC,4BAAAA,SAAqCH,0BAAAA;EAqD7CH;;;EAjDAH,OAAAA;EAmDyB;;;EA/CzBG,QAAAA;AAAAA;AAAAA,UAEQO,8BAAAA,SAAuCJ,0BAAAA;;;;EAI/CN,OAAAA;EAkDAA;;;EA9CAG,QAAAA;AAAAA;AAAAA,KAEGQ,sBAAAA,GAAyBF,4BAAAA,GAA+BC,8BAAAA;AAAAA,UACnDE,0BAAAA,SAAmClB,oBAAAA;EA6CGsB;;;EAzC9CpB,IAAAA;EAiDQ;AAAA;;EA7CRI,OAAAA;EA+C2E;;;EA3C3EQ,OAAAA;AAAAA;AAAAA,UAEQK,4BAAA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EAIAO,KAAAA,EAAO/D,2BAAAA;;;;;;;EAOPgE,IAAAA;;;;EAIAC,MAAAA;AAAAA;AAAAA,KAEGC,WAAAA,GAAcJ,aAAAA;;;;EAIjB/C,KAAAA;;;;EAIAC,WAAAA;;;;EAIAC,KAAAA;;;;;;;EAOA+C,IAAAA;;;;EAIAC,MAAAA;;;;EAIAG,OAAAA,EAASD,MAAAA,SAAehB,aAAAA;;;;EAIxBkB,IAAAA,EAAMhB,eAAAA;;;;EAINiB,MAAAA,SAAeJ,WAAAA;;;;EAIfK,QAAAA,EAAUJ,MAAAA,SAAeD,WAAAA;AAAAA"}
|
|
@@ -28,6 +28,10 @@ interface BaseCommandParameter {
|
|
|
28
28
|
* Alternative option names.
|
|
29
29
|
*/
|
|
30
30
|
alias: string[];
|
|
31
|
+
/**
|
|
32
|
+
* The default value.
|
|
33
|
+
*/
|
|
34
|
+
default?: string | number | boolean | string[] | number[] | boolean[];
|
|
31
35
|
/**
|
|
32
36
|
* The environment variable name or false to disable.
|
|
33
37
|
*/
|
|
@@ -41,7 +45,7 @@ interface BaseCommandParameter {
|
|
|
41
45
|
*/
|
|
42
46
|
variadic: boolean;
|
|
43
47
|
}
|
|
44
|
-
interface
|
|
48
|
+
interface BaseStringCommandParameter extends BaseCommandParameter {
|
|
45
49
|
/**
|
|
46
50
|
* The option kind.
|
|
47
51
|
*/
|
|
@@ -49,7 +53,7 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
49
53
|
/**
|
|
50
54
|
* The default value.
|
|
51
55
|
*/
|
|
52
|
-
default?: string;
|
|
56
|
+
default?: string | string[];
|
|
53
57
|
/**
|
|
54
58
|
* A standard string format to validate the option value against.
|
|
55
59
|
*/
|
|
@@ -59,7 +63,28 @@ interface StringCommandParameter extends BaseCommandParameter {
|
|
|
59
63
|
*/
|
|
60
64
|
choices?: string[];
|
|
61
65
|
}
|
|
62
|
-
interface
|
|
66
|
+
interface SingleStringCommandParameter extends BaseStringCommandParameter {
|
|
67
|
+
/**
|
|
68
|
+
* The default value.
|
|
69
|
+
*/
|
|
70
|
+
default?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the option accepts multiple values.
|
|
73
|
+
*/
|
|
74
|
+
variadic: false;
|
|
75
|
+
}
|
|
76
|
+
interface VariadicStringCommandParameter extends BaseStringCommandParameter {
|
|
77
|
+
/**
|
|
78
|
+
* The default value.
|
|
79
|
+
*/
|
|
80
|
+
default?: string[];
|
|
81
|
+
/**
|
|
82
|
+
* Whether the option accepts multiple values.
|
|
83
|
+
*/
|
|
84
|
+
variadic: true;
|
|
85
|
+
}
|
|
86
|
+
type StringCommandParameter = SingleStringCommandParameter | VariadicStringCommandParameter;
|
|
87
|
+
interface BaseNumberCommandParameter extends BaseCommandParameter {
|
|
63
88
|
/**
|
|
64
89
|
* The option kind.
|
|
65
90
|
*/
|
|
@@ -67,23 +92,65 @@ interface NumberCommandParameter extends BaseCommandParameter {
|
|
|
67
92
|
/**
|
|
68
93
|
* The default value.
|
|
69
94
|
*/
|
|
70
|
-
default?: number;
|
|
95
|
+
default?: number | number[];
|
|
71
96
|
/**
|
|
72
97
|
* The allowed choices for the option value.
|
|
73
98
|
*/
|
|
74
99
|
choices?: number[];
|
|
75
100
|
}
|
|
76
|
-
interface
|
|
101
|
+
interface SingleNumberCommandParameter extends BaseNumberCommandParameter {
|
|
102
|
+
/**
|
|
103
|
+
* The default value.
|
|
104
|
+
*/
|
|
105
|
+
default?: number;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the option accepts multiple values.
|
|
108
|
+
*/
|
|
109
|
+
variadic: false;
|
|
110
|
+
}
|
|
111
|
+
interface VariadicNumberCommandParameter extends BaseNumberCommandParameter {
|
|
112
|
+
/**
|
|
113
|
+
* The default value.
|
|
114
|
+
*/
|
|
115
|
+
default?: number[];
|
|
116
|
+
/**
|
|
117
|
+
* Whether the option accepts multiple values.
|
|
118
|
+
*/
|
|
119
|
+
variadic: true;
|
|
120
|
+
}
|
|
121
|
+
type NumberCommandParameter = SingleNumberCommandParameter | VariadicNumberCommandParameter;
|
|
122
|
+
interface BaseBooleanCommandParameter extends BaseCommandParameter {
|
|
77
123
|
/**
|
|
78
124
|
* The option kind.
|
|
79
125
|
*/
|
|
80
126
|
kind: "boolean";
|
|
127
|
+
/**
|
|
128
|
+
* The default value.
|
|
129
|
+
*/
|
|
130
|
+
default?: boolean | boolean[];
|
|
131
|
+
}
|
|
132
|
+
interface SingleBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
81
133
|
/**
|
|
82
134
|
* The default value.
|
|
83
135
|
*/
|
|
84
136
|
default?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Whether the option accepts multiple values.
|
|
139
|
+
*/
|
|
140
|
+
variadic: false;
|
|
141
|
+
}
|
|
142
|
+
interface VariadicBooleanCommandParameter extends BaseBooleanCommandParameter {
|
|
143
|
+
/**
|
|
144
|
+
* The default value.
|
|
145
|
+
*/
|
|
146
|
+
default?: boolean[];
|
|
147
|
+
/**
|
|
148
|
+
* Whether the option accepts multiple values.
|
|
149
|
+
*/
|
|
150
|
+
variadic: true;
|
|
85
151
|
}
|
|
86
|
-
|
|
152
|
+
type BooleanCommandParameter = SingleBooleanCommandParameter | VariadicBooleanCommandParameter;
|
|
153
|
+
interface BooleanCommandOption extends SingleBooleanCommandParameter {
|
|
87
154
|
/**
|
|
88
155
|
* The option this negates.
|
|
89
156
|
*/
|
|
@@ -93,7 +160,7 @@ interface BooleanCommandOption extends BooleanCommandParameter {
|
|
|
93
160
|
*/
|
|
94
161
|
skipAddingNegative?: boolean;
|
|
95
162
|
}
|
|
96
|
-
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption;
|
|
163
|
+
type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCommandOption | VariadicBooleanCommandParameter;
|
|
97
164
|
type CommandArgument = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
|
|
98
165
|
interface CommandBase {
|
|
99
166
|
/**
|
|
@@ -203,5 +270,5 @@ type CommandTree = CommandConfig & {
|
|
|
203
270
|
children: Record<string, CommandTree>;
|
|
204
271
|
};
|
|
205
272
|
//#endregion
|
|
206
|
-
export { BaseCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, StringCommandParameter };
|
|
273
|
+
export { BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseStringCommandParameter, BooleanCommandOption, BooleanCommandParameter, CommandArgument, CommandBase, CommandConfig, CommandOption, CommandParameterKind, CommandParameterKinds, CommandTree, NumberCommandParameter, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
|
|
207
274
|
//# sourceMappingURL=command.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.mts","names":["ResolvedEntryTypeDefinition","StandardJSONSchemaV1","JsonSchema7TupleType","AnyFunction","JSONSchema7Object","z3","CommandParameterType","CommandParameterKinds","string","number","boolean","CommandParameterKind","BaseCommandParameter","name","kind","title","description","alias","env","optional","variadic","
|
|
1
|
+
{"version":3,"file":"command.d.mts","names":["ResolvedEntryTypeDefinition","StandardJSONSchemaV1","JsonSchema7TupleType","AnyFunction","JSONSchema7Object","z3","CommandParameterType","CommandParameterKinds","string","number","boolean","CommandParameterKind","BaseCommandParameter","name","kind","title","description","alias","default","env","optional","variadic","BaseSingleCommandParameter","BaseVariadicCommandParameter","BaseStringCommandParameter","format","choices","SingleStringCommandParameter","VariadicStringCommandParameter","StringCommandParameter","BaseNumberCommandParameter","SingleNumberCommandParameter","VariadicNumberCommandParameter","NumberCommandParameter","BaseBooleanCommandParameter","SingleBooleanCommandParameter","VariadicBooleanCommandParameter","BooleanCommandParameter","CommandParameter","AsCommandParameterConfig","T","Pick","Omit","Partial","StringCommandParameterConfig","NumberCommandParameterConfig","BooleanCommandParameterConfig","CommandParameterConfig","BooleanCommandOption","isNegativeOf","skipAddingNegative","CommandOption","CommandOptionConfig","CommandArgument","CommandArgumentConfig","CommandBase","id","path","segments","icon","reference","isVirtual","CommandConfig","entry","tags","source","CommandTree","Record","options","args","parent","children","SerializedCommandTree","CommandMetadata","CommandModule","AnyZodObject","AnyZodTuple","metadata"],"sources":["../../../../../core/dist/types/command.d.cts"],"mappings":";;;cAScO,qBAAAA;EAAAA,SACHC,MAAAA;EAAAA,SACAC,MAAAA;EAAAA,SACAC,OAAAA;AAAAA;AAAAA,KAENC,oBAAAA,WAA+BJ,qBAAAA,eAAoCA,qBAAAA;AAAAA,UAC9DK,oBAAAA;EADmF;AAAA;;EAK3FC,IAAAA;EAI0B;;;EAA1BC,IAAAA,EAAMH,oBAAAA;EAINI;;;EAAAA,KAAAA;EAgBAI;;;EAZAH,WAAAA;EAoBQ;AAoBA;;EApCRC,KAAAA;EAsC+D;;;EAlC/DC,OAAAA;EA8CAO;;;EA1CAN,GAAAA;EA8CO;;;EA1CPC,QAAAA;EA4C6CI;;;EAxC7CH,QAAAA;AAAAA;AAAAA,UAsBQG,0BAAAA,SAAmCZ,oBAAAA;EAmD3Cc;;;EA/CAZ,IAAAA;EAiDoC;;;EA7CpCI,OAAAA;EAiDAA;;;EA7CAO,MAAAA;EAiDQ;;;EA7CRC,OAAAA;AAAAA;AAAAA,UAEQC,4BAAAA,SAAqCH,0BAAAA;EAqD7CH;;;EAjDAH,OAAAA;EAmDyB;;;EA/CzBG,QAAAA;AAAAA;AAAAA,UAEQO,8BAAAA,SAAuCJ,0BAAAA;;;;EAI/CN,OAAAA;EAkDAA;;;EA9CAG,QAAAA;AAAAA;AAAAA,KAEGQ,sBAAAA,GAAyBF,4BAAAA,GAA+BC,8BAAAA;AAAAA,UACnDE,0BAAAA,SAAmClB,oBAAAA;EA6CGsB;;;EAzC9CpB,IAAAA;EAiDQ;AAAA;;EA7CRI,OAAAA;EA+C2E;;;EA3C3EQ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AAsBP,WAAAA;;;;EAI9BC,EAAAA;;;;EAIAO,KAAAA,EAAO/D,2BAAAA;;;;;;;EAOPgE,IAAAA;;;;EAIAC,MAAAA;AAAAA;AAAAA,KAEGC,WAAAA,GAAcJ,aAAAA;;;;EAIjB/C,KAAAA;;;;EAIAC,WAAAA;;;;EAIAC,KAAAA;;;;;;;EAOA+C,IAAAA;;;;EAIAC,MAAAA;;;;EAIAG,OAAAA,EAASD,MAAAA,SAAehB,aAAAA;;;;EAIxBkB,IAAAA,EAAMhB,eAAAA;;;;EAINiB,MAAAA,SAAeJ,WAAAA;;;;EAIfK,QAAAA,EAAUJ,MAAAA,SAAeD,WAAAA;AAAAA"}
|
|
@@ -2,7 +2,6 @@ import { CommandBase, CommandOption } from "./command.cjs";
|
|
|
2
2
|
import { Context } from "./context.cjs";
|
|
3
3
|
import { OutputConfig } from "powerlines";
|
|
4
4
|
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
5
|
-
import { DeepkitPluginResolvedConfig, DeepkitPluginUserConfig } from "@powerlines/plugin-deepkit";
|
|
6
5
|
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
7
6
|
import { TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
8
7
|
|
|
@@ -81,7 +80,7 @@ type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage"> & {
|
|
|
81
80
|
/**
|
|
82
81
|
* The user configuration options for Shell Shock.
|
|
83
82
|
*/
|
|
84
|
-
type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> &
|
|
83
|
+
type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Pick<NodeJsPluginUserConfig, "root"> & {
|
|
85
84
|
/**
|
|
86
85
|
* Configuration for the output of the build process
|
|
87
86
|
*/
|
|
@@ -90,7 +89,7 @@ type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Partial<Deepki
|
|
|
90
89
|
/**
|
|
91
90
|
* The resolved configuration options for Shell Shock.
|
|
92
91
|
*/
|
|
93
|
-
type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig &
|
|
92
|
+
type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
|
|
94
93
|
/**
|
|
95
94
|
* 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).
|
|
96
95
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AutoMDPluginResolvedConfig","
|
|
1
|
+
{"version":3,"file":"config.d.cts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","NodeJsPluginUserConfig","TsdownPluginResolvedConfig","TsdownPluginUserConfig","BuildOptions","Pick","ReferenceOptions","app","commands","BaseOptions","Partial","globalOptions","context","input","isCaseSensitive","bin","autoAssignEnv","reference","Options","dts","UserConfig","output","ResolvedConfig","Omit","Required","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;KAQKW,YAAAA,GAAeC,IAAAA,CAAKF,sBAAAA;AAAAA,UACfG,gBAAAA;;;;EAIRC,GAAAA;EAJwB;;;;AAWhB;;EAARC,QAAAA;AAAAA;AAAAA,KAEGC,WAAAA,GAAcC,OAAAA,CAAQN,YAAAA;EAOTV;;;;;;EAAhBiB,aAAAA,GAAgBjB,aAAAA,OAAoBkB,OAAAA,EAASjB,OAAAA,EAASkB,KAAAA,EAAOpB,WAAAA,KAAgBC,aAAAA;EAP5DgB;;;;;EAajBI,eAAAA;EAN6DrB;;;;;;;;;;EAiB7DsB,GAAAA;EAsBU;;;;;;;;;EAZVC,aAAAA;EAYsD;;AAAA;;;;EALtDC,SAAAA,GAAYX,gBAAAA;AAAAA;;;;KAKTY,OAAAA,GAAUT,WAAAA,GAAcC,OAAAA,CAAQX,mBAAAA;;;;KAIhCH,cAAAA,GAAeS,IAAAA,CAAKR,YAAAA;EASOa;;;EAL9BS,GAAAA;AAAAA;;;;KAKGC,UAAAA,GAAaX,WAAAA,GAAcC,OAAAA,CAAQT,sBAAAA,IAA0BI,IAAAA,CAAKJ,sBAAAA;EAALI;;;EAIhEgB,MAAAA,GAASzB,cAAAA;AAAAA;;AAAY;;KAKlB0B,cAAAA,GAAiBpB,0BAAAA,GAA6BJ,0BAAAA,GAA6BE,0BAAAA,GAA6BwB,QAAAA,CAASD,IAAAA,CAAKL,OAAAA;EAArGhB;;;;;;;;;;EAWpBa,GAAAA,EAAKU,MAAAA;EAXevB;;;EAepBe,SAAAA,EAAWX,gBAAAA;EAfyGiB;;;EAmBpHG,oBAAAA;EAJAT;;;EAQAU,UAAAA,EAAYP,UAAAA;AAAAA"}
|
|
@@ -2,7 +2,6 @@ import { CommandBase, CommandOption } from "./command.mjs";
|
|
|
2
2
|
import { Context } from "./context.mjs";
|
|
3
3
|
import { OutputConfig } from "powerlines";
|
|
4
4
|
import { AutoMDPluginResolvedConfig } from "@powerlines/plugin-automd";
|
|
5
|
-
import { DeepkitPluginResolvedConfig, DeepkitPluginUserConfig } from "@powerlines/plugin-deepkit";
|
|
6
5
|
import { NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig } from "@powerlines/plugin-nodejs/types/plugin";
|
|
7
6
|
import { TsdownPluginResolvedConfig, TsdownPluginUserConfig } from "@powerlines/plugin-tsdown/types/plugin";
|
|
8
7
|
|
|
@@ -81,7 +80,7 @@ type OutputConfig$1 = Pick<OutputConfig, "path" | "copy" | "storage"> & {
|
|
|
81
80
|
/**
|
|
82
81
|
* The user configuration options for Shell Shock.
|
|
83
82
|
*/
|
|
84
|
-
type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> &
|
|
83
|
+
type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Pick<NodeJsPluginUserConfig, "root"> & {
|
|
85
84
|
/**
|
|
86
85
|
* Configuration for the output of the build process
|
|
87
86
|
*/
|
|
@@ -90,7 +89,7 @@ type UserConfig = BaseOptions & Partial<NodeJsPluginUserConfig> & Partial<Deepki
|
|
|
90
89
|
/**
|
|
91
90
|
* The resolved configuration options for Shell Shock.
|
|
92
91
|
*/
|
|
93
|
-
type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig &
|
|
92
|
+
type ResolvedConfig = TsdownPluginResolvedConfig & AutoMDPluginResolvedConfig & NodeJsPluginResolvedConfig & Required<Omit<Options, "bin" | "reference">> & {
|
|
94
93
|
/**
|
|
95
94
|
* 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).
|
|
96
95
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.mts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AutoMDPluginResolvedConfig","
|
|
1
|
+
{"version":3,"file":"config.d.mts","names":["CommandBase","CommandOption","Context","OutputConfig","OutputConfig$1","AutoMDPluginResolvedConfig","NodeJsPluginOptions","NodeJsPluginResolvedConfig","NodeJsPluginUserConfig","TsdownPluginResolvedConfig","TsdownPluginUserConfig","BuildOptions","Pick","ReferenceOptions","app","commands","BaseOptions","Partial","globalOptions","context","input","isCaseSensitive","bin","autoAssignEnv","reference","Options","dts","UserConfig","output","ResolvedConfig","Omit","Required","Record","appSpecificEnvPrefix","userConfig"],"sources":["../../../../../core/dist/types/config.d.cts"],"mappings":";;;;;;;;;KAQKW,YAAAA,GAAeC,IAAAA,CAAKF,sBAAAA;AAAAA,UACfG,gBAAAA;;;;EAIRC,GAAAA;EAJwB;;;;AAWhB;;EAARC,QAAAA;AAAAA;AAAAA,KAEGC,WAAAA,GAAcC,OAAAA,CAAQN,YAAAA;EAOTV;;;;;;EAAhBiB,aAAAA,GAAgBjB,aAAAA,OAAoBkB,OAAAA,EAASjB,OAAAA,EAASkB,KAAAA,EAAOpB,WAAAA,KAAgBC,aAAAA;EAP5DgB;;;;;EAajBI,eAAAA;EAN6DrB;;;;;;;;;;EAiB7DsB,GAAAA;EAsBU;;;;;;;;;EAZVC,aAAAA;EAYsD;;AAAA;;;;EALtDC,SAAAA,GAAYX,gBAAAA;AAAAA;;;;KAKTY,OAAAA,GAAUT,WAAAA,GAAcC,OAAAA,CAAQX,mBAAAA;;;;KAIhCH,cAAAA,GAAeS,IAAAA,CAAKR,YAAAA;EASOa;;;EAL9BS,GAAAA;AAAAA;;;;KAKGC,UAAAA,GAAaX,WAAAA,GAAcC,OAAAA,CAAQT,sBAAAA,IAA0BI,IAAAA,CAAKJ,sBAAAA;EAALI;;;EAIhEgB,MAAAA,GAASzB,cAAAA;AAAAA;;AAAY;;KAKlB0B,cAAAA,GAAiBpB,0BAAAA,GAA6BJ,0BAAAA,GAA6BE,0BAAAA,GAA6BwB,QAAAA,CAASD,IAAAA,CAAKL,OAAAA;EAArGhB;;;;;;;;;;EAWpBa,GAAAA,EAAKU,MAAAA;EAXevB;;;EAepBe,SAAAA,EAAWX,gBAAAA;EAfyGiB;;;EAmBpHG,oBAAAA;EAJAT;;;EAQAU,UAAAA,EAAYP,UAAAA;AAAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/plugin-theme",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
|
|
6
6
|
"keywords": [
|
|
@@ -223,20 +223,20 @@
|
|
|
223
223
|
"files": ["dist/**/*"],
|
|
224
224
|
"dependencies": {
|
|
225
225
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
226
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
227
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
228
|
-
"@powerlines/plugin-style-dictionary": "^0.3.
|
|
226
|
+
"@powerlines/plugin-alloy": "^0.26.18",
|
|
227
|
+
"@powerlines/plugin-plugin": "^0.12.350",
|
|
228
|
+
"@powerlines/plugin-style-dictionary": "^0.3.300",
|
|
229
229
|
"@stryke/helpers": "^0.10.8",
|
|
230
230
|
"@stryke/type-checks": "^0.6.1",
|
|
231
231
|
"@stryke/string-format": "^0.17.9",
|
|
232
232
|
"defu": "^6.1.7",
|
|
233
|
-
"powerlines": "^0.42.
|
|
233
|
+
"powerlines": "^0.42.40",
|
|
234
234
|
"style-dictionary": "^5.4.0"
|
|
235
235
|
},
|
|
236
236
|
"devDependencies": {
|
|
237
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
237
|
+
"@powerlines/plugin-deepkit": "^0.11.280",
|
|
238
238
|
"@types/node": "^25.6.0"
|
|
239
239
|
},
|
|
240
240
|
"publishConfig": { "access": "public" },
|
|
241
|
-
"gitHead": "
|
|
241
|
+
"gitHead": "592aee8162fccb2d8547f6cf31b820aca3ae13ec"
|
|
242
242
|
}
|