kvalita 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.
Files changed (2) hide show
  1. package/README.md +4 -19
  2. package/package.json +8 -1
package/README.md CHANGED
@@ -13,18 +13,15 @@ Kvalita provides reusable, opinionated configurations for maintaining consistent
13
13
  bun add -d kvalita
14
14
  ```
15
15
 
16
- Each configuration can be used independently - import only what your project needs.
16
+ This will automatically install all required dependencies.
17
+
18
+ > [!NOTE]
19
+ > All tools are installed together for simplicity, even if you only use some of the configurations. This ensures all CLIs and configs work correctly and avoids resolution issues.
17
20
 
18
21
  ## Usage
19
22
 
20
23
  ### [Biome](https://github.com/biomejs/biome) Configuration
21
24
 
22
- Install the required dependencies:
23
-
24
- ```bash
25
- bun add -d @biomejs/biome
26
- ```
27
-
28
25
  Create a `biome.json` file in your project root:
29
26
 
30
27
  ```json
@@ -35,12 +32,6 @@ Create a `biome.json` file in your project root:
35
32
 
36
33
  ### [Commitlint](https://github.com/conventional-changelog/commitlint) Configuration
37
34
 
38
- Install the required dependencies:
39
-
40
- ```bash
41
- bun add -d @commitlint/cli @commitlint/config-conventional
42
- ```
43
-
44
35
  Create a `commitlint.json` file in your project root:
45
36
 
46
37
  ```json
@@ -51,12 +42,6 @@ Create a `commitlint.json` file in your project root:
51
42
 
52
43
  ### [Semantic Release](https://github.com/semantic-release/semantic-release) Configuration
53
44
 
54
- Install the required dependencies:
55
-
56
- ```bash
57
- bun add -d semantic-release conventional-changelog-conventionalcommits
58
- ```
59
-
60
45
  Create a `release.json` file in your project root:
61
46
 
62
47
  ```json
package/package.json CHANGED
@@ -23,6 +23,13 @@
23
23
  "scripts": {
24
24
  "prepare": "lefthook install"
25
25
  },
26
+ "peerDependencies": {
27
+ "@biomejs/biome": ">=2.0.0",
28
+ "@commitlint/cli": ">=19.0.0",
29
+ "@commitlint/config-conventional": ">=19.0.0",
30
+ "conventional-changelog-conventionalcommits": ">=8.0.0",
31
+ "semantic-release": ">=23.0.0"
32
+ },
26
33
  "devDependencies": {
27
34
  "@biomejs/biome": "^2.2.4",
28
35
  "@commitlint/cli": "^20.1.0",
@@ -32,5 +39,5 @@
32
39
  "semantic-release": "^24.2.9",
33
40
  "typescript": "^5.9.2"
34
41
  },
35
- "version": "1.1.0"
42
+ "version": "1.2.0"
36
43
  }