-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
322 lines (322 loc) · 9.6 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
{
"name": "vercel-project-manager-vscode",
"displayName": "Vercel Project Manager",
"version": "2.3.1",
"private": true,
"description": "Manage Vercel Projects from VSCode",
"categories": [
"Other"
],
"repository": {
"url": "https://github.com/aarondill/Vercel-Project-Manager"
},
"license": "MIT",
"publisher": "AaronDill",
"main": "./dist/extension.js",
"scripts": {
"clean": "rimraf dist",
"precompile": "npm run clean",
"compile": "webpack",
"ext:package": "vsce package",
"lint": "yarpm run lint:eslint && yarpm run lint:prettier && yarpm run sort-package",
"lint:eslint": "eslint . --fix --cache",
"lint:prettier": "prettier . --write --log-level warn",
"prepackage": "npm run clean",
"package": "webpack --mode production --devtool hidden-source-map",
"prepublishOnly": "yarpm run build",
"release": "yarpm run lint && yarpm run release:release-it",
"release:release-it": "release-it",
"sort-package": "sort-package-json",
"pretest": "npm run lint",
"test": "echo 'no tests specified, feel free to define your own and create a PR!' && exit 0",
"vscode:prepublish": "npm run package",
"prewatch": "npm run clean",
"watch": "webpack --watch"
},
"contributes": {
"commands": [
{
"command": "vercel.debug",
"category": "Vercel Project Manager",
"title": "Output debugging information"
},
{
"command": "vercel.dev",
"category": "Vercel Project Manager",
"title": "Run a development server through Vercel"
},
{
"command": "vercel.logIn",
"category": "Vercel Project Manager",
"title": "Log in"
},
{
"command": "vercel.logOut",
"category": "Vercel Project Manager",
"title": "Log Out"
},
{
"command": "vercel.copyURL",
"category": "Vercel Project Manager",
"title": "Copy URL to Clipboard",
"icon": {
"dark": "resources/icons/dark/copy-to-clipboard.svg",
"light": "resources/icons/light/copy-to-clipboard.svg"
}
},
{
"command": "vercel.refreshDeployments",
"category": "Vercel Project Manager",
"title": "Refresh Deployments",
"icon": "$(extensions-refresh)"
},
{
"command": "vercel.refreshEnvironment",
"category": "Vercel Project Manager",
"title": "Refresh Environment Variables",
"icon": "$(extensions-refresh)"
},
{
"command": "vercel.setEnvironment",
"category": "Vercel Project Manager",
"title": "Set Environment Variable",
"icon": "$(extensions-wrench)"
},
{
"command": "vercel.removeEnvironment",
"title": "Remove Environment Variable",
"category": "Vercel Project Manager",
"icon": "$(trash)"
},
{
"command": "vercel.createEnvironment",
"title": "Create Environment Variable",
"category": "Vercel Project Manager",
"icon": "$(plus)"
},
{
"command": "vercel.openEnvironmentLink",
"title": "Open Environment Setup in Browser",
"category": "Vercel Project Manager",
"icon": "$(link-external)"
},
{
"command": "vercel.openDeploymentsLink",
"title": "Open Deployments in Browser",
"category": "Vercel Project Manager",
"icon": "$(link-external)"
},
{
"command": "vercel.vercelLink",
"title": "Link current workspace to a Vercel project",
"category": "Vercel Project Manager",
"icon": {
"dark": "resources/icons/dark/vercel.svg",
"light": "resources/icons/light/vercel.svg"
}
},
{
"command": "vercel.deploy",
"title": "Deploy working directory to Vercel",
"category": "Vercel Project Manager",
"icon": {
"dark": "resources/icons/dark/vercel.svg",
"light": "resources/icons/light/vercel.svg"
}
}
],
"configuration": {
"title": "Vercel Project Manager",
"properties": {
"vercel.AccessToken": {
"type": "string",
"default": "",
"description": "DEPRECATED: Access token for vercel. Remove this from your config!"
},
"vercel.RefreshRate": {
"type": "number",
"default": 5,
"exclusiveMinimum": 0,
"description": "Number of minutes to wait between refreshes of Deployments and Environment."
},
"vercel.DeploymentCount": {
"type": "number",
"default": 20,
"minimum": 1,
"maximum": 100,
"description": "Number of deployments to fetch from Vercel."
},
"vercel.TeamDashboardURL": {
"type": "string",
"default": "",
"description": "(For use with teams) The URL to append the project name to. If not set, it will default to https://vercel.com/{user}/{project}"
}
}
},
"menus": {
"commandPalette": [
{
"command": "vercel.vercelLink",
"when": "vercelLoggedIn"
},
{
"command": "vercel.copyURL",
"when": "false"
},
{
"command": "vercel.debug"
},
{
"command": "vercel.dev"
},
{
"command": "vercel.logIn"
},
{
"command": "vercel.logOut",
"when": "vercelLoggedIn"
},
{
"command": "vercel.refreshDeployments",
"when": "vercelLoggedIn && vercelLinked"
},
{
"command": "vercel.refreshEnvironment",
"when": "vercelLoggedIn && vercelLinked"
},
{
"command": "vercel.setEnvironment",
"when": "vercelLoggedIn && vercelLinked"
},
{
"command": "vercel.removeEnvironment",
"when": "vercelLoggedIn && vercelLinked"
},
{
"command": "vercel.createEnvironment",
"when": "vercelLoggedIn && vercelLinked"
},
{
"command": "vercel.openEnvironmentLink",
"when": "vercelLoggedIn && vercelLinked"
},
{
"command": "vercel.openDeploymentsLink",
"when": "vercelLoggedIn && vercelLinked"
}
],
"view/title": [
{
"command": "vercel.refreshDeployments",
"when": "view == vercel-deployments && vercelLinked",
"group": "navigation"
},
{
"command": "vercel.openDeploymentsLink",
"when": "view == vercel-deployments && vercelLinked",
"group": "navigation"
},
{
"command": "vercel.refreshEnvironment",
"when": "view == vercel-environment && vercelLinked",
"group": "navigation"
},
{
"command": "vercel.openEnvironmentLink",
"when": "view == vercel-environment && vercelLinked",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "vercel.copyURL",
"when": "view == vercel-deployments && viewItem == deployment || viewItem == deploymentLog",
"group": "inline@2"
},
{
"command": "vercel.removeEnvironment",
"when": "view == vercel-environment && viewItem == Environment && vercelLinked",
"group": "inline@1"
}
]
},
"views": {
"vercel-sidebar": [
{
"type": "tree",
"id": "vercel-deployments",
"name": "Deployments",
"visibility": "visible"
},
{
"type": "tree",
"id": "vercel-environment",
"name": "Environment Variables",
"visibility": "collapsed"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "vercel-sidebar",
"title": "Vercel Project Manager",
"icon": "resources/icons/dark/vercel.svg"
}
]
},
"viewsWelcome": [
{
"view": "vercel-deployments",
"contents": "You have not yet logged in to view deployments.\n[▲ Log In with Vercel](command:vercel.logIn)",
"when": "!vercelLoggedIn"
},
{
"view": "vercel-environment",
"contents": "You have not yet logged in to view environment variables.\n[▲ Log In with Vercel](command:vercel.logIn)",
"when": "!vercelLoggedIn"
},
{
"view": "vercel-deployments",
"contents": "You have not yet linked your project to Vercel.\n[▲ Link to Vercel](command:vercel.vercelLink)",
"when": "vercelLoggedIn && !vercelLinked"
},
{
"view": "vercel-environment",
"contents": "You have not yet linked your project to Vercel.\n[▲ Link to Vercel](command:vercel.vercelLink)",
"when": "vercelLoggedIn && !vercelLinked"
}
]
},
"activationEvents": [
"onStartupFinished"
],
"dependencies": {
"async-listen": "^3.0.1",
"node-fetch": "^3.3.1",
"timeago.js": "^4.0.2",
"tsafe": "^1.6.6",
"urlcat": "^3.1.0",
"which": "^4.0.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/vscode": "^1.77.0",
"@types/which": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.1",
"sort-package-json": "^2.5.1",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"yarpm": "^1.2.0"
},
"engines": {
"vscode": "^1.77.0"
},
"icon": "resources/icons/vscode-vercel.png"
}