@biomejs/biome 2.5.14 → 2.6.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.es.md +22 -32
- package/README.fr.md +21 -31
- package/README.hi.md +39 -49
- package/README.ja.md +21 -32
- package/README.kr.md +21 -31
- package/README.md +22 -32
- package/README.pl.md +22 -32
- package/README.pt-BR.md +22 -32
- package/README.ru.md +21 -31
- package/README.uk.md +21 -31
- package/README.zh-CN.md +21 -31
- package/README.zh-TW.md +21 -31
- package/bin/biome +13 -1
- package/configuration_schema.json +3826 -923
- package/manifest_schema.json +72 -0
- package/package.json +12 -9
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "BiomeManifest",
|
|
4
|
+
"description": "Declares the rules and configurations provided by a Biome package.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"$schema": {
|
|
8
|
+
"description": "An optional JSON Schema reference used by editors.",
|
|
9
|
+
"type": ["string", "null"]
|
|
10
|
+
},
|
|
11
|
+
"configs": {
|
|
12
|
+
"description": "Named configurations and selected configurations from other packages.",
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": { "$ref": "#/$defs/ManifestEntry" }
|
|
15
|
+
},
|
|
16
|
+
"plugins": {
|
|
17
|
+
"description": "Named plugin rules and presets provided by the package.",
|
|
18
|
+
"anyOf": [{ "$ref": "#/$defs/ManifestPlugins" }, { "type": "null" }]
|
|
19
|
+
},
|
|
20
|
+
"version": {
|
|
21
|
+
"description": "The manifest format version.",
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"format": "uint8",
|
|
24
|
+
"const": 1,
|
|
25
|
+
"maximum": 255,
|
|
26
|
+
"minimum": 0
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": false,
|
|
30
|
+
"required": ["version"],
|
|
31
|
+
"$defs": {
|
|
32
|
+
"ManifestEntry": {
|
|
33
|
+
"description": "A selected package export or a map from public names to package-relative files.",
|
|
34
|
+
"anyOf": [
|
|
35
|
+
{
|
|
36
|
+
"description": "A named export selected from an installed package.",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"description": "Public names mapped to package-relative files.",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": { "type": "string" }
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"ManifestPlugins": {
|
|
47
|
+
"description": "Named lint rules and groups of rules provided by a Biome package.",
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"presets": {
|
|
51
|
+
"description": "Named groups of rules that can be loaded together.",
|
|
52
|
+
"anyOf": [{ "$ref": "#/$defs/ManifestPresets" }, { "type": "null" }]
|
|
53
|
+
},
|
|
54
|
+
"rules": {
|
|
55
|
+
"description": "Named rules and selected rules or presets from other packages.",
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": { "$ref": "#/$defs/ManifestEntry" }
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
},
|
|
62
|
+
"ManifestPresets": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"items": { "type": "string" },
|
|
67
|
+
"minItems": 1
|
|
68
|
+
},
|
|
69
|
+
"minProperties": 1
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biomejs/biome",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"biome": "bin/biome"
|
|
6
6
|
},
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"bin/biome",
|
|
19
19
|
"configuration_schema.json",
|
|
20
|
+
"manifest_schema.json",
|
|
20
21
|
"README.md",
|
|
21
22
|
"LICENSE-APACHE",
|
|
22
23
|
"LICENSE-MIT",
|
|
@@ -46,13 +47,15 @@
|
|
|
46
47
|
"provenance": true
|
|
47
48
|
},
|
|
48
49
|
"optionalDependencies": {
|
|
49
|
-
"@biomejs/cli-win32-x64": "2.
|
|
50
|
-
"@biomejs/cli-win32-arm64": "2.
|
|
51
|
-
"@biomejs/cli-darwin-x64": "2.
|
|
52
|
-
"@biomejs/cli-darwin-arm64": "2.
|
|
53
|
-
"@biomejs/cli-linux-x64": "2.
|
|
54
|
-
"@biomejs/cli-linux-arm64": "2.
|
|
55
|
-
"@biomejs/cli-linux-x64-musl": "2.
|
|
56
|
-
"@biomejs/cli-linux-arm64-musl": "2.
|
|
50
|
+
"@biomejs/cli-win32-x64": "2.6.0",
|
|
51
|
+
"@biomejs/cli-win32-arm64": "2.6.0",
|
|
52
|
+
"@biomejs/cli-darwin-x64": "2.6.0",
|
|
53
|
+
"@biomejs/cli-darwin-arm64": "2.6.0",
|
|
54
|
+
"@biomejs/cli-linux-x64": "2.6.0",
|
|
55
|
+
"@biomejs/cli-linux-arm64": "2.6.0",
|
|
56
|
+
"@biomejs/cli-linux-x64-musl": "2.6.0",
|
|
57
|
+
"@biomejs/cli-linux-arm64-musl": "2.6.0",
|
|
58
|
+
"@biomejs/cli-android-x64": "2.6.0",
|
|
59
|
+
"@biomejs/cli-android-arm64": "2.6.0"
|
|
57
60
|
}
|
|
58
61
|
}
|