Skip to content

refactor: Remove deprecated exports and migrate to DefinitionRegistry#1202

Merged
braedonsaunders merged 2 commits into
mainfrom
claude/remove-deprecated-exports-43vcs
Jan 31, 2026
Merged

refactor: Remove deprecated exports and migrate to DefinitionRegistry#1202
braedonsaunders merged 2 commits into
mainfrom
claude/remove-deprecated-exports-43vcs

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner
  • Remove deprecated shiftHeld property from GameCommand (use queue instead)
  • Remove deprecated DOMINION_UNITS, DOMINION_BUILDINGS, DOMINION_RESEARCH, and WALL_BUILDINGS proxy array exports
  • Remove deprecated generateCommandId/resetCommandIdCounter wrapper functions
  • Migrate BattleSimulatorPanel to use DefinitionRegistry.getAllUnits()
  • Update tests to use commandIdGenerator directly and WALL_DEFINITIONS
  • Keep legacy remotePeerId as fallback for single-peer multiplayer mode

The deprecated proxy arrays were unused backwards-compatibility shims. All code now uses DefinitionRegistry directly for definition access.

https://claude.ai/code/session_013kqzknKuFTPmimEQVm47Ch

- Remove deprecated shiftHeld property from GameCommand (use queue instead)
- Remove deprecated DOMINION_UNITS, DOMINION_BUILDINGS, DOMINION_RESEARCH,
  and WALL_BUILDINGS proxy array exports
- Remove deprecated generateCommandId/resetCommandIdCounter wrapper functions
- Migrate BattleSimulatorPanel to use DefinitionRegistry.getAllUnits()
- Update tests to use commandIdGenerator directly and WALL_DEFINITIONS
- Keep legacy remotePeerId as fallback for single-peer multiplayer mode

The deprecated proxy arrays were unused backwards-compatibility shims.
All code now uses DefinitionRegistry directly for definition access.

https://claude.ai/code/session_013kqzknKuFTPmimEQVm47Ch
@braedonsaunders braedonsaunders force-pushed the claude/remove-deprecated-exports-43vcs branch from 93427ff to 5f83a73 Compare January 31, 2026 05:25
@braedonsaunders braedonsaunders merged commit 4d4d417 into main Jan 31, 2026
1 of 4 checks passed
@braedonsaunders braedonsaunders deleted the claude/remove-deprecated-exports-43vcs branch February 2, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants