-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
234 lines (234 loc) · 7.75 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
225
226
227
228
229
230
231
232
233
234
{
"name": "ament-task-provider",
"displayName": "ROS 2 Ament Task Provider",
"description": "Provides tasks and problem matchers for ROS2 projects using ament",
"version": "0.3.1",
"author": {
"name": "Allison Thackston",
"email": "[email protected]"
},
"publisher": "althack",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://athackst.github.io/vscode-ament-task-provider",
"bugs": {
"url": "https://github.com/athackst/vscode-ament-task-provider/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/athackst/vscode-ament-task-provider.git"
},
"engines": {
"vscode": "^1.61.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"ros2",
"ament",
"problem matcher",
"tasks"
],
"galleryBanner": {
"color": "#5953B3",
"theme": "dark"
},
"icon": "leaf.png",
"activationEvents": [
"onCommand:workbench.action.tasks.runTask",
"onCommand:ament-task-provider.changeSetting"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"title": "Ament Task Provider",
"properties": {
"ament-task-provider.envSetup": {
"type": "string",
"default": "",
"markdownDescription": "The command to setup the environment for ament tasks.\n\n*Example: source /opt/ros/humble/setup.bash*"
}
}
},
"taskDefinitions": [
{
"type": "ament",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "The ament linter",
"examples": [
"cpplint",
"cppcheck",
"lint_cmake",
"flake8",
"mypy",
"pep257",
"xmllint"
]
},
"path": {
"type": "string",
"description": "(Optional) The path to lint."
},
"commandOptions": {
"type": "string",
"description": "(Optional) command line arguments for the linter."
},
"envSetup": {
"type": "string",
"description": "(Optional) The env setup script to use for ament tasks"
}
}
}
],
"problemMatchers": [
{
"name": "ament_cpplint",
"label": "Ament cpplint problem matcher",
"owner": "ament",
"source": "ament_cpplint",
"applyTo": "allDocuments",
"fileLocation": "absolute",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s+(.+)\\[(.+)\\]$",
"file": 1,
"line": 2,
"message": 3,
"code": 4
}
]
},
{
"name": "ament_cppcheck",
"label": "Ament cppcheck problem matcher",
"owner": "ament",
"source": "ament_cppcheck",
"applyTo": "allDocuments",
"severity": "error",
"pattern": [
{
"regexp": "^\\[(.+):(\\d+)\\]:\\s+(.+)$",
"file": 1,
"line": 2,
"message": 3
}
]
},
{
"name": "ament_lint_cmake",
"label": "Ament lint cmake problem matcher",
"owner": "ament",
"source": "ament_lint_cmake",
"applyTo": "allDocuments",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s+(.+)$",
"file": 1,
"line": 2,
"message": 3
}
]
},
{
"name": "ament_flake8",
"label": "Ament flake8 problem matcher",
"owner": "ament",
"source": "ament_flake8",
"applyTo": "allDocuments",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+):(\\d+): (\\w\\d+) (.+)$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
]
},
{
"name": "ament_mypy",
"label": "Ament mypy problem matcher",
"owner": "ament",
"source": "ament_mypy",
"applyTo": "allDocuments",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+):(\\d+):\\s(\\w+):\\s(.+)$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
]
},
{
"name": "ament_pep257",
"label": "Ament pep257 problem matcher",
"owner": "ament",
"source": "ament_pep257",
"applyTo": "allDocuments",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+)\\s+(.+):\\s+(.+):\\s+(.+)$",
"file": 1,
"line": 2,
"code": 4,
"message": 5
}
]
},
{
"name": "ament_xmllint",
"label": "Ament xmllint problem matcher",
"owner": "ament",
"source": "ament_xmllint",
"applyTo": "allDocuments",
"fileLocation": "absolute",
"severity": "error",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s+(.+)\\s+:\\s+(.+)$",
"file": 1,
"line": 2,
"code": 3,
"message": 4
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"pack": "vsce package",
"pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.{ts,md,json}\"",
"pub": "vsce publish",
"test": "TS_NODE_FILES=true mocha -r ts-node/register -r out/tests/helpers/patternSeq tests/**/*.test.ts",
"update": "npm update && npm install"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.3",
"@types/vscode": "^1.61.0",
"@vscode/vsce": "^2.19.0",
"chai": "^4.3.6",
"mocha": "^10.1.0",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
}