- Add dark mode color adjustment helper for category colors - Support multiple motivational quote source URLs - Fix text wrapping for tasks/events to prevent horizontal overflow - Improve someday list item layout for long text - Add CLAUDE.md with semantic versioning and git workflow rules - Update test/doc URLs and planning docs v1.1.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Project Instructions for Claude Code
Project Overview
My Weekly ToDo List - A web-based weekly task management application built with Next.js. Deployed at: todo.martin-bierschenk.de
Git Workflow & Versioning
Branch Strategy (Git Flow Lite)
main- stable, deployed to todo.martin-bierschenk.dedev- working branch for new features- Feature branches off
devfor larger work - Merge
dev→mainwhen ready to deploy mainalways reflects what's live
Semantic Versioning (REQUIRED for every commit)
Use semver (MAJOR.MINOR.PATCH) in package.json:
Version bump rules:
- PATCH (x.x.+1): Bug fixes, typo corrections, minor CSS tweaks, dependency updates
- Commit prefix:
fix:,chore:,style:,docs:
- Commit prefix:
- MINOR (x.+1.0): New features, significant UI changes, new integrations
- Commit prefix:
feat:
- Commit prefix:
- MAJOR (+1.0.0): Breaking changes (database migrations, API changes, auth changes)
- Commit prefix: any with
BREAKING CHANGEin body
- Commit prefix: any with
On every git commit, you MUST:
- Determine the version bump type based on changes (patch/minor/major)
- Update the
versionfield inpackage.json - Include the new version in the commit message footer, e.g.:
v1.1.0 - After committing, create a git tag:
git tag v<version>
Commit message format:
<type>: <description>
<optional body>
v<new-version>
Example:
feat: add Microsoft To-Do integration
Sync tasks bidirectionally with Microsoft To-Do API.
v1.1.0
Current Version
Check package.json → version field for the current version before bumping.