kvalita 1.7.0 → 1.8.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
@@ -42,17 +42,17 @@ Create a `commitlint.json` file in your project root:
42
42
 
43
43
  ### [Semantic Release](https://github.com/semantic-release/semantic-release) Configuration
44
44
 
45
- Create a `release.json` file in your project root:
45
+ Use the `--extends` flag in your CI workflow:
46
46
 
47
- ```json
48
- {
49
- "extends": "kvalita/semantic-release"
50
- }
47
+ ```yaml
48
+ - name: Release
49
+ run: bunx semantic-release --extends kvalita/semantic-release
51
50
  ```
52
51
 
53
- This configuration uses the `conventionalcommits` preset, which supports the `feat!:` syntax for breaking changes.
54
-
55
- It also enables [npm provenance](https://docs.npmjs.com/generating-provenance-statements). Your CI workflow needs `id-token: write` permission for publishing to work.
52
+ This configuration includes:
53
+ - Branches: `main`, `next` (prerelease), `beta` (prerelease)
54
+ - `conventionalcommits` preset with `feat!:` syntax for breaking changes
55
+ - [npm provenance](https://docs.npmjs.com/generating-provenance-statements) (requires `id-token: write` permission)
56
56
 
57
57
  ### [Lefthook](https://github.com/evilmartians/lefthook) Configuration
58
58
 
@@ -1,13 +1,15 @@
1
1
  {
2
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
+ ],
3
8
  "plugins": [
4
9
  [
5
10
  "@semantic-release/commit-analyzer",
6
11
  {
7
12
  "preset": "conventionalcommits",
8
- "parserOpts": {
9
- "breakingHeaderPattern": "^(\\w*)(?:\\((.*)\\))?!: (.*)$"
10
- },
11
13
  "releaseRules": [{ "breaking": true, "release": "major" }]
12
14
  }
13
15
  ],
package/package.json CHANGED
@@ -40,5 +40,5 @@
40
40
  "semantic-release": "^25.0.2",
41
41
  "typescript": "^5.9.3"
42
42
  },
43
- "version": "1.7.0"
43
+ "version": "1.8.0"
44
44
  }