-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
229 lines (229 loc) · 5.93 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
{
"name": "magento-log-viewer",
"displayName": "Magento Log Viewer",
"description": "A Visual Studio Code extension to view and manage Magento log files.",
"version": "1.10.1",
"publisher": "MathiasElle",
"icon": "resources/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"magento",
"log",
"viewer",
"extension",
"vscode",
"Logs",
"Logfiles",
"log viewer",
"Adobe Commerce",
"Adobe Commerce Cloud",
"Magento 2",
"M2",
"Commerce",
"Shop",
"Developer Tools",
"Debugging",
"System Logs",
"Error Logs",
"Log Analysis",
"Log Management",
"Monitoring"
],
"sponsor": {
"url": "https://github.com/sponsors/dermatz"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "magento-log-viewer.clearAllLogFiles",
"title": "Delete Logfiles",
"icon": "$(trash)"
},
{
"command": "magento-log-viewer.refreshLogFiles",
"title": "Refresh Log Files",
"icon": "$(refresh)"
},
{
"command": "magento-log-viewer.refreshReportFiles",
"title": "Refresh Report Files",
"icon": "$(refresh)"
},
{
"command": "magento-log-viewer.deleteReportFile",
"title": "Delete Report File",
"icon": "$(trash)"
}
],
"configuration": {
"type": "object",
"title": "Magento Log Viewer",
"properties": {
"magentoLogViewer.isMagentoProject": {
"type": "string",
"enum": [
"Yes",
"No",
"Please select"
],
"default": "Please select",
"description": "This is a Magento project",
"scope": "resource"
},
"magentoLogViewer.magentoRoot": {
"type": "string",
"default": "",
"description": "Path to the Magento root folder",
"scope": "resource"
},
"magentoLogViewer.groupByMessage": {
"type": "boolean",
"default": true,
"description": "Group log entries by message content",
"scope": "resource"
}
}
},
"colors": [
{
"id": "magentoLogViewer.errorColor",
"description": "Color for error log entries",
"defaults": {
"dark": "#f14c4c",
"light": "#cd3131",
"highContrast": "#ff0000"
}
},
{
"id": "magentoLogViewer.warningColor",
"description": "Color for warning log entries",
"defaults": {
"dark": "#cca700",
"light": "#ff8f00",
"highContrast": "#ffd700"
}
},
{
"id": "magentoLogViewer.debugColor",
"description": "Color for debug log entries",
"defaults": {
"dark": "#ffeb3b",
"light": "#ffd700",
"highContrast": "#ffff00"
}
},
{
"id": "magentoLogViewer.infoColor",
"description": "Color for info log entries",
"defaults": {
"dark": "#3794ff",
"light": "#0078d4",
"highContrast": "#0099ff"
}
},
{
"id": "magentoLogViewer.criticalColor",
"description": "Color for critical log entries",
"defaults": {
"dark": "#ff1493",
"light": "#ff1493",
"highContrast": "#ff69b4"
}
}
],
"viewsContainers": {
"activitybar": [
{
"id": "magentoLogViewer",
"title": "Magento Log Viewer",
"icon": "resources/magento-logfile-viewer-logo.svg"
}
]
},
"views": {
"magentoLogViewer": [
{
"id": "logFiles",
"name": "Log Files",
"contextualTitle": "Magento Logs",
"commands": [
{
"command": "magento-log-viewer.clearAllLogFiles",
"title": "Delete Logfiles",
"group": "navigation"
}
]
},
{
"id": "reportFiles",
"name": "Report Files",
"contextualTitle": "Magento Reports"
}
]
},
"menus": {
"view/title": [
{
"command": "magento-log-viewer.clearAllLogFiles",
"when": "view == logFiles && magentoLogViewer.hasLogFiles",
"group": "navigation"
},
{
"command": "magento-log-viewer.refreshLogFiles",
"when": "view == logFiles && magentoLogViewer.hasMagentoRoot",
"group": "navigation"
},
{
"command": "magento-log-viewer.refreshReportFiles",
"when": "view == reportFiles && magentoLogViewer.hasMagentoRoot",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "magento-log-viewer.deleteReportFile",
"when": "view == reportFiles && viewItem == reportItem",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.95.0",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.13.0",
"typescript": "^5.6.3",
"ts-loader": "^9.5.1",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}