From e35a89013a7de4769bd82a032bb9b6ca8b1f9820 Mon Sep 17 00:00:00 2001 From: Lars van Vianen Date: Tue, 13 Aug 2024 10:23:55 +0200 Subject: [PATCH] Update .npmignore --- .npmignore | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/.npmignore b/.npmignore index 63ff007..770263c 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,47 @@ +# .npmignore - Files and directories to exclude from the npm package + +# Node modules - Exclude installed dependencies node_modules/ + +# Build directories - Exclude build and public output directories public/ +dist/ + +# Build configuration files - Exclude build config files webpack.config.js webpack.config.ts -.DS_Store -*/.DS_Store -dist/package.json \ No newline at end of file + +# OS-specific files - Exclude system-specific files +.DS_Store # macOS Finder metadata +*/.DS_Store # .DS_Store in any subdirectory + +# Package metadata - Exclude unnecessary package metadata files +dist/package.json + +# Logs and temporary files - Exclude log files and temporary directories +npm-debug.log* +yarn-debug.log* +yarn-error.log* +*.log +*.tmp + +# IDE and editor configurations - Exclude IDE-specific settings and files +.vscode/ +.idea/ +*.swp +*.swo + +# Test and documentation files - Exclude test files and documentation +tests/ +*.spec.js +*.spec.ts +*.test.js +*.test.ts +coverage/ +docs/ +*.md + +# Ignore all dotfiles (except for specific ones needed) +.* +!.npmignore +!.gitignore \ No newline at end of file