forked from biomejs/biome-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
224 lines (224 loc) · 7.19 KB
/
package.json
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
220
221
222
223
224
{
"name": "biome",
"displayName": "Biome",
"publisher": "biomejs",
"description": "Toolchain of the web",
"version": "3.0.0",
"repository": {
"type": "git",
"url": "https://github.com/biomejs/biome-vscode.git"
},
"main": "./out/index.js",
"sponsor": {
"url": "https://github.com/sponsors/biomejs"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@rollup/plugin-commonjs": "28.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@types/vscode": "1.80.0",
"@vscode/vsce": "3.2.1",
"lefthook": "1.9.0",
"ovsx": "0.10.1",
"rollup": "4.28.1",
"rollup-plugin-esbuild": "6.1.1",
"ts-node": "10.9.2",
"typescript": "5.7.2"
},
"activationEvents": ["onStartupFinished"],
"bugs": {
"url": "https://github.com/biomejs/biome-vscode/issues"
},
"categories": ["Formatters", "Linters"],
"contributes": {
"commands": [
{
"title": "Biome: Start",
"command": "biome.start"
},
{
"title": "Biome: Stop",
"command": "biome.stop"
},
{
"title": "Biome: Restart",
"command": "biome.restart"
},
{
"title": "Biome: Download CLI",
"command": "biome.download"
},
{
"title": "Biome: Troubleshoot - Reset",
"command": "biome.reset"
}
],
"configuration": {
"title": "Biome",
"properties": {
"biome.enabled": {
"type": "boolean",
"description": "Whether to enable the Biome extension",
"default": true,
"scope": "resource"
},
"biome.requireConfigFile": {
"type": "boolean",
"markdownDescription": "Require a Biome configuration file to be present at the root of a Biome project to start an LSP session for that project.",
"default": false,
"scope": "resource"
},
"biome.projects": {
"anyOf": [
{
"type": "array",
"description": "List of projects in which an independent Biome Language Server should be started in a multi-root workspace.",
"items": {
"type": "object",
"properties": {
"folder": {
"type": "string",
"description": "Name of the workspace folder in which the project is located."
},
"path": {
"type": "string",
"description": "Path (relative to the workspace folder) to the root of the project in which an independent Biome Language Server should be started. The root of the workspace folder is used if left unspecified."
},
"configFile": {
"type": "string",
"description": "Path (relative to the workspace folder) to the Biome configuration file. Biome will use the default biome.json(c) or fallback to defaults if left unspecified."
}
},
"required": ["folder"]
}
},
{
"type": "array",
"description": "List of projects in which an independent Biome Language Server should be started in a single-root workspace.",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Path to the root of the project in which an independent Biome Language Server should be started."
},
"configFile": {
"type": "string",
"description": "Path to the Biome configuration file. Biome will use the default biome.json(c) or fallback to defaults if left unspecified."
}
},
"required": ["path"]
}
}
],
"scope": "resource"
},
"biome.lsp.bin": {
"oneOf": [
{
"type": "string",
"description": "Path to the Biome Language Server binary",
"default": "",
"examples": ["/path/to/biome"]
},
{
"type": "object",
"uniqueItems": true,
"description": "Platform-specific paths to the Biome Language Server binary",
"examples": [
{
"linux-x64": "/path/to/biome",
"linux-arm64-musl": "/path/to/biome",
"darwin-arm64": "/path/to/biome",
"win32-x64": "/path/to/biome.exe"
}
]
}
],
"scope": "resource"
},
"biome.lsp.trace.server": {
"type": "string",
"enum": ["off", "messages", "compact", "verbose"],
"description": "Tracing level of the communications between the extension and the Biome Language Server.",
"default": "off"
},
"biome.experimental.rename": {
"type": "boolean",
"default": false,
"markdownDescription": "Use Biome to handle symbols renames in the workspace. (Experimental)"
},
"biome.lspBin": {
"type": "string",
"default": "",
"ignoreSync": true,
"description": "The biome lsp server executable. If the path is relative, the workspace folder will be used as base path",
"deprecationMessage": "This setting has been deprecated and will be removed in a future version of the extension. Please use the `biome.lsp.bin` setting instead."
},
"biome.rename": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable/Disable Biome handling renames in the workspace. (Experimental)",
"deprecationMessage": "This setting has been deprecated and will be removed in a future version of the extension. Please use the `biome.experimental.rename` setting instead."
},
"biome.searchInPath": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to search for the biome executable in the folders declared in the PATH environment variable",
"deprecationMessage": "This setting has been deprecated and will be removed in a future version of the extension. The extension will now always search for the biome executable in the PATH environment variable."
},
"biome_lsp.trace.server": {
"type": "string",
"scope": "window",
"enum": ["off", "messages", "verbose"],
"enumDescriptions": ["No traces", "Error only", "Full log"],
"default": "off",
"description": "Traces the communication between VS Code and the language server.",
"deprecationMessage": "This setting has been deprecated and will be removed in a future version of the extension. Please use the `biome.lsp.trace.server` setting instead."
}
}
},
"languages": [
{
"id": "biome_syntax_tree",
"extensions": [".rast"]
}
],
"grammars": [
{
"language": "biome_syntax_tree",
"scopeName": "source.biome_syntax_tree",
"path": "./resources/grammars/biome-syntax-tree.tmGrammar.json"
}
]
},
"engines": {
"vscode": "^1.80.0"
},
"homepage": "https://github.com/biomejs/biome-vscode#readme",
"readme": "https://github.com/biomejs/biome-vscode#readme",
"icon": "resources/icons/biome.png",
"keywords": ["formatter", "linter"],
"license": "MIT OR Apache-2.0",
"scripts": {
"build": "rollup --config rollup.config.ts --configPlugin esbuild",
"dev": "rollup --watch --config rollup.config.ts --configPlugin esbuild",
"package": "pnpm run build && vsce package --out biome.vsix",
"typecheck": "tsc --noEmit",
"pretest": "pnpm run build",
"test": "vscode-test"
},
"vsce": {
"dependencies": false,
"skipLicense": true
},
"dependencies": {
"@biomejs/version-utils": "0.4.0",
"@vscode/test-electron": "2.4.1",
"ky": "1.7.2",
"vscode-languageclient": "8.1.0",
"vscode-uri": "3.0.8"
},
"packageManager": "[email protected]"
}