Kafkatorio/modules
Lazzexus e296a9aa90 Fix compile errors surfaced by actually building against Factorio 2.0.77
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>
2026-10-12 15:27:50 +02:00
..
events-library Port events-mod to Factorio 2.0.77, declare SE/Krastorio 2 compatibility 2026-10-12 15:06:30 +02:00
events-mod Fix compile errors surfaced by actually building against Factorio 2.0.77 2026-10-12 15:27:50 +02:00
events-processor-core fix bootstrap server, remove http:// 2022-10-23 21:54:38 +02:00
events-processors big ol' refactor of the Gradle Factorio Mod 2022-12-18 01:41:14 +01:00
events-server [docker-files] remove user config 2022-10-22 23:36:00 +02:00
events-server-syslog [docker-files] remove user config 2022-10-22 23:36:00 +02:00
events-server-web [docker-files] remove user config 2022-10-22 23:36:00 +02:00
infra-factorio-client tidy up after refactoring Gradle Factorio plugin 2022-12-19 16:53:18 +01:00
infra-factorio-server Port events-mod to Factorio 2.0.77, declare SE/Krastorio 2 compatibility 2026-10-12 15:06:30 +02:00
infra-kafka-cluster adjust geedeecee config, so images can be built 2022-10-05 00:06:46 +02:00
infra-kafka-pipe update dockerfiles 2022-10-22 19:55:02 +02:00
kt-rcon migrate buildSrc plugins to includedBuild plugins 2022-09-18 20:49:32 +02:00
versions-platform adjust geedeecee config, so images can be built 2022-10-05 00:06:46 +02:00
web-map version bumps 2022-12-06 00:23:52 +01:00
modules.md big ol' refactor to split up the events-server and events-processors 2022-09-13 17:56:57 +02:00