typed-factorio 1.17.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typed-factorio",
3
- "version": "1.17.0",
4
- "description": "Featureful typescript definitions for the the Factorio modding lua api.",
3
+ "version": "2.0.1",
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": "yarn run lint && yarn run generate && yarn run test",
26
- "prepublishOnly": "yarn run check",
27
- "download-latest-runtime-api": "ts-node --esm ./scripts/download-latest.ts",
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": "yarn run download-latest-runtime-api && yarn run clean && yarn run check && yarn run new-version-changelog && npm version minor"
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.6.1"
33
+ "typescript-to-lua": "^1.10.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/jest": "^29.5.2",
37
- "@types/node": "^20.3.1",
38
- "@types/prettier": "^2.7.3",
39
- "@typescript-eslint/eslint-plugin": "^5.59.11",
40
- "@typescript-eslint/parser": "^5.59.11",
41
- "array.prototype.flatmap": "^1.3.1",
42
- "chalk": "^5.2.0",
43
- "eslint": "~8.42.0",
44
- "eslint-config-prettier": "^8.8.0",
45
- "eslint-import-resolver-typescript": "^3.5.5",
46
- "eslint-plugin-eslint-comments": "latest",
47
- "eslint-plugin-import": "^2.27.5",
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": "^4.2.1",
50
- "jest": "^29.5.0",
49
+ "eslint-plugin-prettier": "^5.0.0",
51
50
  "lua-types": "^2.13.1",
52
- "prettier": "^2.8.8",
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.1.3",
57
- "typescript-to-lua": "^1.16.2"
58
- },
59
- "packageManager": "yarn@3.2.3"
54
+ "typescript": "~5.2.2",
55
+ "typescript-to-lua": "^1.19.0"
56
+ }
60
57
  }