-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
204 lines (204 loc) · 6.48 KB
/
package.json
File metadata and controls
204 lines (204 loc) · 6.48 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
{
"name": "windmill",
"author": {
"name": "Windmill Labs",
"email": "ruben@windmill.dev"
},
"displayName": "windmill",
"description": "Local Dev Companion for the open-source developer platform Windmill.dev",
"repository": {
"type": "git",
"url": "https://github.com/windmill-labs/windmill-vscode.git"
},
"icon": "windmill.png",
"publisher": "windmill-labs",
"version": "0.2.60",
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:wmill.yaml",
"workspaceContains:wmill-lock.yaml",
"workspaceContains:f/**"
],
"main": "./dist/extension.js",
"browser": "./dist/web/extension.js",
"contributes": {
"commands": [
{
"command": "windmill.start",
"title": "Show Preview",
"category": "Windmill"
},
{
"command": "windmill.runPreview",
"title": "Run preview",
"category": "Windmill"
},
{
"command": "windmill.setupConfiguration",
"title": "Configure remote, workspace and token",
"category": "Windmill"
},
{
"command": "windmill.switchWorkspace",
"title": "Switch windmill workspace",
"category": "Windmill"
},
{
"command": "windmill.addWorkspace",
"title": "add a windmill workspace",
"category": "Windmill"
},
{
"command": "windmill.pinPreview",
"title": "Windmill: Pin Preview To File",
"category": "Windmill"
},
{
"command": "windmill.unpinPreview",
"title": "Windmill: Unpin Preview To File",
"category": "Windmill"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == javascript || resourceLangId == typescript || resourceLangId == python || resourceLangId == bash || resourceLangId == powershell || resourceLangId == php || resourceLangId == sql",
"command": "windmill.start",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "windmill.runPreview",
"key": "ctrl+enter"
},
{
"command": "windmill.runPreview",
"key": "cmd+enter"
}
],
"configuration": {
"title": "Windmill",
"properties": {
"windmill.remote": {
"type": "string",
"default": "https://app.windmill.dev/",
"description": "The full remote url including http and trailing slash",
"order": 0
},
"windmill.workspaceId": {
"type": "string",
"default": null,
"description": "The workspace id to use",
"order": 1
},
"windmill.token": {
"type": "string",
"default": null,
"description": "The user token to use",
"order": 2
},
"windmill.additionalWorkspaces": {
"order": 3,
"type": "array",
"description": "The list of additional remotes to use",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the remote",
"default": null
},
"remote": {
"type": "string",
"default": "https://app.windmill.dev/",
"description": "The full remote url including http and trailing slash"
},
"workspaceId": {
"type": "string",
"default": null,
"description": "The workspace id to use for that remote"
},
"token": {
"type": "string",
"default": null,
"description": "The user token to use for that remote"
}
}
}
},
"windmill.currentWorkspace": {
"type": "string",
"description": "The workspace name currently used (if multiple). `main` or empty is the default one",
"default": "main",
"order": 4
},
"windmill.configFolder": {
"type": "string",
"default": "",
"description": "Override the default config folder for the Windmill CLI.",
"order": 5
},
"windmill.diagnostics.enabled": {
"type": "boolean",
"default": true,
"description": "Show editor diagnostics (errors/warnings) for Windmill YAML files (flows, schedules, triggers).",
"order": 6
}
}
}
},
"scripts": {
"test": "npx jest",
"vscode:prepublish": "npm run package-web && npm run esbuild-base -- --minify",
"esbuild-base": "npm run switch-node && esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --external:esbuild-wasm --external:esbuild --format=cjs --platform=node",
"esbuild": "npm run switch-node && npm run esbuild-base -- --sourcemap",
"watch": "npm run switch-node && tsc -watch -p ./",
"switch-node": "sed -i 's|import { testBundle } from \"./esbuild.web\";|import { testBundle } from \"./esbuild\";|g' src/extension.ts",
"switch-web": "sed -i 's|import { testBundle } from \"./esbuild\";|import { testBundle } from \"./esbuild.web\";|g' src/extension.ts",
"compile-web": "npm run switch-web && webpack",
"watch-web": "npm run switch-web && webpack --watch",
"package-web": "npm run switch-web && webpack --mode production --config webpack.config.js",
"lint": "eslint src --ext ts",
"run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/mocha": "^10.0.1",
"@types/tar-stream": "^3.1.3",
"@types/vscode": "^1.79.0",
"@types/webpack-env": "^1.18.1",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-web": "^0.0.72",
"assert": "^2.0.0",
"buffer": "^6.0.3",
"eslint": "^8.41.0",
"jest": "^29.7.0",
"mocha": "^10.2.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.3",
"typescript": "^5.3.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"@stoplight/yaml": "^4.3.0",
"esbuild-wasm": "^0.23.0",
"minimatch": "^9.0.4",
"tar-stream": "^3.1.7",
"windmill-client": "^1.659.1",
"windmill-utils-internal": "^1.3.8",
"windmill-yaml-validator": "^1.1.1",
"yaml": "^2.8.0"
}
}