virmator 6.6.2 → 6.6.4

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.
@@ -47,8 +47,9 @@ exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
47
47
  command: 'vite',
48
48
  packageDirPath: inputs.packageDir,
49
49
  });
50
- const removeOutput = needToBuild ? 'rm -rf dist && ' : '';
51
- const mainCommand = `${removeOutput}${viteBinPath}`;
50
+ const dirToDelete = needToBuild ? 'dist' : 'node_modules/.vite';
51
+ const removeCommand = `node -e "require('fs').rmSync('${dirToDelete}', {recursive: true, force: true})" &&`;
52
+ const mainCommand = `${removeCommand}${viteBinPath}`;
52
53
  const subCommandArgs = needToBuild
53
54
  ? [
54
55
  'build',
@@ -9,7 +9,7 @@ export declare const testWebCommandDefinition: {
9
9
  readonly copyToPathRelativeToRepoDir: string;
10
10
  };
11
11
  };
12
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
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
13
  } & {
14
14
  allAvailableSubCommands: readonly "coverage"[];
15
15
  subCommands: import("..").SubCommandsMap<{
@@ -23,7 +23,7 @@ export declare const testWebCommandDefinition: {
23
23
  readonly copyToPathRelativeToRepoDir: string;
24
24
  };
25
25
  };
26
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
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"];
27
27
  }>;
28
28
  } & {
29
29
  executor: import("..").CommandExecutor<{
@@ -37,7 +37,7 @@ export declare const testWebCommandDefinition: {
37
37
  readonly copyToPathRelativeToRepoDir: string;
38
38
  };
39
39
  };
40
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
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"];
41
41
  }>;
42
42
  createDescription: import("..").CreateDescriptionsCallback<{
43
43
  commandName: "test-web";
@@ -50,7 +50,7 @@ export declare const testWebCommandDefinition: {
50
50
  readonly copyToPathRelativeToRepoDir: string;
51
51
  };
52
52
  };
53
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
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"];
54
54
  }>;
55
55
  extend: import("../api/command/define-command").ExtendCallback<{
56
56
  commandName: "test-web";
@@ -63,6 +63,6 @@ export declare const testWebCommandDefinition: {
63
63
  readonly copyToPathRelativeToRepoDir: string;
64
64
  };
65
65
  };
66
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
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"];
67
67
  }>;
68
68
  };
@@ -27,7 +27,6 @@ exports.testWebCommandDefinition = (0, define_command_1.defineCommand)({
27
27
  npmDeps: [
28
28
  '@open-wc/testing',
29
29
  '@types/mocha',
30
- '@types/chai',
31
30
  '@web/dev-server-esbuild',
32
31
  '@web/test-runner-commands',
33
32
  '@web/test-runner-playwright',
package/dist/index.d.ts CHANGED
@@ -519,7 +519,7 @@ export declare const virmator: Readonly<{
519
519
  readonly copyToPathRelativeToRepoDir: string;
520
520
  };
521
521
  };
522
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
522
+ 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"];
523
523
  } & {
524
524
  allAvailableSubCommands: readonly "coverage"[];
525
525
  subCommands: import("./api/command/define-command-inputs").SubCommandsMap<{
@@ -533,7 +533,7 @@ export declare const virmator: Readonly<{
533
533
  readonly copyToPathRelativeToRepoDir: string;
534
534
  };
535
535
  };
536
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
536
+ 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"];
537
537
  }>;
538
538
  } & {
539
539
  executor: import("./api/command/command-executor").CommandExecutor<{
@@ -547,7 +547,7 @@ export declare const virmator: Readonly<{
547
547
  readonly copyToPathRelativeToRepoDir: string;
548
548
  };
549
549
  };
550
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
550
+ 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"];
551
551
  }>;
552
552
  createDescription: import("./api/command/command-description").CreateDescriptionsCallback<{
553
553
  commandName: "test-web";
@@ -560,7 +560,7 @@ export declare const virmator: Readonly<{
560
560
  readonly copyToPathRelativeToRepoDir: string;
561
561
  };
562
562
  };
563
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
563
+ 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"];
564
564
  }>;
565
565
  extend: import("./api/command/define-command").ExtendCallback<{
566
566
  commandName: "test-web";
@@ -573,7 +573,7 @@ export declare const virmator: Readonly<{
573
573
  readonly copyToPathRelativeToRepoDir: string;
574
574
  };
575
575
  };
576
- npmDeps: readonly ["@open-wc/testing", "@types/mocha", "@types/chai", "@web/dev-server-esbuild", "@web/test-runner-commands", "@web/test-runner-playwright", "@web/test-runner-visual-regression", "@web/test-runner", "istanbul-smart-text-reporter"];
576
+ 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"];
577
577
  }>;
578
578
  }) | ({
579
579
  commandName: "update-configs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "6.6.2",
3
+ "version": "6.6.4",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",