mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-20 22:24:28 +01:00
feat: optimize Docker build performance and add version validation (#176)
This commit is contained in:
11
CLAUDE.md
11
CLAUDE.md
@@ -24,6 +24,15 @@ HabitTrove is a gamified habit tracking PWA built with Next.js 15, TypeScript, a
|
||||
- `docker compose up -d` - Run with docker-compose (recommended)
|
||||
- Requires `AUTH_SECRET` environment variable: `openssl rand -base64 32`
|
||||
|
||||
## Version Management
|
||||
|
||||
### Creating a New Version
|
||||
1. Update version in `package.json`
|
||||
2. Update `CHANGELOG.md` with new version and changes (follow existing patterns in the file)
|
||||
3. Run `npm run typecheck && npm run lint` to ensure code quality
|
||||
4. Commit changes: `git add . && git commit -m "feat: description"`
|
||||
* Follow Conventional Commits Standard: `<type>[scope]: <description>` (e.g., `feat(auth): add OAuth integration`, `fix: resolve memory leak in task loader`).
|
||||
|
||||
## Architecture Overview
|
||||
|
||||
### State Management (Jotai)
|
||||
@@ -88,4 +97,4 @@ Reference `CoinsManager.tsx:107-119` for admin user selection implementation. Si
|
||||
## Performance Considerations
|
||||
- State updates use immutable patterns
|
||||
- Large dataset filtering happens at hook level
|
||||
- Derived atoms prevent unnecessary re-renders
|
||||
- Derived atoms prevent unnecessary re-renders
|
||||
|
||||
Reference in New Issue
Block a user