-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
219 lines (219 loc) · 7.14 KB
/
Copy pathpackage.json
File metadata and controls
219 lines (219 loc) · 7.14 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "mes-reference-library",
"displayName": "MES Reference Library",
"description": "Unofficial MES/RivalAI modding tool for Space Engineers. Offline community wiki (~80+ pages) with search and bookmarks. Validates .sbc files: profile headers, tags, cross-file references, and mod reports. Optional GitHub sync updates wiki from MES-WebWiki and validator tags from MES source. Works fully offline after install. Not affiliated with MeridiusIX.",
"version": "3.19.7",
"publisher": "Raidfire",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Raidfire85/MES-Reference-Library.git"
},
"bugs": {
"url": "https://github.com/Raidfire85/MES-Reference-Library/issues"
},
"homepage": "https://github.com/Raidfire85/MES-Reference-Library#readme",
"icon": "icon.png",
"galleryBanner": {
"color": "#FFFFFF",
"theme": "light"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Linters",
"Other"
],
"keywords": [
"mes",
"modular encounter systems",
"RivalAI",
"space engineers",
"sbc",
"wiki",
"validation",
"modding"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "mesReference",
"title": "MES Reference",
"icon": "media/activitybar.svg"
}
]
},
"views": {
"mesReference": [
{
"type": "webview",
"id": "mesReference.wikiView",
"name": "Wiki"
}
]
},
"commands": [
{
"command": "mesReference.open",
"title": "MES Reference Library: Open",
"category": "MES Reference"
},
{
"command": "mesReference.search",
"title": "MES Reference Library: Search",
"category": "MES Reference"
},
{
"command": "mesReference.showBookmarks",
"title": "MES Reference Library: Show Bookmarks",
"category": "MES Reference"
},
{
"command": "mesReference.validateSbc",
"title": "MES Reference Library: Validate Current SBC",
"category": "MES Reference",
"icon": "$(checklist)"
},
{
"command": "mesReference.syncWiki",
"title": "MES Reference Library: Sync Wiki from MES-WebWiki",
"category": "MES Reference",
"icon": "$(sync)"
},
{
"command": "mesReference.setMesSourcePath",
"title": "MES Reference Library: Set MES Source Path (Offline Fallback)",
"category": "MES Reference"
},
{
"command": "mesReference.showMesSourcePath",
"title": "MES Reference Library: Show MES Source Path",
"category": "MES Reference"
},
{
"command": "mesReference.clearMesSourcePath",
"title": "MES Reference Library: Clear MES Source Path",
"category": "MES Reference"
},
{
"command": "mesReference.validateMod",
"title": "MES Reference Library: Validate Mod (All SBC in Data)",
"category": "MES Reference",
"icon": "$(folder)"
},
{
"command": "mesReference.openIssueWiki",
"title": "MES Reference Library: Open Wiki for Issue",
"category": "MES Reference",
"icon": "$(book)"
}
],
"menus": {
"commandPalette": [
{
"command": "mesReference.open"
},
{
"command": "mesReference.search"
},
{
"command": "mesReference.showBookmarks"
},
{
"command": "mesReference.validateSbc"
},
{
"command": "mesReference.validateMod"
},
{
"command": "mesReference.syncWiki"
},
{
"command": "mesReference.setMesSourcePath"
},
{
"command": "mesReference.showMesSourcePath"
},
{
"command": "mesReference.clearMesSourcePath"
},
{
"command": "mesReference.openIssueWiki",
"when": "editorLangId == sbc || resourceExtname == .sbc"
}
],
"explorer/context": [
{
"command": "mesReference.validateMod",
"when": "explorerResourceIsFolder && resourceFilename == Data",
"group": "navigation@99"
}
],
"editor/title": [
{
"command": "mesReference.validateSbc",
"when": "resourceExtname == .sbc",
"group": "navigation@99"
}
]
},
"keybindings": [
{
"command": "mesReference.validateSbc",
"key": "ctrl+shift+m",
"when": "editorTextFocus && resourceExtname == .sbc"
},
{
"command": "mesReference.validateMod",
"key": "ctrl+shift+alt+m",
"when": "editorTextFocus && resourceExtname == .sbc"
}
],
"configuration": {
"title": "MES Reference Library",
"properties": {
"mesReference.mesSourcePath": {
"type": "string",
"default": "",
"markdownDescription": "Optional **offline fallback** path to a local `ModularEncountersSystems` folder (must contain `ProfileManager.cs`). Used when GitHub is unavailable during sync to update the **validator tag index**. Sync auto-searches workshop and local mod installs before prompting you to pick a folder."
},
"mesReference.syncOnFirstRun": {
"type": "boolean",
"default": true,
"markdownDescription": "Run a **one-time** background sync the first time the extension activates after install. Downloads wiki markdown from [MES-WebWiki](https://github.com/Raidfire85/MES-WebWiki) and updates validator data from MES source when online. The bundled wiki works without sync."
}
}
}
},
"scripts": {
"vendor-sync": "node ./scripts/vendor-sync.mjs",
"vscode:prepublish": "npm run generate-icons && npm run compile",
"compile": "npm run vendor-sync && tsc -p ./ && node ./scripts/build-wiki-from-md.mjs",
"watch": "tsc -watch -p ./",
"build-vsix": "powershell -ExecutionPolicy Bypass -File ./scripts/archive-old-vsix.ps1 && node --disable-warning=DEP0040 --disable-warning=DEP0169 ./node_modules/@vscode/vsce/vsce package --allow-missing-repository",
"publish:marketplace": "node --disable-warning=DEP0040 --disable-warning=DEP0169 ./node_modules/@vscode/vsce/vsce publish --allow-missing-repository",
"rebuild-tag-index": "npm run compile && node ./scripts/rebuild-tag-index.cjs",
"validate-mod": "npm run compile && node ./scripts/validate-mod.cjs",
"test-parser": "npm run compile && node ./scripts/test-sbc-parser.cjs",
"scan-vanilla-se-roots": "node ./scripts/scan-vanilla-se-roots.cjs",
"generate-icons": "powershell -ExecutionPolicy Bypass -File ./scripts/generate-icons.ps1",
"install-extension": "powershell -ExecutionPolicy Bypass -File ./scripts/install-extension.ps1"
},
"dependencies": {
"markdown-it": "^14.1.0",
"yaml": "^2.6.0"
},
"devDependencies": {
"@types/markdown-it": "^14.1.2",
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.2.1",
"typescript": "^5.4.0"
}
}