-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.47 KB
/
package.json
File metadata and controls
132 lines (132 loc) · 4.47 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
{
"name": "watchbuildlog",
"displayName": "Watch Build Log",
"description": "Monitor build log files for errors and display them in VS Code's error pane",
"repository": {
"type": "git",
"url": "https://github.com/david-risney/watchbuildlog"
},
"version": "1.0.0",
"icon": "src/logo-128.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "watchbuildlog.startWatching",
"title": "Start Watching Build Log",
"category": "WatchBuildLog"
},
{
"command": "watchbuildlog.stopWatching",
"title": "Stop Watching Build Log",
"category": "WatchBuildLog"
}
],
"configuration": {
"title": "Watch Build Log",
"properties": {
"watchbuildlog.logFilePathWildcards": {
"type": "array",
"items": {
"type": "string"
},
"default": ["out/*/siso_output"],
"description": "Glob-style wildcard patterns for build log files. Patterns can be absolute paths or relative to the project root. Use '*' to match any text in a folder segment. Example: 'out/*_x64/siso.log'",
"scope": "resource"
},
"watchbuildlog.autoStart": {
"type": "boolean",
"default": true,
"description": "Automatically start watching when VS Code opens"
},
"watchbuildlog.problemMatcherPatterns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"regexp": {
"type": "string",
"description": "Regular expression pattern to match error lines"
},
"file": {
"type": "number",
"description": "Capture group index for the file path"
},
"line": {
"type": "number",
"description": "Capture group index for the line number"
},
"column": {
"type": "number",
"description": "Capture group index for the column number"
},
"severity": {
"type": "number",
"description": "Capture group index for the severity level"
},
"code": {
"type": "number",
"description": "Capture group index for the error code"
},
"message": {
"type": "number",
"description": "Capture group index for the error message"
}
},
"required": ["regexp"]
},
"default": [
{
"regexp": "^(.*)\\((\\d+),(\\d+)\\)\\s*:\\s*([^: ]+)[^:]*:\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
{
"regexp": "^(.*)\\((\\d+)\\)\\s*:\\s*([^: ]+)[^:]*:\\s*(.*)$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
],
"description": "Problem matcher patterns similar to VS Code's task system. Each pattern defines a regex and capture group indices for extracting error information."
}
}
}
},
"scripts": {
"test": "node --test ./test/unit/**/*.test.js",
"test-unit": "node --test ./test/unit/**/*.test.js",
"test-parser": "node --test ./test/unit/parser.test.js",
"test-glob": "node --test ./test/unit/glob.test.js",
"test-integration": "node --test ./test/unit/integration.test.js",
"test-edge-cases": "node --test ./test/unit/edge-cases.test.js",
"test-config": "node --test ./test/unit/config.test.js",
"test-watch": "node --test --watch ./test/unit/**/*.test.js",
"test-coverage": "node --test --experimental-test-coverage ./test/unit/**/*.test.js",
"package": "npx vsce package",
"install-local": "code --install-extension watchbuildlog-0.0.1.vsix",
"package-and-install": "npm run package && npm run install-local"
},
"devDependencies": {
"@types/node": "^20.0.0"
},
"homepage": "https://github.com/david-risney/watchbuildlog#readme",
"bugs": {
"url": "https://github.com/david-risney/watchbuildlog/issues"
},
"keywords": ["build", "log", "errors", "monitoring", "problems"],
"publisher": "DavidRisney"
}