Commit Graph

6 Commits

Author SHA1 Message Date
Leon van Zyl
654a3cf84c add file storage, local and prod 2025-11-30 08:16:24 +02:00
Leon van Zyl
9224b0a44e chore: upgrade Next.js 15.4.6 to 16.0.3 with full stack updates
Successfully upgraded the project from Next.js 15 to Next.js 16 stable release
with all related dependencies and configuration updates.

## Package Upgrades
- Next.js: 15.4.6 → 16.0.3
- React: 19.1.0 → 19.2.0
- React DOM: 19.1.0 → 19.2.0
- @types/react: 19.2.2 → 19.2.5
- @types/react-dom: 19.2.2 → 19.2.3
- eslint-config-next: 15.4.6 → 16.0.3

## Configuration Changes
- Removed --turbopack flag from dev script (now default in Next.js 16)
- Updated lint script from 'next lint' to 'eslint .' for better compatibility
- Migrated ESLint config from FlatCompat to native flat config format
- Removed @eslint/eslintrc dependency (no longer needed)
- Added pnpm overrides for React type definitions

## ESLint Configuration
- Converted from FlatCompat compatibility layer to direct import
- Now using eslint-config-next/core-web-vitals directly
- Added ignores for .next, node_modules, .cache, dist, and build directories
- Simplified configuration structure for better maintainability

## TypeScript Configuration
- Auto-updated by Next.js 16 build process
- Changed jsx from 'preserve' to 'react-jsx' (React automatic runtime)
- Added '.next/dev/types/**/*.ts' to include paths

## MCP Configuration
- Removed unused context7 MCP server configuration
- Updated next-devtools command to use direct npx instead of cmd wrapper

## Verification
- Build:  Successful (compiled in 2.8s with Turbopack)
- Lint:  No errors or warnings
- TypeScript:  Type checking passed
- Browser:  App loads and runs correctly

This upgrade brings all the latest Next.js 16 features and improvements
including Turbopack as the default bundler, improved build performance,
and enhanced developer experience.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 09:04:14 +02:00
Leon van Zyl
bd74276feb fix/ remove container name from docker compose 2025-11-06 07:17:58 +02:00
Leon van Zyl
61e98f23cf refactor/ migrate from OpenAI to OpenRouter integration
Major improvements to AI integration and developer experience:

## OpenRouter Migration
- Replaced @ai-sdk/openai with @openrouter/ai-sdk-provider
- Updated chat API route to use OpenRouter for access to 100+ AI models
- Changed environment variables from OPENAI_* to OPENROUTER_*
- Updated default model from gpt-5-mini to openai/gpt-5-mini
- Benefits: Users can now access multiple AI providers (OpenAI, Anthropic, etc.) through a single unified API

## Documentation Overhaul
- Expanded CLAUDE.md from 3 lines to comprehensive 225-line guide
- Added complete project structure, tech stack overview, and AI integration guidelines
- Documented all environment variables, scripts, and common tasks
- Added critical rules for AI assistants working with the codebase
- Enhanced checkpoint command with detailed step-by-step instructions

## README Updates
- Updated feature list to highlight OpenRouter integration
- Revised setup instructions for OpenRouter API key acquisition
- Updated environment variable examples and deployment configuration
- Changed all OpenAI references to OpenRouter throughout documentation

## Create Command Updates
- Bumped create-agentic-app version from 1.0.0 to 1.0.1
- Synchronized all template files with main project documentation
- Updated template env.example and package.json with OpenRouter configuration

## Dependency Updates
- Added @openrouter/ai-sdk-provider@^1.2.0
- Updated @ai-sdk/openai from ^2.0.53 to ^2.0.60
- Updated @ai-sdk/react from ^2.0.78 to ^2.0.86
- Updated ai from ^5.0.78 to ^5.0.86
- Updated better-auth from ^1.3.29 to ^1.3.34
- Updated drizzle-kit from ^0.31.5 to ^0.31.6
- Updated eslint from ^9.38.0 to ^9.39.0
- Various type definition updates

Breaking Changes:
- Projects must update environment variables from OPENAI_* to OPENROUTER_*
- API keys must be obtained from openrouter.ai instead of platform.openai.com
- Model names now follow OpenRouter format (e.g., "openai/gpt-5-mini")

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 14:49:40 +02:00
Leon van Zyl
9ca00bec8f feat/ add npx setup process 2025-11-02 09:05:32 +02:00
Leon van Zyl
ec929ab918 npx command 2025-11-02 08:45:37 +02:00