Merge pull request #6 from CarGDev/codex/automate-git-init-during-project-installation

Enable automatic git init
This commit is contained in:
CarGDev
2025-07-01 22:34:40 -04:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
- **Atomic Design Structure**: Creates an atomic design folder structure to organize your components.
- **Redux Setup**: Sets up Redux with slices, middleware, and selectors for state management.
- **Test Suite**: Installs Jest and Playwright for comprehensive testing.
- **Automatic Git Initialization**: Initializes a Git repository for your project during setup.
## Installation
@@ -38,6 +39,8 @@ npx react-crafter my-new-app
Replace `my-new-app` with the name of your project.
The setup process automatically runs `git init` so your project starts with version control enabled.
### Example:
```bash

View File

@@ -48,7 +48,7 @@ async function initProject(projectDirectory, userInput, options) {
}
// Set up Git
//setupGit(options);
setupGit(options);
// Install additional dependencies
installDependencies(userInput, options);
// Install additional dev dependencies