Skip to content

BUG Missing Git Ignore #106

@codingwithmanny

Description

@codingwithmanny

Context

Missing .gitignore when creating a new project.

Steps To Reproduce

pnpm create vocs;

# follow steps

Then take a look at the full directory.

tree .;

.
├── README.md
├── docs
│   └── pages
│       ├── example.mdx
│       ├── getting-started.mdx
│       └── index.mdx
├── package.json
├── tsconfig.json
└── vocs.config.ts

Solution

Include the .gitignore with ./create-vocs/templates/default/.gitignore

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# production
/docs/dist

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# typescript
*.tsbuildinfo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions