Normalises text to LF and marks the migrated WordPress uploads (204 PNGs, 94 JPGs, plus GIFs/PDFs/ICO/MP4) as binary so git stops trying to diff, merge or rewrite endings in them. src/styles/global.css came out of the theme with CRLF endings and is renormalised here in one deliberate pass rather than leaving it to surprise someone on a later commit -- the content is byte-identical ignoring whitespace. .gitignore additionally covers .vscode/, *.log, *.swp, Thumbs.db and all .env variants -- the last of those matters because scripts/export-wp.mjs reads the WordPress DB credentials from the environment. Also corrects the note on the excluded 80MB video: it lives in public/ and Astro copies it into dist/ on every build, so no manual copy step is needed, contrary to what the old comment claimed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
31 lines
719 B
Plaintext
31 lines
719 B
Plaintext
# Build output. Apache serves /srv/www/vhosts/vicidial/dist directly from disk,
|
|
# so this is regenerated in place by `npm run build` and never committed.
|
|
dist/
|
|
|
|
# Generated types and caches
|
|
.astro/
|
|
node_modules/
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# Credentials. scripts/export-wp.mjs takes WP_DB_USER / WP_DB_PASSWORD from the
|
|
# environment, so keep any local .env holding those out of the repo.
|
|
.env
|
|
.env.*
|
|
|
|
# Editor and OS noise
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# 80MB video. It lives in public/ on disk and Astro copies it into dist/ on every
|
|
# build, so the site serves it normally -- it just isn't worth carrying in history.
|
|
public/VICIdial_v002_06-23-2017.mp4
|