virmator 6.7.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/configs/configs/vite.config.ts +2 -5
  2. package/configs/npmignore.txt +1 -1
  3. package/configs/{index.html → src/index.html} +1 -1
  4. package/configs/src/ui/elements/vir-app.element.ts +10 -0
  5. package/dist/api/command/define-command-inputs.d.ts +9 -1
  6. package/dist/api/command/define-command-inputs.js +6 -0
  7. package/dist/api/run-command/check-npm-deps.js +12 -21
  8. package/dist/commands/code-in-markdown.command.d.ts +22 -6
  9. package/dist/commands/code-in-markdown.command.js +4 -1
  10. package/dist/commands/compile.command.d.ts +22 -6
  11. package/dist/commands/compile.command.js +4 -1
  12. package/dist/commands/extra-configs/all-extra-configs.js +8 -4
  13. package/dist/commands/format.command.d.ts +127 -6
  14. package/dist/commands/format.command.js +9 -8
  15. package/dist/commands/frontend.command.d.ts +97 -6
  16. package/dist/commands/frontend.command.js +17 -9
  17. package/dist/commands/init.command.d.ts +125 -5
  18. package/dist/commands/spellcheck.command.d.ts +22 -6
  19. package/dist/commands/spellcheck.command.js +4 -1
  20. package/dist/commands/test-web.command.d.ts +127 -6
  21. package/dist/commands/test-web.command.js +9 -8
  22. package/dist/commands/test.command.d.ts +142 -6
  23. package/dist/commands/test.command.js +10 -9
  24. package/dist/commands/upgrade-deps.command.d.ts +37 -6
  25. package/dist/commands/upgrade-deps.command.js +3 -2
  26. package/dist/compiled-base-configs/base-vite.d.ts +14 -4
  27. package/dist/compiled-base-configs/base-vite.js +73 -10
  28. package/dist/index.d.ts +705 -45
  29. package/package.json +6 -5
  30. /package/configs/{public → www-static}/index.css +0 -0
@@ -29,6 +29,7 @@ const node_js_1 = require("@augment-vir/node-js");
29
29
  const promises_1 = require("fs/promises");
30
30
  const path_1 = require("path");
31
31
  const define_command_1 = require("../api/command/define-command");
32
+ const define_command_inputs_1 = require("../api/command/define-command-inputs");
32
33
  const config_paths_1 = require("../api/config/config-paths");
33
34
  const package_paths_1 = require("../file-paths/package-paths");
34
35
  exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
@@ -44,10 +45,12 @@ exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
44
45
  },
45
46
  },
46
47
  npmDeps: [
47
- 'vite',
48
- '@augment-vir/node-js',
49
- 'vite-tsconfig-paths',
50
- 'esbuild',
48
+ { name: '@augment-vir/node-js', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
49
+ { name: 'element-vir', type: define_command_inputs_1.NpmDepTypeEnum.Regular },
50
+ { name: 'esbuild', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
51
+ { name: 'typescript', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
52
+ { name: 'vite-tsconfig-paths', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
53
+ { name: 'vite', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
51
54
  ],
52
55
  }, () => {
53
56
  return {
@@ -79,11 +82,16 @@ exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
79
82
  bundle: false,
80
83
  format: 'cjs',
81
84
  });
82
- const viteConfigValues = require(tempFilePath).default;
83
- const root = viteConfigValues.root
84
- ? (0, path_1.resolve)(process.cwd(), viteConfigValues.root)
85
- : process.cwd();
86
- const buildOutputPath = (0, path_1.resolve)(root, viteConfigValues?.build?.outDir || 'dist');
85
+ /**
86
+ * Disable console logs the first time we require this, as logs will also print when
87
+ * Vite loads the config again.
88
+ */
89
+ const oldWrite = process.stdout.write;
90
+ process.stdout.write = () => false;
91
+ const viteConfig = await require(tempFilePath).default;
92
+ process.stdout.write = oldWrite;
93
+ const root = viteConfig.root ? (0, path_1.resolve)(process.cwd(), viteConfig.root) : process.cwd();
94
+ const buildOutputPath = (0, path_1.resolve)(root, viteConfig?.build?.outDir || 'dist');
87
95
  const viteBinPath = await (0, package_paths_1.getNpmBinPath)({
88
96
  repoDir: inputs.repoDir,
89
97
  command: 'vite',
@@ -4,7 +4,31 @@ export declare const initCommandDefinition: {
4
4
  readonly force: "force overwrite files even if they already exist.";
5
5
  };
6
6
  configFiles: {};
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", "prettier-plugin-interpolated-html-tags"];
7
+ npmDeps: readonly [{
8
+ readonly name: "prettier";
9
+ readonly type: import("..").NpmDepTypeEnum.Dev;
10
+ }, {
11
+ readonly name: "prettier-plugin-jsdoc";
12
+ readonly type: import("..").NpmDepTypeEnum.Dev;
13
+ }, {
14
+ readonly name: "prettier-plugin-multiline-arrays";
15
+ readonly type: import("..").NpmDepTypeEnum.Dev;
16
+ }, {
17
+ readonly name: "prettier-plugin-organize-imports";
18
+ readonly type: import("..").NpmDepTypeEnum.Dev;
19
+ }, {
20
+ readonly name: "prettier-plugin-packagejson";
21
+ readonly type: import("..").NpmDepTypeEnum.Dev;
22
+ }, {
23
+ readonly name: "prettier-plugin-sort-json";
24
+ readonly type: import("..").NpmDepTypeEnum.Dev;
25
+ }, {
26
+ readonly name: "prettier-plugin-toml";
27
+ readonly type: import("..").NpmDepTypeEnum.Dev;
28
+ }, {
29
+ readonly name: "prettier-plugin-interpolated-html-tags";
30
+ readonly type: import("..").NpmDepTypeEnum.Dev;
31
+ }];
8
32
  } & {
9
33
  allAvailableSubCommands: readonly "force"[];
10
34
  subCommands: import("..").SubCommandsMap<{
@@ -13,7 +37,31 @@ export declare const initCommandDefinition: {
13
37
  readonly force: "force overwrite files even if they already exist.";
14
38
  };
15
39
  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", "prettier-plugin-interpolated-html-tags"];
40
+ npmDeps: readonly [{
41
+ readonly name: "prettier";
42
+ readonly type: import("..").NpmDepTypeEnum.Dev;
43
+ }, {
44
+ readonly name: "prettier-plugin-jsdoc";
45
+ readonly type: import("..").NpmDepTypeEnum.Dev;
46
+ }, {
47
+ readonly name: "prettier-plugin-multiline-arrays";
48
+ readonly type: import("..").NpmDepTypeEnum.Dev;
49
+ }, {
50
+ readonly name: "prettier-plugin-organize-imports";
51
+ readonly type: import("..").NpmDepTypeEnum.Dev;
52
+ }, {
53
+ readonly name: "prettier-plugin-packagejson";
54
+ readonly type: import("..").NpmDepTypeEnum.Dev;
55
+ }, {
56
+ readonly name: "prettier-plugin-sort-json";
57
+ readonly type: import("..").NpmDepTypeEnum.Dev;
58
+ }, {
59
+ readonly name: "prettier-plugin-toml";
60
+ readonly type: import("..").NpmDepTypeEnum.Dev;
61
+ }, {
62
+ readonly name: "prettier-plugin-interpolated-html-tags";
63
+ readonly type: import("..").NpmDepTypeEnum.Dev;
64
+ }];
17
65
  }>;
18
66
  } & {
19
67
  executor: import("..").CommandExecutor<{
@@ -22,7 +70,31 @@ export declare const initCommandDefinition: {
22
70
  readonly force: "force overwrite files even if they already exist.";
23
71
  };
24
72
  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", "prettier-plugin-interpolated-html-tags"];
73
+ npmDeps: readonly [{
74
+ readonly name: "prettier";
75
+ readonly type: import("..").NpmDepTypeEnum.Dev;
76
+ }, {
77
+ readonly name: "prettier-plugin-jsdoc";
78
+ readonly type: import("..").NpmDepTypeEnum.Dev;
79
+ }, {
80
+ readonly name: "prettier-plugin-multiline-arrays";
81
+ readonly type: import("..").NpmDepTypeEnum.Dev;
82
+ }, {
83
+ readonly name: "prettier-plugin-organize-imports";
84
+ readonly type: import("..").NpmDepTypeEnum.Dev;
85
+ }, {
86
+ readonly name: "prettier-plugin-packagejson";
87
+ readonly type: import("..").NpmDepTypeEnum.Dev;
88
+ }, {
89
+ readonly name: "prettier-plugin-sort-json";
90
+ readonly type: import("..").NpmDepTypeEnum.Dev;
91
+ }, {
92
+ readonly name: "prettier-plugin-toml";
93
+ readonly type: import("..").NpmDepTypeEnum.Dev;
94
+ }, {
95
+ readonly name: "prettier-plugin-interpolated-html-tags";
96
+ readonly type: import("..").NpmDepTypeEnum.Dev;
97
+ }];
26
98
  }>;
27
99
  createDescription: import("..").CreateDescriptionsCallback<{
28
100
  commandName: "init";
@@ -30,7 +102,31 @@ export declare const initCommandDefinition: {
30
102
  readonly force: "force overwrite files even if they already exist.";
31
103
  };
32
104
  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", "prettier-plugin-interpolated-html-tags"];
105
+ npmDeps: readonly [{
106
+ readonly name: "prettier";
107
+ readonly type: import("..").NpmDepTypeEnum.Dev;
108
+ }, {
109
+ readonly name: "prettier-plugin-jsdoc";
110
+ readonly type: import("..").NpmDepTypeEnum.Dev;
111
+ }, {
112
+ readonly name: "prettier-plugin-multiline-arrays";
113
+ readonly type: import("..").NpmDepTypeEnum.Dev;
114
+ }, {
115
+ readonly name: "prettier-plugin-organize-imports";
116
+ readonly type: import("..").NpmDepTypeEnum.Dev;
117
+ }, {
118
+ readonly name: "prettier-plugin-packagejson";
119
+ readonly type: import("..").NpmDepTypeEnum.Dev;
120
+ }, {
121
+ readonly name: "prettier-plugin-sort-json";
122
+ readonly type: import("..").NpmDepTypeEnum.Dev;
123
+ }, {
124
+ readonly name: "prettier-plugin-toml";
125
+ readonly type: import("..").NpmDepTypeEnum.Dev;
126
+ }, {
127
+ readonly name: "prettier-plugin-interpolated-html-tags";
128
+ readonly type: import("..").NpmDepTypeEnum.Dev;
129
+ }];
34
130
  }>;
35
131
  extend: import("../api/command/define-command").ExtendCallback<{
36
132
  commandName: "init";
@@ -38,6 +134,30 @@ export declare const initCommandDefinition: {
38
134
  readonly force: "force overwrite files even if they already exist.";
39
135
  };
40
136
  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", "prettier-plugin-interpolated-html-tags"];
137
+ npmDeps: readonly [{
138
+ readonly name: "prettier";
139
+ readonly type: import("..").NpmDepTypeEnum.Dev;
140
+ }, {
141
+ readonly name: "prettier-plugin-jsdoc";
142
+ readonly type: import("..").NpmDepTypeEnum.Dev;
143
+ }, {
144
+ readonly name: "prettier-plugin-multiline-arrays";
145
+ readonly type: import("..").NpmDepTypeEnum.Dev;
146
+ }, {
147
+ readonly name: "prettier-plugin-organize-imports";
148
+ readonly type: import("..").NpmDepTypeEnum.Dev;
149
+ }, {
150
+ readonly name: "prettier-plugin-packagejson";
151
+ readonly type: import("..").NpmDepTypeEnum.Dev;
152
+ }, {
153
+ readonly name: "prettier-plugin-sort-json";
154
+ readonly type: import("..").NpmDepTypeEnum.Dev;
155
+ }, {
156
+ readonly name: "prettier-plugin-toml";
157
+ readonly type: import("..").NpmDepTypeEnum.Dev;
158
+ }, {
159
+ readonly name: "prettier-plugin-interpolated-html-tags";
160
+ readonly type: import("..").NpmDepTypeEnum.Dev;
161
+ }];
42
162
  }>;
43
163
  };
@@ -1,3 +1,4 @@
1
+ import { NpmDepTypeEnum } from '../api/command/define-command-inputs';
1
2
  export declare const spellcheckCommandDefinition: {
2
3
  commandName: "spellcheck";
3
4
  subCommandDescriptions: {};
@@ -7,10 +8,13 @@ export declare const spellcheckCommandDefinition: {
7
8
  readonly copyToPathRelativeToRepoDir: "cspell.config.js";
8
9
  };
9
10
  };
10
- npmDeps: readonly ["cspell"];
11
+ npmDeps: readonly [{
12
+ readonly name: "cspell";
13
+ readonly type: NpmDepTypeEnum.Dev;
14
+ }];
11
15
  } & {
12
16
  allAvailableSubCommands: readonly never[];
13
- subCommands: import("..").SubCommandsMap<{
17
+ subCommands: import("../api/command/define-command-inputs").SubCommandsMap<{
14
18
  commandName: "spellcheck";
15
19
  subCommandDescriptions: {};
16
20
  configFiles: {
@@ -19,7 +23,10 @@ export declare const spellcheckCommandDefinition: {
19
23
  readonly copyToPathRelativeToRepoDir: "cspell.config.js";
20
24
  };
21
25
  };
22
- npmDeps: readonly ["cspell"];
26
+ npmDeps: readonly [{
27
+ readonly name: "cspell";
28
+ readonly type: NpmDepTypeEnum.Dev;
29
+ }];
23
30
  }>;
24
31
  } & {
25
32
  executor: import("..").CommandExecutor<{
@@ -31,7 +38,10 @@ export declare const spellcheckCommandDefinition: {
31
38
  readonly copyToPathRelativeToRepoDir: "cspell.config.js";
32
39
  };
33
40
  };
34
- npmDeps: readonly ["cspell"];
41
+ npmDeps: readonly [{
42
+ readonly name: "cspell";
43
+ readonly type: NpmDepTypeEnum.Dev;
44
+ }];
35
45
  }>;
36
46
  createDescription: import("..").CreateDescriptionsCallback<{
37
47
  commandName: "spellcheck";
@@ -42,7 +52,10 @@ export declare const spellcheckCommandDefinition: {
42
52
  readonly copyToPathRelativeToRepoDir: "cspell.config.js";
43
53
  };
44
54
  };
45
- npmDeps: readonly ["cspell"];
55
+ npmDeps: readonly [{
56
+ readonly name: "cspell";
57
+ readonly type: NpmDepTypeEnum.Dev;
58
+ }];
46
59
  }>;
47
60
  extend: import("../api/command/define-command").ExtendCallback<{
48
61
  commandName: "spellcheck";
@@ -53,6 +66,9 @@ export declare const spellcheckCommandDefinition: {
53
66
  readonly copyToPathRelativeToRepoDir: "cspell.config.js";
54
67
  };
55
68
  };
56
- npmDeps: readonly ["cspell"];
69
+ npmDeps: readonly [{
70
+ readonly name: "cspell";
71
+ readonly type: NpmDepTypeEnum.Dev;
72
+ }];
57
73
  }>;
58
74
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.spellcheckCommandDefinition = void 0;
4
4
  const path_1 = require("path");
5
5
  const define_command_1 = require("../api/command/define-command");
6
+ const define_command_inputs_1 = require("../api/command/define-command-inputs");
6
7
  const package_paths_1 = require("../file-paths/package-paths");
7
8
  function spellcheckLogTransform(log) {
8
9
  return log.replace(/\r/g, '\n').replace(/\n$/, '');
@@ -16,7 +17,9 @@ exports.spellcheckCommandDefinition = (0, define_command_1.defineCommand)({
16
17
  copyToPathRelativeToRepoDir: 'cspell.config.js',
17
18
  },
18
19
  },
19
- npmDeps: ['cspell'],
20
+ npmDeps: [
21
+ { name: 'cspell', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
22
+ ],
20
23
  }, () => {
21
24
  return {
22
25
  sections: [
@@ -1,3 +1,4 @@
1
+ import { NpmDepTypeEnum } from '../api/command/define-command-inputs';
1
2
  export declare const testWebCommandDefinition: {
2
3
  commandName: "test-web";
3
4
  subCommandDescriptions: {
@@ -9,10 +10,34 @@ export declare const testWebCommandDefinition: {
9
10
  readonly copyToPathRelativeToRepoDir: string;
10
11
  };
11
12
  };
12
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
13
+ npmDeps: readonly [{
14
+ readonly name: "@open-wc/testing";
15
+ readonly type: NpmDepTypeEnum.Dev;
16
+ }, {
17
+ readonly name: "@types/mocha";
18
+ readonly type: NpmDepTypeEnum.Dev;
19
+ }, {
20
+ readonly name: "@web/dev-server-esbuild";
21
+ readonly type: NpmDepTypeEnum.Dev;
22
+ }, {
23
+ readonly name: "@web/test-runner-commands";
24
+ readonly type: NpmDepTypeEnum.Dev;
25
+ }, {
26
+ readonly name: "@web/test-runner-playwright";
27
+ readonly type: NpmDepTypeEnum.Dev;
28
+ }, {
29
+ readonly name: "@web/test-runner-visual-regression";
30
+ readonly type: NpmDepTypeEnum.Dev;
31
+ }, {
32
+ readonly name: "@web/test-runner";
33
+ readonly type: NpmDepTypeEnum.Dev;
34
+ }, {
35
+ readonly name: "istanbul-smart-text-reporter";
36
+ readonly type: NpmDepTypeEnum.Dev;
37
+ }];
13
38
  } & {
14
39
  allAvailableSubCommands: readonly "coverage"[];
15
- subCommands: import("..").SubCommandsMap<{
40
+ subCommands: import("../api/command/define-command-inputs").SubCommandsMap<{
16
41
  commandName: "test-web";
17
42
  subCommandDescriptions: {
18
43
  readonly coverage: "run web tests with code coverage calculations";
@@ -23,7 +48,31 @@ export declare const testWebCommandDefinition: {
23
48
  readonly copyToPathRelativeToRepoDir: string;
24
49
  };
25
50
  };
26
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
51
+ npmDeps: readonly [{
52
+ readonly name: "@open-wc/testing";
53
+ readonly type: NpmDepTypeEnum.Dev;
54
+ }, {
55
+ readonly name: "@types/mocha";
56
+ readonly type: NpmDepTypeEnum.Dev;
57
+ }, {
58
+ readonly name: "@web/dev-server-esbuild";
59
+ readonly type: NpmDepTypeEnum.Dev;
60
+ }, {
61
+ readonly name: "@web/test-runner-commands";
62
+ readonly type: NpmDepTypeEnum.Dev;
63
+ }, {
64
+ readonly name: "@web/test-runner-playwright";
65
+ readonly type: NpmDepTypeEnum.Dev;
66
+ }, {
67
+ readonly name: "@web/test-runner-visual-regression";
68
+ readonly type: NpmDepTypeEnum.Dev;
69
+ }, {
70
+ readonly name: "@web/test-runner";
71
+ readonly type: NpmDepTypeEnum.Dev;
72
+ }, {
73
+ readonly name: "istanbul-smart-text-reporter";
74
+ readonly type: NpmDepTypeEnum.Dev;
75
+ }];
27
76
  }>;
28
77
  } & {
29
78
  executor: import("..").CommandExecutor<{
@@ -37,7 +86,31 @@ export declare const testWebCommandDefinition: {
37
86
  readonly copyToPathRelativeToRepoDir: string;
38
87
  };
39
88
  };
40
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
89
+ npmDeps: readonly [{
90
+ readonly name: "@open-wc/testing";
91
+ readonly type: NpmDepTypeEnum.Dev;
92
+ }, {
93
+ readonly name: "@types/mocha";
94
+ readonly type: NpmDepTypeEnum.Dev;
95
+ }, {
96
+ readonly name: "@web/dev-server-esbuild";
97
+ readonly type: NpmDepTypeEnum.Dev;
98
+ }, {
99
+ readonly name: "@web/test-runner-commands";
100
+ readonly type: NpmDepTypeEnum.Dev;
101
+ }, {
102
+ readonly name: "@web/test-runner-playwright";
103
+ readonly type: NpmDepTypeEnum.Dev;
104
+ }, {
105
+ readonly name: "@web/test-runner-visual-regression";
106
+ readonly type: NpmDepTypeEnum.Dev;
107
+ }, {
108
+ readonly name: "@web/test-runner";
109
+ readonly type: NpmDepTypeEnum.Dev;
110
+ }, {
111
+ readonly name: "istanbul-smart-text-reporter";
112
+ readonly type: NpmDepTypeEnum.Dev;
113
+ }];
41
114
  }>;
42
115
  createDescription: import("..").CreateDescriptionsCallback<{
43
116
  commandName: "test-web";
@@ -50,7 +123,31 @@ export declare const testWebCommandDefinition: {
50
123
  readonly copyToPathRelativeToRepoDir: string;
51
124
  };
52
125
  };
53
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
126
+ npmDeps: readonly [{
127
+ readonly name: "@open-wc/testing";
128
+ readonly type: NpmDepTypeEnum.Dev;
129
+ }, {
130
+ readonly name: "@types/mocha";
131
+ readonly type: NpmDepTypeEnum.Dev;
132
+ }, {
133
+ readonly name: "@web/dev-server-esbuild";
134
+ readonly type: NpmDepTypeEnum.Dev;
135
+ }, {
136
+ readonly name: "@web/test-runner-commands";
137
+ readonly type: NpmDepTypeEnum.Dev;
138
+ }, {
139
+ readonly name: "@web/test-runner-playwright";
140
+ readonly type: NpmDepTypeEnum.Dev;
141
+ }, {
142
+ readonly name: "@web/test-runner-visual-regression";
143
+ readonly type: NpmDepTypeEnum.Dev;
144
+ }, {
145
+ readonly name: "@web/test-runner";
146
+ readonly type: NpmDepTypeEnum.Dev;
147
+ }, {
148
+ readonly name: "istanbul-smart-text-reporter";
149
+ readonly type: NpmDepTypeEnum.Dev;
150
+ }];
54
151
  }>;
55
152
  extend: import("../api/command/define-command").ExtendCallback<{
56
153
  commandName: "test-web";
@@ -63,6 +160,30 @@ export declare const testWebCommandDefinition: {
63
160
  readonly copyToPathRelativeToRepoDir: string;
64
161
  };
65
162
  };
66
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
163
+ npmDeps: readonly [{
164
+ readonly name: "@open-wc/testing";
165
+ readonly type: NpmDepTypeEnum.Dev;
166
+ }, {
167
+ readonly name: "@types/mocha";
168
+ readonly type: NpmDepTypeEnum.Dev;
169
+ }, {
170
+ readonly name: "@web/dev-server-esbuild";
171
+ readonly type: NpmDepTypeEnum.Dev;
172
+ }, {
173
+ readonly name: "@web/test-runner-commands";
174
+ readonly type: NpmDepTypeEnum.Dev;
175
+ }, {
176
+ readonly name: "@web/test-runner-playwright";
177
+ readonly type: NpmDepTypeEnum.Dev;
178
+ }, {
179
+ readonly name: "@web/test-runner-visual-regression";
180
+ readonly type: NpmDepTypeEnum.Dev;
181
+ }, {
182
+ readonly name: "@web/test-runner";
183
+ readonly type: NpmDepTypeEnum.Dev;
184
+ }, {
185
+ readonly name: "istanbul-smart-text-reporter";
186
+ readonly type: NpmDepTypeEnum.Dev;
187
+ }];
67
188
  }>;
68
189
  };
@@ -9,6 +9,7 @@ const promises_1 = require("fs/promises");
9
9
  const glob_promise_1 = __importDefault(require("glob-promise"));
10
10
  const path_1 = require("path");
11
11
  const define_command_1 = require("../api/command/define-command");
12
+ const define_command_inputs_1 = require("../api/command/define-command-inputs");
12
13
  const json_1 = require("../augments/json");
13
14
  const package_paths_1 = require("../file-paths/package-paths");
14
15
  const test_command_1 = require("./test.command");
@@ -25,14 +26,14 @@ exports.testWebCommandDefinition = (0, define_command_1.defineCommand)({
25
26
  },
26
27
  },
27
28
  npmDeps: [
28
- '@open-wc/testing',
29
- '@types/mocha',
30
- '@web/dev-server-esbuild',
31
- '@web/test-runner-commands',
32
- '@web/test-runner-playwright',
33
- '@web/test-runner-visual-regression',
34
- '@web/test-runner',
35
- 'istanbul-smart-text-reporter',
29
+ { name: '@open-wc/testing', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
30
+ { name: '@types/mocha', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
31
+ { name: '@web/dev-server-esbuild', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
32
+ { name: '@web/test-runner-commands', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
33
+ { name: '@web/test-runner-playwright', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
34
+ { name: '@web/test-runner-visual-regression', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
35
+ { name: '@web/test-runner', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
36
+ { name: 'istanbul-smart-text-reporter', type: define_command_inputs_1.NpmDepTypeEnum.Dev },
36
37
  ],
37
38
  }, ({ commandName, packageBinName, configFiles }) => {
38
39
  return {