synthetic-factorio 0.2.4 → 0.4.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/README.md CHANGED
@@ -7,7 +7,9 @@ Synthetic Factorio nodeJS runtime for unit testing mods.
7
7
  This is **not** a Factorio emulator, it is not a game that can be played.
8
8
 
9
9
  ```typescript
10
- import { ModManager, FactorioEngine } from 'synthetic-factorio';
10
+ // defines are imported from synthetic-factorio not factorio-types.
11
+ // In factorio-types they're an ambient declaration, in synthetic-factorio they're a usable object.
12
+ import { ModManager, FactorioEngine, defines } from 'synthetic-factorio';
11
13
 
12
14
  const manager = new ModManager();
13
15
  // install vanilla "mod" data from https://github.com/wube/factorio-data (requires git CLI)