factoriomod-debug 1.1.39 → 1.1.41
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 +18 -0
- package/dist/ModSettingsWebview.js +168 -169
- package/dist/fmtk.js +791 -299
- package/doc/language-lua.md +4 -0
- package/package.json +12 -12
- package/factoriomod-debug-1.1.37.vsix +0 -0
package/doc/language-lua.md
CHANGED
|
@@ -32,6 +32,10 @@ The VS Code extension will automatically configure `"Lua.workspace.userThirdPart
|
|
|
32
32
|
|
|
33
33
|
Because Factorio mods run in [several Lua VMs](https://lua-api.factorio.com/latest/auxiliary/data-lifecycle.html), some functions have cross-VM behavior that cannot be described fully with type definitions. We handle these by providing a plugin which transforms them into a more easily understood form before the Language Server sees them.
|
|
34
34
|
|
|
35
|
+
### Plugin Disabling
|
|
36
|
+
|
|
37
|
+
The plugin isn't perfect, so whenever it does something undesirable use `---@plugin ...` to disable it. It works very similar to `---@diagnostic`, for example: `---@plugin disable-line: on_event` or `---@plugin disable-next-line`.
|
|
38
|
+
|
|
35
39
|
### `require()`
|
|
36
40
|
|
|
37
41
|
Factorio allows requiring files from another mod with a `__modname__` prefix:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "factoriomod-debug",
|
|
3
3
|
"displayName": "Factorio Modding Tool Kit",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.41",
|
|
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.85.0",
|
|
17
17
|
"node": ">=18"
|
|
18
18
|
},
|
|
19
19
|
"icon": "images/factoriomod-debug-icon.png",
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
"@types/chai-as-promised": "^7.1.8",
|
|
51
51
|
"@types/d3": "^7.4.3",
|
|
52
52
|
"@types/dot-object": "^2.1.6",
|
|
53
|
-
"@types/ini": "^1.3.
|
|
53
|
+
"@types/ini": "^1.3.34",
|
|
54
54
|
"@types/inquirer": "^9.0.7",
|
|
55
55
|
"@types/mocha": "^10.0.6",
|
|
56
|
-
"@types/node": "^18.
|
|
57
|
-
"@types/node-fetch": "^2.6.
|
|
56
|
+
"@types/node": "^18.19.10",
|
|
57
|
+
"@types/node-fetch": "^2.6.11",
|
|
58
58
|
"@types/request": "^2.48.12",
|
|
59
59
|
"@types/semver": "^7.5.6",
|
|
60
|
-
"@types/vscode": "^1.
|
|
60
|
+
"@types/vscode": "^1.85.0",
|
|
61
61
|
"@types/vscode-webview": "^1.57.4",
|
|
62
62
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
63
63
|
"@typescript-eslint/parser": "^5.62.0",
|
|
64
64
|
"@vscode/codicons": "^0.0.32",
|
|
65
65
|
"@vscode/debugadapter": "^1.64.0",
|
|
66
66
|
"@vscode/debugadapter-testsupport": "^1.64.0",
|
|
67
|
-
"@vscode/vsce": "^2.
|
|
68
|
-
"@vscode/webview-ui-toolkit": "^1.
|
|
67
|
+
"@vscode/vsce": "^2.23.0",
|
|
68
|
+
"@vscode/webview-ui-toolkit": "^1.4.0",
|
|
69
69
|
"archiver": "^5.3.2",
|
|
70
70
|
"c8": "^7.14.0",
|
|
71
|
-
"chai": "^4.
|
|
71
|
+
"chai": "^4.4.1",
|
|
72
72
|
"chai-as-promised": "^7.1.1",
|
|
73
73
|
"commander": "^10.0.1",
|
|
74
74
|
"d3": "^7.8.5",
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
"esbuild": "^0.17.19",
|
|
78
78
|
"esbuild-plugin-import-glob": "^0.1.1",
|
|
79
79
|
"esbuild-visualizer": "^0.4.1",
|
|
80
|
-
"eslint": "^8.
|
|
80
|
+
"eslint": "^8.56.0",
|
|
81
81
|
"ini": "^3.0.1",
|
|
82
82
|
"inquirer": "^9.2.12",
|
|
83
|
-
"jsonc-parser": "^3.2.
|
|
83
|
+
"jsonc-parser": "^3.2.1",
|
|
84
84
|
"mimer": "^2.0.2",
|
|
85
85
|
"mocha": "^10.2.0",
|
|
86
86
|
"node-fetch": "^3.3.2",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"rimraf": "^4.4.1",
|
|
90
90
|
"semver": "^7.5.4",
|
|
91
91
|
"tree-kill": "^1.2.2",
|
|
92
|
-
"ts-node": "^10.9.
|
|
92
|
+
"ts-node": "^10.9.2",
|
|
93
93
|
"typescript": "^4.9.5",
|
|
94
94
|
"vscode-languageclient": "^8.1.0",
|
|
95
95
|
"vscode-languageserver": "^8.1.0",
|
|
Binary file
|