8 Commits

Author SHA1 Message Date
Charles Lyding
ce4d59fee3 refactor(@angular/cli): remove v1 postinstall update check
This postinstall script was put in place during the v6.0 timeframe to aid users migrating from the v1.x configuration file format by displaying a message instructing the user to run `ng update`.
The `ng update` migration is still functional and users can still use it to migrate from a v1.x project.  However, the postinstall script will no longer be run for every install of the Angular CLI.
2021-02-26 07:22:29 -05:00
Charles Lyding
94dfb4c0f8 fix(@angular/cli): prevent postinstall script errors from blocking install 2020-01-21 08:36:14 -08:00
Charles
5606a4cc0e fix(@angular/cli): handle promise rejection on analytics install prompt (#15455)
A rejection in this case should be ignored to prevent potential installation failure.
2019-08-27 10:24:32 -07:00
Charles Lyding
b630317b4b refactor(@angular/cli): convert workspace access to async
This is in preparation for conversion from the experimental workspace API to the stable workspace API.
2019-08-16 09:32:04 -07:00
Charles Lyding
e6feb0d0db fix(@angular/cli): ensure analytics prompt exceptions are caught
Fixes #14684
2019-06-14 12:58:01 -07:00
Charles Lyding
475ba6610c fix(@angular/cli): only show postinstall prompt when global analytics not configured 2019-04-24 07:16:58 -10:00
Hans Larsen
c840fcb529 fix(@angular/cli): dont force a prompt on non-interactive terminals
For some reason we were forcing the prompt on postinstall, breaking CI.
2019-03-25 12:37:05 -07:00
Hans Larsen
e96c7ce291 feat(@angular/cli): add prompt on post install step
Only prompt the user on interactive terminals.
2019-03-20 15:08:07 -07:00