-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 5.76 KB
/
package.json
File metadata and controls
164 lines (164 loc) · 5.76 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
{
"name": "settings-repository",
"displayName": "Settings Repository",
"description": "Sync VSCode settings to a repository",
"icon": "assets/icon-sm.png",
"galleryBanner": {
"color": "#0098FF",
"theme": "dark"
},
"publisher": "Katsute",
"version": "2.0.2",
"private": true,
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Other"
],
"keywords": [
"sync",
"settings sync",
"settings repository",
"settings repo",
"settings zip",
"sync settings",
"extensions sync",
"sync extensions",
"vscode settings sync",
"locale sync",
"sync locale",
"language sync",
"sync language",
"zip",
"git"
],
"activationEvents": [
"onStartupFinished"
],
"extensionKind": [
"ui"
],
"contributes": {
"commands": [
{
"command": "settings-repository.options",
"title": "Options",
"category": "Settings Repository"
},
{
"command": "settings-repository.repository",
"title": "Choose Settings Repository",
"category": "Settings Repository"
},
{
"command": "settings-repository.authenticate",
"title": "Authenticate",
"category": "Settings Repository"
},
{
"command": "settings-repository.overwriteLocal",
"title": "Overwrite Local",
"category": "Settings Repository"
},
{
"command": "settings-repository.overwriteRemote",
"title": "Overwrite Remote",
"category": "Settings Repository"
},
{
"command": "settings-repository.importSettings",
"title": "Import Settings",
"category": "Settings Repository"
},
{
"command": "settings-repository.exportSettings",
"title": "Export Settings",
"category": "Settings Repository"
}
],
"configuration": {
"title": "Settings Repository",
"order": 0,
"properties": {
"settings-repository.repository": {
"markdownDescription": "The git repository to sync settings with. Make sure the token has access to this repository.",
"type": "string",
"order": 0,
"default": ""
},
"settings-repository.branch": {
"markdownDescription": "The branch to sync settings with. Branch must already exist.",
"type": "string",
"order": 1,
"default": "main"
},
"settings-repository.autoSync": {
"markdownDescription": "Automatically sync settings with repository, set behavior with `#settings-repository.autoSyncMode#`.",
"type": "boolean",
"order": 2,
"default": true
},
"settings-repository.autoSyncMode": {
"markdownDescription": "Determines the auto sync behavior, requires `#settings-repository.autoSync#` to be enabled.",
"type": "string",
"order": 3,
"enum": [
"Full Sync",
"Import Only",
"Export Only"
],
"enumDescriptions": [
"Always pull and push changes to repository",
"Only pull settings from repository",
"Only push settings to repository"
],
"default": "Full Sync"
},
"settings-repository.includeHostnameInCommitMessage": {
"markdownDescription": "Include hostname in the commit message.",
"type": "boolean",
"order": 4,
"default": true
}
}
}
},
"main": "dist/index.js",
"scripts": {
"// -- dev -- //": "",
"clean": "rimraf --glob dist & rimraf --glob settings-repository-*.vsix",
"prune": "npm prune && npm i --package-lock --ignore-scripts",
"update": "npm update -D && npm i --package-lock --ignore-scripts && npm run prune",
"// -- build -- //": "",
"vscode:prepublish": "npm run prepare",
"build:esbuild": "esbuild src/extension.ts --bundle --outfile=dist/index.js --external:vscode --format=cjs --platform=node --minify --legal-comments=none --metafile=meta.json",
"build:post": "node build.js",
"build": "tsc --noEmit && npm run build:esbuild && npm run build:post",
"prepare": "npm run clean && npm run build",
"// -- deploy -- //": "",
"package": "vsce package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KatsuteDev/Settings-Repository.git"
},
"author": "Katsute",
"license": "GPL-2.0-only",
"bugs": {
"url": "https://github.com/KatsuteDev/Settings-Repository/issues"
},
"homepage": "https://github.com/KatsuteDev/Settings-Repository#readme",
"devDependencies": {
"@types/adm-zip": "0.5.8",
"@types/node": "25.5.0",
"@types/vscode": "1.110.0",
"@vscode/vsce": "3.7.1",
"adm-zip": "0.5.16",
"esbuild": "0.27.4",
"glob": "13.0.6",
"rimraf": "6.1.3",
"simple-git": "3.33.0",
"typescript": "6.0.2"
}
}