-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
145 lines (145 loc) · 5.63 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
{
"name": "vscode-bazel-bsp",
"displayName": "Bazel Build Server Protocol (BSP)",
"description": "Bazel BSP integration for VS Code.",
"publisher": "Uber",
"version": "0.0.7",
"license": "Apache-2.0",
"repository": "https://github.com/uber/vscode-bazel-bsp",
"engines": {
"vscode": "^1.89.0"
},
"categories": [
"Testing"
],
"activationEvents": [
"workspaceContains:**/*.{java,scala,py,kt}"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "bazelbsp.install",
"title": "Bazel BSP: Install Bazel BSP Server"
},
{
"command": "bazelbsp.showServerOutput",
"title": "Bazel BSP: Show Server Output Channel",
"icon": "$(output)"
},
{
"command": "bazelbsp.openProjectView",
"title": "Bazel BSP: Open Project View File"
}
],
"configuration": {
"title": "Bazel Build Server Client",
"properties": {
"bazelbsp.buildFileName": {
"type": "string",
"default": "BUILD.bazel",
"enum": [
"BUILD",
"BUILD.bazel"
],
"description": "Build file name to be used for navigation in the UI."
},
"bazelbsp.bazelProjectFilePath": {
"type": "string",
"default": "./.bsp/projectview.bazelproject",
"description": "Project view file containing Bazel information for this workspace. Path should be relative to the root of the project git repository. See https://ij.bazel.build/docs/project-views.html for details.",
"pattern": ".*\\.bazelproject$"
},
"bazelbsp.serverVersion": {
"type": "string",
"default": "3.2.0-20250106-a42f8bf24-NIGHTLY",
"description": "Version of the Bazel BSP server to install."
},
"bazelbsp.bazelBinaryPath": {
"type": "string",
"default": "tools/bazel",
"description": "Bazel binary path (relative to repository root). Will be used when generating a new .bazelproject file."
},
"bazelbsp.serverInstallMode": {
"type": "string",
"default": "Prompt",
"enum": [
"Auto",
"Prompt",
"Disabled"
],
"enumDescriptions": [
"Automatically download and install BSP server at the root of a repo if not present.",
"Prompt user to install BSP server if not already present.",
"Do not install BSP server if not already present."
],
"description": "Installation behavior for the build server."
},
"bazelbsp.autoExpandTarget": {
"type": "boolean",
"default": true,
"description": "Find all tests within open files, without waiting for the file's target to be expanded in the Test Explorer."
},
"bazelbsp.debug.enabled": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable debugging integration in the Test Explorer. This adds an additional Debug run profile for each test item.\nSet the bazelFlags, profileName, and readyPattern settings in this section to match your repo's required behavior."
},
"bazelbsp.debug.bazelFlags": {
"type": "array",
"description": "Flags to be added when debugging a target. Include any flags needed to ensure Bazel builds and runs the target in debug mode."
},
"bazelbsp.debug.readyPattern": {
"type": "string",
"description": "Regex pattern in the console output that signals that the target is ready for a debugger to connect. Once this is seen, the configured launch configuration will be triggered."
},
"bazelbsp.debug.launchConfigName": {
"type": "string",
"description": "Name of launch configuration that will be executed to begin the DAP debugging session. This must be a valid launch configuration in the launch.json file, workspace, or contributed by another extension."
}
}
}
},
"scripts": {
"package": "vsce package --yarn",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"compile": "yarn run esbuild-base -- --sourcemap",
"test-compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node build/test/runTest.js",
"lint:single": "eslint",
"test:ci": "yarn test:xvfb",
"test:xvfb": "xvfb-run --auto-servernum yarn test",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --external:class-validator --external:@nestjs/microservices --external:@nestjs/websockets/socket-module --external:class-transformer --external:@nestjs/platform-express --format=cjs --platform=node",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.89.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^7.0.2",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"gts": "^5.2.0",
"sinon": "^15.1.0",
"typescript": "4.9",
"vsce": "^2.15.0"
},
"dependencies": {
"@friedemannsommer/lcov-parser": "^3.1.1",
"@nestjs/common": "^10.3.3",
"@nestjs/core": "^10.3.3",
"@nestjs/testing": "^10.3.3",
"axios": "1.6.8",
"esbuild": "^0.20.2",
"reflect-metadata": "^0.2.1",
"semver": "^7.6.0",
"vscode-jsonrpc": "^8.2.0"
}
}