Skip to content

Commit 81b7901

Browse files
committed
[lldb-vscode] Make it possible to run vsce package
Summary: Running `vsce package` to package lldb-vscode as an installable .vsix file errors with: ``` ERROR Invalid publisher name 'llvm.org'. Expected the identifier of a publisher, not its human-friendly name. ``` This patch fixes the publisher name and bumps a required dependency so that `vsce package` succeeds. Reviewers: clayborg Reviewed By: clayborg Tags: #lldb Differential Revision: https://reviews.llvm.org/D80569
1 parent 0e6628d commit 81b7901

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

lldb/tools/lldb-vscode/package.json

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "lldb-vscode",
33
"displayName": "LLDB native Debug stub",
44
"version": "0.1.0",
5-
"publisher": "llvm.org",
5+
"publisher": "llvm",
6+
"repository": "llvm.org",
67
"description": "Debug adapter for LLDB which uses a C++ tool to interface directly with LLDB.",
78
"author": {
89
"name": "Greg Clayton",
@@ -16,7 +17,6 @@
1617
"vscode": "^1.18.0",
1718
"node": "^7.9.0"
1819
},
19-
"icon": "images/lldb.png",
2020
"categories": [
2121
"Debuggers"
2222
],
@@ -29,7 +29,7 @@
2929
"vscode": "1.1.10",
3030
"vscode-debugadapter-testsupport": "1.25.0",
3131
"tslint": "5.8.0",
32-
"vsce": "1.35.0"
32+
"vsce": "^1.36.3"
3333
},
3434
"contributes": {
3535
"debuggers": [
@@ -70,7 +70,10 @@
7070
"description": "Path to the program to debug."
7171
},
7272
"args": {
73-
"type": [ "array", "string" ],
73+
"type": [
74+
"array",
75+
"string"
76+
],
7477
"description": "Program arguments.",
7578
"default": []
7679
},
@@ -131,42 +134,42 @@
131134
"description": "Name of the execution platform to override value derived from the program file."
132135
},
133136
"initCommands": {
134-
"type": "array",
135-
"description": "Initialization commands executed upon debugger startup.",
136-
"default": []
137+
"type": "array",
138+
"description": "Initialization commands executed upon debugger startup.",
139+
"default": []
137140
},
138141
"preRunCommands": {
139-
"type": "array",
140-
"description": "Commands executed just before the program is launched.",
141-
"default": []
142+
"type": "array",
143+
"description": "Commands executed just before the program is launched.",
144+
"default": []
142145
},
143146
"launchCommands": {
144-
"type": "array",
145-
"description": "Custom commands that are executed instead of launching a process. A target will be created with the launch arguments prior to executing these commands. The commands may optionally create a new target and must perform a launch. A valid process must exist after these commands complete or the \"launch\" will fail.",
146-
"default": []
147+
"type": "array",
148+
"description": "Custom commands that are executed instead of launching a process. A target will be created with the launch arguments prior to executing these commands. The commands may optionally create a new target and must perform a launch. A valid process must exist after these commands complete or the \"launch\" will fail.",
149+
"default": []
147150
},
148151
"stopCommands": {
149-
"type": "array",
150-
"description": "Commands executed each time the program stops.",
151-
"default": []
152+
"type": "array",
153+
"description": "Commands executed each time the program stops.",
154+
"default": []
152155
},
153156
"exitCommands": {
154-
"type": "array",
155-
"description": "Commands executed at the end of debugging session.",
156-
"default": []
157+
"type": "array",
158+
"description": "Commands executed at the end of debugging session.",
159+
"default": []
157160
}
158161
}
159162
},
160163
"attach": {
161164
"properties": {
162165
"program": {
163166
"type": "string",
164-
"description": "Path to the program to attach to."
167+
"description": "Path to the program to attach to."
165168
},
166169
"pid": {
167170
"type": [
168-
"number",
169-
"string"
171+
"number",
172+
"string"
170173
],
171174
"description": "System process ID to attach to."
172175
},

0 commit comments

Comments
 (0)