wethegit / corgi

Toolkit for Statically-generated React projects.
https://wethegit.github.io/corgi/
MIT License
2 stars 1 forks source link

.gitignore is missing from bootstrapped projects #110

Closed andrewrubin closed 5 months ago

andrewrubin commented 6 months ago

Title says it all

SahilThakur02 commented 6 months ago

@andrewrubin I can see a .gitignore file in the directory. What exactly is the issue?

liamegan commented 6 months ago

@SahilThakur02

~/Projects $ nvm use 20
Now using node v20.10.0 (npm v10.2.3)
~/Projects $ npx @wethegit/corgi@latest project my-web-app
Need to install the following packages:
@wethegit/corgi@3.0.18
Ok to proceed? (y) y
Enter the Github URL to use as a project template (optional; press enter to skip):
🐶 Success: Project setup complete.

To get started, run:
-
cd my-web-app
- nvm use (if using nvm)
- npm install
- npm start
~/Projects $ cd my-web-app/
~/P/my-web-app $ ls -al
total 60
drwxr-xr-x 5 liamegan liamegan 4096 Mar 13 08:06 ./
drwxr-xr-x 9 liamegan liamegan 4096 Mar 13 08:06 ../
-rw-r--r-- 1 liamegan liamegan  569 Mar 13 08:06 .eslintrc.yml
-rw-r--r-- 1 liamegan liamegan    8 Mar 13 08:06 .nvmrc
-rw-r--r-- 1 liamegan liamegan   64 Mar 13 08:06 .prettierignore
-rw-r--r-- 1 liamegan liamegan   91 Mar 13 08:06 .prettierrc.yml
-rw-r--r-- 1 liamegan liamegan 1081 Mar 13 08:06 .stylelintrc.yml
drwxr-xr-x 2 liamegan liamegan 4096 Mar 13 08:06 .vscode/
-rw-r--r-- 1 liamegan liamegan  347 Mar 13 08:06 README.md
-rw-r--r-- 1 liamegan liamegan   39 Mar 13 08:06 env.example
-rw-r--r-- 1 liamegan liamegan  122 Mar 13 08:06 jsconfig.json
-rw-r--r-- 1 liamegan liamegan 1196 Mar 13 08:06 next.config.js
-rw-r--r-- 1 liamegan liamegan  803 Mar 13 08:06 package.json
drwxr-xr-x 4 liamegan liamegan 4096 Mar 13 08:06 public/
drwxr-xr-x 9 liamegan liamegan 4096 Mar 13 08:06 src/
SahilThakur02 commented 6 months ago

I just need to open the directory in terminal and run touch .gitignore If I am not wrong? @liamegan

liamegan commented 6 months ago

@SahilThakur02 no, a populated .gitignore should be included as a part of the project setup.