kvalita 1.10.0 → 1.11.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/README.md +17 -10
- package/configs/semantic-release-dry-run.json +4 -1
- package/configs/semantic-release.json +4 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -54,16 +54,6 @@ This configuration includes:
|
|
|
54
54
|
- `conventionalcommits` preset with `feat!:` syntax for breaking changes
|
|
55
55
|
- [npm provenance](https://docs.npmjs.com/generating-provenance-statements) (requires `id-token: write` permission)
|
|
56
56
|
|
|
57
|
-
#### Dry Run
|
|
58
|
-
|
|
59
|
-
To preview the next version without publishing (e.g., in PR checks):
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
bunx semantic-release --dry-run --extends kvalita/semantic-release-dry-run
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
This only runs the commit analyzer — no npm or GitHub tokens required.
|
|
66
|
-
|
|
67
57
|
### [Lefthook](https://github.com/evilmartians/lefthook) Configuration
|
|
68
58
|
|
|
69
59
|
Create a `lefthook.json` file in your project root and extend the hooks you need:
|
|
@@ -82,3 +72,20 @@ Create a `lefthook.json` file in your project root and extend the hooks you need
|
|
|
82
72
|
- `lefthook-biome.json` - Lints and formats staged files with Biome (pre-commit)
|
|
83
73
|
- `lefthook-typescript.json` - Type checks TypeScript files (pre-commit)
|
|
84
74
|
- `lefthook-commitlint.json` - Validates commit messages (commit-msg)
|
|
75
|
+
|
|
76
|
+
## Agentic Coding
|
|
77
|
+
|
|
78
|
+
### Skills
|
|
79
|
+
|
|
80
|
+
This package includes agent skills for code formatting and test writing conventions.
|
|
81
|
+
|
|
82
|
+
**Available skills:**
|
|
83
|
+
- `formatting` - Code formatting rules not handled by auto-formatters (arrow functions, exports, types, naming, comments, JSX)
|
|
84
|
+
- `testing` - Best practices, structure, coverage categories, and formatting conventions for writing tests
|
|
85
|
+
|
|
86
|
+
To make them available globally in [Claude Code](https://docs.anthropic.com/en/docs/claude-code), symlink the skills directory:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
ln -s /path/to/kvalita/skills/formatting ~/.claude/skills/formatting
|
|
90
|
+
ln -s /path/to/kvalita/skills/testing ~/.claude/skills/testing
|
|
91
|
+
```
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
"@semantic-release/commit-analyzer",
|
|
12
12
|
{
|
|
13
13
|
"preset": "conventionalcommits",
|
|
14
|
-
"releaseRules": [
|
|
14
|
+
"releaseRules": [
|
|
15
|
+
{ "breaking": true, "release": "major" },
|
|
16
|
+
{ "type": "perf", "release": "patch" }
|
|
17
|
+
]
|
|
15
18
|
}
|
|
16
19
|
]
|
|
17
20
|
]
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
"@semantic-release/commit-analyzer",
|
|
12
12
|
{
|
|
13
13
|
"preset": "conventionalcommits",
|
|
14
|
-
"releaseRules": [
|
|
14
|
+
"releaseRules": [
|
|
15
|
+
{ "breaking": true, "release": "major" },
|
|
16
|
+
{ "type": "perf", "release": "patch" }
|
|
17
|
+
]
|
|
15
18
|
}
|
|
16
19
|
],
|
|
17
20
|
["@semantic-release/release-notes-generator", { "preset": "conventionalcommits" }],
|
package/package.json
CHANGED
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"prepare": "lefthook install"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@biomejs/biome": ">=2.
|
|
28
|
-
"@commitlint/cli": ">=20.
|
|
29
|
-
"@commitlint/config-conventional": ">=20.
|
|
30
|
-
"conventional-changelog-conventionalcommits": ">=9.
|
|
31
|
-
"lefthook": ">=2.1.
|
|
27
|
+
"@biomejs/biome": ">=2.4.7",
|
|
28
|
+
"@commitlint/cli": ">=20.5.0",
|
|
29
|
+
"@commitlint/config-conventional": ">=20.5.0",
|
|
30
|
+
"conventional-changelog-conventionalcommits": ">=9.3.0",
|
|
31
|
+
"lefthook": ">=2.1.4",
|
|
32
32
|
"semantic-release": ">=25.0.3",
|
|
33
33
|
"typescript": ">=5.9.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@biomejs/biome": "^2.
|
|
37
|
-
"@commitlint/cli": "^20.
|
|
38
|
-
"@commitlint/config-conventional": "^20.
|
|
39
|
-
"conventional-changelog-conventionalcommits": "^9.
|
|
40
|
-
"lefthook": "^2.1.
|
|
36
|
+
"@biomejs/biome": "^2.4.7",
|
|
37
|
+
"@commitlint/cli": "^20.5.0",
|
|
38
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
39
|
+
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
40
|
+
"lefthook": "^2.1.4",
|
|
41
41
|
"semantic-release": "^25.0.3",
|
|
42
42
|
"typescript": "^5.9.3"
|
|
43
43
|
},
|
|
44
|
-
"version": "1.
|
|
44
|
+
"version": "1.11.0"
|
|
45
45
|
}
|