# Dependencies
node_modules/
.pnpm-store/
**/package-lock.json

# Environment files
.stack.env
.env
.env.local
.env.development
.env.production
.env.test

# Security - Never commit secrets!
secrets/
*.key
*.pem
*.p12
*.pfx

# Build outputs
dist/
dist2/
build/
.next/

# Cache directories
.turbo/
.cache/

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Runtime data
pids/
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# nyc test coverage
.nyc_output/

# Grunt intermediate storage
.grunt/

# Bower dependency directory
bower_components/

# node-waf configuration
.lock-wscript

# Compiled binary addons
build/Release/

# Dependency directories
jspm_packages/

# TypeScript cache
*.tsbuildinfo
**/tsconfig.tsbuildinfo
**/.typecheck/
**/.tsbuildinfo-*
.tsbuildinfo-*

# Optional npm cache directory
.npm/

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# parcel-bundler cache
.parcel-cache/

# Next.js build output
.next/
out/

# Nuxt.js build / generate output
.nuxt/
dist/

# Gatsby files
.cache/
public/
!apps/portal/public/
!apps/portal/public/**

# Storybook build outputs
.out/
.storybook-out/

# Temporary folders
tmp/
temp/

# Build outputs and development artifacts
**/dist/
**/dist2/
**/.next/
**/build/
**/*.tsbuildinfo
**/build-trace/
**/bundle-report.json

# Database
*.sqlite
*.db

# Docker - keep configs but ignore secrets
docker/portainer/stack.env
.build-logs/

# Prisma
prisma/migrations/dev.db*

# Large archive files
*.tar
*.tar.gz
*.tar.gz.sha256
*.zip

# API Documentation (contains sensitive API details)
docs/freebit-apis/

# Security reports
security-report.json
audit-report.json
outdated-report.txt
