-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
209 lines (209 loc) · 5.51 KB
/
package.json
File metadata and controls
209 lines (209 loc) · 5.51 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
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
{
"name": "workflow-engine",
"displayName": "Workflow Engine",
"description": "IDE support for Workflow Engine configs — validation, autocomplete, snippets, and AI integration",
"version": "0.3.4800",
"publisher": "GoCodeAlone",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/GoCodeAlone/workflow-vscode.git"
},
"categories": [
"Programming Languages",
"Linters",
"Snippets",
"Other"
],
"keywords": [
"workflow",
"yaml",
"lsp",
"validation",
"wfctl"
],
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"workspaceContains:**/workflow.yaml",
"workspaceContains:**/workflow.yml",
"workspaceContains:**/app.yaml",
"workspaceContains:**/app.yml",
"onView:workflowPluginMarketplace"
],
"main": "./out/extension.js",
"extensionDependencies": [
"redhat.vscode-yaml"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "workflow-explorer",
"title": "Workflow Engine",
"icon": "media/workflow-icon.svg"
}
]
},
"views": {
"workflow-explorer": [
{
"id": "workflowPluginMarketplace",
"name": "Plugin Marketplace"
}
]
},
"commands": [
{
"command": "workflow.validate",
"title": "Workflow: Validate Config"
},
{
"command": "workflow.inspect",
"title": "Workflow: Inspect"
},
{
"command": "workflow.init",
"title": "Workflow: Init Project"
},
{
"command": "workflow.templateValidate",
"title": "Workflow: Template Validate"
},
{
"command": "workflow.run",
"title": "Workflow: Run"
},
{
"command": "workflow.schema",
"title": "Workflow: Generate Schema"
},
{
"command": "workflow.openVisualEditor",
"title": "Workflow: Open Visual Editor",
"icon": "$(graph)"
},
{
"command": "workflow.installPlugin",
"title": "Workflow: Install Plugin",
"icon": "$(cloud-download)"
},
{
"command": "workflow.refreshMarketplace",
"title": "Workflow: Refresh Marketplace",
"icon": "$(refresh)"
}
],
"menus": {
"editor/title": [
{
"command": "workflow.openVisualEditor",
"when": "resourceExtname == .yaml || resourceExtname == .yml",
"group": "navigation"
}
],
"view/title": [
{
"command": "workflow.refreshMarketplace",
"when": "view == workflowPluginMarketplace",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "workflow.installPlugin",
"when": "viewItem == pluginMarketplaceItem",
"group": "inline"
}
]
},
"configuration": {
"title": "Workflow Engine",
"properties": {
"workflow.wfctl.path": {
"type": "string",
"default": "",
"description": "Path to the wfctl binary. Leave empty to auto-download from GitHub Releases."
},
"workflow.lspServer.path": {
"type": "string",
"default": "",
"description": "Path to the workflow-lsp-server binary. Leave empty to auto-download from GitHub Releases."
},
"workflow.lspServer.enabled": {
"type": "boolean",
"default": true,
"description": "Enable the Workflow LSP server for rich language features."
},
"workflow.mcpServer.autoRegister": {
"type": "boolean",
"default": true,
"description": "Automatically register wfctl as the MCP server in .vscode/mcp.json on workspace open."
},
"workflow.configPaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Glob patterns for workflow config files (e.g. config/app.yaml)"
},
"workflow.suppressDetectionPrompt": {
"type": "boolean",
"default": false,
"description": "Don't show detection prompt for workflow YAML files"
}
}
},
"yamlValidation": [
{
"fileMatch": [
"workflow.yaml",
"workflow.yml",
"app.yaml",
"app.yml"
],
"url": "./schemas/workflow-config.schema.json"
}
],
"snippets": [
{
"language": "yaml",
"path": "./snippets/workflow.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.config.js && npm run build:webview",
"build:webview": "cd webview-src && npx vite build --outDir ../webview-dist",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTests.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@gocodealone/workflow-editor": "^0.3.48",
"@types/mocha": "^10.0.0",
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"@vitejs/plugin-react": "^5.1.1",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.24.0",
"@xyflow/react": "^12.10.0",
"esbuild": "^0.25.0",
"glob": "^10.0.0",
"mocha": "^10.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"typescript": "^5.3.0",
"vite": "^7.3.1",
"zustand": "^5.0.11"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}