@abelspithost/vitest-config 0.2.0 → 0.2.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.
- package/README.md +4 -1
- package/package.json +14 -7
package/README.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
# @abelspithost/vitest-config
|
|
3
3
|
|
|
4
|
-
[](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
|
|
5
4
|

|
|
5
|
+

|
|
6
|
+
[](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
|
|
7
|
+
[](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
|
|
8
|
+
[](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
|
|
6
9
|
|
|
7
10
|
This package provides a shared Vitest configuration for TypeScript projects.
|
|
8
11
|
The `createVitestConfig` function returns a Node-oriented Vitest configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abelspithost/vitest-config",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Shared Vitest configuration preset for TypeScript projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vitest",
|
|
@@ -32,25 +32,32 @@
|
|
|
32
32
|
"node": ">=26"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "npm run clean && tsc -p tsconfig.build.json && npm run deps:check",
|
|
35
|
+
"build": "npm run clean && tsc -p tsconfig.spec.json && tsc -p tsconfig.build.json && npm run deps:check",
|
|
36
36
|
"clean": "rimraf dist",
|
|
37
37
|
"deps:check": "npx -y npm-check-updates --cooldown 2",
|
|
38
38
|
"deps:update": "npx -y npm-check-updates -u --target minor --cooldown 2 && npm install",
|
|
39
39
|
"deps:update:major": "npx -y npm-check-updates -u --cooldown 2 && npm install",
|
|
40
40
|
"lint": "eslint . && npm run publint",
|
|
41
|
+
"prepare": "husky || true",
|
|
41
42
|
"publint": "npx -y publint",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
43
|
+
"release": "npx tsx release.config.ts",
|
|
44
|
+
"release:dry-run": "npx -p @abelspithost/conventional-commits-changelog release --dry-run",
|
|
45
|
+
"test:unit": "vitest",
|
|
46
|
+
"test:cov": "vitest run --coverage --coverage.reporter=text",
|
|
47
|
+
"test:cov:ci": "vitest run --coverage",
|
|
48
|
+
"typecheck": "tsc -p tsconfig.build.json --noEmit && tsc -p tsconfig.spec.json"
|
|
44
49
|
},
|
|
45
50
|
"peerDependencies": {
|
|
46
51
|
"vitest": ">=5.0.0"
|
|
47
52
|
},
|
|
48
53
|
"devDependencies": {
|
|
49
|
-
"@abelspithost/commitlint": "^0.2.
|
|
50
|
-
"@abelspithost/
|
|
54
|
+
"@abelspithost/commitlint": "^0.2.3",
|
|
55
|
+
"@abelspithost/conventional-commits-changelog": "^0.0.3",
|
|
56
|
+
"@abelspithost/eslint-config-ts": "^3.2.2",
|
|
51
57
|
"@abelspithost/tsconfig-node": "^0.1.2",
|
|
52
58
|
"@commitlint/cli": "^21.2.4",
|
|
53
59
|
"@types/node": "^26.6.6",
|
|
60
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
54
61
|
"commitlint": "^21.2.4",
|
|
55
62
|
"eslint": "^10.14.0",
|
|
56
63
|
"husky": "^9.1.7",
|
|
@@ -59,4 +66,4 @@
|
|
|
59
66
|
"typescript": "^6.0.3",
|
|
60
67
|
"vitest": "^5.1.0"
|
|
61
68
|
}
|
|
62
|
-
}
|
|
69
|
+
}
|