mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +03:00
af0f26c75f
no issue - Dev Containers let you work on Ghost in a consistent, isolated environment with all the necessary development dependencies pre-installed. VSCode (or Cursor) can effectively run _inside_ the container, providing a local quality development environment while working in a well-defined, isolated environment. - For now the default setup only works with "Clone repository in Container Volume" or "Clone PR in Container Volume" — this allows for a super quick and simple setup. We can also introduce another configuration to allow opening an existing local checkout in a Dev Container, but that's not quite ready yet. - This PR also added the `yarn clean:hard` command which: deletes all node_modules, cleans the yarn cache, and cleans the NX cache. This will be necessary for opening a local checkout in a Dev Container. - To learn more about Dev Containers, read this guide from VSCode: https://code.visualstudio.com/docs/devcontainers/containers#_personalizing-with-dotfile-repositories --------- Co-authored-by: Joe Grigg <joe@ghost.org> Co-authored-by: Steve Larson <9larsons@gmail.com>
182 lines
3.2 KiB
Plaintext
182 lines
3.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
|
|
coverage-integration
|
|
coverage-regression
|
|
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
|
|
|
|
# Nx
|
|
.nxcache
|
|
.nx/cache
|
|
.nx/workspace-data
|
|
|
|
# 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/*
|
|
!.vscode/launch.json
|
|
!.vscode/settings.json
|
|
|
|
# OSX
|
|
.DS_Store
|
|
|
|
!test/utils/fixtures/**/*.csv
|
|
|
|
# Ghost DB file
|
|
*.db
|
|
*.db-journal
|
|
|
|
/ghost/core/test-results/
|
|
/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/content/themes/source
|
|
!/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
|
|
/ghost/core/playwright-report
|
|
|
|
# Admin
|
|
/ghost/admin/dist
|
|
|
|
# Comments-UI
|
|
/apps/comments-ui/umd
|
|
/apps/comments-ui/playwright-report
|
|
/ghost/comments-ui/playwright/.cache/
|
|
/apps/comments-ui/test-results/
|
|
|
|
# Portal
|
|
!/apps/portal/.env
|
|
/apps/portal/umd
|
|
|
|
# Sodo-Search
|
|
/apps/sodo-search/public/main.css
|
|
/apps/sodo-search/umd
|
|
|
|
# Signup Form and local environments
|
|
/apps/signup-form/umd
|
|
/apps/signup-form/.env*.local
|
|
/apps/signup-form/test-results/
|
|
/apps/signup-form/playwright-report/
|
|
/apps/signup-form/playwright/.cache/
|
|
|
|
# Announcement-Bar
|
|
/apps/announcement-bar/umd
|
|
|
|
# Build files
|
|
/apps/*/build
|
|
/ghost/*/build
|
|
|
|
# Typescript build artifacts
|
|
tsconfig.tsbuildinfo
|
|
|
|
# Admin X
|
|
/apps/admin-x-settings/dist
|
|
/apps/admin-x-settings/dist-ssr
|
|
/apps/admin-x-settings/test-results/
|
|
/apps/admin-x-settings/playwright-report/
|
|
/apps/admin-x-settings/playwright/.cache/
|
|
|
|
# Tinybird
|
|
.tinyb
|
|
.venv
|
|
.diff_tmp
|
|
|
|
# Docker Yarn Cache
|
|
.yarncache
|
|
.yarncachecopy
|