Alan Agius
f6e1fd84a2
refactor(@angular-devkit/schematics-cli): move @schematics/schematics
into this package
...
This change removes the need for the `@schematics/schematics` package and moves it inside `@angular-devkit/schematics-cli`.
2021-04-02 08:09:07 +02:00
Charles Lyding
2dd0cbd2e9
refactor(@angular/cli): inline @schematics/update:update schematic
...
This change removes the need for the `@schematics/update` package within the Angular tooling and removes the dependency from the `@angular/cli` package.
Only the `update` schematic from the `@schematics/update` package was used and this schematic's logic will eventually be folded into the update command logic directly.
2021-03-29 08:18:11 -06:00
Alan Agius
dbce2a3f28
refactor(@angular/cli): remove dependency on universal-analytics
...
With this change we remove the dependency on the unmaintained universal-analytics package. We also solve several package deprecation warnings when creating a new workspace.
Closes #16952
2021-03-01 13:59:26 -05:00
Aravind V Nair
a408aeeaa6
docs(@angular/cli): switching angular.io URL from HTTP to HTTPS
...
Signed-off-by: Aravind V Nair <22199259+aravindvnair99@users.noreply.github.com>
2021-02-15 14:46:40 -06:00
Charles Lyding
776a6ece58
fix(@angular/cli): avoid analytics cli object check if not present
...
The `cli` workspace configuration property was previously checked to determine if it was an object even if the property did not yet exist.
2021-01-20 14:44:12 -05:00
Alan Agius
0bc15970ad
refactor(@schematics/angular): use jsonc-parser instead of devkit parser
2020-11-05 08:31:02 +01:00
Alan Agius
a038699ec3
refactor(@angular/cli): remove usage of devkit core JsonParser
2020-11-05 08:31:02 +01:00
Alan Agius
a85ba990eb
refactor: clean up several files
...
Most of these changes are requires for TS 4 update
2020-07-22 12:56:34 +01:00
Charles
a1487b3e9e
feat(@angular/cli): check/prompt for workspace level analytics configuration ( #14264 )
2019-09-12 11:45:59 -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
Hans
15b9ea8998
feat(@angular/cli): report telemetry opt-ins ( #15054 )
...
Only when prompted.
2019-07-12 15:15:21 -07:00
Alan
70a4cbe306
style: enable no-debugger
and no-console
tslint rules
2019-06-27 09:28:35 -07:00
Hans Larsen
46ade49a2f
feat(@angular/cli): report RAM in gigabytes instead of megabytes
...
Otherwise its too much noise. Some people have weird MB count probably due to
containers and VMs.
2019-06-27 09:17:26 -07:00
Hans Larsen
2e6d2e18b9
feat(@angular/cli): ping back when user opts out of analytics
...
On prompt only, does not contain any user info. Since prompt should be only
shown at install or first run, this is not going to ping more than once and
the users privacy is also protected.
2019-06-26 11:22:19 -07:00
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