feat: enhance development environment with Docker support and UI improvements

- Introduced a new `docker-compose.dev.yml` for development mode, enabling live reload and improved container management.
- Updated `dev.mjs` to utilize `launchDockerDevContainers` for starting development containers with live reload capabilities.
- Refactored `printModeMenu` to differentiate between development and production Docker options.
- Enhanced the `BoardView` and `KanbanBoard` components by streamlining props and improving UI interactions.
- Removed the `start.mjs` script, consolidating production launch logic into `dev.mjs` for a more unified approach.
This commit is contained in:
webdevcody
2026-01-06 16:11:29 -05:00
parent f9b0a38642
commit a4290b5863
12 changed files with 575 additions and 432 deletions

View File

@@ -26,7 +26,7 @@ import {
startServerAndWait,
ensureDependencies,
prompt,
launchDockerContainers,
launchDockerDevContainers,
} from './scripts/launcher-utils.mjs';
const __filename = fileURLToPath(import.meta.url);
@@ -88,7 +88,7 @@ async function main() {
const { webPort, serverPort, corsOriginEnv } = await resolvePortConfiguration();
// Show mode selection menu
printModeMenu();
printModeMenu({ isDev: true });
// Setup cleanup handlers
const cleanup = createCleanupHandler(processes);
@@ -170,7 +170,7 @@ async function main() {
break;
} else if (choice === '3') {
console.log('');
await launchDockerContainers({ baseDir: __dirname, processes });
await launchDockerDevContainers({ baseDir: __dirname, processes });
break;
} else {
log('Invalid choice. Please enter 1, 2, or 3.', 'red');