Skip to content

リファクタ: webディレクトリ削除でmonorepo構成に変更#36

Open
Kazuryu0907 wants to merge 5 commits into
mainfrom
refactor/monorepo-structure
Open

リファクタ: webディレクトリ削除でmonorepo構成に変更#36
Kazuryu0907 wants to merge 5 commits into
mainfrom
refactor/monorepo-structure

Conversation

@Kazuryu0907
Copy link
Copy Markdown
Owner

Summary

  • webディレクトリとweb controllerコンポーネントを削除
  • electronディレクトリの内容をルートレベルに移動
  • 単一のElectronアプリケーションにアーキテクチャを簡素化
  • CLAUDE.mdを新しいmonorepo構造に更新

Test plan

  • アプリケーションがルートレベルからビルドできることを確認
  • 開発コマンドが正常に動作することを確認
  • 既存の機能が影響を受けていないことを確認

🤖 Generated with Claude Code

kazuryu and others added 5 commits June 16, 2025 15:12
- Remove web directory and all web controller components
- Move electron directory contents to root level
- Update CLAUDE.md to reflect new monorepo structure
- Simplify architecture to single Electron application

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Add user-friendly error messages with actionable solutions
- Split complex authorization() method into modular step-based flow
- Unify configuration management with type safety and validation
- Add automatic migration from legacy config files
- Improve code maintainability and debugging capabilities

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace Webpack with Vite for faster development and build times
- Create separate Vite configs for main, preload, and renderer processes
- Update package.json scripts to use Vite commands
- Remove Webpack-related dependencies and add Vite dependencies
- Configure proper externalization of Node.js built-in modules
- Maintain existing functionality while improving developer experience

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace individual Vite configs (main/preload/renderer) with single electron.vite.config.ts
- Update package.json scripts to use electron-vite commands for unified development
- Modify main process to handle development/production URL loading correctly
- Update build output structure from dist/ to out/ directories for electron-vite standard
- Fix hardcoded Windows paths in hash.ts and Debug.tsx for cross-platform compatibility
- Remove obsolete electronmon configuration and separate build scripts
- Enable integrated HMR development experience with electron-vite

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove kill_controller function and related process management
- Remove automatic execution of mocaController.exe on app startup
- Remove process exit handlers for external controller cleanup
- Clean up unused imports (join, exec, execSync, spawn from child_process)
- Simplify app lifecycle management without external dependencies

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

Co-Authored-By: Claude <noreply@anthropic.com>
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