@kcconfigs/biome 0.1.0 → 0.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/CHANGELOG.md +39 -1
- package/README.md +39 -0
- package/package.json +4 -4
- package/src/base/biome.json +1 -1
- package/src/biome.base.json +1 -1
- package/src/biome.default.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.2.0](https://github.com/kc-workspace/kcws/compare/@kcconfigs/biome+v0.1.1...@kcconfigs/biome+v0.2.0) (2026-01-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **kcconfigs/biome:** Use @kcconfigs/biome instead of @kcconfigs/biome/default when use shared config
|
|
9
|
+
|
|
10
|
+
### Performance Improvements
|
|
11
|
+
|
|
12
|
+
* **config:** remove typedoc on package level, only use root level ([b24e48f](https://github.com/kc-workspace/kcws/commit/b24e48f5c03ee8e095dc795f3b7643d5adce406a))
|
|
13
|
+
* **kcconfigs/biome:** remove /default exports and add typedoc conditions ([5e1ab7d](https://github.com/kc-workspace/kcws/commit/5e1ab7d9be478fedbb29d2e68801c7689cd39882))
|
|
14
|
+
* **kcconfigs/biome:** simplify config ([92e6f77](https://github.com/kc-workspace/kcws/commit/92e6f7768b96d4231a3045cf1957b7f71dc60418))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bugfixes
|
|
18
|
+
|
|
19
|
+
* **config:** update schema version from 2.3.8 to 2.3.10 across all biome configuration files ([751ee20](https://github.com/kc-workspace/kcws/commit/751ee207527ed05720ad415927e0b0f27bdf9bdf))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
* **kcconfigs/biome:** add readme guide how to use the package ([0c71272](https://github.com/kc-workspace/kcws/commit/0c712725a63712955cc31ecc52f5a51766200b33))
|
|
25
|
+
* remove tab from readme file ([24614a3](https://github.com/kc-workspace/kcws/commit/24614a327a62c7e3f01e59539e6c927f86b7c8bd))
|
|
26
|
+
* update changelog to fix invalid url ([7f14bb5](https://github.com/kc-workspace/kcws/commit/7f14bb520342dc1dfb546a166bf64ef8a357451e))
|
|
27
|
+
|
|
28
|
+
## 0.1.1 (2025-12-28)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bugfixes
|
|
32
|
+
|
|
33
|
+
* **kcconfigs/biome:** release-please manifest files to ignore config ([800e2df](https://github.com/kc-workspace/kcws/commit/800e2df4f4522825276d6bc142c1b2ccef59a98e))
|
|
34
|
+
* update all `@kcconfigs` description so it trigger new deployment with new tag separator ([cf5be8c](https://github.com/kc-workspace/kcws/commit/cf5be8cc02fba8becb7e8f31fd6f3a741c0f0b95))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Documentation
|
|
38
|
+
|
|
39
|
+
* fix invalid link in changelog ([79a6b46](https://github.com/kc-workspace/kcws/commit/79a6b4664d6405c0a3c54875dc4769e6da2b7d94))
|
|
40
|
+
|
|
41
|
+
## [0.1.0](https://github.com/kc-workspace/kcws/compare/%40kcconfigs/biome%23v0.1.0-beta.0...%40kcconfigs/biome%23v0.1.0) (2025-12-26)
|
|
4
42
|
|
|
5
43
|
|
|
6
44
|
### Performance Improvements
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Biome shared configuration
|
|
2
|
+
|
|
3
|
+
Shared Biome formatter and linter settings.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
Add a `biome.json` (or `biome.jsonc`) that extends the default preset:
|
|
8
|
+
|
|
9
|
+
```jsonc
|
|
10
|
+
{
|
|
11
|
+
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
|
|
12
|
+
"extends": ["@kcconfigs/biome"]
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The default preset extends the base rules and excludes generated artifacts such as `dist`, coverage, and test reports.
|
|
17
|
+
See [biome.default.json](./src/biome.default.json) for the full list.
|
|
18
|
+
|
|
19
|
+
## Variants
|
|
20
|
+
|
|
21
|
+
- `@kcconfigs/biome`: extends the base preset and adds sensible file includes/excludes plus editorconfig awareness.
|
|
22
|
+
- `@kcconfigs/biome/base`: bare preset containing formatter, linter, and assist rules without workspace-specific file filters; useful if you want custom include/exclude patterns.
|
|
23
|
+
|
|
24
|
+
Example using the base preset with custom overrides:
|
|
25
|
+
|
|
26
|
+
```jsonc
|
|
27
|
+
{
|
|
28
|
+
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
|
|
29
|
+
"extends": ["@kcconfigs/biome/base"],
|
|
30
|
+
"files": { "includes": ["src/**/*.ts", "tests/**/*.ts"] },
|
|
31
|
+
"linter": {
|
|
32
|
+
"rules": {
|
|
33
|
+
"complexity": {
|
|
34
|
+
"noUselessSwitchCase": "warn"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kcconfigs/biome",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Shared biome configuration",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@biomejs/biome": "2.3.
|
|
6
|
+
"@biomejs/biome": "2.3.10"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"@biomejs/biome": "^2.0.0"
|
|
10
10
|
},
|
|
11
11
|
"main": "./src/biome.default.json",
|
|
12
12
|
"exports": {
|
|
13
|
-
"
|
|
13
|
+
".": "./src/biome.default.json",
|
|
14
14
|
"./base": "./src/biome.base.json"
|
|
15
15
|
},
|
|
16
16
|
"license": "AGPL-3.0-only",
|
package/src/base/biome.json
CHANGED
package/src/biome.base.json
CHANGED
package/src/biome.default.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.3.
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
|
|
3
3
|
"extends": ["./biome.base.json"],
|
|
4
4
|
"files": {
|
|
5
5
|
"includes": [
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"!reports/coverage",
|
|
9
9
|
"!dist",
|
|
10
10
|
"!dist.*",
|
|
11
|
-
"!.*.old"
|
|
11
|
+
"!.*.old",
|
|
12
|
+
"!.release-please-manifest.json",
|
|
13
|
+
"!.github/release-please/manifest.json"
|
|
12
14
|
]
|
|
13
15
|
},
|
|
14
16
|
"formatter": {
|