From 1af9c2bb1a84c09f551f46fa18588eeabd629627 Mon Sep 17 00:00:00 2001 From: Pavlo Artsabliuk <102457435+artsabliuk@users.noreply.github.com> Date: Sat, 22 Feb 2025 21:30:21 +0200 Subject: [PATCH] Update .gitignore Consistent Directory Notation: Added trailing slashes to directories (e.g. logs/, node_modules/, etc.) to clearly indicate they are folders. Clearer Section Grouping: Divided the file into clearly labeled sections (Logs, Diagnostic Reports, Runtime Data, etc.) for easier maintenance and readability. Enhanced Comments: Expanded comments to explain the purpose of each section, making it easier for new team members to understand what each pattern ignores. Uniform Formatting: Standardized spacing and organization throughout the file for better clarity and consistency. These improvements make the .gitignore file more maintainable, easier to read, and ensure that only the intended files and directories are excluded from version control. --- .gitignore | 62 ++++++++++++++++++++++++------------------------------ 1 file changed, 28 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index ba33a838..8e051f5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,71 +1,65 @@ +# ======================== +# Node.js Project .gitignore +# ======================== + # Logs -logs +logs/ *.log npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* -# Diagnostic reports (https://nodejs.org/api/report.html) +# Diagnostic Reports (Node.js Report API) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json -# Runtime data -pids +# Runtime Data +pids/ *.pid *.seed *.pid.lock -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov +# Instrumented Libraries (jscoverage/JSCover) +lib-cov/ -# Coverage directory used by tools like istanbul -coverage +# Test Coverage (Istanbul, nyc) +coverage/ *.lcov +.nyc_output/ -# nyc test coverage -.nyc_output - -# node-waf configuration +# Build System Files .lock-wscript -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release +# Compiled Binary Addons (Node.js Addons) +build/Release/ -# Dependency directories +# Dependency Directories node_modules/ jspm_packages/ -# TypeScript v1 declaration files +# TypeScript Files & Cache typings/ - -# TypeScript cache *.tsbuildinfo -# Optional npm cache directory -.npm - -# Optional eslint cache +# Cache & Temporary Files +.npm/ .eslintcache - -# Optional REPL history .node_repl_history +.cache/ -# Output of 'npm pack' +# Packaged Output *.tgz -# Yarn Integrity file +# Yarn Specific Files .yarn-integrity -# dotenv environment variables file +# Environment Variables Files .env .env.test -# parcel-bundler cache (https://parceljs.org/) -.cache - - -# Vitepress configuration files -docs/.vitepress/dist -docs/.vitepress/cache +# Vitepress Cache & Build Files +docs/.vitepress/dist/ +docs/.vitepress/cache/ +# macOS System Files .DS_Store