hyntx 1.1.0 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyntx",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "CLI that analyzes Claude Code prompts and generates improvement suggestions",
5
5
  "type": "module",
6
6
  "engines": {
@@ -24,7 +24,7 @@
24
24
  "@types/figlet": "^1.7.0",
25
25
  "@types/node": "^25.0.3",
26
26
  "@types/prompts": "^2.4.9",
27
- "@vitest/coverage-v8": "^2.1.8",
27
+ "@vitest/coverage-v8": "^4.0.16",
28
28
  "conventional-changelog-conventionalcommits": "^9.1.0",
29
29
  "eslint": "^9.17.0",
30
30
  "eslint-config-prettier": "^9.1.0",
@@ -35,17 +35,18 @@
35
35
  "tsup": "^8.3.5",
36
36
  "typescript": "^5.7.2",
37
37
  "typescript-eslint": "^8.19.0",
38
- "vitest": "^2.1.8"
38
+ "vitest": "^4.0.16"
39
39
  },
40
40
  "bin": {
41
41
  "hyntx": "./dist/index.js"
42
42
  },
43
43
  "files": [
44
- "dist"
44
+ "dist/index.js",
45
+ "dist/index.d.ts"
45
46
  ],
46
47
  "lint-staged": {
47
48
  "*.ts": [
48
- "eslint --fix",
49
+ "bash -c 'if [[ \"$1\" != tests/* && \"$1\" != *.config.ts ]]; then eslint --fix \"$1\"; fi' --",
49
50
  "prettier --write"
50
51
  ],
51
52
  "*.{json,md,yml,yaml}": [
@@ -69,6 +70,7 @@
69
70
  },
70
71
  "scripts": {
71
72
  "build": "tsup",
73
+ "build:debug": "SOURCE_MAP=true tsup",
72
74
  "dev": "tsup --watch",
73
75
  "start": "node dist/index.js",
74
76
  "lint": "eslint src/",
@@ -76,9 +78,14 @@
76
78
  "format": "prettier --write .",
77
79
  "format:check": "prettier --check .",
78
80
  "typecheck": "tsc --noEmit",
79
- "test": "vitest",
80
- "test:run": "vitest run",
81
+ "test": "vitest run",
82
+ "test:watch": "vitest",
81
83
  "test:coverage": "vitest run --coverage",
84
+ "test:unit": "vitest run tests/unit",
85
+ "test:integration": "vitest run tests/integration",
86
+ "test:e2e": "vitest run --config vitest.config.e2e.ts",
87
+ "test:e2e:watch": "vitest --config vitest.config.e2e.ts",
88
+ "test:all": "vitest run && vitest run --config vitest.config.e2e.ts",
82
89
  "check": "pnpm typecheck && pnpm lint && pnpm format:check",
83
90
  "size": "npm pack --dry-run 2>&1 | tail -1",
84
91
  "release": "semantic-release",