factoriomod-debug 2.0.7 → 2.0.9
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 +25 -2
- package/dist/Flamegraph.js +1 -1
- package/dist/ModSettingsWebview.css +1 -1
- package/dist/ModSettingsWebview.js +3 -3
- package/dist/ScriptDatWebview.css +1 -1
- package/dist/ScriptDatWebview.js +1 -1
- package/dist/chunk-LMNAIRFX.js +148 -0
- package/dist/{codicon-QHVHTGEQ.ttf → codicon-IEQOYIYN.ttf} +0 -0
- package/dist/fmtk-cli.js +77 -79
- package/dist/fmtk-vscode.js +13 -172
- package/eslint.config.ts +3 -3
- package/package.json +42 -33
- package/postinstall.ts +8 -0
- package/schema/migration.json +17 -2
- package/schema/modinfo.json +9 -0
- package/.mocharc.json +0 -7
- package/dist/chunk-RGWVOEC5.js +0 -3420
- package/dist/chunk-ZLQDNPPN.js +0 -36
- package/dist/multipart-parser-3M5RC66T.js +0 -7
package/eslint.config.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { globalIgnores } from "eslint/config";
|
|
1
|
+
import { globalIgnores, defineConfig } from "eslint/config";
|
|
2
2
|
import globals from "globals";
|
|
3
3
|
import tseslint from 'typescript-eslint';
|
|
4
|
-
import stylisticTs from '@stylistic/eslint-plugin
|
|
4
|
+
import stylisticTs from '@stylistic/eslint-plugin';
|
|
5
5
|
|
|
6
|
-
export default
|
|
6
|
+
export default defineConfig([
|
|
7
7
|
globalIgnores(["dist", "coverage", "test/factorio"]),
|
|
8
8
|
...tseslint.configs.recommendedTypeChecked,
|
|
9
9
|
{
|
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.9",
|
|
5
5
|
"publisher": "justarandomgeek",
|
|
6
6
|
"description": "Debug Tools for developing Factorio Mods",
|
|
7
7
|
"author": {
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"multi-root ready"
|
|
14
14
|
],
|
|
15
15
|
"engines": {
|
|
16
|
-
"vscode": "^1.
|
|
17
|
-
"node": ">
|
|
16
|
+
"vscode": "^1.104.0",
|
|
17
|
+
"node": ">22"
|
|
18
18
|
},
|
|
19
19
|
"icon": "images/factoriomod-debug-icon.png",
|
|
20
20
|
"categories": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/justarandomgeek/vscode-factoriomod-debug/issues"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"lint": "eslint . --ext ts",
|
|
33
|
+
"lint": "eslint . --ext ts --flag unstable_native_nodejs_ts_config",
|
|
34
34
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
35
35
|
"typecheck-watch": "tsc -p tsconfig.json --noEmit --watch",
|
|
36
36
|
"esbuild": "node ./build.ts",
|
|
@@ -41,66 +41,61 @@
|
|
|
41
41
|
"package": "vsce package",
|
|
42
42
|
"publish-vscode": "vsce publish",
|
|
43
43
|
"publish-vscode-prerelease": "vsce publish --pre-release",
|
|
44
|
-
"test": "c8
|
|
44
|
+
"test": "c8 node --experimental-transform-types --test ./test/*.spec.ts",
|
|
45
|
+
"postinstall": "node ./postinstall.ts"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@inquirer/input": "^4.
|
|
48
|
-
"@inquirer/password": "^4.0.
|
|
49
|
-
"@stylistic/eslint-plugin
|
|
48
|
+
"@inquirer/input": "^4.2.4",
|
|
49
|
+
"@inquirer/password": "^4.0.20",
|
|
50
|
+
"@stylistic/eslint-plugin": "^5.3.1",
|
|
50
51
|
"@types/archiver": "^6.0.3",
|
|
51
52
|
"@types/buffers": "^0.1.34",
|
|
52
|
-
"@types/chai": "^5.2.2",
|
|
53
|
-
"@types/chai-as-promised": "^8.0.2",
|
|
54
53
|
"@types/d3": "^7.4.3",
|
|
54
|
+
"@types/dateformat": "^5.0.3",
|
|
55
55
|
"@types/dot-object": "^2.1.6",
|
|
56
56
|
"@types/ini": "^4.1.1",
|
|
57
|
-
"@types/inquirer": "^9.0.
|
|
58
|
-
"@types/mocha": "^10.0.10",
|
|
57
|
+
"@types/inquirer": "^9.0.9",
|
|
59
58
|
"@types/mute-stream": "^0.0.4",
|
|
60
|
-
"@types/node": "^22.
|
|
61
|
-
"@types/node-fetch": "^2.6.12",
|
|
59
|
+
"@types/node": "^22.18.5",
|
|
62
60
|
"@types/readdir-glob": "^1.1.5",
|
|
63
|
-
"@types/request": "^2.48.
|
|
64
|
-
"@types/semver": "^7.7.
|
|
65
|
-
"@types/vscode": "^1.
|
|
61
|
+
"@types/request": "^2.48.13",
|
|
62
|
+
"@types/semver": "^7.7.1",
|
|
63
|
+
"@types/vscode": "^1.104.0",
|
|
66
64
|
"@types/vscode-webview": "^1.57.5",
|
|
67
|
-
"@vscode/codicons": "^0.0.
|
|
65
|
+
"@vscode/codicons": "^0.0.40",
|
|
68
66
|
"@vscode/debugadapter": "^1.68.0",
|
|
69
67
|
"@vscode/debugadapter-testsupport": "^1.68.0",
|
|
70
|
-
"@vscode/vsce": "^3.
|
|
68
|
+
"@vscode/vsce": "^3.6.0",
|
|
71
69
|
"@vscode/webview-ui-toolkit": "^1.4.0",
|
|
72
70
|
"archiver": "^7.0.1",
|
|
73
71
|
"c8": "^10.1.3",
|
|
74
|
-
"
|
|
75
|
-
"chai-as-promised": "^8.0.1",
|
|
76
|
-
"commander": "^14.0.0",
|
|
72
|
+
"commander": "^14.0.1",
|
|
77
73
|
"d3": "^7.9.0",
|
|
78
74
|
"d3-flame-graph": "^4.1.3",
|
|
75
|
+
"dateformat": "^5.0.3",
|
|
79
76
|
"dot-object": "^2.1.5",
|
|
80
|
-
"esbuild": "^0.25.
|
|
77
|
+
"esbuild": "^0.25.10",
|
|
78
|
+
"esbuild-compress": "^2.0.2",
|
|
81
79
|
"esbuild-plugin-import-glob": "^0.1.1",
|
|
82
80
|
"esbuild-visualizer": "^0.7.0",
|
|
83
|
-
"eslint": "^9.
|
|
84
|
-
"globals": "^16.
|
|
81
|
+
"eslint": "^9.35.0",
|
|
82
|
+
"globals": "^16.4.0",
|
|
85
83
|
"ini": "^5.0.0",
|
|
86
|
-
"jiti": "^2.4.2",
|
|
87
84
|
"jsonc-parser": "^3.3.1",
|
|
88
|
-
"mime": "^4.0
|
|
89
|
-
"
|
|
90
|
-
"node-fetch": "^3.3.2",
|
|
85
|
+
"mime": "^4.1.0",
|
|
86
|
+
"patch-package": "^8.0.0",
|
|
91
87
|
"readdir-glob": "^2.0.1",
|
|
92
88
|
"remark": "^15.0.1",
|
|
93
89
|
"rimraf": "^6.0.1",
|
|
94
90
|
"semver": "^7.7.2",
|
|
95
91
|
"tree-kill": "^1.2.2",
|
|
96
|
-
"
|
|
97
|
-
"typescript": "^
|
|
98
|
-
"typescript-eslint": "^8.34.1",
|
|
92
|
+
"typescript": "^5.9.2",
|
|
93
|
+
"typescript-eslint": "^8.44.0",
|
|
99
94
|
"vscode-languageclient": "^9.0.1",
|
|
100
95
|
"vscode-languageserver": "^9.0.1",
|
|
101
96
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
102
97
|
"vscode-uri": "^3.1.0",
|
|
103
|
-
"yoctocolors": "^2.1.
|
|
98
|
+
"yoctocolors": "^2.1.2"
|
|
104
99
|
},
|
|
105
100
|
"extensionDependencies": [
|
|
106
101
|
"sumneko.lua"
|
|
@@ -484,6 +479,11 @@
|
|
|
484
479
|
"title": "Upload to Portal",
|
|
485
480
|
"icon": "$(cloud-upload)"
|
|
486
481
|
},
|
|
482
|
+
{
|
|
483
|
+
"command": "factorio.details",
|
|
484
|
+
"category": "Factorio",
|
|
485
|
+
"title": "Sync details to Portal"
|
|
486
|
+
},
|
|
487
487
|
{
|
|
488
488
|
"command": "factorio.publish",
|
|
489
489
|
"category": "Factorio",
|
|
@@ -553,6 +553,10 @@
|
|
|
553
553
|
"command": "factorio.upload",
|
|
554
554
|
"when": "false"
|
|
555
555
|
},
|
|
556
|
+
{
|
|
557
|
+
"command": "factorio.details",
|
|
558
|
+
"when": "false"
|
|
559
|
+
},
|
|
556
560
|
{
|
|
557
561
|
"command": "factorio.publish",
|
|
558
562
|
"when": "false"
|
|
@@ -584,6 +588,11 @@
|
|
|
584
588
|
"when": "view == factoriomods && viewItem =~ /latest/",
|
|
585
589
|
"group": "2_basic@5"
|
|
586
590
|
},
|
|
591
|
+
{
|
|
592
|
+
"command": "factorio.details",
|
|
593
|
+
"when": "view == factoriomods && viewItem =~ /latest/",
|
|
594
|
+
"group": "2_basic@6"
|
|
595
|
+
},
|
|
587
596
|
{
|
|
588
597
|
"command": "factorio.publish",
|
|
589
598
|
"when": "view == factoriomods && viewItem =~ /latest/",
|
package/postinstall.ts
ADDED
package/schema/migration.json
CHANGED
|
@@ -14,11 +14,15 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
+
"additionalProperties": false,
|
|
17
18
|
"properties": {
|
|
18
19
|
"custom-input": { "$ref": "#/definitions/migration_item"},
|
|
19
20
|
"equipment-grid": { "$ref": "#/definitions/migration_item"},
|
|
20
21
|
"entity": { "$ref": "#/definitions/migration_item"},
|
|
22
|
+
"particle": { "$ref": "#/definitions/migration_item"},
|
|
21
23
|
"item": { "$ref": "#/definitions/migration_item"},
|
|
24
|
+
"collision-layer": { "$ref": "#/definitions/migration_item"},
|
|
25
|
+
"airborne-pollutant": { "$ref": "#/definitions/migration_item"},
|
|
22
26
|
"tile": { "$ref": "#/definitions/migration_item"},
|
|
23
27
|
"decorative": { "$ref": "#/definitions/migration_item"},
|
|
24
28
|
"recipe-category": { "$ref": "#/definitions/migration_item"},
|
|
@@ -30,7 +34,7 @@
|
|
|
30
34
|
"fuel-category": { "$ref": "#/definitions/migration_item"},
|
|
31
35
|
"resource-category": { "$ref": "#/definitions/migration_item"},
|
|
32
36
|
"technology": { "$ref": "#/definitions/migration_item"},
|
|
33
|
-
"noise-
|
|
37
|
+
"noise-function": { "$ref": "#/definitions/migration_item"},
|
|
34
38
|
"noise-expression": { "$ref": "#/definitions/migration_item"},
|
|
35
39
|
"autoplace-control": { "$ref": "#/definitions/migration_item"},
|
|
36
40
|
"equipment": { "$ref": "#/definitions/migration_item"},
|
|
@@ -41,7 +45,18 @@
|
|
|
41
45
|
"equipment-category": { "$ref": "#/definitions/migration_item"},
|
|
42
46
|
"mod-setting": { "$ref": "#/definitions/migration_item"},
|
|
43
47
|
"trivial-smoke": { "$ref": "#/definitions/migration_item"},
|
|
48
|
+
"asteroid-chunk": { "$ref": "#/definitions/migration_item"},
|
|
49
|
+
"quality": { "$ref": "#/definitions/migration_item"},
|
|
50
|
+
"surface-property" : { "$ref": "#/definitions/migration_item"},
|
|
51
|
+
"procession-layer-inheritance-group": { "$ref": "#/definitions/migration_item"},
|
|
52
|
+
"procession": { "$ref": "#/definitions/migration_item"},
|
|
53
|
+
"space-location": { "$ref": "#/definitions/migration_item"},
|
|
54
|
+
"space-connection": { "$ref": "#/definitions/migration_item"},
|
|
55
|
+
"active-trigger": { "$ref": "#/definitions/migration_item"},
|
|
44
56
|
"shortcut": { "$ref": "#/definitions/migration_item"},
|
|
45
|
-
"
|
|
57
|
+
"burner-usage": { "$ref": "#/definitions/migration_item"},
|
|
58
|
+
"surface": { "$ref": "#/definitions/migration_item"},
|
|
59
|
+
"mod-data": { "$ref": "#/definitions/migration_item"},
|
|
60
|
+
"custom-event": { "$ref": "#/definitions/migration_item"}
|
|
46
61
|
}
|
|
47
62
|
}
|
package/schema/modinfo.json
CHANGED
|
@@ -116,6 +116,15 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
|
+
"datestamp_format": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "A format string for `datetime` to use when date stamping the changelog. See https://www.npmjs.com/package/dateformat. Named format `factorioDate` for 'dd. mm. yyyy' like factorio's changelog. Default `isoDate`.",
|
|
122
|
+
"examples": [
|
|
123
|
+
"isoDate",
|
|
124
|
+
"factorioDate"
|
|
125
|
+
],
|
|
126
|
+
"default": "isoDate"
|
|
127
|
+
},
|
|
119
128
|
"no_git_push": {
|
|
120
129
|
"type":"boolean",
|
|
121
130
|
"description": "Don't automatically `git push` in Publish"
|