warcraft-vscode 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +23 -0
- package/.lua-format +4 -0
- package/.vscodeignore +16 -0
- package/CHANGELOG.md +432 -0
- package/LICENSE.md +21 -0
- package/README.md +136 -0
- package/bin/MopaqPack-rs.exe +0 -0
- package/bin/ObjEditing.exe +0 -0
- package/images/icon.png +0 -0
- package/out/cli.js +3 -0
- package/out/cli.js.LICENSE.txt +1 -0
- package/out/standalone.js +2 -0
- package/out/standalone.js.LICENSE.txt +8 -0
- package/package.json +258 -0
- package/res/.version.json +1 -0
- package/res/def.zip +0 -0
- package/warcraft_validation.json +28 -0
package/package.json
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "warcraft-vscode",
|
|
3
|
+
"displayName": "warcraft-vscode",
|
|
4
|
+
"description": "A Warcraft III map develop toolset",
|
|
5
|
+
"version": "0.1.16",
|
|
6
|
+
"publisher": "Dencer",
|
|
7
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
|
+
"icon": "images/icon.png",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/warcraft-iii/warcraft-vscode.git"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"vscode": "^1.56.0"
|
|
15
|
+
},
|
|
16
|
+
"categories": [
|
|
17
|
+
"Other"
|
|
18
|
+
],
|
|
19
|
+
"activationEvents": [
|
|
20
|
+
"onCommand:extension.warcraft.compile.debug",
|
|
21
|
+
"onCommand:extension.warcraft.pack.debug",
|
|
22
|
+
"onCommand:extension.warcraft.run.debug",
|
|
23
|
+
"onCommand:extension.warcraft.run.editor",
|
|
24
|
+
"onCommand:extension.warcraft.project.create",
|
|
25
|
+
"onCommand:extension.warcraft.project.clean",
|
|
26
|
+
"onCommand:extension.warcraft.project.addlibrary",
|
|
27
|
+
"onCommand:extension.warcraft.project.toggleConfiguration",
|
|
28
|
+
"onCommand:extension.warcraft.project.toggleWarcraftVersion",
|
|
29
|
+
"onCommand:extension.warcraft.pack.object",
|
|
30
|
+
"onCommand:extension.warcraft.project.choseMapFile",
|
|
31
|
+
"workspaceContains:warcraft.json"
|
|
32
|
+
],
|
|
33
|
+
"main": "./out/extension.js",
|
|
34
|
+
"bin": {
|
|
35
|
+
"wvt": "./out/cli.js"
|
|
36
|
+
},
|
|
37
|
+
"contributes": {
|
|
38
|
+
"jsonValidation": [
|
|
39
|
+
{
|
|
40
|
+
"fileMatch": "warcraft.json",
|
|
41
|
+
"url": "./warcraft_validation.json"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"commands": [
|
|
45
|
+
{
|
|
46
|
+
"command": "extension.warcraft.compile.debug",
|
|
47
|
+
"title": "Compile Script",
|
|
48
|
+
"category": "Warcraft"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"command": "extension.warcraft.pack.debug",
|
|
52
|
+
"title": "Pack Map",
|
|
53
|
+
"category": "Warcraft"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"command": "extension.warcraft.run.debug",
|
|
57
|
+
"title": "Run Map",
|
|
58
|
+
"category": "Warcraft"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"command": "extension.warcraft.run.editor",
|
|
62
|
+
"title": "Open World Editor",
|
|
63
|
+
"category": "Warcraft"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"command": "extension.warcraft.project.create",
|
|
67
|
+
"title": "Create Project",
|
|
68
|
+
"category": "Warcraft"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"command": "extension.warcraft.project.createClassic",
|
|
72
|
+
"title": "Create Classic Project",
|
|
73
|
+
"category": "Warcraft"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"command": "extension.warcraft.project.clean",
|
|
77
|
+
"title": "Clean Project",
|
|
78
|
+
"category": "Warcraft"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"command": "extension.warcraft.project.addlibrary",
|
|
82
|
+
"title": "Add Library",
|
|
83
|
+
"category": "Warcraft"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"command": "extension.warcraft.project.toggleConfiguration",
|
|
87
|
+
"title": "Toggle Configuration",
|
|
88
|
+
"category": "Warcraft"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"command": "extension.warcraft.project.toggleWarcraftVersion",
|
|
92
|
+
"title": "Toggle Warcraft Version",
|
|
93
|
+
"category": "Warcraft"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"command": "extension.warcraft.pack.object",
|
|
97
|
+
"title": "Pack Objects",
|
|
98
|
+
"category": "Warcraft"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"command": "extension.warcraft.project.choseMapFile",
|
|
102
|
+
"title": "Chose a Map File",
|
|
103
|
+
"category": "Warcraft"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"configuration": {
|
|
107
|
+
"title": "Warcraft",
|
|
108
|
+
"properties": {
|
|
109
|
+
"warcraft.gamePath": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "Where is Warcraft III Execution?"
|
|
112
|
+
},
|
|
113
|
+
"warcraft.wePath": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "Where is World Editor Execution?"
|
|
116
|
+
},
|
|
117
|
+
"warcraft.gameArgs": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"description": "Arguments to added to run the game.",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"warcraft.weArgs": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"description": "Arguments to added to run the world editor",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"warcraft.gamePathClassic": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "Where is Warcraft III Classic Execution?"
|
|
134
|
+
},
|
|
135
|
+
"warcraft.wePathClassic": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Where is World Editor Classic Execution?"
|
|
138
|
+
},
|
|
139
|
+
"warcraft.gameArgsClassic": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"description": "Arguments to added to run the game.",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"warcraft.weArgsClassic": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"description": "Arguments to added to run the world editor",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"warcraft.kkwePath": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "Where is KKWE Execution?"
|
|
156
|
+
},
|
|
157
|
+
"warcraft.autoCloseClient": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"description": "Automatically close the client?"
|
|
160
|
+
},
|
|
161
|
+
"warcraft.configuration": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "Which configuration, debug or release?",
|
|
164
|
+
"enum": [
|
|
165
|
+
"Debug",
|
|
166
|
+
"Release"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"warcraft.warcraftVersion": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"description": "Which version of Warcraft does compile?",
|
|
172
|
+
"enum": [
|
|
173
|
+
"Reforge",
|
|
174
|
+
"Classic"
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
"warcraft.codeConfusion": {
|
|
178
|
+
"type": "boolean",
|
|
179
|
+
"description": "Enable code confusion? (RELEASE ONLY) *EXPIRMENT*"
|
|
180
|
+
},
|
|
181
|
+
"warcraft.libraryOrganizations": {
|
|
182
|
+
"type": "array",
|
|
183
|
+
"description": "The Github organization or user for command 'Add Library'",
|
|
184
|
+
"items": {
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {
|
|
187
|
+
"type": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"description": "The item type org or user",
|
|
190
|
+
"enum": [
|
|
191
|
+
"user",
|
|
192
|
+
"organization"
|
|
193
|
+
],
|
|
194
|
+
"default": "organization"
|
|
195
|
+
},
|
|
196
|
+
"name": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "The Github organization or user name"
|
|
199
|
+
},
|
|
200
|
+
"ssh": {
|
|
201
|
+
"type": "boolean",
|
|
202
|
+
"description": "Use ssh proto?",
|
|
203
|
+
"default": false
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"scripts": {
|
|
212
|
+
"vscode:prepublish": "npm run build",
|
|
213
|
+
"build": "webpack --mode production",
|
|
214
|
+
"compile": "webpack --mode development",
|
|
215
|
+
"watch": "webpack --mode development --watch --info-verbosity verbose",
|
|
216
|
+
"test": "npm run compile",
|
|
217
|
+
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
|
|
218
|
+
"postinstall": "npm run prepare",
|
|
219
|
+
"prepare": "node ./prepare.js"
|
|
220
|
+
},
|
|
221
|
+
"devDependencies": {
|
|
222
|
+
"@types/fs-extra": "^8.1.1",
|
|
223
|
+
"@types/got": "^9.6.11",
|
|
224
|
+
"@types/is-running": "^2.1.0",
|
|
225
|
+
"@types/lodash-es": "^4.17.4",
|
|
226
|
+
"@types/luaparse": "^0.2.7",
|
|
227
|
+
"@types/node": "^10.17.58",
|
|
228
|
+
"@types/ps-node": "^0.1.0",
|
|
229
|
+
"@types/vscode": "^1.56.0",
|
|
230
|
+
"@types/yauzl-promise": "^2.1.0",
|
|
231
|
+
"conventional-changelog-cli": "^2.1.1",
|
|
232
|
+
"escodegen": "^2.0.0",
|
|
233
|
+
"espree": "^9.3.2",
|
|
234
|
+
"lodash": "^4.17.21",
|
|
235
|
+
"pbjs-loader": "^0.2.1",
|
|
236
|
+
"ts-loader": "^9.1.2",
|
|
237
|
+
"tslint": "^5.20.1",
|
|
238
|
+
"typescript": "^4.2.4",
|
|
239
|
+
"underscore-template-loader": "^1.2.0",
|
|
240
|
+
"webpack": "^5.76.0",
|
|
241
|
+
"webpack-cli": "^4.7.0"
|
|
242
|
+
},
|
|
243
|
+
"dependencies": {
|
|
244
|
+
"@octokit/rest": "^18.5.3",
|
|
245
|
+
"commander": "^12.1.0",
|
|
246
|
+
"fs-extra": "^8.1.0",
|
|
247
|
+
"got": "^9.6.0",
|
|
248
|
+
"is-running": "^2.1.0",
|
|
249
|
+
"lodash-es": "^4.17.21",
|
|
250
|
+
"luamin": "git+https://github.com/DengSir/luamin.git",
|
|
251
|
+
"luaparse": "^0.2.1",
|
|
252
|
+
"ps-node": "^0.1.6",
|
|
253
|
+
"simple-git": "^3.19.1",
|
|
254
|
+
"sudo-prompt": "^9.2.1",
|
|
255
|
+
"vscode-nls": "^5.0.0",
|
|
256
|
+
"yauzl-promise": "^2.1.3"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"def":"v0.0.4"}
|
package/res/def.zip
ADDED
|
Binary file
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Warcraft.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"mapdir": {
|
|
6
|
+
"description": "The map path",
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"files": {
|
|
10
|
+
"description": "Lua file list",
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"jassfile": {
|
|
17
|
+
"description": "*CLASSIC* Specify the path to the war3map.j file or use it in the map file.",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"lua.package.path": {
|
|
21
|
+
"description": "Define package.path in Lua",
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|