-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Description
🐞 Bug report
Command (mark with an x
)
- update
Is this a regression?
Yes, the previous version in which this bug was not present was: 12.2.10
Description
Newly created projects with 13.0.0-rc.0
have the .angular
cache folder added to .gitignore
.
When updating from a v12.2.10 project, the entry is not added, hence the folder is not ignored.
🔬 Minimal Reproduction
# create new project with globally installed CLI 13.0.0-rc.0
ng new foofoo --routing=false --style=css
=> ✅ has /.angular/cache
in .gitignore
# create new project with globally installed CLI 12.2.10
ng new foofoo --routing=false --style=css
cd foofoo
# update to 13.0.0-rc.0
ng update @angular/cli --next
=> ❌ does NOT have /.angular
cache folder ignored!
🌍 Your Environment
Angular CLI: 13.0.0-rc.0
Node: 14.17.6
Package Manager: npm 6.14.15
OS: darwin x64
Angular: 13.0.0-rc.0
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Metadata
Metadata
Assignees
Labels
area: @angular/clifreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix