Staging no longer advertises production canonicals, and Slack/social previews get a default hero card with template and article overrides. Co-authored-by: Cursor <cursoragent@cursor.com>
112 lines
1.8 KiB
Plaintext
112 lines
1.8 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||
|
||
# dependencies
|
||
/node_modules
|
||
/.pnp
|
||
.pnp.*
|
||
.yarn/*
|
||
!.yarn/patches
|
||
!.yarn/plugins
|
||
!.yarn/releases
|
||
!.yarn/versions
|
||
|
||
# npm cache (should never be committed)
|
||
.npm-cache/
|
||
npm-cache/
|
||
|
||
# testing
|
||
/coverage
|
||
|
||
# Local user uploads (see UPLOAD_ROOT in .env.example)
|
||
/var/uploads
|
||
|
||
# Playwright
|
||
/test-results/
|
||
/playwright-report/
|
||
|
||
# Lighthouse CI results
|
||
/lhci-results/
|
||
/.lighthouseci/
|
||
|
||
# Ignore other image files (but not visual regression snapshots or favicons)
|
||
*.png
|
||
*.jpg
|
||
*.jpeg
|
||
*.gif
|
||
*.webm
|
||
*.mp4
|
||
*.mov
|
||
*.avi
|
||
*.mkv
|
||
|
||
# Root favicons (generated via `npm run generate:favicons`)
|
||
!public/favicon-16x16.png
|
||
!public/favicon-32x32.png
|
||
!public/apple-touch-icon.png
|
||
|
||
# Per-article body ornaments (Figma Content page Template image fills)
|
||
!public/content/blog/*-ornament-*.png
|
||
|
||
# Marketing book cover (raster; see docs/guides/static-assets.md)
|
||
!public/assets/marketing/community-rules-cover.png
|
||
|
||
# Open Graph 1200×630 share images (`npm run generate:og-images`)
|
||
!public/assets/marketing/og-image.png
|
||
!public/assets/marketing/og-image-templates.png
|
||
!public/content/blog/*-og.png
|
||
|
||
# Visual regression snapshots (allow these)
|
||
!tests/e2e/visual-regression.spec.ts-snapshots/
|
||
!tests/e2e/visual-regression.spec.ts-snapshots/*.png
|
||
|
||
# next.js
|
||
/.next/
|
||
/out/
|
||
|
||
# production
|
||
/build
|
||
|
||
# misc
|
||
/tmp/
|
||
*.pem
|
||
|
||
# IDE and editor files
|
||
.vscode/
|
||
.idea/
|
||
*.swp
|
||
*.swo
|
||
*~
|
||
|
||
# debug
|
||
npm-debug.log*
|
||
yarn-debug.log*
|
||
yarn-error.log*
|
||
.pnpm-debug.log*
|
||
|
||
# env files (can opt-in for committing if needed)
|
||
.env*
|
||
!.env.example
|
||
|
||
# vercel
|
||
.vercel
|
||
|
||
# typescript
|
||
*.tsbuildinfo
|
||
tsconfig.tsbuildinfo
|
||
next-env.d.ts
|
||
|
||
*storybook.log
|
||
storybook-static
|
||
|
||
# Gitea runner runtime files
|
||
.runner
|
||
.runner.pid
|
||
act_runner
|
||
|
||
# OS files
|
||
Thumbs.db
|
||
.DS_Store
|
||
|
||
# Cursor rules (local development)
|
||
.cursorrules
|