From e44b9f891c6e2dc33aef099fa324278f114503b7 Mon Sep 17 00:00:00 2001 From: Alona King Date: Thu, 4 Dec 2025 14:54:54 -0500 Subject: [PATCH 1/2] Add app config logging and startup message --- client/src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/src/index.js b/client/src/index.js index 7e031dc..0a8dba4 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -2,6 +2,12 @@ import React from 'react'; import { createRoot } from 'react-dom/client'; import App from './App'; import './styles.css'; +import { getConfig } from './config'; + +// App configuration and initialization +const APP_NAME = 'Tic Tac Toe'; +const config = getConfig(); +console.log(`Starting ${APP_NAME} v${config.version}...`); const root = createRoot(document.getElementById('root')); root.render(); \ No newline at end of file From 0e14f074451df3edb918f51aa0ffc365c77607a0 Mon Sep 17 00:00:00 2001 From: OpenHands Agent Date: Thu, 4 Dec 2025 20:05:41 +0000 Subject: [PATCH 2/2] fix(ci): restore missing client config import so webpack build succeeds\n\nAdd client/src/config.js exporting getConfig() with minimal version info to satisfy index.js import. This fixes CI build step failing with Module not found: './config'.\n\nCo-authored-by: openhands --- client/src/config.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 client/src/config.js diff --git a/client/src/config.js b/client/src/config.js new file mode 100644 index 0000000..512897b --- /dev/null +++ b/client/src/config.js @@ -0,0 +1,7 @@ +// Minimal client-side config used at runtime +// Keep this lightweight and avoid importing package.json in the browser build +export function getConfig() { + return { + version: '1.0.0' + }; +}