@stencil/vitest 1.6.1 → 1.6.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/config.js +2 -2
- package/package.json +2 -2
package/dist/config.js
CHANGED
|
@@ -170,7 +170,7 @@ function applyStencilDefaults(config, stencilConfig) {
|
|
|
170
170
|
const ignoredArray = Array.isArray(result.server.watch.ignored)
|
|
171
171
|
? result.server.watch.ignored
|
|
172
172
|
: [result.server.watch.ignored];
|
|
173
|
-
const mapIgnorePatterns = ['**/*.map', '**/*.map.js'];
|
|
173
|
+
const mapIgnorePatterns = ['**/*.map', '**/*.map.js', '**/dist/**/*.d.ts'];
|
|
174
174
|
result.server.watch.ignored = [...new Set([...ignoredArray, ...mapIgnorePatterns])];
|
|
175
175
|
// Ensure test config exists
|
|
176
176
|
if (!result.test) {
|
|
@@ -205,7 +205,7 @@ function applyStencilDefaults(config, stencilConfig) {
|
|
|
205
205
|
const existingTriggers = Array.isArray(result.test.forceRerunTriggers)
|
|
206
206
|
? result.test.forceRerunTriggers
|
|
207
207
|
: [result.test.forceRerunTriggers];
|
|
208
|
-
const outputDirTriggers = outputDirs.map((dir) => `**/${dir}
|
|
208
|
+
const outputDirTriggers = outputDirs.map((dir) => `**/${dir}/**/*.js`);
|
|
209
209
|
result.test.forceRerunTriggers = [...new Set([...existingTriggers, ...outputDirTriggers])];
|
|
210
210
|
// Add globals if not set
|
|
211
211
|
if (result.test.globals === undefined) {
|
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.6.
|
|
7
|
+
"version": "1.6.2",
|
|
8
8
|
"description": "First-class testing utilities for Stencil design systems with Vitest",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"type": "module",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"jiti": "^2.6.1",
|
|
99
99
|
"local-pkg": "^1.1.2",
|
|
100
|
-
"vitest-environment-stencil": "1.6.
|
|
100
|
+
"vitest-environment-stencil": "1.6.2"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@eslint/js": "^9.39.2",
|