-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
455 lines (455 loc) · 11.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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
{
"name": "sync-settings",
"displayName": "Sync Settings",
"description": "Easily synchronize your settings",
"version": "0.16.0",
"author": {
"name": "Baptiste Augrain",
"email": "[email protected]"
},
"publisher": "zokugun",
"license": "MIT",
"homepage": "https://github.com/zokugun/vscode-sync-settings",
"repository": {
"type": "git",
"url": "https://github.com/zokugun/vscode-sync-settings.git"
},
"bugs": {
"url": "https://github.com/zokugun/vscode-sync-settings/issues"
},
"engines": {
"vscode": "^1.23.0"
},
"main": "./lib/index.js",
"scripts": {
"bundle": "ncc build out/extension --out lib --external sql.js",
"clean": "rm -rf lib out .test",
"commit": "cz",
"compile": "tsc -p src",
"lint": "xo",
"package": "rm -f *.vsix && vsce package",
"prepare": "husky install; fixpack || true",
"release": "release-it",
"test": "tsc -p test && mocha",
"test:dev": "mocha",
"test:watch": "tsc-watch -p test --onSuccess 'mocha'",
"vscode:prepublish": "npm run compile && npm run bundle",
"watch": "tsc-watch -p src --onSuccess 'npm run bundle'",
"watch:test": "tsc-watch -p test"
},
"dependencies": {
"@daiyam/jsonc-preprocessor": "^0.3.0",
"array-differ": "^4.0.0",
"camelcase": "^6.2.0",
"detect-newline": "^3.1.0",
"fast-equals": "^2.0.3",
"fs-extra": "^10.0.1",
"globby": "^11.1.0",
"jsonc-parser": "^3.2.0",
"rsync": "^0.6.1",
"semver": "^7.3.5",
"simple-git": "^3.15.0",
"sql.js": "^1.6.1",
"untildify": "^4.0.0",
"webdav": "^4.8.0",
"webdav-fs": "^4.0.1",
"yaml": "^1.10.2"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/chai": "^4.2.17",
"@types/diff": "^5.0.1",
"@types/fs-extra": "^9.0.12",
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.45",
"@types/rsync": "^0.4.30",
"@types/semver": "^7.3.8",
"@types/sql.js": "^1.4.2",
"@types/universalify": "^1.0.0",
"@types/vscode": "^1.23.0",
"@vercel/ncc": "^0.34.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.5",
"eslint-plugin-chai-friendly": "^0.7.2",
"fixpack": "^4.0.0",
"globby": "^11.1.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"memfs": "^3.4.1",
"mocha": "^9.2.2",
"release-it": "^15.3.0",
"rewiremock": "^3.14.3",
"source-map-support": "^0.5.20",
"tsc-watch": "^5.0.3",
"typescript": "^4.2.4",
"universalify": "^2.0.0",
"webdav-server": "^2.6.2",
"xo": "^0.48.0"
},
"extensionDependencies": [
"zokugun.cron-tasks"
],
"activationEvents": [
"onStartupFinished",
"onCommand:syncSettings.createProfile",
"onCommand:syncSettings.deleteProfile",
"onCommand:syncSettings.download",
"onCommand:syncSettings.openProfileDirectory",
"onCommand:syncSettings.openProfileSettings",
"onCommand:syncSettings.openRepositoryDirectory",
"onCommand:syncSettings.openSettings",
"onCommand:syncSettings.reset",
"onCommand:syncSettings.review",
"onCommand:syncSettings.switchProfile",
"onCommand:syncSettings.upload",
"onCommand:syncSettings.viewDifferences"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": false
}
},
"contributes": {
"commands": [
{
"command": "syncSettings.createProfile",
"title": "Create a new profile",
"category": "Sync Settings"
},
{
"command": "syncSettings.deleteProfile",
"title": "Delete a profile",
"category": "Sync Settings"
},
{
"command": "syncSettings.download",
"title": "Download (repository -> user)",
"category": "Sync Settings"
},
{
"command": "syncSettings.listMissingExtensions",
"title": "List the missing extensions",
"category": "Sync Settings"
},
{
"command": "syncSettings.openProfileDirectory",
"title": "Reveal the profile in the file explorer",
"category": "Sync Settings"
},
{
"command": "syncSettings.openProfileSettings",
"title": "Open the profile settings",
"category": "Sync Settings"
},
{
"command": "syncSettings.openRepositoryDirectory",
"title": "Reveal the repository in the file explorer",
"category": "Sync Settings"
},
{
"command": "syncSettings.openSettings",
"title": "Open the repository settings",
"category": "Sync Settings"
},
{
"command": "syncSettings.reset",
"title": "Remove all settings and extensions",
"category": "Sync Settings"
},
{
"command": "syncSettings.review",
"title": "Prompt if a difference between actual and saved settings is been found",
"category": "Sync Settings"
},
{
"command": "syncSettings.switchProfile",
"title": "Switch to profile",
"category": "Sync Settings"
},
{
"command": "syncSettings.upload",
"title": "Upload (user -> repository)",
"category": "Sync Settings"
},
{
"command": "syncSettings.viewDifferences",
"title": "View differences between actual and saved settings",
"category": "Sync Settings"
}
],
"configuration": {
"title": "Sync Settings",
"properties": {
"syncSettings.additionalFiles": {
"type": "array",
"description": "List of additional files to synchronize at the same time as the resources",
"items": [
{
"type": "string"
}
],
"default": [],
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.confirmSync": {
"type": "boolean",
"description": "Ask for confirmation before synchronizing",
"default": false,
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.crons": {
"type": "object",
"description": "Automate some commands",
"properties": {
"download": {
"type": "string",
"description": "Automatically download the settings at the specified time",
"default": ""
},
"review": {
"type": "string",
"description": "Automatically check the settings at the specified time",
"default": ""
},
"upload": {
"type": "string",
"description": "Automatically upload the settings at the specified time",
"default": ""
}
},
"default": {},
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.gitInitMessage": {
"type": "string",
"description": "Message used when commiting a new profile.",
"default": "profile({{profile}}): init -- {{now|date:iso}}",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.gitUpdateMessage": {
"type": "string",
"description": "Message used when commiting changes of a profile.",
"default": "profile({{profile}}): update -- {{now|date:iso}}",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.hooks.preDownload": {
"type": [
"string",
"array"
],
"description": "Commands to be executed before a download",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.hooks.postDownload": {
"type": [
"string",
"array"
],
"description": "Commands to be executed after a download",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.hooks.preUpload": {
"type": [
"string",
"array"
],
"description": "Commands to be executed before an upload",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.hooks.postUpload": {
"type": [
"string",
"array"
],
"description": "Commands to be executed after an upload",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.hostname": {
"type": "string",
"description": "Hostname generator",
"default": "",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.keybindingsPerPlatform": {
"type": "boolean",
"description": "Synchronize keybindings for each platform.",
"default": true,
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.ignoredExtensions": {
"type": "array",
"markdownDescription": "List of extensions to be ignored while synchronizing. The identifier of an extension is always `${publisher}.${name}`. For example: `zokugun.sync-settings`.",
"items": [
{
"type": "string",
"pattern": "^([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$",
"errorMessage": "Expected format '${publisher}.${name}'. Example: 'zokugun.sync-settings'."
}
],
"default": [],
"scope": "application",
"uniqueItems": true,
"tags": [
"sync"
]
},
"syncSettings.ignoredSettings": {
"type": "array",
"description": "Configure settings to be ignored while synchronizing.",
"items": [
{
"type": "string"
}
],
"default": [],
"scope": "application",
"additionalProperties": true,
"uniqueItems": true,
"tags": [
"sync"
]
},
"syncSettings.notification": {
"type": "string",
"enum": [
"none",
"major",
"minor",
"patch"
],
"enumDescriptions": [
"The new version notification won't be shown anymore.",
"The new version notification will be shown only with a new major version",
"The new version notification will be shown only with a new minor version",
"The new version notification will always be shown"
],
"default": "minor",
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.openOutputOnActivity": {
"type": "boolean",
"description": "Open the Output panel when synchronizing the settings",
"default": false,
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.resources": {
"type": "array",
"markdownDescription": "List of resources to synchronize.",
"items": [
{
"type": "string",
"enum": [
"extensions",
"keybindings",
"settings",
"snippets",
"uiState"
],
"enumDescriptions": [
"Extensions",
"Keyboard Shortcuts",
"Settings",
"User Snippets",
"UIState"
]
}
],
"default": [
"extensions",
"keybindings",
"settings",
"snippets",
"uiState"
],
"scope": "application",
"uniqueItems": true,
"tags": [
"sync"
]
},
"syncSettings.showFinishAlert": {
"type": "boolean",
"description": "Show an alert when the synchronization is finished.",
"default": true,
"scope": "application",
"tags": [
"sync"
]
},
"syncSettings.showErrorAlert": {
"type": "boolean",
"description": "Show an alert when an error occurs.",
"default": true,
"scope": "application",
"tags": [
"sync"
]
}
}
}
},
"extensionKind": [
"ui",
"workspace"
],
"icon": "icon.png",
"galleryBanner": {
"color": "#003357",
"theme": "dark"
},
"categories": [
"Other"
],
"keywords": [
"profile",
"settings",
"sync"
],
"__metadata": {
"id": "96e8e36b-03bd-44a6-b158-b7ad48d2e58f",
"publisherDisplayName": "zokugun",
"publisherId": "7981b718-ae65-4fd8-ad42-96331c0f9872"
}
}