typed-factorio 2.10.1 → 2.12.0

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/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.10.1",
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": "tsc --noEmit && npm run lint && prettier --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-json-apis": "npm run script ./scripts/download-latest.ts",
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
- "next-factorio-version": "npm run download-latest-json-apis && npm run clean && npm run generate && npm run check && npm run new-version-changelog && npm version minor",
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": {