# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# runtime data
pids
*.pid
*.seed
*.pid.lock

# coverage directory used by tools like istanbul
coverage/

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env.production

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# IDE
.vscode/
.idea/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

# Logs
logs/
*.log

# Temporary files
temp/
tmp/
*.tmp

# Database
*.db
*.sqlite

# Uploads and user files
backend/uploads/
frontend/uploads/

# Database migrations (may contain sensitive data)
backend/db/migrations/

# SSH Keys - КРИТИЧЕСКИ ВАЖНО!
id_rsa
id_ed25519
*.ppk
ssh_host_*
ssh_config

# Keys and certificates - КРИТИЧЕСКИ ВАЖНО!
*.key
*.pem
*.crt
*.p12

# SSL Keys and certificates - КРИТИЧЕСКИ ВАЖНО!
ssl/keys/
ssl/certs/

# Database encryption keys - КРИТИЧЕСКИ ВАЖНО!
**/full_db_encryption.key
**/ssl/full_db_encryption.key

# Docker
.dockerignore

# Git tools
bfg-*.jar

# Backup files
*.bak
*.backup
*~
backups/

# Debug and temporary files
check_*.js
debug_*.js
test_*.js
test-*.js

# Test files - НЕ ПУБЛИКОВАТЬ!
**/test-*.js
**/test_*.js
**/tests/
**/test/
test/
tests/

# Hardhat artifacts and cache
backend/artifacts/
backend/cache/
backend/typechain/
backend/typechain-types/

# Contract data (может содержать конфиденциальную информацию)
backend/contracts-data/

# Deploy parameters (содержит приватные ключи и чувствительные данные)
backend/scripts/deploy/current-params.json
backend/scripts/deploy/*-params.json
backend/temp/dle-v2-params-*.json

# Temporary verification files
backend/scripts/constructor-args*.json

# Module deployment data (содержит адреса и конфигурации модулей)
backend/scripts/contracts-data/modules/*

# Temporary test files
backend/test-*.js
backend/test_*.js

# Environment specific files
backend/.env.local
backend/.env.production

# Server management scripts - may contain sensitive information
scripts/clean-server.sh
scripts/export-template-for-release.sh
scripts/replace-release-assets.sh

# Docker data and release archives - не коммитить в Git!
docker-data/
dle-template.tar.gz
dle-template.tar.gz.part-*
dle-template.tar.gz.join.sh

# Локальные скрипты разработки
sync-to-vds.sh

# Database initialization helper script
scripts/internal/db/db_init_helper.sh

# Blog content (будет перенесен в блог приложения)
blog-content/

# Public docs (загружены в БД)
public-docs/

# Техническая документация (внутренняя)
docs/back-docs/

# Local data and drafts
data/
WHITEPAPER-DLE.md
