style(layout): 优化移动端标签栏的样式类名
refactor(.gitignore): 重构并清理.gitignore文件 将文件内容按功能分类并添加注释,删除冗余条目,提高可读性和维护性
This commit is contained in:
+197
-271
@@ -1,4 +1,6 @@
|
||||
# ============================================================
|
||||
# Dependencies
|
||||
# ============================================================
|
||||
node_modules/
|
||||
.pnpm-store/
|
||||
.pnp/
|
||||
@@ -9,38 +11,204 @@ node_modules/
|
||||
!.yarn/releases
|
||||
!.yarn/versions
|
||||
|
||||
# Next.js
|
||||
# ============================================================
|
||||
# Build Outputs
|
||||
# ============================================================
|
||||
.next/
|
||||
.next/cache/
|
||||
.next/static/
|
||||
out/
|
||||
.swc/
|
||||
|
||||
# Next.js specific
|
||||
.next/types/
|
||||
.next/server/
|
||||
.next/build-manifest.json
|
||||
.next/react-loadable-manifest.json
|
||||
|
||||
# Production
|
||||
build/
|
||||
dist/
|
||||
.cache/
|
||||
.turbo/
|
||||
*.tgz
|
||||
*.local
|
||||
dist-ssr/
|
||||
|
||||
# Python
|
||||
# ============================================================
|
||||
# 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/
|
||||
|
||||
# ============================================================
|
||||
# Database
|
||||
# ============================================================
|
||||
*.db
|
||||
*.db-journal
|
||||
data.db
|
||||
|
||||
# ============================================================
|
||||
# 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
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
/lib/
|
||||
/lib64/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
@@ -74,254 +242,18 @@ venv.bak/
|
||||
virtualenv/
|
||||
virtualenvs/
|
||||
|
||||
# Python E2E Tests
|
||||
e2e-tests/.pytest_cache/
|
||||
e2e-tests/__pycache__/
|
||||
e2e-tests/.venv/
|
||||
e2e-tests/venv/
|
||||
e2e-tests/*.egg-info/
|
||||
|
||||
# Playwright
|
||||
test-results/
|
||||
playwright-report/
|
||||
playwright/.cache/
|
||||
*.traces/
|
||||
playwright-traces/
|
||||
|
||||
# E2E test results and reports (comprehensive)
|
||||
e2e/test-results/
|
||||
e2e/test-results/**/
|
||||
e2e/playwright-report/
|
||||
e2e/playwright-report/**/
|
||||
e2e/playwright/.cache/
|
||||
e2e/allure-results/
|
||||
e2e/allure-results/**/
|
||||
e2e/allure-report/
|
||||
e2e/.last-run.json
|
||||
e2e/junit.xml
|
||||
|
||||
# Test result files (screenshots, videos, traces)
|
||||
e2e/test-results/**/*.png
|
||||
e2e/test-results/**/*.jpg
|
||||
e2e/test-results/**/*.jpeg
|
||||
e2e/test-results/**/*.webp
|
||||
e2e/test-results/**/*.avif
|
||||
e2e/test-results/**/*.gif
|
||||
e2e/test-results/**/*.webm
|
||||
e2e/test-results/**/*.mp4
|
||||
e2e/test-results/**/*.zip
|
||||
e2e/test-results/**/*.json
|
||||
e2e/test-results/**/*.xml
|
||||
e2e/test-results/**/*.html
|
||||
|
||||
# Playwright report media files
|
||||
e2e/playwright-report/**/*.png
|
||||
e2e/playwright-report/**/*.jpg
|
||||
e2e/playwright-report/**/*.webm
|
||||
e2e/playwright-report/**/*.mp4
|
||||
e2e/playwright-report/**/*.zip
|
||||
e2e/playwright-report/data/
|
||||
e2e/playwright-report/index.html
|
||||
|
||||
# Allure test results and reports
|
||||
allure-results/
|
||||
allure-report/
|
||||
e2e/allure-*/
|
||||
test-framework/allure-*/
|
||||
e2e-tests/allure-*/
|
||||
e2e/allure-results/**/*.png
|
||||
e2e/allure-results/**/*.jpg
|
||||
e2e/allure-results/**/*.webp
|
||||
e2e/allure-results/**/*.webm
|
||||
e2e/allure-results/**/*.json
|
||||
e2e/allure-results/**/*.xml
|
||||
test-framework/allure-results/**/*.png
|
||||
test-framework/allure-results/**/*.jpg
|
||||
|
||||
# Test Framework Reports
|
||||
test-framework/reports/
|
||||
e2e/test-report.md
|
||||
e2e-tests/results/
|
||||
e2e-tests/reports/
|
||||
|
||||
# Testing
|
||||
coverage/
|
||||
.nyc_output/
|
||||
*.lcov
|
||||
|
||||
# TypeScript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
*.d.ts.map
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.production
|
||||
.env.*.local
|
||||
*.env
|
||||
|
||||
# Database
|
||||
*.db
|
||||
*.db-journal
|
||||
data.db
|
||||
|
||||
# Uploads
|
||||
uploads/
|
||||
|
||||
# Vercel
|
||||
.vercel/
|
||||
|
||||
# Logs
|
||||
logs/
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
# Deployment logs
|
||||
deploy_*.log
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
*.sublime-workspace
|
||||
*.sublime-project
|
||||
*.iml
|
||||
.project
|
||||
.classpath
|
||||
.settings/
|
||||
*.code-workspace
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
Desktop.ini
|
||||
$RECYCLE.BIN/
|
||||
*.cab
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
*.lnk
|
||||
|
||||
# Debug
|
||||
*.pem
|
||||
*.key
|
||||
*.cert
|
||||
*.crt
|
||||
|
||||
# Auth files (contains sensitive session data)
|
||||
.auth/
|
||||
|
||||
# Backup files
|
||||
*.backup
|
||||
*.bak
|
||||
|
||||
# Runtime data
|
||||
pids/
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Optional npm cache
|
||||
.eslintcache
|
||||
.node_repl_history
|
||||
|
||||
# Build outputs
|
||||
*.tgz
|
||||
*.local
|
||||
|
||||
# Turbopack
|
||||
.turbo/
|
||||
|
||||
# Vite
|
||||
vite.config.ts.timestamp-*
|
||||
dist-ssr/
|
||||
|
||||
# Trae
|
||||
.trae/
|
||||
|
||||
# Tailwind CSS
|
||||
*.css.map
|
||||
|
||||
# Framer Motion
|
||||
*.framer-motion.json
|
||||
|
||||
# Three.js
|
||||
*.three.json
|
||||
|
||||
# Image optimization - only ignore in specific directories
|
||||
# Keep public images and visual regression snapshots
|
||||
# test-results/**/*.avif
|
||||
# test-results/**/*.webp
|
||||
# test-results/**/*.png
|
||||
# test-results/**/*.jpg
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
*.swp
|
||||
*~
|
||||
.npm
|
||||
|
||||
# Test files
|
||||
# ============================================================
|
||||
# Project Specific Test Files
|
||||
# ============================================================
|
||||
test-email.js
|
||||
test-screenshot.png
|
||||
hero-check.png
|
||||
playwright-test-not-portal.js
|
||||
|
||||
# Test screenshots and images - ignore all test output
|
||||
# Allure attachments
|
||||
e2e/allure-results/**/*.png
|
||||
e2e/allure-results/**/*.jpg
|
||||
e2e/allure-results/**/*.webp
|
||||
test-framework/allure-results/**/*.png
|
||||
test-framework/allure-results/**/*.jpg
|
||||
|
||||
# Playwright test results (all media files)
|
||||
test-results/**/*.png
|
||||
test-results/**/*.jpg
|
||||
test-results/**/*.jpeg
|
||||
test-results/**/*.webp
|
||||
test-results/**/*.avif
|
||||
test-results/**/*.gif
|
||||
test-results/**/*.webm
|
||||
test-results/**/*.mp4
|
||||
test-results/**/*.zip
|
||||
|
||||
# Build output images
|
||||
dist/**/*.png
|
||||
dist/**/*.jpg
|
||||
dist/**/*.jpeg
|
||||
dist/**/*.webp
|
||||
dist/**/*.avif
|
||||
dist/**/*.gif
|
||||
|
||||
# IMPORTANT: Visual regression snapshots should be committed to version control
|
||||
# These are in: e2e/src/tests/visual/**/*-snapshots/
|
||||
# Git will track them because they are not in test-results/ or allure-results/
|
||||
|
||||
# Test analysis scripts output
|
||||
e2e/analyze-results.js
|
||||
test-framework/analyze-*.py
|
||||
test-framework/debug-*.py
|
||||
test-framework/verify-*.ts
|
||||
|
||||
# Test baseline images (keep visual regression snapshots)
|
||||
# Note: Visual regression snapshots in e2e/src/tests/visual/*-snapshots/ should be committed
|
||||
# Test reports
|
||||
reports/e2e/
|
||||
reports/performance/
|
||||
reports/coverage/
|
||||
|
||||
# Performance audit results
|
||||
lighthouse-reports/
|
||||
@@ -344,15 +276,9 @@ e2e/storage-state.json
|
||||
trace.zip
|
||||
network-logs/
|
||||
|
||||
# Deprecated test frameworks
|
||||
e2e-tests/
|
||||
test-framework/
|
||||
|
||||
# Reports
|
||||
reports/e2e/
|
||||
reports/performance/
|
||||
reports/coverage/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
# ============================================================
|
||||
# IMPORTANT NOTES
|
||||
# ============================================================
|
||||
# Visual regression snapshots should be committed to version control
|
||||
# These are in: e2e/src/tests/visual/**/*-snapshots/
|
||||
# Git will track them because they are not in test-results/ or allure-results/
|
||||
|
||||
Reference in New Issue
Block a user