typed-factorio 2.0.0+ stopped declaring types as ambient globals - they
now live in virtual modules ("factorio:runtime", "factorio:common",
"factorio:settings") and must be explicitly imported. Adds those imports
throughout events-mod. Also:
- Bumps typescript-to-lua 1.11.1 -> 1.25.2 and typescript 4.9 -> 5.4.2,
since tstl pins an exact peer TypeScript version and typed-factorio
3.x needs a newer one than 4.9 supports (a real compiler bug in
TS 4.9 against the generated defines.segmented_unit_ai_state enum).
- Bumps the pinned isolated Node (14.19.1 -> 24.21.0), since
typescript-to-lua 1.25.2 requires Node >=16.10.0.
- Renames bare uint/int -> uint32/int32 (import aliases), since the
unsized aliases no longer exist.
- Drops OnEntityDestroyedEvent from an unused documentation-only union
type - that event no longer exists in the 2.0 API.
- LuaEntityPrototype.max_health is now get_max_health() (quality-aware).
- Fixes a branded-type mismatch between our generated schema's
ForceIndex and typed-factorio's own ForceIndex.
Verified by actually running tstl end-to-end (clean compile, Lua
emitted) after installing a real JDK and Node toolchain.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
200 lines
7.1 KiB
JSON
200 lines
7.1 KiB
JSON
{
|
|
"name": "kafkatorio-events-mod",
|
|
"version": "0.10.1",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "kafkatorio-events-mod",
|
|
"version": "0.10.1",
|
|
"license": "GPL-3.0-only",
|
|
"dependencies": {
|
|
"lua-types": "2.13.1",
|
|
"typed-factorio": "3.36.0",
|
|
"typescript": "5.4.2",
|
|
"typescript-to-lua": "1.25.2"
|
|
},
|
|
"devDependencies": {},
|
|
"engines": {
|
|
"node": ">=16.10.0"
|
|
}
|
|
},
|
|
"node_modules/@typescript-to-lua/language-extensions": {
|
|
"version": "1.19.0",
|
|
"resolved": "https://registry.npmjs.org/@typescript-to-lua/language-extensions/-/language-extensions-1.19.0.tgz",
|
|
"integrity": "sha512-Os5wOKwviTD4LeqI29N0btYOjokSJ97iCf45EOjIABlb5IwNQy7AE/AqZJobRw3ywHH8+KzJUMkEirWPzh2tUA=="
|
|
},
|
|
"node_modules/enhanced-resolve": {
|
|
"version": "5.26.0",
|
|
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz",
|
|
"integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==",
|
|
"dependencies": {
|
|
"graceful-fs": "^4.2.4",
|
|
"tapable": "^2.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.13.0"
|
|
}
|
|
},
|
|
"node_modules/es-errors": {
|
|
"version": "1.3.0",
|
|
"resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
|
|
"integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
}
|
|
},
|
|
"node_modules/function-bind": {
|
|
"version": "1.1.2",
|
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
|
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
}
|
|
},
|
|
"node_modules/graceful-fs": {
|
|
"version": "4.2.11",
|
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
|
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
|
|
},
|
|
"node_modules/hasown": {
|
|
"version": "2.0.4",
|
|
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
|
|
"integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
|
|
"dependencies": {
|
|
"function-bind": "^1.1.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
}
|
|
},
|
|
"node_modules/is-core-module": {
|
|
"version": "2.17.0",
|
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz",
|
|
"integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==",
|
|
"dependencies": {
|
|
"hasown": "^2.0.4"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
}
|
|
},
|
|
"node_modules/lua-types": {
|
|
"version": "2.13.1",
|
|
"resolved": "https://registry.npmjs.org/lua-types/-/lua-types-2.13.1.tgz",
|
|
"integrity": "sha512-rRwtvX6kS+5MpuO3xpvKsnYjdSDDI064Qq1OqX8gY+r+0l7m3dFLiZPDFoHqH22jaBpEvcHcPs6+WD7qkdmFsA=="
|
|
},
|
|
"node_modules/path-parse": {
|
|
"version": "1.0.7",
|
|
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
|
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
|
|
},
|
|
"node_modules/picomatch": {
|
|
"version": "2.3.2",
|
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
|
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
|
"engines": {
|
|
"node": ">=8.6"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/jonschlinkert"
|
|
}
|
|
},
|
|
"node_modules/resolve": {
|
|
"version": "1.22.13",
|
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.13.tgz",
|
|
"integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==",
|
|
"dependencies": {
|
|
"es-errors": "^1.3.0",
|
|
"is-core-module": "^2.17.0",
|
|
"path-parse": "^1.0.7",
|
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
|
},
|
|
"bin": {
|
|
"resolve": "bin/resolve"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
}
|
|
},
|
|
"node_modules/source-map": {
|
|
"version": "0.7.6",
|
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
|
|
"integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
|
|
"engines": {
|
|
"node": ">= 12"
|
|
}
|
|
},
|
|
"node_modules/supports-preserve-symlinks-flag": {
|
|
"version": "1.0.0",
|
|
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
|
|
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
|
|
"engines": {
|
|
"node": ">= 0.4"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
}
|
|
},
|
|
"node_modules/tapable": {
|
|
"version": "2.3.3",
|
|
"resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",
|
|
"integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/webpack"
|
|
}
|
|
},
|
|
"node_modules/typed-factorio": {
|
|
"version": "3.36.0",
|
|
"resolved": "https://registry.npmjs.org/typed-factorio/-/typed-factorio-3.36.0.tgz",
|
|
"integrity": "sha512-gUrENjoV8M9H9CDAZrJwU7pRXEuo2voeYgwm6/ZNFVtrCjbQOjwYw1C6Qm3PiEDCGL0FEJobwo3k0XVqtLCIBA==",
|
|
"peerDependencies": {
|
|
"lua-types": "^2.13.1",
|
|
"typescript-to-lua": "^1.10.0"
|
|
}
|
|
},
|
|
"node_modules/typescript": {
|
|
"version": "5.4.2",
|
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
|
|
"integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==",
|
|
"bin": {
|
|
"tsc": "bin/tsc",
|
|
"tsserver": "bin/tsserver"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.17"
|
|
}
|
|
},
|
|
"node_modules/typescript-to-lua": {
|
|
"version": "1.25.2",
|
|
"resolved": "https://registry.npmjs.org/typescript-to-lua/-/typescript-to-lua-1.25.2.tgz",
|
|
"integrity": "sha512-jBPE/6RRm5GZwH3qiqLcecQQ5vwk4jHuNaLyINE95f9pmRAoJ2DeqvgyuZ22luMnAYdZ3Td2dsA0MqGTt8IfBg==",
|
|
"dependencies": {
|
|
"@typescript-to-lua/language-extensions": "1.19.0",
|
|
"enhanced-resolve": "^5.8.2",
|
|
"picomatch": "^2.3.1",
|
|
"resolve": "^1.15.1",
|
|
"source-map": "^0.7.3"
|
|
},
|
|
"bin": {
|
|
"tstl": "dist/tstl.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.10.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "5.4.2"
|
|
}
|
|
}
|
|
}
|
|
}
|