virmator 5.2.7 → 5.2.9
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/configs/package.json +1 -1
- package/dist/api/command/define-command-inputs.d.ts +4 -4
- package/dist/api/command/define-command.d.ts +16 -6
- package/dist/api/create-virmator.d.ts +1 -1
- package/dist/api/run-command/check-npm-deps.d.ts +2 -1
- package/dist/api/run-command/extract-arguments.d.ts +2 -2
- package/dist/api/virmator-types.d.ts +1 -1
- package/dist/commands/code-in-markdown.command.d.ts +37 -2
- package/dist/commands/compile.command.d.ts +57 -2
- package/dist/commands/format.command.d.ts +73 -2
- package/dist/commands/frontend.command.d.ts +61 -2
- package/dist/commands/init.command.d.ts +37 -2
- package/dist/commands/publish.command.d.ts +29 -2
- package/dist/commands/spellcheck.command.d.ts +49 -2
- package/dist/commands/test-web.command.d.ts +49 -2
- package/dist/commands/test.command.d.ts +65 -2
- package/dist/commands/update-configs.command.d.ts +29 -2
- package/dist/index.d.ts +489 -12
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/configs/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"docs:update": "virmator code-in-markdown",
|
|
9
9
|
"format": "virmator format",
|
|
10
10
|
"preview": "virmator frontend preview",
|
|
11
|
-
"publish": "virmator publish npm run compile && npm run test:all",
|
|
11
|
+
"publish": "virmator publish \"npm run compile && npm run test:all\"",
|
|
12
12
|
"spellcheck": "virmator spellcheck",
|
|
13
13
|
"start": "npm install && virmator frontend",
|
|
14
14
|
"test": "virmator test",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ConfigFileDefinition } from '../config/config-file-definition';
|
|
2
2
|
export type DefineCommandInputs<CommandName extends string = string> = Readonly<{
|
|
3
3
|
commandName: CommandName;
|
|
4
|
-
subCommandDescriptions: Readonly<Record<string, string
|
|
5
|
-
configFiles: Readonly<Record<string, Readonly<ConfigFileDefinition
|
|
4
|
+
subCommandDescriptions: Readonly<Record<string, string>> | Readonly<{}>;
|
|
5
|
+
configFiles: Readonly<Record<string, Readonly<ConfigFileDefinition>>> | Readonly<{}>;
|
|
6
6
|
npmDeps: ReadonlyArray<string>;
|
|
7
7
|
}>;
|
|
8
8
|
export type SharedExecutorInputsAndCommandDefinition<DefineCommandInputsGeneric extends DefineCommandInputs> = DefineCommandInputsGeneric & {
|
|
9
|
-
allAvailableSubCommands: ReadonlyArray<keyof DefineCommandInputsGeneric['subCommandDescriptions']>;
|
|
9
|
+
allAvailableSubCommands: ReadonlyArray<keyof DefineCommandInputsGeneric['subCommandDescriptions'] extends string ? keyof DefineCommandInputsGeneric['subCommandDescriptions'] : never>;
|
|
10
10
|
subCommands: SubCommandsMap<DefineCommandInputsGeneric>;
|
|
11
11
|
};
|
|
12
12
|
export type SubCommandsMap<DefineCommandInputsGeneric extends DefineCommandInputs> = {
|
|
13
|
-
[Prop in keyof DefineCommandInputsGeneric['subCommandDescriptions']]: Prop;
|
|
13
|
+
[Prop in keyof DefineCommandInputsGeneric['subCommandDescriptions']]: Prop extends string ? Prop : never;
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=define-command-inputs.d.ts.map
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
+
import { IsAny } from 'type-fest/source/internal';
|
|
1
2
|
import { CreateDescriptionsCallback } from './command-description';
|
|
2
3
|
import { CommandExecutor, CommandExecutorDefinition } from './command-executor';
|
|
3
4
|
import { DefineCommandInputs, SharedExecutorInputsAndCommandDefinition } from './define-command-inputs';
|
|
4
|
-
export type
|
|
5
|
+
export type ExtendCallback<DefineCommandInputsGeneric extends DefineCommandInputs = DefineCommandInputs<any>> = (inputs: {
|
|
6
|
+
defineCommandInputs: Readonly<DefineCommandInputsGeneric>;
|
|
7
|
+
createDescription: CreateDescriptionsCallback<DefineCommandInputsGeneric>;
|
|
8
|
+
inputExecutor: CommandExecutorDefinition<DefineCommandInputsGeneric>;
|
|
9
|
+
}) => CommandDefinition<DefineCommandInputsGeneric>;
|
|
10
|
+
export type CommandDefinition<DefineCommandInputsGeneric extends DefineCommandInputs = any> = IsAny<DefineCommandInputsGeneric> extends true ? AnyCommandDefinition : SharedExecutorInputsAndCommandDefinition<DefineCommandInputsGeneric> & {
|
|
5
11
|
executor: CommandExecutor<DefineCommandInputsGeneric>;
|
|
6
12
|
createDescription: CreateDescriptionsCallback<DefineCommandInputsGeneric>;
|
|
7
|
-
extend:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
extend: ExtendCallback<DefineCommandInputsGeneric>;
|
|
14
|
+
};
|
|
15
|
+
type AnyCommandDefinition = DefineCommandInputs & {
|
|
16
|
+
allAvailableSubCommands: ReadonlyArray<string>;
|
|
17
|
+
subCommands: Record<string, string>;
|
|
18
|
+
executor: CommandExecutor<any>;
|
|
19
|
+
createDescription: CreateDescriptionsCallback<any>;
|
|
20
|
+
extend: ExtendCallback<any>;
|
|
12
21
|
};
|
|
13
22
|
export declare function defineCommand<DefineCommandInputsGeneric extends DefineCommandInputs>(defineCommandInputs: Readonly<DefineCommandInputsGeneric>, createDescription: CreateDescriptionsCallback<DefineCommandInputsGeneric>, inputExecutor: CommandExecutorDefinition<DefineCommandInputsGeneric>): CommandDefinition<DefineCommandInputsGeneric>;
|
|
23
|
+
export {};
|
|
14
24
|
//# sourceMappingURL=define-command.d.ts.map
|
|
@@ -5,5 +5,5 @@ import { ExtendedVirmator, ExtendVirmatorInputs } from './virmator-types';
|
|
|
5
5
|
* Creates a wrapped instance of virmator from which all its CLI commands can be called. Arguments
|
|
6
6
|
* can be passed in to add to virmator default configs or overwrite them.
|
|
7
7
|
*/
|
|
8
|
-
export declare function createVirmator<CommandDefinitionsGeneric extends ReadonlyArray<CommandDefinition
|
|
8
|
+
export declare function createVirmator<CommandDefinitionsGeneric extends ReadonlyArray<CommandDefinition>>(inputs: ExtendVirmatorInputs<CommandDefinitionsGeneric>): ExtendedVirmator<CommandDefinitionArrayToMapping<CommandDefinitionsGeneric>>;
|
|
9
9
|
//# sourceMappingURL=create-virmator.d.ts.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { DefineCommandInputs } from '../command/define-command-inputs';
|
|
1
2
|
export type UpdateDepsInput = Readonly<{
|
|
2
3
|
repoDir: string;
|
|
3
4
|
packageDir: string;
|
|
4
|
-
npmDeps:
|
|
5
|
+
npmDeps: DefineCommandInputs['npmDeps'];
|
|
5
6
|
packageBinName: string;
|
|
6
7
|
}>;
|
|
7
8
|
export declare function updateDepsAsNeeded(inputs: UpdateDepsInput): Promise<void>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function getRelevantArgs(allArgs: string[], binName: string): string[];
|
|
2
|
-
export type ExtractSubCommandsOutput<T> = {
|
|
2
|
+
export type ExtractSubCommandsOutput<T extends string> = {
|
|
3
3
|
subCommands: T[];
|
|
4
4
|
filteredArgs: string[];
|
|
5
5
|
};
|
|
6
|
-
export declare function extractSubCommands<T>(allArgs: ReadonlyArray<string>, availableSubCommands: ReadonlyArray<T>): ExtractSubCommandsOutput<T>;
|
|
6
|
+
export declare function extractSubCommands<T extends string = string>(allArgs: ReadonlyArray<string>, availableSubCommands: ReadonlyArray<T>): ExtractSubCommandsOutput<T>;
|
|
7
7
|
//# sourceMappingURL=extract-arguments.d.ts.map
|
|
@@ -11,7 +11,7 @@ export type ExtendedVirmator<CommandMappingGeneric extends Readonly<CommandMappi
|
|
|
11
11
|
cliHelpMessage: string;
|
|
12
12
|
markdownHelpMessage: string;
|
|
13
13
|
commandMapping: CommandMappingGeneric;
|
|
14
|
-
extend: <CommandDefinitionsGeneric extends ReadonlyArray<CommandDefinition
|
|
14
|
+
extend: <CommandDefinitionsGeneric extends ReadonlyArray<CommandDefinition>>(inputs: ExtendVirmatorInputs<CommandDefinitionsGeneric>) => ExtendedVirmator<CommandDefinitionArrayToMapping<CommandDefinitionsGeneric>>;
|
|
15
15
|
allConfigs: ReadonlyArray<ConfigFileDefinition>;
|
|
16
16
|
runInCli: () => Promise<void>;
|
|
17
17
|
run: (allArgs: string[], repoDir: string) => Promise<void>;
|
|
@@ -1,9 +1,44 @@
|
|
|
1
|
-
export declare const codeInMarkdownCommandDefinition:
|
|
1
|
+
export declare const codeInMarkdownCommandDefinition: {
|
|
2
2
|
commandName: "code-in-markdown";
|
|
3
3
|
subCommandDescriptions: {
|
|
4
4
|
readonly check: "Check that markdown files have their examples inserted and are up-to-date.";
|
|
5
5
|
};
|
|
6
6
|
configFiles: {};
|
|
7
7
|
npmDeps: readonly ["markdown-code-example-inserter"];
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
|
+
allAvailableSubCommands: readonly "check"[];
|
|
10
|
+
subCommands: import("..").SubCommandsMap<{
|
|
11
|
+
commandName: "code-in-markdown";
|
|
12
|
+
subCommandDescriptions: {
|
|
13
|
+
readonly check: "Check that markdown files have their examples inserted and are up-to-date.";
|
|
14
|
+
};
|
|
15
|
+
configFiles: {};
|
|
16
|
+
npmDeps: readonly ["markdown-code-example-inserter"];
|
|
17
|
+
}>;
|
|
18
|
+
} & {
|
|
19
|
+
executor: import("..").CommandExecutor<{
|
|
20
|
+
commandName: "code-in-markdown";
|
|
21
|
+
subCommandDescriptions: {
|
|
22
|
+
readonly check: "Check that markdown files have their examples inserted and are up-to-date.";
|
|
23
|
+
};
|
|
24
|
+
configFiles: {};
|
|
25
|
+
npmDeps: readonly ["markdown-code-example-inserter"];
|
|
26
|
+
}>;
|
|
27
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
28
|
+
commandName: "code-in-markdown";
|
|
29
|
+
subCommandDescriptions: {
|
|
30
|
+
readonly check: "Check that markdown files have their examples inserted and are up-to-date.";
|
|
31
|
+
};
|
|
32
|
+
configFiles: {};
|
|
33
|
+
npmDeps: readonly ["markdown-code-example-inserter"];
|
|
34
|
+
}>;
|
|
35
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
36
|
+
commandName: "code-in-markdown";
|
|
37
|
+
subCommandDescriptions: {
|
|
38
|
+
readonly check: "Check that markdown files have their examples inserted and are up-to-date.";
|
|
39
|
+
};
|
|
40
|
+
configFiles: {};
|
|
41
|
+
npmDeps: readonly ["markdown-code-example-inserter"];
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
9
44
|
//# sourceMappingURL=code-in-markdown.command.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const compileCommandDefinition:
|
|
1
|
+
export declare const compileCommandDefinition: {
|
|
2
2
|
commandName: "compile";
|
|
3
3
|
subCommandDescriptions: {
|
|
4
4
|
readonly check: "Run type checking without emitting compiled files.";
|
|
@@ -10,5 +10,60 @@ export declare const compileCommandDefinition: import("../api/command/define-com
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
npmDeps: readonly ["typescript"];
|
|
13
|
-
}
|
|
13
|
+
} & {
|
|
14
|
+
allAvailableSubCommands: readonly "check"[];
|
|
15
|
+
subCommands: import("..").SubCommandsMap<{
|
|
16
|
+
commandName: "compile";
|
|
17
|
+
subCommandDescriptions: {
|
|
18
|
+
readonly check: "Run type checking without emitting compiled files.";
|
|
19
|
+
};
|
|
20
|
+
configFiles: {
|
|
21
|
+
readonly tsConfig: {
|
|
22
|
+
readonly copyFromInternalPath: string;
|
|
23
|
+
readonly copyToPathRelativeToRepoDir: "tsconfig.json";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
npmDeps: readonly ["typescript"];
|
|
27
|
+
}>;
|
|
28
|
+
} & {
|
|
29
|
+
executor: import("..").CommandExecutor<{
|
|
30
|
+
commandName: "compile";
|
|
31
|
+
subCommandDescriptions: {
|
|
32
|
+
readonly check: "Run type checking without emitting compiled files.";
|
|
33
|
+
};
|
|
34
|
+
configFiles: {
|
|
35
|
+
readonly tsConfig: {
|
|
36
|
+
readonly copyFromInternalPath: string;
|
|
37
|
+
readonly copyToPathRelativeToRepoDir: "tsconfig.json";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
npmDeps: readonly ["typescript"];
|
|
41
|
+
}>;
|
|
42
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
43
|
+
commandName: "compile";
|
|
44
|
+
subCommandDescriptions: {
|
|
45
|
+
readonly check: "Run type checking without emitting compiled files.";
|
|
46
|
+
};
|
|
47
|
+
configFiles: {
|
|
48
|
+
readonly tsConfig: {
|
|
49
|
+
readonly copyFromInternalPath: string;
|
|
50
|
+
readonly copyToPathRelativeToRepoDir: "tsconfig.json";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
npmDeps: readonly ["typescript"];
|
|
54
|
+
}>;
|
|
55
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
56
|
+
commandName: "compile";
|
|
57
|
+
subCommandDescriptions: {
|
|
58
|
+
readonly check: "Run type checking without emitting compiled files.";
|
|
59
|
+
};
|
|
60
|
+
configFiles: {
|
|
61
|
+
readonly tsConfig: {
|
|
62
|
+
readonly copyFromInternalPath: string;
|
|
63
|
+
readonly copyToPathRelativeToRepoDir: "tsconfig.json";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
npmDeps: readonly ["typescript"];
|
|
67
|
+
}>;
|
|
68
|
+
};
|
|
14
69
|
//# sourceMappingURL=compile.command.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const formatCommandDefinition:
|
|
1
|
+
export declare const formatCommandDefinition: {
|
|
2
2
|
commandName: "format";
|
|
3
3
|
subCommandDescriptions: {
|
|
4
4
|
readonly check: "check formatting without overwriting files.";
|
|
@@ -14,5 +14,76 @@ export declare const formatCommandDefinition: import("../api/command/define-comm
|
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
17
|
-
}
|
|
17
|
+
} & {
|
|
18
|
+
allAvailableSubCommands: readonly "check"[];
|
|
19
|
+
subCommands: import("..").SubCommandsMap<{
|
|
20
|
+
commandName: "format";
|
|
21
|
+
subCommandDescriptions: {
|
|
22
|
+
readonly check: "check formatting without overwriting files.";
|
|
23
|
+
};
|
|
24
|
+
configFiles: {
|
|
25
|
+
readonly prettierrc: {
|
|
26
|
+
readonly copyFromInternalPath: string;
|
|
27
|
+
readonly copyToPathRelativeToRepoDir: ".prettierrc.js";
|
|
28
|
+
};
|
|
29
|
+
readonly prettierIgnore: {
|
|
30
|
+
readonly copyFromInternalPath: string;
|
|
31
|
+
readonly copyToPathRelativeToRepoDir: ".prettierignore";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
35
|
+
}>;
|
|
36
|
+
} & {
|
|
37
|
+
executor: import("..").CommandExecutor<{
|
|
38
|
+
commandName: "format";
|
|
39
|
+
subCommandDescriptions: {
|
|
40
|
+
readonly check: "check formatting without overwriting files.";
|
|
41
|
+
};
|
|
42
|
+
configFiles: {
|
|
43
|
+
readonly prettierrc: {
|
|
44
|
+
readonly copyFromInternalPath: string;
|
|
45
|
+
readonly copyToPathRelativeToRepoDir: ".prettierrc.js";
|
|
46
|
+
};
|
|
47
|
+
readonly prettierIgnore: {
|
|
48
|
+
readonly copyFromInternalPath: string;
|
|
49
|
+
readonly copyToPathRelativeToRepoDir: ".prettierignore";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
53
|
+
}>;
|
|
54
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
55
|
+
commandName: "format";
|
|
56
|
+
subCommandDescriptions: {
|
|
57
|
+
readonly check: "check formatting without overwriting files.";
|
|
58
|
+
};
|
|
59
|
+
configFiles: {
|
|
60
|
+
readonly prettierrc: {
|
|
61
|
+
readonly copyFromInternalPath: string;
|
|
62
|
+
readonly copyToPathRelativeToRepoDir: ".prettierrc.js";
|
|
63
|
+
};
|
|
64
|
+
readonly prettierIgnore: {
|
|
65
|
+
readonly copyFromInternalPath: string;
|
|
66
|
+
readonly copyToPathRelativeToRepoDir: ".prettierignore";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
70
|
+
}>;
|
|
71
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
72
|
+
commandName: "format";
|
|
73
|
+
subCommandDescriptions: {
|
|
74
|
+
readonly check: "check formatting without overwriting files.";
|
|
75
|
+
};
|
|
76
|
+
configFiles: {
|
|
77
|
+
readonly prettierrc: {
|
|
78
|
+
readonly copyFromInternalPath: string;
|
|
79
|
+
readonly copyToPathRelativeToRepoDir: ".prettierrc.js";
|
|
80
|
+
};
|
|
81
|
+
readonly prettierIgnore: {
|
|
82
|
+
readonly copyFromInternalPath: string;
|
|
83
|
+
readonly copyToPathRelativeToRepoDir: ".prettierignore";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
87
|
+
}>;
|
|
88
|
+
};
|
|
18
89
|
//# sourceMappingURL=format.command.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const frontendCommandDefinition:
|
|
1
|
+
export declare const frontendCommandDefinition: {
|
|
2
2
|
commandName: "frontend";
|
|
3
3
|
subCommandDescriptions: {
|
|
4
4
|
readonly build: "Builds and bundles the frontend for deployment.";
|
|
@@ -11,5 +11,64 @@ export declare const frontendCommandDefinition: import("../api/command/define-co
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
npmDeps: readonly ["vite", "@augment-vir/node-js"];
|
|
14
|
-
}
|
|
14
|
+
} & {
|
|
15
|
+
allAvailableSubCommands: readonly ("build" | "preview")[];
|
|
16
|
+
subCommands: import("..").SubCommandsMap<{
|
|
17
|
+
commandName: "frontend";
|
|
18
|
+
subCommandDescriptions: {
|
|
19
|
+
readonly build: "Builds and bundles the frontend for deployment.";
|
|
20
|
+
readonly preview: "Builds and previews the built output.";
|
|
21
|
+
};
|
|
22
|
+
configFiles: {
|
|
23
|
+
readonly vite: {
|
|
24
|
+
readonly copyFromInternalPath: string;
|
|
25
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
npmDeps: readonly ["vite", "@augment-vir/node-js"];
|
|
29
|
+
}>;
|
|
30
|
+
} & {
|
|
31
|
+
executor: import("..").CommandExecutor<{
|
|
32
|
+
commandName: "frontend";
|
|
33
|
+
subCommandDescriptions: {
|
|
34
|
+
readonly build: "Builds and bundles the frontend for deployment.";
|
|
35
|
+
readonly preview: "Builds and previews the built output.";
|
|
36
|
+
};
|
|
37
|
+
configFiles: {
|
|
38
|
+
readonly vite: {
|
|
39
|
+
readonly copyFromInternalPath: string;
|
|
40
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
npmDeps: readonly ["vite", "@augment-vir/node-js"];
|
|
44
|
+
}>;
|
|
45
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
46
|
+
commandName: "frontend";
|
|
47
|
+
subCommandDescriptions: {
|
|
48
|
+
readonly build: "Builds and bundles the frontend for deployment.";
|
|
49
|
+
readonly preview: "Builds and previews the built output.";
|
|
50
|
+
};
|
|
51
|
+
configFiles: {
|
|
52
|
+
readonly vite: {
|
|
53
|
+
readonly copyFromInternalPath: string;
|
|
54
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
npmDeps: readonly ["vite", "@augment-vir/node-js"];
|
|
58
|
+
}>;
|
|
59
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
60
|
+
commandName: "frontend";
|
|
61
|
+
subCommandDescriptions: {
|
|
62
|
+
readonly build: "Builds and bundles the frontend for deployment.";
|
|
63
|
+
readonly preview: "Builds and previews the built output.";
|
|
64
|
+
};
|
|
65
|
+
configFiles: {
|
|
66
|
+
readonly vite: {
|
|
67
|
+
readonly copyFromInternalPath: string;
|
|
68
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
npmDeps: readonly ["vite", "@augment-vir/node-js"];
|
|
72
|
+
}>;
|
|
73
|
+
};
|
|
15
74
|
//# sourceMappingURL=frontend.command.d.ts.map
|
|
@@ -1,9 +1,44 @@
|
|
|
1
|
-
export declare const initCommandDefinition:
|
|
1
|
+
export declare const initCommandDefinition: {
|
|
2
2
|
commandName: "init";
|
|
3
3
|
subCommandDescriptions: {
|
|
4
4
|
readonly force: "force overwrite files even if they already exist.";
|
|
5
5
|
};
|
|
6
6
|
configFiles: {};
|
|
7
7
|
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
8
|
-
}
|
|
8
|
+
} & {
|
|
9
|
+
allAvailableSubCommands: readonly "force"[];
|
|
10
|
+
subCommands: import("..").SubCommandsMap<{
|
|
11
|
+
commandName: "init";
|
|
12
|
+
subCommandDescriptions: {
|
|
13
|
+
readonly force: "force overwrite files even if they already exist.";
|
|
14
|
+
};
|
|
15
|
+
configFiles: {};
|
|
16
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
17
|
+
}>;
|
|
18
|
+
} & {
|
|
19
|
+
executor: import("..").CommandExecutor<{
|
|
20
|
+
commandName: "init";
|
|
21
|
+
subCommandDescriptions: {
|
|
22
|
+
readonly force: "force overwrite files even if they already exist.";
|
|
23
|
+
};
|
|
24
|
+
configFiles: {};
|
|
25
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
26
|
+
}>;
|
|
27
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
28
|
+
commandName: "init";
|
|
29
|
+
subCommandDescriptions: {
|
|
30
|
+
readonly force: "force overwrite files even if they already exist.";
|
|
31
|
+
};
|
|
32
|
+
configFiles: {};
|
|
33
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
34
|
+
}>;
|
|
35
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
36
|
+
commandName: "init";
|
|
37
|
+
subCommandDescriptions: {
|
|
38
|
+
readonly force: "force overwrite files even if they already exist.";
|
|
39
|
+
};
|
|
40
|
+
configFiles: {};
|
|
41
|
+
npmDeps: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-multiline-arrays", "prettier-plugin-organize-imports", "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-toml"];
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
9
44
|
//# sourceMappingURL=init.command.d.ts.map
|
|
@@ -1,7 +1,34 @@
|
|
|
1
|
-
export declare const publishCommandDefinition:
|
|
1
|
+
export declare const publishCommandDefinition: {
|
|
2
2
|
commandName: "publish";
|
|
3
3
|
subCommandDescriptions: {};
|
|
4
4
|
configFiles: {};
|
|
5
5
|
npmDeps: readonly [];
|
|
6
|
-
}
|
|
6
|
+
} & {
|
|
7
|
+
allAvailableSubCommands: readonly never[];
|
|
8
|
+
subCommands: import("..").SubCommandsMap<{
|
|
9
|
+
commandName: "publish";
|
|
10
|
+
subCommandDescriptions: {};
|
|
11
|
+
configFiles: {};
|
|
12
|
+
npmDeps: readonly [];
|
|
13
|
+
}>;
|
|
14
|
+
} & {
|
|
15
|
+
executor: import("..").CommandExecutor<{
|
|
16
|
+
commandName: "publish";
|
|
17
|
+
subCommandDescriptions: {};
|
|
18
|
+
configFiles: {};
|
|
19
|
+
npmDeps: readonly [];
|
|
20
|
+
}>;
|
|
21
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
22
|
+
commandName: "publish";
|
|
23
|
+
subCommandDescriptions: {};
|
|
24
|
+
configFiles: {};
|
|
25
|
+
npmDeps: readonly [];
|
|
26
|
+
}>;
|
|
27
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
28
|
+
commandName: "publish";
|
|
29
|
+
subCommandDescriptions: {};
|
|
30
|
+
configFiles: {};
|
|
31
|
+
npmDeps: readonly [];
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
7
34
|
//# sourceMappingURL=publish.command.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const spellcheckCommandDefinition:
|
|
1
|
+
export declare const spellcheckCommandDefinition: {
|
|
2
2
|
commandName: "spellcheck";
|
|
3
3
|
subCommandDescriptions: {};
|
|
4
4
|
configFiles: {
|
|
@@ -8,5 +8,52 @@ export declare const spellcheckCommandDefinition: import("../api/command/define-
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
npmDeps: readonly ["cspell"];
|
|
11
|
-
}
|
|
11
|
+
} & {
|
|
12
|
+
allAvailableSubCommands: readonly never[];
|
|
13
|
+
subCommands: import("..").SubCommandsMap<{
|
|
14
|
+
commandName: "spellcheck";
|
|
15
|
+
subCommandDescriptions: {};
|
|
16
|
+
configFiles: {
|
|
17
|
+
readonly cspell: {
|
|
18
|
+
readonly copyFromInternalPath: string;
|
|
19
|
+
readonly copyToPathRelativeToRepoDir: "cspell.config.js";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
npmDeps: readonly ["cspell"];
|
|
23
|
+
}>;
|
|
24
|
+
} & {
|
|
25
|
+
executor: import("..").CommandExecutor<{
|
|
26
|
+
commandName: "spellcheck";
|
|
27
|
+
subCommandDescriptions: {};
|
|
28
|
+
configFiles: {
|
|
29
|
+
readonly cspell: {
|
|
30
|
+
readonly copyFromInternalPath: string;
|
|
31
|
+
readonly copyToPathRelativeToRepoDir: "cspell.config.js";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
npmDeps: readonly ["cspell"];
|
|
35
|
+
}>;
|
|
36
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
37
|
+
commandName: "spellcheck";
|
|
38
|
+
subCommandDescriptions: {};
|
|
39
|
+
configFiles: {
|
|
40
|
+
readonly cspell: {
|
|
41
|
+
readonly copyFromInternalPath: string;
|
|
42
|
+
readonly copyToPathRelativeToRepoDir: "cspell.config.js";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
npmDeps: readonly ["cspell"];
|
|
46
|
+
}>;
|
|
47
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
48
|
+
commandName: "spellcheck";
|
|
49
|
+
subCommandDescriptions: {};
|
|
50
|
+
configFiles: {
|
|
51
|
+
readonly cspell: {
|
|
52
|
+
readonly copyFromInternalPath: string;
|
|
53
|
+
readonly copyToPathRelativeToRepoDir: "cspell.config.js";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
npmDeps: readonly ["cspell"];
|
|
57
|
+
}>;
|
|
58
|
+
};
|
|
12
59
|
//# sourceMappingURL=spellcheck.command.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const testWebCommandDefinition:
|
|
1
|
+
export declare const testWebCommandDefinition: {
|
|
2
2
|
commandName: "test-web";
|
|
3
3
|
subCommandDescriptions: {};
|
|
4
4
|
configFiles: {
|
|
@@ -8,5 +8,52 @@ export declare const testWebCommandDefinition: import("../api/command/define-com
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner"];
|
|
11
|
-
}
|
|
11
|
+
} & {
|
|
12
|
+
allAvailableSubCommands: readonly never[];
|
|
13
|
+
subCommands: import("..").SubCommandsMap<{
|
|
14
|
+
commandName: "test-web";
|
|
15
|
+
subCommandDescriptions: {};
|
|
16
|
+
configFiles: {
|
|
17
|
+
readonly webTestRunner: {
|
|
18
|
+
readonly copyFromInternalPath: string;
|
|
19
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner"];
|
|
23
|
+
}>;
|
|
24
|
+
} & {
|
|
25
|
+
executor: import("..").CommandExecutor<{
|
|
26
|
+
commandName: "test-web";
|
|
27
|
+
subCommandDescriptions: {};
|
|
28
|
+
configFiles: {
|
|
29
|
+
readonly webTestRunner: {
|
|
30
|
+
readonly copyFromInternalPath: string;
|
|
31
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner"];
|
|
35
|
+
}>;
|
|
36
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
37
|
+
commandName: "test-web";
|
|
38
|
+
subCommandDescriptions: {};
|
|
39
|
+
configFiles: {
|
|
40
|
+
readonly webTestRunner: {
|
|
41
|
+
readonly copyFromInternalPath: string;
|
|
42
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner"];
|
|
46
|
+
}>;
|
|
47
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
48
|
+
commandName: "test-web";
|
|
49
|
+
subCommandDescriptions: {};
|
|
50
|
+
configFiles: {
|
|
51
|
+
readonly webTestRunner: {
|
|
52
|
+
readonly copyFromInternalPath: string;
|
|
53
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner"];
|
|
57
|
+
}>;
|
|
58
|
+
};
|
|
12
59
|
//# sourceMappingURL=test-web.command.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const testCommandDefinition:
|
|
1
|
+
export declare const testCommandDefinition: {
|
|
2
2
|
commandName: "test";
|
|
3
3
|
subCommandDescriptions: {};
|
|
4
4
|
configFiles: {
|
|
@@ -12,5 +12,68 @@ export declare const testCommandDefinition: import("../api/command/define-comman
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
npmDeps: readonly ["@electrovir/nyc", "@istanbuljs/nyc-config-typescript", "@types/chai", "@types/mocha", "chai", "istanbul-smart-text-reporter", "mocha-spec-reporter-with-file-names", "mocha", "ts-node"];
|
|
15
|
-
}
|
|
15
|
+
} & {
|
|
16
|
+
allAvailableSubCommands: readonly never[];
|
|
17
|
+
subCommands: import("..").SubCommandsMap<{
|
|
18
|
+
commandName: "test";
|
|
19
|
+
subCommandDescriptions: {};
|
|
20
|
+
configFiles: {
|
|
21
|
+
readonly mochaConfig: {
|
|
22
|
+
readonly copyFromInternalPath: string;
|
|
23
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
24
|
+
};
|
|
25
|
+
readonly nycConfig: {
|
|
26
|
+
readonly copyFromInternalPath: string;
|
|
27
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
npmDeps: readonly ["@electrovir/nyc", "@istanbuljs/nyc-config-typescript", "@types/chai", "@types/mocha", "chai", "istanbul-smart-text-reporter", "mocha-spec-reporter-with-file-names", "mocha", "ts-node"];
|
|
31
|
+
}>;
|
|
32
|
+
} & {
|
|
33
|
+
executor: import("..").CommandExecutor<{
|
|
34
|
+
commandName: "test";
|
|
35
|
+
subCommandDescriptions: {};
|
|
36
|
+
configFiles: {
|
|
37
|
+
readonly mochaConfig: {
|
|
38
|
+
readonly copyFromInternalPath: string;
|
|
39
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
40
|
+
};
|
|
41
|
+
readonly nycConfig: {
|
|
42
|
+
readonly copyFromInternalPath: string;
|
|
43
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
npmDeps: readonly ["@electrovir/nyc", "@istanbuljs/nyc-config-typescript", "@types/chai", "@types/mocha", "chai", "istanbul-smart-text-reporter", "mocha-spec-reporter-with-file-names", "mocha", "ts-node"];
|
|
47
|
+
}>;
|
|
48
|
+
createDescription: import("..").CreateDescriptionsCallback<{
|
|
49
|
+
commandName: "test";
|
|
50
|
+
subCommandDescriptions: {};
|
|
51
|
+
configFiles: {
|
|
52
|
+
readonly mochaConfig: {
|
|
53
|
+
readonly copyFromInternalPath: string;
|
|
54
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
55
|
+
};
|
|
56
|
+
readonly nycConfig: {
|
|
57
|
+
readonly copyFromInternalPath: string;
|
|
58
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
npmDeps: readonly ["@electrovir/nyc", "@istanbuljs/nyc-config-typescript", "@types/chai", "@types/mocha", "chai", "istanbul-smart-text-reporter", "mocha-spec-reporter-with-file-names", "mocha", "ts-node"];
|
|
62
|
+
}>;
|
|
63
|
+
extend: import("../api/command/define-command").ExtendCallback<{
|
|
64
|
+
commandName: "test";
|
|
65
|
+
subCommandDescriptions: {};
|
|
66
|
+
configFiles: {
|
|
67
|
+
readonly mochaConfig: {
|
|
68
|
+
readonly copyFromInternalPath: string;
|
|
69
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
70
|
+
};
|
|
71
|
+
readonly nycConfig: {
|
|
72
|
+
readonly copyFromInternalPath: string;
|
|
73
|
+
readonly copyToPathRelativeToRepoDir: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
npmDeps: readonly ["@electrovir/nyc", "@istanbuljs/nyc-config-typescript", "@types/chai", "@types/mocha", "chai", "istanbul-smart-text-reporter", "mocha-spec-reporter-with-file-names", "mocha", "ts-node"];
|
|
77
|
+
}>;
|
|
78
|
+
};
|
|
16
79
|
//# sourceMappingURL=test.command.d.ts.map
|