mons-rules 0.4.1 → 0.4.3

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
@@ -32,7 +32,7 @@ can vary with runtime, JIT, cache, and garbage-collection timing. Suggestions
32
32
  remain legal and do not mutate the source game. Environments without `WeakRef`
33
33
  use the canonical Fast and Normal selectors instead of the packed search path.
34
34
 
35
- Published JavaScript targets ES2020 and uses Web-standard `performance` and
35
+ Published JavaScript targets ES2022 and uses Web-standard `performance` and
36
36
  `crypto` globals. Node.js 22.13 through 22.x, or Node.js 24 or newer, is
37
37
  required for Node consumers and repository tooling.
38
38
 
@@ -43,6 +43,16 @@ npm ci --engine-strict
43
43
  npm run check
44
44
  ```
45
45
 
46
+ For a fast integrity check of the immutable complete-games corpus without a
47
+ rules replay, run:
48
+
49
+ ```sh
50
+ node ./scripts/run-complete-games.mjs --check-only
51
+ ```
52
+
53
+ The repository's intended dependency boundaries and tooling layout are
54
+ described in [docs/architecture.md on GitHub](https://github.com/supermetalmons/rules/blob/main/docs/architecture.md).
55
+
46
56
  ## Release
47
57
 
48
58
  ```sh
@@ -1,4 +1,4 @@
1
1
  export { Game } from "../api/game.js";
2
2
  export { resolveMatch } from "../api/winner.js";
3
- export { Color, Consumable, GameVariant, Modifier, MonKind, } from "../api/types.js";
3
+ export { Color, Consumable, GameVariant, Modifier, MonKind } from "../api/types.js";
4
4
  export type { AvailableMoveCounts, BoardItem, GameEvent, Input, InputResolution, Mana, Mon, Position, Square, } from "../api/types.js";