@stencil/vitest 1.8.1 → 1.8.2
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/bin/stencil-test.js +31 -0
- package/package.json +2 -2
package/dist/bin/stencil-test.js
CHANGED
|
@@ -10,6 +10,7 @@ function parseArgs(argv) {
|
|
|
10
10
|
verbose: false,
|
|
11
11
|
debug: false,
|
|
12
12
|
prod: false,
|
|
13
|
+
build: false,
|
|
13
14
|
coverage: false,
|
|
14
15
|
noCoverage: false,
|
|
15
16
|
ui: false,
|
|
@@ -57,6 +58,36 @@ function parseArgs(argv) {
|
|
|
57
58
|
parsed.prod = true;
|
|
58
59
|
i++;
|
|
59
60
|
break;
|
|
61
|
+
case '--build':
|
|
62
|
+
parsed.build = true;
|
|
63
|
+
i++;
|
|
64
|
+
break;
|
|
65
|
+
// Handle --no-<flag> variants of Stencil boolean flags
|
|
66
|
+
// Stencil dynamically supports negating any boolean flag with the no- prefix
|
|
67
|
+
case '--no-watch':
|
|
68
|
+
parsed.watch = false;
|
|
69
|
+
i++;
|
|
70
|
+
break;
|
|
71
|
+
case '--no-serve':
|
|
72
|
+
parsed.serve = false;
|
|
73
|
+
i++;
|
|
74
|
+
break;
|
|
75
|
+
case '--no-verbose':
|
|
76
|
+
parsed.verbose = false;
|
|
77
|
+
i++;
|
|
78
|
+
break;
|
|
79
|
+
case '--no-debug':
|
|
80
|
+
parsed.debug = false;
|
|
81
|
+
i++;
|
|
82
|
+
break;
|
|
83
|
+
case '--no-prod':
|
|
84
|
+
parsed.prod = false;
|
|
85
|
+
i++;
|
|
86
|
+
break;
|
|
87
|
+
case '--no-build':
|
|
88
|
+
parsed.build = false;
|
|
89
|
+
i++;
|
|
90
|
+
break;
|
|
60
91
|
// Vitest flags
|
|
61
92
|
case '--project':
|
|
62
93
|
if (!parsed.project)
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/stenciljs/vitest"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.8.
|
|
7
|
+
"version": "1.8.2",
|
|
8
8
|
"description": "First-class testing utilities for Stencil design systems with Vitest",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"type": "module",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"jiti": "^2.6.1",
|
|
102
102
|
"local-pkg": "^1.1.2",
|
|
103
|
-
"vitest-environment-stencil": "1.8.
|
|
103
|
+
"vitest-environment-stencil": "1.8.2"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@eslint/js": "^9.39.2",
|