-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
326 lines (326 loc) · 10.2 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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
{
"name": "local-ci",
"displayName": "Local CI",
"description": "Debug CircleCI® workflows locally, with Bash access during and after. Free trial, then paid.",
"version": "2.2.0",
"publisher": "LocalCI",
"contributors": [
"Ryan Kienstra"
],
"pricing": "Trial",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/getlocalci/local-ci"
},
"bugs": "https://github.com/getlocalci/local-ci/issues",
"icon": "resources/logo.png",
"extensionKind": [
"workspace"
],
"qna": "https://github.com/getlocalci/local-ci/discussions",
"engines": {
"vscode": "^1.60.0",
"node": "16"
},
"os": [
"!win32"
],
"categories": [
"Debuggers",
"Programming Languages",
"Testing"
],
"keywords": [
"debug",
"debuggers",
"devops",
"ci",
"cicd",
"CI/CD",
"CircleCI",
"continuous integration",
"YAML"
],
"activationEvents": [
"localCiJobs.selectRepo",
"onCommand:local-ci.runWalkthroughJob",
"onCommand:local-ci.debugWalkthroughJob",
"onCommand:local-ci.job.run",
"onUri",
"onView:localCiJobs",
"onView:localCiLicense",
"workspaceContains:**/.circleci/config.yml"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Settings For Commands",
"properties": {
"local-ci.command.job.enable-pre-command": {
"type": "boolean",
"defaul": false,
"description": "Enable entering bash to run before the command that runs the job, like doppler run --. When true, this will prompt you to enter the pre-command bash every time a job runs."
},
"local-ci.command.job.enable-post-command": {
"type": "boolean",
"defaul": false,
"description": "Enable entering bash to run after the command that runs the job, like -e FOO=123 -e BAR=321. When true, this will prompt you to enter the post-command bash every time a job runs."
}
}
},
"commands": [
{
"command": "local-ci.job.run",
"title": "Local CI: Run Job",
"icon": "$(refresh)"
},
{
"command": "local-ci.job.exit",
"title": "Local CI: Exit Job",
"icon": "$(notebook-delete-cell)"
},
{
"command": "local-ci.job.rerun",
"title": "Local CI: Rerun Job",
"icon": "$(extensions-refresh)"
},
{
"command": "local-ci.debug.repo",
"title": "Local CI: Run Jobs Locally"
},
{
"command": "local-ci.create.config",
"title": "Local CI: Create A Config File"
},
{
"command": "localCiJobs.exitAllJobs",
"title": "Local CI: Exit All Jobs",
"icon": "$(notebook-delete-cell)"
},
{
"command": "localCiJobs.help",
"title": "Local CI: Help",
"icon": "$(question)"
},
{
"command": "localCiJobs.refresh",
"title": "Local CI: Refresh Job List",
"icon": "$(refresh)"
},
{
"command": "localCiJobs.selectRepo",
"title": "Local CI: Select Repo ",
"icon": "$(debug-configure)"
},
{
"command": "localCiJobs.enterToken",
"title": "Local CI: Token Entry",
"icon": "$(record-keys)"
},
{
"command": "localCiLicense.refresh",
"title": "Local CI: Refresh License Information",
"icon": "$(refresh)"
}
],
"keybindings": [
{
"command": "workbench.view.extension.localCiDebugger",
"key": "shift+cmd+l",
"mac": "shift+cmd+l"
}
],
"menus": {
"view/title": [
{
"command": "localCiJobs.exitAllJobs",
"when": "view == localCiJobs",
"group": "navigation"
},
{
"command": "localCiJobs.help",
"when": "view == localCiJobs",
"group": "navigation"
},
{
"command": "localCiJobs.refresh",
"when": "view == localCiJobs",
"group": "navigation"
},
{
"command": "localCiJobs.selectRepo",
"when": "view == localCiJobs",
"group": "navigation"
},
{
"command": "localCiJobs.enterToken",
"when": "view == localCiJobs",
"group": "navigation"
},
{
"command": "localCiLicense.refresh",
"when": "view == localCiLicense",
"group": "navigation"
}
],
"explorer/context": [
{
"when": "resourcePath =~ /.circleci/config.yml/",
"command": "local-ci.debug.repo"
}
],
"view/item/context": [
{
"command": "local-ci.job.rerun",
"when": "view == localCiJobs && viewItem == isRunning",
"group": "inline"
}
]
},
"views": {
"localCiDebugger": [
{
"id": "localCiJobs",
"name": "CircleCI® Jobs"
},
{
"id": "localCiLicense",
"name": "Local CI License Key",
"type": "webview"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "localCiDebugger",
"title": "Local CI",
"icon": "resources/logo.svg"
}
]
},
"walkthroughs": [
{
"id": "welcomeLocalCi",
"title": "Local CI",
"description": "Debug CircleCI® jobs locally with Bash access and workspace persistence. All in your local, no pushing and waiting. Not affiliated with CircleCI®.",
"steps": [
{
"id": "operatingSystemNotice",
"title": "Sorry, Local CI Doesn't Work On Windows",
"when": "isWindows",
"description": "It only works on macOS, unfortunately.",
"media": {
"image": "https://user-images.githubusercontent.com/4063887/141724496-69651ea3-2cb9-4e43-9aa7-3e9b88566865.gif",
"altText": "Windows not supported"
}
},
{
"id": "selectRepo",
"title": "Select The Repo To Run CI On",
"when": "!isWindows",
"description": "You'll be able to run jobs locally in it. \n[Select Repo](command:localCiJobs.selectRepo)",
"media": {
"image": "https://user-images.githubusercontent.com/4063887/141724496-69651ea3-2cb9-4e43-9aa7-3e9b88566865.gif",
"altText": "Selecting the repo to run CI on"
}
},
{
"id": "runFirstWalkthroughJob",
"title": "Run A CircleCI® Job On Your Local Machine",
"when": "!isWindows",
"description": "No need to guess why it failed, push a commit, wait for CI to fail, push a commit, etc… \n You'll see the job running and have Bash access to debug it. \n Even after the job exits. \n[Run A Job](command:local-ci.runWalkthroughJob)",
"media": {
"image": "https://user-images.githubusercontent.com/4063887/141727455-37279ab7-a67f-4a49-8f6d-9850c5c1d805.gif",
"altText": "Running the first job on your local machine"
}
},
{
"id": "runSecondWalkthroughJob",
"title": "Run Another Job",
"when": "!isWindows",
"description": "Click one of the green triangle icons on the left, like the second or third one. \n Local CI applies a job's [persist_to_workspace](https://circleci.com/blog/deep-diving-into-circleci-workspaces/) and attach_workspace values. \n So you can run the entire workflow with these persisted files. \n Your debugging can be much faster.",
"media": {
"image": "https://user-images.githubusercontent.com/4063887/141726659-fdb0fcd2-015a-4c11-9f45-bdcbddff461c.gif",
"altText": "Running the second job by clicking the icon"
}
}
]
}
]
},
"badges": [
{
"url": "https://img.shields.io/badge/%24-paid-orange",
"href": "https://getlocalci.com/pricing/?utm_medium=extension&utm_source=badge",
"description": "Buy license key"
},
{
"url": "https://img.shields.io/badge/trial-30%20day-orange",
"href": "https://getlocalci.com/pricing/?utm_medium=extension&utm_source=badge",
"description": "30 day free trial"
},
{
"url": "https://img.shields.io/badge/platform-macOS-yellow",
"href": "https://en.wikipedia.org/wiki/MacOS",
"description": "Platform: macOS"
},
{
"url": "https://img.shields.io/badge/requires-CirlcleCI%C2%AE-yellow",
"href": "https://circleci.com",
"description": "Requires CircleCI®"
}
],
"scripts": {
"vscode:prepublish": "npm run package",
"vsix": "vsce package",
"deploy": "vsce publish",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"prepare": "git config --local core.hooksPath .githooks",
"preinstall": "node ./node/binaryInstall.js",
"preuninstall": "node ./node/binaryUninstall.js",
"lint": "npm-run-all --parallel lint:js lint:sh",
"lint:js": "eslint src --ext ts",
"lint:fix": "npm run lint:js -- --fix",
"lint:sh": "shellcheck src/script/*.sh",
"test": "jest src",
"test:watch": "jest --watch"
},
"devDependencies": {
"@cloudflare/binary-install": "^0.2.0",
"@fluffy-spoon/substitute": "^1.208.0",
"@types/glob": "^8.0.0",
"@types/jest": "^29.2.0",
"@types/js-yaml": "^4.0.1",
"@types/node": "^18.11.5",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"glob": "^8.0.3",
"jest": "^29.2.2",
"jest-raw-loader": "^1.0.1",
"js-yaml": "^4.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.1",
"raw-loader": "^4.0.2",
"shellcheck": "^1.1.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.2.8",
"typescript": "^5.3.3",
"util": "^0.12.4",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.9.2",
"axios": "^1.6.5",
"cross-sha256": "^1.2.0"
}
}