Files
novalon-website/.gitignore
T
zhangxiang 9c4dd576d5 chore(git): 验收大块产物按目录点名忽略,本机产物入库边界
两个验收目录合计 172MB / 1383 个文件(绝大多数是逐页截图)。直接入库会把每次
clone 与 diff 拖垮;但**按扩展名一刀切是错的** —— `.gitignore` 里写 `*.webp`
会连带挡掉 `e2e/visual-snapshots/**` 的视觉基线(那是视觉回归的唯一参照),
而 gitignore **静默生效**,下一轮没人会发现基线没提交。

按目录点名忽略:
- docs/acceptance/2026-10-2{1,4}-full-qa 的 screenshots / contact-sheets /
  prod-compare / prod-readonly(截图只在排查当时有用)
保留下来的:README / FIXES / defects*.json / summary / coverage-matrix /
axe 结果 / 复现脚本 —— **「这条结论怎么来的」必须入库**。
实测 172MB → 8.3MB。

另两类本机产物:
- `vibe_images/`(23MB ImageGen 草图,站内实际引用的图在 public/)
- `.pi-dsh/`(DSH 运行期 job 日志)
- `assets-wecom/*.png`(18 张可从已入库 SVG 用 wecom-pack.cjs 重新栅格化,
  清单与脚本入库)
2026-11-25 09:00:57 +08:00

402 lines
10 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# Dependencies
# ============================================================
node_modules/
.pnpm-store/
.pnp/
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# ============================================================
# Build Outputs
# ============================================================
.next/
out/
.swc/
build/
dist/
.cache/
.turbo/
*.tgz
*.local
dist-ssr/
dist_backup/
# ============================================================
# Testing & Coverage
# ============================================================
coverage/
.nyc_output/
*.lcov
# Playwright
test-results/
playwright-report/
playwright/.cache/
*.traces/
playwright-traces/
# E2E test results
e2e/test-results/
e2e/playwright-report/
e2e/allure-results/
e2e/allure-report/
e2e/.last-run.json
e2e/junit.xml
e2e/test-report.md
# Test Framework
test-framework/node_modules/
test-framework/test-results/
test-framework/playwright-report/
test-framework/allure-results/
test-framework/allure-report/
test-framework/reports/
# Allure reports
allure-results/
allure-report/
# Legacy test directories
e2e-tests/.pytest_cache/
e2e-tests/__pycache__/
e2e-tests/.venv/
e2e-tests/venv/
e2e-tests/*.egg-info/
e2e-tests/results/
e2e-tests/reports/
# ============================================================
# Environment Variables & Secrets
# ============================================================
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production
.env.*.local
*.env
# Debug & Security
*.pem
*.key
*.cert
*.crt
.auth/
# WorkBuddy 工作记忆目录(工具生成,不入库)
.workbuddy/
# ============================================================
# Database
# ============================================================
*.db
*.db-journal
# SQLite WAL 边车文件(WAL 模式下与 *.db 同目录生成;此前只挡了 *.db 与 *.db-journal,
# 导致 prisma/dev.db-shm / dev.db-wal 处于未跟踪且未忽略状态,`git add -A` 会把它们带进提交)
*.db-shm
*.db-wal
data.db
data/
# ============================================================
# Uploads & Storage
# ============================================================
uploads/
# ============================================================
# Logs
# ============================================================
logs/
*.log
npm-debug.log*
yarn-debug.log*
pnpm-debug.log*
lerna-debug.log*
deploy_*.log
# ============================================================
# TypeScript
# ============================================================
*.tsbuildinfo
next-env.d.ts
*.d.ts.map
# ============================================================
# IDE & Editors
# ============================================================
.idea/
.vscode/
*.swp
*.swo
*~
*.sublime-workspace
*.sublime-project
*.iml
.project
.classpath
.settings/
*.code-workspace
# ============================================================
# OS Generated Files
# ============================================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk
# ============================================================
# Runtime & Cache
# ============================================================
pids/
*.pid
*.seed
*.pid.lock
.eslintcache
.node_repl_history
.npm
# ============================================================
# Backup Files
# ============================================================
*.backup
*.bak
*.tmp
*.temp
# ============================================================
# Deployment Platforms
# ============================================================
.vercel/
# ============================================================
# Framework Specific
# ============================================================
# Vite
vite.config.ts.timestamp-*
# Tailwind CSS
*.css.map
# Framer Motion
*.framer-motion.json
# Three.js
*.three.json
# Trae IDE
.trae/
# ============================================================
# Python (if used for scripts/testing)
# ============================================================
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
!src/lib/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.pytest_cache/
.mypy_cache/
.coverage
htmlcov/
.tox/
.hypothesis/
.coverage.*
*.cover
coverage.xml
.dmypy.json
dmypy.json
.pyre/
.pytype/
cython_debug/
# Python Virtual Environments
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/
virtualenv/
virtualenvs/
# ============================================================
# Project Specific Test Files
# ============================================================
test-email.js
test-screenshot.png
hero-check.png
playwright-test-not-portal.js
heading-hierarchy-report.json
# Test reports
reports/e2e/
reports/performance/
reports/coverage/
reports/mutation/
# Performance audit results
lighthouse-reports/
.lighthouseci/
performance-baseline.json
# Test data exports
test-data-*.json
test-results-*.json
# Stryker mutation testing temp files
.stryker-tmp/
# Pi framework temp files
.pi/
# Agent config (local only)
.agents/settings.local.json
# Additional E2E test artifacts
e2e/blob-report/
e2e/report/
e2e/.auth/
e2e/state/
e2e/storage-state.json
# Test execution artifacts
*.trace
*.trace.zip
trace.zip
network-logs/
# ============================================================
# Task Planning Files
# ============================================================
task_plan.md
progress.md
findings.md
# ============================================================
# IMPORTANT NOTES
# ============================================================
# Visual regression snapshots are committed to version control
# These are in: e2e/visual-snapshots/
# Git will track them because they are not in test-results/ or allure-results/
# AGENTS
AGENTS.md
# dogfood
dogfood-output*/
dogfood-bain/
dogfood-motion-audit/
dogfood-b2-verify/
# 硬编码颜色审计产物(暗黑模式 Phase 2)—— 只提交脚本与报告
dogfood-color-audit/
# UI/UX/UE 审计采集产物(截图 + probes.json,单轮可达 39MB)—— 只提交脚本与报告
dogfood-ui-audit/
# agent & skill artifacts
.nova-loop/
.qoder/
.impeccable/
.superpowers/brainstorm/
sessions/
# test outputs
# NOTE: visual regression baselines are intentionally tracked; see IMPORTANT NOTES above
responsive-test/
visual-test/
tests/screenshots/
# reference designs
novalon-accenture-redesign/
# 交付物本地件:判据、生成脚本、SVG 资产包、MANIFEST 已入库,以下留本地
# - *.html:由同名 .py 逐刀重生成的评审页,入库会让 diff 淹掉真源
# - fonts/:43MB 字体源与 woff2 子集,仅本机栅格化用(站内实际引用的字体在 public/fonts,已入库)
# - backup-*/:landing/apply.sh 自建还原点。只忽略其中的 png/ico/webmanifest/tsx 副本
# (内容都能从 git 取回),同目录的 svg 半份是已入库资产,不能用目录级规则一并屏蔽
deliverables/**/*.html
# 字体源与 woff2 子集留本地(43MB,仅本机栅格化用;站内实际引用的字体在 public/fonts)
# 但授权文本与清单必须入库:OFL 要求随分发附带,且它们是「用了哪几套字」的唯一记录
deliverables/logo-redesign-2026-10-13/fonts/*
!deliverables/logo-redesign-2026-10-13/fonts/FONT-MANIFEST.md
!deliverables/logo-redesign-2026-10-13/fonts/LICENSES.md
!deliverables/logo-redesign-2026-10-13/fonts/OFL-*.txt
deliverables/logo-redesign-2026-10-13/landing/backup-*/public/*.png
deliverables/logo-redesign-2026-10-13/landing/backup-*/public/*.ico
deliverables/logo-redesign-2026-10-13/landing/backup-*/public/site.webmanifest
deliverables/logo-redesign-2026-10-13/landing/backup-*/src/*.tsx
deliverables/logo-redesign-2026-10-13/landing/backup-*/added.txt
deliverables/logo-redesign-2026-10-13/landing/*.png
deliverables/logo-redesign-2026-10-13/landing/*.ico
deliverables/logo-redesign-2026-10-13/assets-delivery/*.png
deliverables/logo-redesign-2026-10-13/assets-delivery/*.ico
# 企业微信资产包同理:18 张 PNG 全部由 wecom-pack.cjs 从**已入库的** SVG 源重新栅格化
# 得到(判据见 WECOM-MANIFEST.md 与 check-wecom.py 的 64 项),二进制留本地即可。
# 生成脚本、校验脚本、清单与 pack-report.json 必须入库 —— 那才是「怎么做的」真源。
deliverables/logo-redesign-2026-10-13/assets-wecom/*.png
# 公司介绍包:PPTX 二进制走交付网盘不进 git,大纲 md 属对外文案稿
deliverables/company-deck/
# 历史 PR 描述稿与一次性线上探针
.pr-seal-*.md
.tmp-*.mjs
/src/generated/prisma
# ============================================================
# 验收证据的体积边界(2026-11-25 收尾轮裁定)
# ============================================================
# 规则:docs/acceptance/<日期>-<主题>/ 的**文字与结构化读数**(README / FIXES /
# defects*.json / summary.json / coverage-matrix / axe 结果 / 复现脚本)一律入库 ——
# 它们才是「这条结论怎么来的」的可复查部分;而**逐页截图**只在排查当时有用,
# 全量截图一次 60–80MB,入 git 会把每次 clone 与 diff 都拖垮(本仓已有
# 2026-10-20-prod-about 等 2.9MB 级目录入库,但 77MB/95MB 这一档不属同一量级)。
# 因此只忽略下面这些**明确点名的大块二进制目录**,不做按扩展名的一刀切:
# · 按扩展名忽略 *.png 会把 e2e/visual-snapshots/** 的基线一起挡掉(那批必须入库)。
docs/acceptance/2026-10-21-full-qa/screenshots/
docs/acceptance/2026-10-21-full-qa/contact-sheets/
docs/acceptance/2026-10-21-full-qa/prod-compare/
docs/acceptance/2026-10-24-full-qa/sweep/screenshots/
docs/acceptance/2026-10-24-full-qa/sweep-after-fix/screenshots/
docs/acceptance/2026-10-24-full-qa/contact-sheets/
docs/acceptance/2026-10-24-full-qa/prod-readonly/
# 首页主图备选素材(ImageGen 草图,本机产物,不入库)
# 用途记录在 deliverables/logo-redesign-2026-10-13/quan.py:277 的「形研究来源」注释里;
# 站内实际引用的图在 public/images/,这里只是生成过程中的中间件。
vibe_images/
# DeepSeek Harness 的运行期 job 日志(每次会话数千个小文件),非项目产物
.pi-dsh/