onedesign / generator-one-base

A foundation for One Design Company projects on the web.
Other
1 stars 1 forks source link

Add Gitignore #100

Closed MikeMcChillin closed 6 years ago

MikeMcChillin commented 6 years ago

Maybe this as a base for craft projects (pulled from https://github.com/onedesign/realtor/blob/master/.gitignore)?

# System
# ---------------------------
.DS_Store
Thumbs.db

# Config
# ---------------------------
*.esproj
*.sublime-project
*.sublime-workspace
*.vscode
*.tmproj
*.tmproject
.env
.env.php
.idea
.project
.settings

# Compiled Files
# ---------------------------
/dist/

# Craft
# ---------------------------
/craft/rev-manifest.json
/craft/templates/_svg
/craft/storage/*
!/craft/storage/.htaccess

/craft/plugins/*
!/craft/plugins/assetrev
!/craft/plugins/fruitlinkit
!/craft/plugins/imager
!/craft/plugins/supertable
!/craft/plugins/realtorlogic
!/craft/plugins/realtorlogic/vendor/*
!/craft/plugins/redactorextras
!/craft/plugins/typogrify
!/craft/plugins/freeform
!/craft/plugins/sproutimport
!/craft/plugins/sitemap

# Craft Public
# ---------------------------
/public/*
!/public/.htaccess
!/public/index.php
!/public/*.txt
!/public/*.png
!/public/*.ico

# Package Managers
# ---------------------------
/vendor/
/node_modules/

# Temp
# ---------------------------
.cache
*.log
/logs/
/tmp

# VM
# ---------------------------
.vagrant/*
cmalven commented 6 years ago

@MikeMcChillin

Looks like the .gitignore you pasted here is actually based on – and almost exactly the same as – the .gitignore that is already being created by the generator https://github.com/onedesign/generator-one-base/blob/master/generators/app/templates/.gitignore

So we should be good.