@daiyam/artifact-test-vitest-ts 0.2.3 → 0.3.0

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/configs/gitignore CHANGED
@@ -1 +1,2 @@
1
- .test
1
+ /.test/
2
+ /coverage/
@@ -2,14 +2,17 @@
2
2
  "scripts": {
3
3
  "clean": "rimraf .test",
4
4
  "compile:test": "tsc -p test",
5
- "test": "vitest run",
5
+ "test": "vitest run --reporter tree",
6
+ "test:coverage": "vitest run --reporter tree --coverage --coverage.reporter text",
7
+ "test:ui": "vitest --ui --coverage",
6
8
  "test:watch": "vitest",
7
9
  "watch:test": "tsc-watch -p test"
8
10
  },
9
11
  "devDependencies": {
10
- "@types/fs-extra": "^11.0.4",
11
- "fs-extra": "^11.3.3",
12
- "globby": "^16.1.0",
13
- "vitest": "^4.0.16"
12
+ "@vitest/coverage-v8": "^4.0.18",
13
+ "@vitest/ui": "^4.0.18",
14
+ "@zokugun/fs-extra-plus": "^0.3.3",
15
+ "globby": "^16.1.1",
16
+ "vitest": "^4.0.18"
14
17
  }
15
18
  }
@@ -12,5 +12,9 @@ export default defineConfig({
12
12
  typecheck: {
13
13
  enabled: true,
14
14
  },
15
+ coverage: {
16
+ reporter: ['html'],
17
+ reportsDirectory: './coverage',
18
+ },
15
19
  },
16
20
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-test-vitest-ts",
3
- "version": "0.2.3",
3
+ "version": "0.3.0",
4
4
  "description": "The configuration to do unit testing with vitest and typescript.",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -31,5 +31,5 @@
31
31
  "project-template",
32
32
  "scaffold"
33
33
  ],
34
- "gitHead": "23c10e38663fb3db36447d806495b23d74f7cc65"
34
+ "gitHead": "5bfb6ad591ff26ab3580a41607822157aebcf2b5"
35
35
  }