typed-factorio 2.10.1 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +0 -1
- package/package.json +6 -4
- package/prototype/generated/prototypes.d.ts +1747 -1735
- package/prototype/generated/types.d.ts +1485 -1466
- package/runtime/generated/classes.d.ts +4605 -4102
- package/runtime/generated/concepts.d.ts +719 -722
- package/runtime/generated/defines.d.ts +501 -573
- package/runtime/generated/events.d.ts +304 -239
- package/runtime/generated/global-functions.d.ts +8 -8
- package/runtime/generated/global-objects.d.ts +6 -6
- package/runtime/generated/builtin-types.d.ts +0 -66
package/index.d.ts
CHANGED
@@ -11,7 +11,6 @@ and factorio:runtime modules.
|
|
11
11
|
/// <reference path="prototype/generated/prototypes.d.ts" />
|
12
12
|
/// <reference path="prototype/generated/types.d.ts" />
|
13
13
|
|
14
|
-
/// <reference path="runtime/generated/builtin-types.d.ts" />
|
15
14
|
/// <reference path="runtime/generated/events.d.ts" />
|
16
15
|
/// <reference path="runtime/generated/classes.d.ts" />
|
17
16
|
/// <reference path="runtime/generated/concepts.d.ts" />
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "typed-factorio",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.12.0",
|
4
4
|
"description": "Featureful typescript definitions for the Factorio modding api.",
|
5
5
|
"keywords": [
|
6
6
|
"factorio",
|
@@ -26,12 +26,14 @@
|
|
26
26
|
"generate-no-format": "tsx --tsconfig generator/tsconfig.json generator/main.ts --no-format",
|
27
27
|
"clean": "rimraf runtime/generated prototype/generated",
|
28
28
|
"lint": "eslint .",
|
29
|
-
"check": "
|
29
|
+
"format:check": "prettier --check .",
|
30
|
+
"format:fix": "prettier --write .",
|
31
|
+
"check": "npm run lint && npm run format:check && tsc --noEmit",
|
30
32
|
"prepublishOnly": "npm run generate && npm run check",
|
31
33
|
"script": "tsx --tsconfig scripts/tsconfig.json",
|
32
|
-
"download-latest-
|
34
|
+
"download-latest-api-jsons": "npm run script ./scripts/download-latest.ts",
|
33
35
|
"new-version-changelog": "npm run script ./scripts/new-version-changelog.ts",
|
34
|
-
"
|
36
|
+
"get-current-factorio-version": "npm run script ./scripts/get-current-version.ts",
|
35
37
|
"next-factorio-version-diff": "npm run script ./scripts/new-version-diff.ts"
|
36
38
|
},
|
37
39
|
"peerDependencies": {
|