chore: exclude generated files from git tracking
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
Some checks failed
DSS Project Analysis / dss-context-update (push) Has been cancelled
- Remove .dss/data/, .dss/components/, generated stories from tracking - Update .gitignore to exclude all runtime/generated content - Keep only reference files (.dss/config/, .dss/core/, .dss/skins/, .dss/themes/, .dss/schema/) Generated files are now created on /dss-init and not committed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
47
.gitignore
vendored
47
.gitignore
vendored
@@ -12,6 +12,7 @@ build/
|
||||
node_modules/
|
||||
npm-debug.log*
|
||||
yarn-error.log*
|
||||
package-lock.json
|
||||
|
||||
# Environment
|
||||
.env
|
||||
@@ -47,12 +48,6 @@ coverage/
|
||||
# Cache
|
||||
.cache/
|
||||
.dss-temp/
|
||||
.dss/cache/
|
||||
|
||||
# Temp files (exclude all except README and .gitkeep)
|
||||
.dss/temp/**/*
|
||||
!.dss/temp/.gitkeep
|
||||
!.dss/temp/README.md
|
||||
|
||||
# Backups
|
||||
*.backup
|
||||
@@ -62,11 +57,45 @@ coverage/
|
||||
archive/
|
||||
test_output/
|
||||
|
||||
# Build
|
||||
# Build outputs
|
||||
dist/
|
||||
.next/
|
||||
out/
|
||||
storybook-static/
|
||||
venv/
|
||||
# Local MCP config (generated by ./scripts/setup-mcp.sh)
|
||||
|
||||
# Local MCP config (generated by dss-init.sh)
|
||||
.mcp.json
|
||||
.claude/mcp.json
|
||||
|
||||
# =============================================================================
|
||||
# DSS GENERATED FILES - Created by /dss-init, not committed
|
||||
# =============================================================================
|
||||
|
||||
# DSS runtime data (created on init)
|
||||
.dss/data/
|
||||
.dss/cache/
|
||||
.dss/logs/
|
||||
.dss/dss.db
|
||||
.dss/dss.pid
|
||||
.dss/components/
|
||||
.dss/runtime-config.json
|
||||
|
||||
# DSS generated hashes (regenerated on init)
|
||||
.dss/core-hashes.sha256
|
||||
|
||||
# Generated Storybook stories (created from tokens)
|
||||
admin-ui/src/stories/
|
||||
|
||||
# admin-ui build output
|
||||
admin-ui/dist/
|
||||
|
||||
# =============================================================================
|
||||
# DSS REFERENCE FILES - These ARE committed (source of truth)
|
||||
# =============================================================================
|
||||
# Keep these in git:
|
||||
# - .dss/config/ # Figma credentials, project config
|
||||
# - .dss/core/ # Core primitives (immutable reference)
|
||||
# - .dss/skins/ # Skin definitions (reference)
|
||||
# - .dss/themes/ # Theme definitions (reference)
|
||||
# - .dss/schema/ # Contracts and schemas (reference)
|
||||
# - dss-claude-plugin/core/skins/ # Plugin skin references
|
||||
|
||||
Reference in New Issue
Block a user