@theholocron/vitest-config 7.2.1 → 7.2.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.
@@ -18,7 +18,9 @@ declare function library({ thresholds: thresholdOverrides, ...rest }?: {
18
18
  }): {
19
19
  test: {
20
20
  coverage: {
21
+ enabled: boolean;
21
22
  provider: string;
23
+ reporter: string[];
22
24
  include: string[];
23
25
  exclude: string[];
24
26
  thresholds: Thresholds;
@@ -20,7 +20,9 @@ function library({ thresholds: thresholdOverrides, ...rest } = {}) {
20
20
  test: {
21
21
  ...base.test,
22
22
  coverage: {
23
+ enabled: true,
23
24
  provider: "v8",
25
+ reporter: ["lcov", "text"],
24
26
  include: ["src/**/*.ts"],
25
27
  exclude: [
26
28
  "src/**/__tests__/**",
@@ -9,7 +9,9 @@
9
9
  declare function reactApp(options?: {}): {
10
10
  test: {
11
11
  coverage: {
12
+ enabled: boolean;
12
13
  provider: string;
14
+ reporter: string[];
13
15
  include: string[];
14
16
  exclude: string[];
15
17
  thresholds: {
@@ -14,7 +14,9 @@ function reactApp(options = {}) {
14
14
  test: {
15
15
  ...base.test,
16
16
  coverage: {
17
+ enabled: true,
17
18
  provider: "v8",
19
+ reporter: ["lcov", "text"],
18
20
  include: ["src/**"],
19
21
  exclude: [
20
22
  "**/*.{test,spec}.*",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/vitest-config",
3
- "version": "7.2.1",
3
+ "version": "7.2.3",
4
4
  "description": "Vitest configuration presets for libraries, React apps, and Storybook within the Galaxy.",
5
5
  "homepage": "https://github.com/theholocron/configs/tree/main/packages/vitest-config#readme",
6
6
  "bugs": "https://github.com/theholocron/configs/issues",
@@ -23,7 +23,7 @@
23
23
  "tsdown": "^0.22.8",
24
24
  "typescript": "^5.9.3",
25
25
  "vitest": "^4.0.0",
26
- "@theholocron/tsconfig": "7.2.1"
26
+ "@theholocron/tsconfig": "7.2.3"
27
27
  },
28
28
  "exports": {
29
29
  ".": {