virmator 6.6.2 → 6.6.3
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
|
|
51
|
-
const
|
|
50
|
+
const dirToDelete = needToBuild ? 'dist' : 'node_modules/.vite';
|
|
51
|
+
const removeCommand = `node -e "require('fs').rmSync(${dirToDelete})" &&`;
|
|
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", "@
|
|
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", "@
|
|
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", "@
|
|
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", "@
|
|
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", "@
|
|
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
|
};
|
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", "@
|
|
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", "@
|
|
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", "@
|
|
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", "@
|
|
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", "@
|
|
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";
|