Skip to content

Unify file naming convention to PascalCase - #218

Merged
shimpeiws merged 2 commits into
mainfrom
issue-215-unify-file-naming-convention
Mar 15, 2026
Merged

shimpeiws merged 2 commits into
mainfrom
issue-215-unify-file-naming-convention

Conversation

@shimpeiws

Copy link
Copy Markdown
Owner

Summary

Implements issue #215 by renaming all kebab-case module files to PascalCase, aligning file names with their primary exports and React/TypeScript conventions.

  • Rename 44 source files and co-located test files from kebab-case to PascalCase
  • Update all import paths across source, test, and integration files
  • Add ADR-0004 documenting the file naming convention decision

Changes

  • docs/adr/0004-unify-file-naming-convention.md: New ADR documenting the naming rules
  • src/commands/: generate-callout.ts -> GenerateCallout.ts
  • src/config/: cli-args.ts, config-file.ts, env-vars.ts, resolve-config.ts -> PascalCase
  • src/infrastructure/: reaction-config.ts, domain-errors.ts, ollama-errors.ts -> PascalCase
  • src/repositories/: All 8 repository files -> PascalCase
  • src/services/: All service files across context/, conversation/, follow-up/, llm/, queue/, trends/, wordgrain/, language/ -> PascalCase
  • src/ui/utils/: date-formatter.ts, text-truncate.ts -> PascalCase
  • All index.ts and test files: Import paths updated to match new file names

Test plan

  • pnpm type-check passes
  • pnpm lint passes (Biome CI)
  • pnpm test passes (all 63 test files, 975 tests)
  • pnpm ci:all passes

Shin Takamatsu added 2 commits March 16, 2026 05:28
Rename all kebab-case module files to PascalCase to match their primary
exports and align with React/TypeScript community conventions.

Changes:
- Add ADR-0004 documenting the file naming convention decision
- Rename 44 source files and their co-located test files
- Update all import paths across source, test, and integration files
- Generic files (index.ts, types.ts, errors.ts, etc.) remain lowercase

Implements issue #215
@shimpeiws
shimpeiws merged commit b08cf15 into main Mar 15, 2026
6 checks passed
@shimpeiws
shimpeiws deleted the issue-215-unify-file-naming-convention branch March 15, 2026 20:32
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.

1 participant