vitest-tiny-reporter 1.3.0 → 1.3.1

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.
@@ -0,0 +1,11 @@
1
+ import type { RunnerTask } from 'vitest';
2
+ import type { Vitest } from 'vitest/node';
3
+ import type { Reporter } from 'vitest/reporters';
4
+ export default class TinyReporter implements Reporter {
5
+ ctx: Vitest;
6
+ protected verbose: boolean;
7
+ onInit(ctx: Vitest): void;
8
+ onFinished(files?: import("vitest").RunnerTestFile[], errors?: unknown[]): void;
9
+ padTitle: (str: string) => string;
10
+ getStateString(tasks: RunnerTask[], name?: string): string;
11
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "vitest-tiny-reporter",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Tiny reporter for vitest",
5
- "types": "dist/types/index.d.ts",
5
+ "types": "dist/index.d.ts",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
@@ -14,7 +14,7 @@
14
14
  "scripts": {
15
15
  "build": "npx concurrently npm:build:*",
16
16
  "build:vite": "vite build",
17
- "build:tsc": "tsc -b tsconfig.types.json",
17
+ "build:tsc": "tsc -b tsconfig.types.json && cp ./dist/index.d.ts ./dist/index.d.cts",
18
18
  "test": "vitest run",
19
19
  "coverage": "vitest run --coverage",
20
20
  "test:watch": "vitest --watch --coverage --ui",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
28
- "url": "https://github.com/manbearwiz/vitest-tiny-reporter.git"
28
+ "url": "git+https://github.com/manbearwiz/vitest-tiny-reporter.git"
29
29
  },
30
30
  "author": "Kevin Brey",
31
31
  "license": "MIT",
@@ -38,22 +38,22 @@
38
38
  "vitest": "^2.0.0 || ^3.0.2 || ^4.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@biomejs/biome": "1.9.4",
42
- "@commitlint/cli": "^19.3.0",
41
+ "@biomejs/biome": "^2.3.0",
42
+ "@commitlint/cli": "^20.1.0",
43
43
  "@commitlint/config-angular": "^19.3.0",
44
44
  "@tsconfig/recommended": "^1.0.3",
45
45
  "@tsconfig/strictest": "^2.0.2",
46
- "@tsconfig/vite-react": "^6.3.6",
46
+ "@tsconfig/vite-react": "^7.0.1",
47
47
  "@types/node": "^22.10.0",
48
48
  "@vitest/coverage-v8": "^2.0.0 || ^3.0.2 || ^4.0.0",
49
49
  "@vitest/ui": "^2.0.0 || ^3.0.2 || ^4.0.0",
50
- "happy-dom": "^18.0.1",
51
- "semantic-release": "^24.2.0",
50
+ "happy-dom": "^20.0.8",
51
+ "semantic-release": "^25.0.2",
52
52
  "typescript": "^5.2.2",
53
53
  "vite": "^7.1.12"
54
54
  },
55
55
  "dependencies": {
56
- "tinyrainbow": "^1.2.0 || ^2.0.0"
56
+ "tinyrainbow": "^1.2.0 || ^2.0.0 || ^3.0.0"
57
57
  },
58
58
  "release": {
59
59
  "branches": [
@@ -65,9 +65,14 @@
65
65
  "module": "./dist/vitest-tiny-reporter.js",
66
66
  "exports": {
67
67
  ".": {
68
- "types": "./dist/types/index.d.ts",
69
- "import": "./dist/vitest-tiny-reporter.js",
70
- "require": "./dist/vitest-tiny-reporter.umd.cjs"
68
+ "import": {
69
+ "types": "./dist/index.d.ts",
70
+ "default": "./dist/vitest-tiny-reporter.js"
71
+ },
72
+ "require": {
73
+ "types": "./dist/index.d.cts",
74
+ "default": "./dist/vitest-tiny-reporter.umd.cjs"
75
+ }
71
76
  }
72
77
  },
73
78
  "sideEffects": false
File without changes