-
-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathpackage.json
More file actions
219 lines (219 loc) · 6.45 KB
/
package.json
File metadata and controls
219 lines (219 loc) · 6.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "biome",
"version": "3.6.1",
"displayName": "Biome",
"publisher": "biomejs",
"license": "MIT OR Apache-2.0",
"description": "Toolchain of the web",
"icon": "resources/icons/biome.png",
"categories": [
"Formatters",
"Linters"
],
"repository": "github:biomejs/biome-vscode",
"homepage": "https://github.com/biomejs/biome-vscode#readme",
"readme": "https://github.com/biomejs/biome-vscode#readme",
"bugs": "https://github.com/biomejs/biome-vscode/issues",
"sponsor": {
"url": "https://github.com/sponsors/biomejs"
},
"scripts": {
"prebuild": "pnpm run typecheck",
"build": "rollup --config rollup.config.ts --configPlugin esbuild",
"dev": "rollup --watch --config rollup.config.ts --configPlugin esbuild",
"prepackage": "pnpm run build",
"package": "vsce package --out biome.vsix",
"typecheck": "tsc --noEmit"
},
"main": "./out/main.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "biome.restart",
"title": "Biome: Restart"
}
],
"configuration": {
"properties": {
"biome.enabled": {
"type": "boolean",
"default": true,
"markdownDescription": "Controls whether the Biome extension is active and provides its features in the context to which this setting applies.",
"scope": "resource"
},
"biome.configurationPath": {
"type": [
"string",
"null"
],
"default": null,
"markdownDescription": "Specifies the path to a custom Biome configuration file within the workspace folder.\n\nIf set to `null`, the extension will fall back to the default Biome configuration files.",
"scope": "resource",
"examples": [
".config/biome.json"
],
"ignoreSync": true
},
"biome.suggestInstallingGlobally": {
"type": "boolean",
"default": true,
"markdownDescription": "When a global installation of Biome is required but not found in the `PATH`, the extension will suggest installing it.\n\nThis setting controls whether that suggestion popup is shown.",
"scope": "resource"
},
"biome.requireConfiguration": {
"type": "boolean",
"default": false,
"description": "Require a Biome configuration file to enable Biome features in the context to which this setting applies.\n\nIf set to `true`, the extension will not provide Biome features unless a configuration file is present in the workspace folder.",
"scope": "resource"
},
"biome.runFromTemporaryLocation": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "Whether to copy the Biome binary and run it from a temporary location.\n\nDefaults to `true` on Windows and `false` on other platforms.",
"scope": "resource",
"ignoreSync": true
},
"biome.lsp.bin": {
"oneOf": [
{
"type": "string",
"description": "Path to a custom Biome binary.\n\nWhen set, the extension will use this path and will not attempt to locate Biome automatically.",
"default": "",
"examples": [
"/path/to/biome"
]
},
{
"type": "object",
"uniqueItems": true,
"description": "Platform-specific paths to a custom Biome binary.\n\nWhen set, the extension will use the specified path for each matching platform and will not attempt to locate Biome automatically.",
"examples": [
{
"linux-x64": "/path/to/biome",
"linux-arm64-musl": "/path/to/biome",
"darwin-arm64": "/path/to/biome",
"win32-x64": "C:\\path\\to\\biome.exe"
}
]
}
],
"scope": "resource"
},
"biome.lsp.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"description": "Sets the tracing level for communication between the extension and the Biome Language Server.",
"default": "off",
"ignoreSync": true
},
"biome.lsp.watcher.kind": {
"type": [
"string",
"null"
],
"enum": [
"recommended",
"polling",
"none",
null
],
"markdownDescription": "Controls how the Biome file watcher should behave. By default, Biome chooses the best watcher strategy for the current OS, however sometimes this could result in some issues, such as folders locked.\n\nFor this setting, you must use Biome `2.4.0+`.",
"default": null,
"scope": "resource",
"ignoreSync": true
},
"biome.lsp.watcher.pollingInterval": {
"type": [
"number",
"null"
],
"markdownDescription": "The polling interval in milliseconds. This is only applicable when using the `polling` watcher.\n\nFor this setting, you must use Biome `2.4.0+`.",
"default": null,
"minimum": 0,
"scope": "resource",
"ignoreSync": true
},
"biome.lspBin": {
"type": "string",
"default": "",
"ignoreSync": true,
"description": "(Deprecated) Path to a custom Biome binary.\n\nWhen set, the extension will use this path and will not attempt to locate Biome automatically.",
"deprecationMessage": "This setting is deprecated and will be removed in a future version. Please use `biome.lsp.bin` instead."
}
}
},
"icons": {
"biome-logo": {
"description": "Biome logo",
"default": {
"fontPath": "resources/icons/biome.woff",
"fontCharacter": "\\E900"
}
}
},
"languages": [
{
"id": "biome_syntax_tree",
"extensions": [
".rast"
]
},
{
"id": "grit",
"extensions": [
".grit"
]
}
],
"grammars": [
{
"language": "biome_syntax_tree",
"scopeName": "source.biome_syntax_tree",
"path": "./resources/grammars/biome-syntax-tree.tmGrammar.json"
}
]
},
"engines": {
"vscode": "^1.80.0"
},
"vsce": {
"dependencies": false,
"skipLicense": true
},
"dependencies": {
"is-wsl": "3.1.1",
"tree-sitter-gritql": "0.1.1",
"vscode-languageclient": "9.0.1",
"vscode-uri": "3.1.0",
"web-tree-sitter": "0.26.8"
},
"devDependencies": {
"@biomejs/biome": "2.4.13",
"@changesets/changelog-github": "0.6.0",
"@changesets/cli": "2.31.0",
"@rollup/plugin-commonjs": "29.0.2",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@types/node": "24.12.2",
"@types/vscode": "^1.80.0",
"@vscode/vsce": "3.9.1",
"esbuild": "0.28.0",
"lefthook": "2.1.6",
"ovsx": "0.10.11",
"rollup": "4.60.2",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-esbuild": "6.2.1",
"typescript": "6.0.3"
},
"packageManager": "pnpm@10.33.2"
}