Merge pull request #6 from CarGDev/codex/automate-git-init-during-project-installation
Enable automatic git init
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
- **Atomic Design Structure**: Creates an atomic design folder structure to organize your components.
|
- **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.
|
- **Redux Setup**: Sets up Redux with slices, middleware, and selectors for state management.
|
||||||
- **Test Suite**: Installs Jest and Playwright for comprehensive testing.
|
- **Test Suite**: Installs Jest and Playwright for comprehensive testing.
|
||||||
|
- **Automatic Git Initialization**: Initializes a Git repository for your project during setup.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -38,6 +39,8 @@ npx react-crafter my-new-app
|
|||||||
|
|
||||||
Replace `my-new-app` with the name of your project.
|
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:
|
### Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ async function initProject(projectDirectory, userInput, options) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set up Git
|
// Set up Git
|
||||||
//setupGit(options);
|
setupGit(options);
|
||||||
// Install additional dependencies
|
// Install additional dependencies
|
||||||
installDependencies(userInput, options);
|
installDependencies(userInput, options);
|
||||||
// Install additional dev dependencies
|
// Install additional dev dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user