-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 5.09 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 5.09 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "notifybuildresult",
"displayName": "notifybuildresult",
"description": "Send configurable build-result messages when VS Code tasks complete",
"version": "0.1.2",
"publisher": "sdrshnptl",
"license": "MIT",
"homepage": "https://github.com/sdrshnptl/notifybuildresult#readme",
"bugs": {
"url": "https://github.com/sdrshnptl/notifybuildresult/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/sdrshnptl/notifybuildresult"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"keywords": [
"build",
"tasks",
"notifications",
"automation"
],
"activationEvents": [
"onStartupFinished"
],
"files": [
"out/**",
"package.json",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "notifybuildresult.sendManual",
"title": "notifybuildresult: Send Manual Message"
},
{
"command": "notifybuildresult.testConnection",
"title": "notifybuildresult: Test Connection"
},
{
"command": "notifybuildresult.showHistory",
"title": "notifybuildresult: Show History"
}
],
"configuration": {
"title": "notifybuildresult",
"properties": {
"notifybuildresult.enabled": {
"type": "boolean",
"default": true,
"description": "Enable UDP broadcast notifications"
},
"notifybuildresult.broadcastAddress": {
"type": "string",
"default": "255.255.255.255",
"description": "UDP broadcast address (use 255.255.255.255 for network-wide broadcast)"
},
"notifybuildresult.port": {
"type": "number",
"default": 10203,
"description": "UDP port number for broadcasting"
},
"notifybuildresult.successMessage": {
"type": "string",
"default": "{\"compile\":1}",
"description": "Message to send on successful task completion"
},
"notifybuildresult.failureMessage": {
"type": "string",
"default": "{\"error\":1}",
"description": "Message to send on task failure"
},
"notifybuildresult.taskFilter": {
"type": "array",
"default": [],
"description": "Only broadcast for tasks matching these names (empty = all tasks). Example: ['build', 'ESP-IDF']",
"items": {
"type": "string"
}
},
"notifybuildresult.useMessageTemplate": {
"type": "boolean",
"default": false,
"description": "Enable message templates with variables"
},
"notifybuildresult.successTemplate": {
"type": "string",
"default": "{\"status\":\"success\",\"task\":\"${taskName}\",\"time\":\"${timestamp}\"}",
"description": "Template for success message. Available variables: ${taskName}, ${timestamp}, ${workspaceFolder}"
},
"notifybuildresult.failureTemplate": {
"type": "string",
"default": "{\"status\":\"error\",\"task\":\"${taskName}\",\"time\":\"${timestamp}\"}",
"description": "Template for failure message. Available variables: ${taskName}, ${timestamp}, ${workspaceFolder}"
},
"notifybuildresult.showStatusBar": {
"type": "boolean",
"default": true,
"description": "Show broadcast status in status bar"
},
"notifybuildresult.logToOutput": {
"type": "boolean",
"default": true,
"description": "Log broadcast activity to output channel"
},
"notifybuildresult.enableOutputFiltering": {
"type": "boolean",
"default": false,
"description": "Enable filtering based on task output content (only broadcast if output contains trigger strings)"
},
"notifybuildresult.successTriggerStrings": {
"type": "array",
"default": ["Successfully created", "Generated ", "binary size", "bytes free", "0 errors", "build complete"],
"description": "Strings to search for in task output to trigger success broadcast. Leave empty to disable. Example: ['Build finished', '0 errors']",
"items": {
"type": "string"
}
},
"notifybuildresult.failureTriggerStrings": {
"type": "array",
"default": ["FAILED", "ninja: build stopped", "error:", "fatal error", "undefined reference", "CMake Error"],
"description": "Strings to search for in task output to trigger failure broadcast. Leave empty to disable. Example: ['Build failed', 'error']",
"items": {
"type": "string"
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/node": "^20.x",
"typescript": "^5.3.3"
}
}