Files
dss/packages/dss-rules/templates/ds.config.json
DSS 9dbd56271e
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
feat: Enterprise DSS architecture implementation
Complete implementation of enterprise design system validation:

Phase 1 - @dss/rules npm package:
- CLI with validate and init commands
- 16 rules across 5 categories (colors, spacing, typography, components, a11y)
- dss-ignore support (inline and next-line)
- Break-glass [dss-skip] for emergency merges
- CI workflow templates (Gitea, GitHub, GitLab)

Phase 2 - Metrics dashboard:
- FastAPI metrics API with SQLite storage
- Portfolio-wide metrics aggregation
- Project drill-down with file:line:column violations
- Trend charts and history tracking

Phase 3 - Local analysis cache:
- LocalAnalysisCache for offline-capable validation
- Mode detection (LOCAL/REMOTE/CI)
- Stale cache warnings with recommendations

Phase 4 - Project onboarding:
- dss-init command for project setup
- Creates ds.config.json, .dss/ folder structure
- Updates .gitignore and package.json scripts
- Optional CI workflow setup

Architecture decisions:
- No commit-back: CI uploads to dashboard, not git
- Three-tier: Dashboard (read-only) → CI (authoritative) → Local (advisory)
- Pull-based rules via npm for version control

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 09:41:36 -03:00

24 lines
586 B
JSON

{
"$schema": "https://dss.overbits.luz.uy/schemas/ds.config.schema.json",
"name": "{{PROJECT_NAME}}",
"version": "1.0.0",
"rules": {
"package": "@dss/rules",
"version": "^1.0.0"
},
"analysis": {
"include": ["src/**/*.{ts,tsx,js,jsx,css,scss}"],
"exclude": ["**/node_modules/**", "**/*.test.*", "**/*.spec.*"],
"output": ".dss/analysis_graph.json"
},
"metrics": {
"upload": true,
"dashboardUrl": "https://dss.overbits.luz.uy/api/metrics"
},
"ci": {
"blocking": true,
"skipPattern": "[dss-skip]",
"baselineBranch": "main"
}
}