# 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

# Keys and certificates
*.key
*.pem
*.crt
*.p12

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

# Docker
.dockerignore

# Git tools
bfg-*.jar

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

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

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

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

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

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

# ========================================
# ПАТЕНТНЫЕ ДОКУМЕНТЫ - НЕ ПУБЛИКОВАТЬ!
# ========================================

# Патентные заявки и документы
legal/patents/
legal/PATENT_*.md
legal/INNOVATION_PROCESS.md
legal/TECHNICAL_SPECIFICATIONS.md
legal/PATENT_DRAWINGS*.md

# Конфиденциальные технические детали
legal/REGISTRATION_PLAN.md
legal/JURISDICTION.md

# Временные файлы патентной работы
legal/temp/
legal/drafts/
legal/confidential/

# ========================================
# АВТОРСКИЕ ПРАВА И ЛИЦЕНЗИИ - ПУБЛИКОВАТЬ
# ========================================
# legal/LICENSE.md - ПУБЛИКОВАТЬ
# legal/AUTHORS.md - ПУБЛИКОВАТЬ
# legal/CONTRIBUTING.md - ПУБЛИКОВАТЬ
# legal/COPYRIGHT_NOTICE.md - ПУБЛИКОВАТЬ
# legal/TERMS_OF_SERVICE.md - ПУБЛИКОВАТЬ 