kvalita 1.9.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 CHANGED
@@ -50,7 +50,7 @@ Use the `--extends` flag in your CI workflow:
50
50
  ```
51
51
 
52
52
  This configuration includes:
53
- - Branches: `main`, `next` (prerelease), `beta` (prerelease)
53
+ - Branches: `main`, `next` (prerelease), `beta` (prerelease), `alpha` (prerelease)
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
 
@@ -72,3 +72,20 @@ Create a `lefthook.json` file in your project root and extend the hooks you need
72
72
  - `lefthook-biome.json` - Lints and formats staged files with Biome (pre-commit)
73
73
  - `lefthook-typescript.json` - Type checks TypeScript files (pre-commit)
74
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
+ ```
@@ -1,7 +1,7 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/commitlintrc.json",
3
- "extends": ["@commitlint/config-conventional"],
4
- "rules": {
5
- "subject-case": [2, "always", "sentence-case"]
6
- }
2
+ "$schema": "https://json.schemastore.org/commitlintrc.json",
3
+ "extends": ["@commitlint/config-conventional"],
4
+ "rules": {
5
+ "subject-case": [2, "always", "sentence-case"]
6
+ }
7
7
  }
@@ -1,13 +1,13 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/lefthook.json",
3
- "pre-commit": {
4
- "parallel": true,
5
- "commands": {
6
- "lint:biome": {
7
- "glob": "*.{ts,tsx,js,jsx,json,jsonc,css,graphql,gql}",
8
- "run": "bunx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}",
9
- "stage_fixed": true
10
- }
11
- }
12
- }
2
+ "$schema": "https://json.schemastore.org/lefthook.json",
3
+ "pre-commit": {
4
+ "parallel": true,
5
+ "commands": {
6
+ "lint:biome": {
7
+ "glob": "*.{ts,tsx,js,jsx,json,jsonc,css,graphql,gql}",
8
+ "run": "bunx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}",
9
+ "stage_fixed": true
10
+ }
11
+ }
12
+ }
13
13
  }
@@ -1,10 +1,10 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/lefthook.json",
3
- "commit-msg": {
4
- "commands": {
5
- "lint:commitlint": {
6
- "run": "bunx commitlint --config ./commitlint.json --edit {1}"
7
- }
8
- }
9
- }
2
+ "$schema": "https://json.schemastore.org/lefthook.json",
3
+ "commit-msg": {
4
+ "commands": {
5
+ "lint:commitlint": {
6
+ "run": "bunx commitlint --config ./commitlint.json --edit {1}"
7
+ }
8
+ }
9
+ }
10
10
  }
@@ -1,11 +1,11 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/lefthook.json",
3
- "pre-commit": {
4
- "commands": {
5
- "typescript": {
6
- "glob": "*.{ts,tsx}",
7
- "run": "bunx tsc --noEmit"
8
- }
9
- }
10
- }
2
+ "$schema": "https://json.schemastore.org/lefthook.json",
3
+ "pre-commit": {
4
+ "commands": {
5
+ "typescript": {
6
+ "glob": "*.{ts,tsx}",
7
+ "run": "bunx tsc --noEmit"
8
+ }
9
+ }
10
+ }
11
11
  }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/semantic-release.json",
3
+ "branches": [
4
+ "main",
5
+ { "name": "beta", "channel": "beta", "prerelease": "beta" },
6
+ { "name": "alpha", "channel": "alpha", "prerelease": "alpha" },
7
+ { "name": "next", "channel": "next", "prerelease": "next" }
8
+ ],
9
+ "plugins": [
10
+ [
11
+ "@semantic-release/commit-analyzer",
12
+ {
13
+ "preset": "conventionalcommits",
14
+ "releaseRules": [
15
+ { "breaking": true, "release": "major" },
16
+ { "type": "perf", "release": "patch" }
17
+ ]
18
+ }
19
+ ]
20
+ ]
21
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/semantic-release.json",
3
- "branches": [
4
- "main",
5
- { "name": "beta", "channel": "beta", "prerelease": "beta" },
6
- { "name": "next", "channel": "next", "prerelease": "next" }
7
- ],
8
- "plugins": [
9
- [
10
- "@semantic-release/commit-analyzer",
11
- {
12
- "preset": "conventionalcommits",
13
- "releaseRules": [{ "breaking": true, "release": "major" }]
14
- }
15
- ],
16
- ["@semantic-release/release-notes-generator", { "preset": "conventionalcommits" }],
17
- ["@semantic-release/npm", { "provenance": true }],
18
- "@semantic-release/github"
19
- ]
2
+ "$schema": "https://json.schemastore.org/semantic-release.json",
3
+ "branches": [
4
+ "main",
5
+ { "name": "beta", "channel": "beta", "prerelease": "beta" },
6
+ { "name": "alpha", "channel": "alpha", "prerelease": "alpha" },
7
+ { "name": "next", "channel": "next", "prerelease": "next" }
8
+ ],
9
+ "plugins": [
10
+ [
11
+ "@semantic-release/commit-analyzer",
12
+ {
13
+ "preset": "conventionalcommits",
14
+ "releaseRules": [
15
+ { "breaking": true, "release": "major" },
16
+ { "type": "perf", "release": "patch" }
17
+ ]
18
+ }
19
+ ],
20
+ ["@semantic-release/release-notes-generator", { "preset": "conventionalcommits" }],
21
+ ["@semantic-release/npm", { "provenance": true }],
22
+ "@semantic-release/github"
23
+ ]
20
24
  }
package/package.json CHANGED
@@ -17,28 +17,29 @@
17
17
  "exports": {
18
18
  "./biome": "./configs/biome.json",
19
19
  "./commitlint": "./configs/commitlint.json",
20
- "./semantic-release": "./configs/semantic-release.json"
20
+ "./semantic-release": "./configs/semantic-release.json",
21
+ "./semantic-release-dry-run": "./configs/semantic-release-dry-run.json"
21
22
  },
22
23
  "scripts": {
23
24
  "prepare": "lefthook install"
24
25
  },
25
26
  "peerDependencies": {
26
- "@biomejs/biome": ">=2.0.0",
27
- "@commitlint/cli": ">=19.0.0",
28
- "@commitlint/config-conventional": ">=19.0.0",
29
- "conventional-changelog-conventionalcommits": ">=8.0.0",
30
- "lefthook": ">=1.0.0",
31
- "semantic-release": ">=23.0.0",
32
- "typescript": ">=5.0.0"
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
+ "semantic-release": ">=25.0.3",
33
+ "typescript": ">=5.9.3"
33
34
  },
34
35
  "devDependencies": {
35
- "@biomejs/biome": "^2.3.10",
36
- "@commitlint/cli": "^20.2.0",
37
- "@commitlint/config-conventional": "^20.2.0",
38
- "conventional-changelog-conventionalcommits": "^9.1.0",
39
- "lefthook": "^2.0.12",
40
- "semantic-release": "^25.0.2",
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
+ "semantic-release": "^25.0.3",
41
42
  "typescript": "^5.9.3"
42
43
  },
43
- "version": "1.9.0"
44
+ "version": "1.11.0"
44
45
  }