factoriomod-debug 2.0.2 → 2.0.4
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/CHANGELOG.md +21 -0
- package/dist/ModSettingsWebview.js +60 -60
- package/dist/fmtk-cli.js +97 -97
- package/dist/fmtk-vscode.js +21 -21
- package/dist/fmtk.js +230 -118
- package/doc/workspace.md +1 -1
- package/package.json +28 -19
- package/schema/migration.json +2 -1
package/doc/workspace.md
CHANGED
|
@@ -4,7 +4,7 @@ A lot of people ask how to set up a workspace when they first start modding, so
|
|
|
4
4
|
|
|
5
5
|
## Workspace Layout
|
|
6
6
|
|
|
7
|
-
I open the Factorio `mods` directory as the root of my workspace in VSCode, and check out each mod's git repo
|
|
7
|
+
I open the Factorio `mods` directory as the root of my workspace in VSCode, and check out each mod's git repo directly into that. This simplifies debugger config as it is able to detect `mod-list.json` in the workspace and automatically configure all unspecified `modsPath`s in `launch.json`.
|
|
8
8
|
|
|
9
9
|
* `mods/`
|
|
10
10
|
* `.vscode/`
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factoriomod-debug",
|
|
3
3
|
"displayName": "Factorio Modding Tool Kit",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.4",
|
|
5
5
|
"publisher": "justarandomgeek",
|
|
6
6
|
"description": "Debug Tools for developing Factorio Mods",
|
|
7
7
|
"author": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"multi-root ready"
|
|
14
14
|
],
|
|
15
15
|
"engines": {
|
|
16
|
-
"vscode": "^1.
|
|
16
|
+
"vscode": "^1.95.0",
|
|
17
17
|
"node": ">20"
|
|
18
18
|
},
|
|
19
19
|
"icon": "images/factoriomod-debug-icon.png",
|
|
@@ -44,31 +44,31 @@
|
|
|
44
44
|
"test": "c8 mocha"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/archiver": "^6.0.
|
|
47
|
+
"@types/archiver": "^6.0.3",
|
|
48
48
|
"@types/buffers": "^0.1.34",
|
|
49
|
-
"@types/chai": "^5.0.
|
|
49
|
+
"@types/chai": "^5.0.1",
|
|
50
50
|
"@types/chai-as-promised": "^8.0.1",
|
|
51
51
|
"@types/d3": "^7.4.3",
|
|
52
52
|
"@types/dot-object": "^2.1.6",
|
|
53
53
|
"@types/ini": "^4.1.1",
|
|
54
54
|
"@types/inquirer": "^9.0.7",
|
|
55
|
-
"@types/mocha": "^10.0.
|
|
56
|
-
"@types/node": "^22.
|
|
57
|
-
"@types/node-fetch": "^2.6.
|
|
55
|
+
"@types/mocha": "^10.0.10",
|
|
56
|
+
"@types/node": "^22.10.1",
|
|
57
|
+
"@types/node-fetch": "^2.6.12",
|
|
58
58
|
"@types/readdir-glob": "^1.1.5",
|
|
59
59
|
"@types/request": "^2.48.12",
|
|
60
60
|
"@types/semver": "^7.5.8",
|
|
61
|
-
"@types/vscode": "^1.
|
|
61
|
+
"@types/vscode": "^1.95.0",
|
|
62
62
|
"@types/vscode-webview": "^1.57.5",
|
|
63
63
|
"@vscode/codicons": "^0.0.36",
|
|
64
64
|
"@vscode/debugadapter": "^1.68.0",
|
|
65
65
|
"@vscode/debugadapter-testsupport": "^1.68.0",
|
|
66
|
-
"@vscode/vsce": "^3.2.
|
|
66
|
+
"@vscode/vsce": "^3.2.1",
|
|
67
67
|
"@vscode/webview-ui-toolkit": "^1.4.0",
|
|
68
68
|
"archiver": "^7.0.1",
|
|
69
69
|
"c8": "^10.1.2",
|
|
70
|
-
"chai": "^5.1.
|
|
71
|
-
"chai-as-promised": "^8.0.
|
|
70
|
+
"chai": "^5.1.2",
|
|
71
|
+
"chai-as-promised": "^8.0.1",
|
|
72
72
|
"commander": "^12.1.0",
|
|
73
73
|
"d3": "^7.9.0",
|
|
74
74
|
"d3-flame-graph": "^4.1.3",
|
|
@@ -76,21 +76,21 @@
|
|
|
76
76
|
"esbuild": "^0.24.0",
|
|
77
77
|
"esbuild-plugin-import-glob": "^0.1.1",
|
|
78
78
|
"esbuild-visualizer": "^0.6.0",
|
|
79
|
-
"eslint": "^9.
|
|
79
|
+
"eslint": "^9.16.0",
|
|
80
80
|
"ini": "^5.0.0",
|
|
81
|
-
"inquirer": "^12.
|
|
81
|
+
"inquirer": "^12.1.0",
|
|
82
82
|
"jsonc-parser": "^3.3.1",
|
|
83
83
|
"mimer": "^2.0.2",
|
|
84
|
-
"mocha": "^
|
|
84
|
+
"mocha": "^11.0.1",
|
|
85
85
|
"node-fetch": "^3.3.2",
|
|
86
|
-
"readdir-glob": "^2.0.
|
|
86
|
+
"readdir-glob": "^2.0.1",
|
|
87
87
|
"remark": "^15.0.1",
|
|
88
88
|
"rimraf": "^6.0.1",
|
|
89
89
|
"semver": "^7.6.3",
|
|
90
90
|
"tree-kill": "^1.2.2",
|
|
91
|
-
"tsx": "^4.19.
|
|
92
|
-
"typescript": "^5.
|
|
93
|
-
"typescript-eslint": "^8.
|
|
91
|
+
"tsx": "^4.19.2",
|
|
92
|
+
"typescript": "^5.7.2",
|
|
93
|
+
"typescript-eslint": "^8.17.0",
|
|
94
94
|
"vscode-languageclient": "^9.0.1",
|
|
95
95
|
"vscode-languageserver": "^9.0.1",
|
|
96
96
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
@@ -109,7 +109,9 @@
|
|
|
109
109
|
"onCommand:workbench.action.tasks.runTask",
|
|
110
110
|
"workspaceContains:**/changelog.txt",
|
|
111
111
|
"workspaceContains:**/info.json",
|
|
112
|
-
"workspaceContains:**/control.lua"
|
|
112
|
+
"workspaceContains:**/control.lua",
|
|
113
|
+
"workspaceContains:**/mod-list.json",
|
|
114
|
+
"workspaceContains:**/mod-settings.dat"
|
|
113
115
|
],
|
|
114
116
|
"contributes": {
|
|
115
117
|
"colors": [
|
|
@@ -311,6 +313,13 @@
|
|
|
311
313
|
"type": "string",
|
|
312
314
|
"description": "Path to Factorio config.ini file."
|
|
313
315
|
},
|
|
316
|
+
"onlineDocs": {
|
|
317
|
+
"type": [
|
|
318
|
+
"boolean",
|
|
319
|
+
"string"
|
|
320
|
+
],
|
|
321
|
+
"description": "Use online docs, version id or `true` for `latest`"
|
|
322
|
+
},
|
|
314
323
|
"docsPath": {
|
|
315
324
|
"type": "string",
|
|
316
325
|
"description": "Path to runtime-api.json, must be relative to factorioPath."
|
package/schema/migration.json
CHANGED
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"equipment-category": { "$ref": "#/definitions/migration_item"},
|
|
42
42
|
"mod-setting": { "$ref": "#/definitions/migration_item"},
|
|
43
43
|
"trivial-smoke": { "$ref": "#/definitions/migration_item"},
|
|
44
|
-
"shortcut": { "$ref": "#/definitions/migration_item"}
|
|
44
|
+
"shortcut": { "$ref": "#/definitions/migration_item"},
|
|
45
|
+
"quality": { "$ref": "#/definitions/migration_item"}
|
|
45
46
|
}
|
|
46
47
|
}
|