Skip to content

CLI moved to a separate package, `BoardField` type exported, and codebase cleaned up.

Choose a tag to compare

@TenGosc007 TenGosc007 released this 17 May 16:28
· 21 commits to main since this release
b913e4d

1.2.0 - 2026-05-17

Added

  • Exported BoardField and IBoard types from the public API (index.ts)
  • Added BoardField type alias (number | PlayerSymbol) to types/Board.ts

Changed

  • CLI (src/ui/) moved to a separate repository t3core-cli — npx t3core-cli
  • bin field removed from package.json — t3core is now a pure library
  • GameEventPayload uses BoardField[] instead of (number | PlayerSymbol)[]
  • GameEventMap[PLAYER_MOVE] payload simplified to { index: number } (full state available via game.snapshot)
  • IBoard and IGame use BoardField consistently
  • tsconfig.json cleaned up — removed unused path alias @/* and narrowed include
  • CI workflows (publish.yml, pull-request.yml) updated to use yarn test --run

Removed

  • CLI entry point index.ts and src/ui/ removed from this repository
  • ts-node, ts-node-dev, tsconfig-paths removed from devDependencies