This directory contains code shared between the frontend and backend.
types.ts
- TypeScript interfaces and typesutils.ts
- Utility functions for parsing commits and generating markdownGitHubCommit
- GitHub API commit structureReleaseNotesRequest
- Request format for generating release notesReleaseNotesResponse
- Response format with generated release notesReleaseNoteSection
- Section of categorized commitsReleaseNoteItem
- Individual commit entry in release notesCOMMIT_TYPES
- Mapping of conventional commit types to human-readable titlesparseCommitMessage
- Parse a commit message according to conventional commit formatgroupCommitsByType
- Group commits by type for structured release notesgenerateMarkdown
- Generate markdown for release notesformatDate
- Format date to YYYY-MM-DD