@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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +14 -7
package/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
 
2
2
  # @abelspithost/vitest-config
3
3
 
4
- [![Quality gate status](https://sonarcloud.io/api/project_badges/measure?project=aspithost_vitest-config&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
5
4
  ![NPM Version](https://img.shields.io/npm/v/@abelspithost/vitest-config)
5
+ ![Build](https://img.shields.io/github/actions/workflow/status/aspithost/vitest-config/cicd.yml)
6
+ [![Quality gate status](https://sonarcloud.io/api/project_badges/measure?project=aspithost_vitest-config&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
7
+ [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=aspithost_vitest-config&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=aspithost_vitest-config)
8
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=aspithost_vitest-config&metric=coverage)](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.0",
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
- "typecheck": "tsc -p tsconfig.build.json --noEmit",
43
- "prepare": "husky || true"
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.0",
50
- "@abelspithost/eslint-config-ts": "^3.2.0",
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
+ }