Ghost/.gitignore
Daniel Lockyer a9c0a64fd2
Merged package .gitignore files into top-level file
fixes https://github.com/TryGhost/Toolbox/issues/480

- this is a bit tricky because the files are a mess but I think this
  covers everything and deduplicates having multiple .gitignore files
  across the repo so we can focus on keeping the definitions in one
2023-03-01 18:31:05 +01:00

127 lines
2.2 KiB
Plaintext

# Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
coverage-e2e
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# IDE
.idea/*
*.iml
*.sublime-*
.vscode/*
# OSX
.DS_Store
!test/utils/fixtures/**/*.csv
# Ghost DB file
*.db
*.db-journal
/ghost/core/core/server/data/export/exported*
/ghost/core/content/tmp/*
/ghost/core/content/data/*
/ghost/core/content/logs/*
/ghost/core/content/settings/*
/ghost/core/content/apps/**/*
/ghost/core/content/themes/**/*
/ghost/core/content/images/**/*
/ghost/core/content/media/**/*
/ghost/core/content/files/**/*
/ghost/core/content/public/*
/ghost/core/content/adapters/storage/**/*
/ghost/core/content/adapters/scheduling/**/*
!/ghost/core/content/themes/casper
!/ghost/core/README.md
!/ghost/core/content/**/README.md
# Changelog, which is autogenerated, not committed
/ghost/core/CHANGELOG.md
# Assets bundled into the release but we don't want to commit
/ghost/core/LICENSE
/ghost/core/PRIVACY.md
/ghost/core/README.md
/ghost/core/yarn.lock
# Test generated files
test/functional/*.png
# ignore all custom json files for config
/ghost/core/config.*.json
# Built asset files
/ghost/core/core/built
/ghost/core/core/frontend/public/ghost.min.css
# Caddyfile - for local development with ssl + caddy
Caddyfile
# Playwright state with cookies it keeps across tests
/ghost/core/playwright-state.json
# Admin
/ghost/admin/dist
# Portal
!/ghost/portal/.env
/ghost/portal/umd
/ghost/portal/build