58 Commits

Author SHA1 Message Date
Charles Lyding
b336cc7798 fix(@angular/cli): ensure git repository is clean before updates
If not asking for update status then this change checks for a clean git repository before proceeding.  This allows the user to easily reset any changes from the update and avoid any developer code changes from being mixed with update changes.
2019-05-23 19:13:41 +02:00
Charles Lyding
b7fc6125e5 fix(@angular/cli): improve error handling of update command
This adds extensive option checking and error handling with the goal to catch user errors as early in the process as possible.  Bad option combinations and/or values will result in actionable information and stop the process before network access and processing occurs.
2019-05-15 14:34:03 -07:00
clydin
43aabb4be6 fix(@schematics/update): improve npmrc discovery (#12871)
* fix(@schematics/update): improve npmrc discovery

* feat(@angular/cli): support yarnrc options during update when using yarn
2018-11-14 10:30:00 -08:00
Alan Agius
eab4c2e630 fix(@angular/cli): ng update remove duplicate dryRun in help
Closes #12423
2018-10-03 16:34:31 -07:00
Hans
afa71a1471 feat(@angular/cli): add help for ng-new schematics
Before it was missing because we need to load the schematics engine for it.
I moved the ng update logic that did this to SchematicCommand.
2018-09-14 21:29:31 -07:00
Hans Larsen
30b0cbda0d refactor(@angular/cli): automated JSON schema interface generation 2018-09-13 16:44:17 -07:00
Hans
de7ec84872 feat(@angular/cli): add --helpJson (or --help-json) too all commands
And other refactors.

The interface for the JSON is available in command.ts (the CommandDescription).
2018-09-06 07:37:48 -07:00
Hans
c75318b432 fix(@angular/cli): fix ci for new command formats 2018-08-13 20:58:47 -07:00