Angular2 .gitignore
34,696
angular-cli
generates
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# dependencies
/node_modules
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings
# e2e
/e2e/*.js
/e2e/*.map
# System Files
.DS_Store
Thumbs.db
Author by
jjz
Updated on January 14, 2020Comments
-
jjz over 4 years
I'm setting up an Angular 2 sample project. Is my
.gitignore
enough already or did I miss anything?node_modules typings jspm_packages bower_components app/**/*.js app/**/*.map
-
phil294 about 7 yearsa
ng new MyProject
doesnt include any.gitignore
file ...? -
Günter Zöchbauer about 7 yearsI don't know why. I'm sure it should. This is the file it should generate github.com/angular/angular-cli/blob/…
-
phil294 about 7 yearsthanks! found the issue. ng cli did not update properly due to stackoverflow.com/a/43525586/3779853 .
-
katie about 5 yearsWhat about /e2e/*.ts?
-
qaisjp almost 5 years
-
Mauricio Gracia Gutierrez about 3 yearsYear 2021 - This file is automatically generated when the app is created - ng version 11 - npm version 12 - @phil294