mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
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
This commit is contained in:
parent
90ef8f008e
commit
a9c0a64fd2
53
.gitignore
vendored
53
.gitignore
vendored
@ -69,5 +69,58 @@ typings/
|
||||
# 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
|
||||
|
63
ghost/admin/.gitignore
vendored
63
ghost/admin/.gitignore
vendored
@ -1,63 +0,0 @@
|
||||
b-cov
|
||||
*.seed
|
||||
*.log
|
||||
*.csv
|
||||
*.dat
|
||||
*.out
|
||||
*.pid
|
||||
*.gz
|
||||
|
||||
pids
|
||||
logs
|
||||
results
|
||||
|
||||
npm-debug.log*
|
||||
yarn-error.log
|
||||
.nvmrc
|
||||
.bowerrc
|
||||
.idea/*
|
||||
*.iml
|
||||
*.sublime-*
|
||||
projectFilesBackup
|
||||
|
||||
.DS_Store
|
||||
|
||||
# vim-related
|
||||
[._]*.s[a-w][a-z]
|
||||
[._]s[a-w][a-z]
|
||||
*.un~
|
||||
Session.vim
|
||||
.netrwhist
|
||||
.vimrc
|
||||
*~
|
||||
|
||||
# TernJS
|
||||
.tern-project
|
||||
|
||||
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
||||
|
||||
# compiled output
|
||||
/dist
|
||||
/dist-test
|
||||
/tmp
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/bower_components
|
||||
|
||||
# IDE
|
||||
.idea/*
|
||||
*.iml
|
||||
*.sublime-*
|
||||
.vscode/*
|
||||
|
||||
# misc
|
||||
/.env*
|
||||
/.pnp*
|
||||
/.eslintcache
|
||||
/connect.lock
|
||||
/coverage/
|
||||
/libpeerconnection.log
|
||||
/testem.log
|
||||
/concat-stats-for
|
||||
jsconfig.json
|
140
ghost/core/.gitignore
vendored
140
ghost/core/.gitignore
vendored
@ -1,140 +0,0 @@
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# Custom ignore starts here
|
||||
|
||||
b-cov
|
||||
*.csv
|
||||
*.dat
|
||||
*.out
|
||||
*.gz
|
||||
|
||||
!test/utils/fixtures/**/*.csv
|
||||
|
||||
results
|
||||
|
||||
package-lock.json
|
||||
bower_components
|
||||
.bowerrc
|
||||
projectFilesBackup
|
||||
|
||||
# TernJS
|
||||
.tern-project
|
||||
|
||||
# Ghost DB file
|
||||
*.db
|
||||
*.db-journal
|
||||
|
||||
.build
|
||||
.dist
|
||||
.tmp
|
||||
|
||||
/core/server/data/export/exported*
|
||||
/content/tmp/*
|
||||
/content/data/*
|
||||
/content/logs/*
|
||||
/content/settings/*
|
||||
/content/apps/**/*
|
||||
/content/themes/**/*
|
||||
/content/images/**/*
|
||||
/content/media/**/*
|
||||
/content/files/**/*
|
||||
/content/public/*
|
||||
/content/adapters/storage/**/*
|
||||
/content/adapters/scheduling/**/*
|
||||
!/content/themes/casper
|
||||
!/README.md
|
||||
!/content/**/README.md
|
||||
|
||||
# Changelog, which is autogenerated, not committed
|
||||
CHANGELOG.md
|
||||
|
||||
# Assets bundled into the release but we don't want to commit
|
||||
LICENSE
|
||||
PRIVACY.md
|
||||
README.md
|
||||
yarn.lock
|
||||
|
||||
# Test generated files
|
||||
test/functional/*.png
|
||||
test/coverage
|
||||
|
||||
# ignore all custom json files for config
|
||||
/config.*.json
|
||||
|
||||
# Built asset files
|
||||
/core/built
|
||||
/core/frontend/public/ghost.min.css
|
||||
|
||||
# Caddyfile - for local development with ssl + caddy
|
||||
Caddyfile
|
||||
|
||||
# Playwright state with cookies it keeps across tests
|
||||
playwright-state.json
|
80
ghost/portal/.gitignore
vendored
80
ghost/portal/.gitignore
vendored
@ -1,80 +0,0 @@
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# Membersjs build folders
|
||||
umd/
|
||||
build/
|
||||
|
||||
# Allow .env file
|
||||
!.env
|
||||
## We use .env file to define NODE_PATH as recommended test-utils setup pattern to avoid relative imports.
|
||||
# Refs: https://testing-library.com/docs/react-testing-library/setup#jest-and-create-react-app
|
||||
# CRA also suggests `.env` files should be checked into source control
|
||||
# Ref: https://create-react-app.dev/docs/adding-custom-environment-variables/#adding-development-environment-variables-in-env
|
Loading…
Reference in New Issue
Block a user