Hans Larsen
cf86f0663e
feat(@angular/cli): move non-stable version analytics to own property
...
And refactor it to be put magic strings in a single place.
2019-06-26 11:22:19 -07:00
Charles Lyding
c4313f55e4
refactor(@angular/cli): unify color handling and support
2019-06-24 17:27:59 -07:00
Charles Lyding
57189f6eca
fix(@angular/cli): standardize TTY checks
2019-05-22 10:02:58 +02:00
Charles Lyding
4130191877
fix(@angular/cli): show analytics prompt when no global configuration file
...
Fixes #14486
2019-05-22 10:02:58 +02:00
Charles Lyding
475ba6610c
fix(@angular/cli): only show postinstall prompt when global analytics not configured
2019-04-24 07:16:58 -10:00
Stephen Fluin
be0c3d5af6
fix(@angular/cli): improve opt-out language
2019-04-03 21:58:58 +02:00
Hans Larsen
2ffbdfa86a
build: add a validation script for the analytics.md tables
...
Also added enums to update when changing dimensions.
2019-03-28 13:28:41 -07:00
Hans Larsen
55471770db
refactor: use dimensions for some values instead of metrics
...
This is after a discussion with someone internal. Metrics are good
for sums but not for comparisons and search/filtering.
2019-03-28 13:28:41 -07:00
Hans Larsen
e9ee58a89e
refactor(@angular/cli): move analytics constants to devkit core
...
They need to be shared with builders and schematics.
2019-03-28 13:28:41 -07:00
Hans Larsen
6e5095b134
feat(@angular/cli): allows analytics sharing with a third party
...
Documentation can be seen at https://next.angular.io/cli/usage-analytics-gathering
2019-03-26 10:07:30 -07: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
696272bd40
fix(@angular/cli): if no global config file found, analytics can be null
...
This happens if there is no file at all (otherwise it would be undefined). This was
causing an exception and returning false instead of undefined, preventing the
prompt. Now we return undefined in this case.
To be clear, this is because getWorkspace returns null, and the logic makes
analyticsConfig null in this case.
2019-03-25 12:37:05 -07:00
Alan
75abc79e37
fix(@angular/cli): fix import path for TimingOptions
...
Fixes #13978
2019-03-25 11:21:05 -07:00
Hans Larsen
0a1d4298ec
build: remove DO_NOT_SUBMIT tags from messaging
...
This is conditional to https://github.com/angular/angular/pull/29382 being
submitted.
2019-03-20 15:08:07 -07:00
Hans Larsen
2e58fb33ca
feat(@angular/cli): add custom implementation for analytics for commands
...
Some commands (like schematics) need to have custom reporting for
analytics. Schematics and Architect commands need to verify if the
schematic/architect builder run is in the safelist, for example.
2019-03-20 15:08:07 -07:00
Hans Larsen
cf5cf19bb5
feat(@angular/cli): add analytic support to commands and command-runner
...
This is only reporting commands and their flags right now, and not
schematics or project analytics.
2019-03-20 15:08:07 -07:00