From 0be953ce91a74cd0d494b4a72dbd62627795f0f7 Mon Sep 17 00:00:00 2001 From: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Mon, 17 Nov 2025 20:50:26 -0500 Subject: [PATCH] Initialize git repository and make initial commit Added git initialization and initial commit commands. --- packages/springboard/create-springboard-app/src/cli.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/springboard/create-springboard-app/src/cli.ts b/packages/springboard/create-springboard-app/src/cli.ts index 2630f8d7..14d7242f 100644 --- a/packages/springboard/create-springboard-app/src/cli.ts +++ b/packages/springboard/create-springboard-app/src/cli.ts @@ -31,7 +31,6 @@ program let packageManager = 'npm'; try { execSync('pnpm --version', {cwd: process.cwd(), stdio: 'ignore'}); - console.log('Using pnpm as the package manager\n'); packageManager = 'pnpm'; } catch (error) { } @@ -51,6 +50,7 @@ program 'node_modules', 'dist', 'data/kv_data.json', + 'data/kv_data.db', ]; writeFileSync('./.gitignore', gitIgnore.join('\n'), {flag: 'a'}); @@ -80,6 +80,10 @@ program writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); + execSync('git init', {cwd: process.cwd()}); + execSync('git add .', {cwd: process.cwd()}); + execSync('git commit -m "Initial commit"', {cwd: process.cwd()}); + console.log('Project created successfully! Run the following to start the development server:\n'); console.log('npm run dev\n'); });