typed-factorio 1.16.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +95 -53
- package/common/data-global.d.ts +15 -0
- package/common/serpent.d.ts +93 -0
- package/common/settings-global.d.ts +8 -0
- package/common/types.d.ts +74 -0
- package/index.d.ts +26 -0
- package/lualib/index.d.ts +2 -0
- package/{runtime → lualib}/mod-gui.d.ts +1 -0
- package/{runtime → lualib}/util.d.ts +69 -38
- package/package.json +25 -28
- package/prototype/generated/prototypes.d.ts +12821 -0
- package/prototype/generated/types.d.ts +11985 -0
- package/prototype/index.d.ts +11 -0
- package/runtime/generated/builtin-types.d.ts +59 -64
- package/runtime/generated/classes.d.ts +25770 -24456
- package/runtime/generated/concepts.d.ts +8551 -9109
- package/runtime/generated/defines.d.ts +2084 -1872
- package/runtime/generated/events.d.ts +4197 -4382
- package/runtime/generated/global-functions.d.ts +30 -28
- package/runtime/generated/global-objects.d.ts +42 -41
- package/runtime/generated/index-types.d.ts +51 -50
- package/runtime/index.d.ts +8 -16
- package/runtime/pairs.d.ts +9 -7
- package/settings/index.d.ts +10 -0
- package/settings/types.d.ts +103 -112
- package/custom-index-template.d.ts +0 -23
- package/data/types.d.ts +0 -13
- package/runtime/librariesAndFunctions.d.ts +0 -91
- package/strict-index-types.d.ts +0 -3
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "typed-factorio",
|
3
|
-
"version": "
|
4
|
-
"description": "Featureful typescript definitions for the
|
3
|
+
"version": "2.0.0",
|
4
|
+
"description": "Featureful typescript definitions for the Factorio modding api.",
|
5
5
|
"keywords": [
|
6
6
|
"factorio",
|
7
7
|
"types",
|
@@ -19,42 +19,39 @@
|
|
19
19
|
"homepage": "https://github.com/GlassBricks/typed-factorio#readme",
|
20
20
|
"scripts": {
|
21
21
|
"generate": "ts-node --esm -P generator/tsconfig.json generator/main.ts",
|
22
|
+
"generate-no-format": "ts-node --swc -T --esm -P generator/tsconfig.json generator/main.ts --no-format",
|
22
23
|
"clean": "rimraf runtime/generated",
|
23
|
-
"test": "jest",
|
24
24
|
"lint": "eslint .",
|
25
|
-
"check": "
|
26
|
-
"prepublishOnly": "
|
27
|
-
"download-latest-
|
25
|
+
"check": "npm run lint",
|
26
|
+
"prepublishOnly": "npm run generate && npm run check",
|
27
|
+
"download-latest-json-apis": "ts-node --esm ./scripts/download-latest.ts",
|
28
28
|
"new-version-changelog": "ts-node --esm ./scripts/new-version-changelog.ts",
|
29
|
-
"next-factorio-version": "
|
29
|
+
"next-factorio-version": "npm run download-latest-runtime-api && npm run clean && npm run generate && npm run check && npm run new-version-changelog && npm version minor"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
32
|
"lua-types": "^2.13.1",
|
33
|
-
"typescript-to-lua": "^1.
|
33
|
+
"typescript-to-lua": "^1.10.0"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@
|
37
|
-
"@types/
|
38
|
-
"@types/
|
39
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
40
|
-
"@typescript-eslint/parser": "^5.
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"eslint": "~8.
|
44
|
-
"eslint-config-prettier": "^
|
45
|
-
"eslint-import-resolver-typescript": "^3.
|
46
|
-
"eslint-plugin-eslint-comments": "
|
47
|
-
"eslint-plugin-import": "^2.
|
36
|
+
"@swc/core": "^1.3.82",
|
37
|
+
"@types/download": "^8.0.2",
|
38
|
+
"@types/node": "^20.5.9",
|
39
|
+
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
40
|
+
"@typescript-eslint/parser": "^6.5.0",
|
41
|
+
"chalk": "^5.3.0",
|
42
|
+
"download": "^8.0.0",
|
43
|
+
"eslint": "~8.48.0",
|
44
|
+
"eslint-config-prettier": "^9.0.0",
|
45
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
46
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
47
|
+
"eslint-plugin-import": "^2.28.1",
|
48
48
|
"eslint-plugin-node": "^11.1.0",
|
49
|
-
"eslint-plugin-prettier": "^
|
50
|
-
"jest": "^29.5.0",
|
49
|
+
"eslint-plugin-prettier": "^5.0.0",
|
51
50
|
"lua-types": "^2.13.1",
|
52
|
-
"prettier": "^
|
51
|
+
"prettier": "^3.0.3",
|
53
52
|
"rimraf": "^5.0.1",
|
54
|
-
"ts-jest": "^29.1.0",
|
55
53
|
"ts-node": "^10.9.1",
|
56
|
-
"typescript": "~5.
|
57
|
-
"typescript-to-lua": "^1.
|
58
|
-
}
|
59
|
-
"packageManager": "yarn@3.2.3"
|
54
|
+
"typescript": "~5.2.2",
|
55
|
+
"typescript-to-lua": "^1.19.0"
|
56
|
+
}
|
60
57
|
}
|