Created
September 24, 2023 21:48
-
-
Save coltenkrauter/31aae9f72921fa151454833748b655af to your computer and use it in GitHub Desktop.
This gist provides the ultimate .gitignore file tailored for TypeScript projects, covering Node.js, IDE-specific, and operating system files to be ignored by Git.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---> Node.js and NPM packages | |
node_modules/ | |
package-lock.json | |
yarn.lock | |
# ---> TypeScript Compiler Output | |
dist/ | |
*.tsbuildinfo | |
# ---> IDE - Visual Studio Code | |
.vscode/ | |
*.code-workspace | |
# ---> IDE - WebStorm, IntelliJ | |
.idea/ | |
# ---> MacOS | |
.DS_Store | |
# ---> Logs | |
logs/ | |
*.log | |
npm-debug.log* | |
# ---> Environment variables | |
.env | |
# ---> Dependency directories | |
bower_components/ | |
# ---> Unix OS generated files | |
*.swp | |
*.swo | |
*~ | |
# ---> Temporary files | |
*.tmp | |
*.temp | |
*.swp | |
*.swo | |
# ---> Operating System generated files | |
ehthumbs.db | |
Thumbs.db | |
EOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment