| ci: add typecheck job to CI workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| style(cli): fix Biome formatting in SelectPrompt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| chore: remove docs/superpowers directory Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| fix(abilities): add isWarrior to Unit interface and fix direction types Add missing isWarrior() to the abilities-local Unit interface so the contract matches what abilities now call. Also annotate direction params in runLevel test helpers with RelativeDirection to fix pre-existing type errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| Optimize SVGs | 8 年前 |
| refactor: separate UI concerns from core game engine Remove character, color, and text log composition from the core engine. Replace with structured actions and a CLI-side unit appearance registry. Core: - Replace unit.log(message) with unit.emit(action) using typed GameAction objects with template descriptions and structured params (including UnitRef) - Remove character and color from Unit, WarriorConfig, WarriorDefinition - TurnEvent now has actor: { name, warrior } | null instead of unit: { name, color } - FloorSpace (formerly FloorMapCell) uses sparse optional fields - Space.toJSON() produces { wall?, stairs?, warrior?, unit? } — only truthy values Abilities/Effects: - All abilities emit structured actions with { type, description, params } - Description uses template syntax (e.g. "attacks {direction} and hits {target}") - Unit references in params use { type: 'unit', name } for CLI colorization Towers: - Warrior character and color removed from tower definitions (CLI concern) CLI: - Unit appearance registry maps unit names to chalk colors and characters - Warrior always renders as '@' via warrior flag in FloorSpace/TurnEvent - interpolateAction utility for template-based rendering - FloorMap derives wall box-drawing characters from grid position - LogArea colorizes from structured action data instead of regex on strings Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| Introduce end-of-line normalization (#163) | 8 年前 |
| Introduce end-of-line normalization (#163) | 8 年前 |
| refactor: switch build output from lib/ to dist/ Update tsconfig, package.json, .gitignore, turbo.json, biome.json, vitest config, and CLI bin entry point to use dist/ as the build output directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| Update CHANGELOG.md | 7 年前 |
| docs: update CLAUDE.md build output reference to dist/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| docs: upgrade Code of Conduct to Contributor Covenant v2.1 - Add Enforcement Guidelines with four escalation levels - Broaden inclusion language (caste, color, sex characteristics) - Update contact email - Replace "project maintainers" with "community leaders" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| refactor: rename packages/ to libs/ Shared libraries now live in libs/ to avoid ambiguity with the other workspace directories (apps/, towers/) which are also technically packages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| Change project structure to multi-package repo Also known as "monorepo". | 8 年前 |
| docs: rewrite contributing guide and README narrative - Lead with tower-building as the most unique contribution type - Consolidate setup and workflow into a single flow - Surface Conventional Commits convention - Replace outdated egghead link with GitHub's own guide - Remove preview GIF, backers, sponsors, and contributors sections - Update Guillermo Cura link to GitHub profile Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| style: enforce import ordering and inline type imports Configure Biome to sort imports (node > packages > relative) with a blank line separator, and use inline type imports. Auto-fix applied across all packages. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| chore(lefthook): use pnpm instead of npx to run biome Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| fix: correct clean script to remove dist directories The clean script referenced libs/*/lib which doesn't match the actual build output directory (dist/). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| refactor(cli): replace mock-fs and array-shuffle with modern alternatives Replace mock-fs with memfs (typed, actively maintained) and array-shuffle with an inline Fisher-Yates shuffle utility. Remove declarations.d.ts as all ambient module declarations are no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| refactor: rename packages/ to libs/ Shared libraries now live in libs/ to avoid ambiguity with the other workspace directories (apps/, towers/) which are also technically packages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| build(typescript): use NodeNext module resolution Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | 6 个月前 |
| build: add typecheck script with per-package tsconfig split Split each package's tsconfig.json into tsconfig.json (includes tests, used by editor and typecheck) and tsconfig.build.json (excludes tests, used by build). Add typecheck Turborepo task and root script. Fix type errors in tests that were previously hidden by the test exclusion. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |
| test(cli): fix React act() warnings in Ink component tests Configure IS_REACT_ACT_ENVIRONMENT and mock ink-testing-library to auto-wrap render(), rerender(), and stdin.write() in act(). Also wrap waitForRender in act() to capture async state updates. Use vitest projects to scope the setup file to the cli package. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> | 6 个月前 |