52 Commits

Author SHA1 Message Date
David LJ
d6f7962b2a docs: aio->adev links in readme, docs & gh dirs 2024-05-27 08:08:52 +02:00
Susheel Thapa
706483d1c5 docs: fix the typo in multiple files 2023-10-20 11:37:35 -07:00
Alan Agius
741cca73c1 feat(@schematics/angular): add ng new --ssr
This commit enabled users to opt-in adding SSR and SSG to their application during the `ng new` experience. This can be done either by using the `--ssr` option or answer `Yes` when prompted.
2023-09-25 20:17:01 +02:00
Alan Agius
f41d609ae8 fix(@angular/cli): add unique user id as user parameter in GA
While, GA collects the user id, this cannot be used for reporting and filtering purpose. This can be
2022-10-14 15:27:05 +02:00
Alan Agius
c59c1e7e6d fix(@angular/cli): add workspace information as part of analytics collection
With this change we collect 3 additional metrics
- `all_projects_count` Count of all project in a workspace
- `libs_projects_count` Count of library projects in a workspace
- `apps_projects_count` Count of application projects in a workspace
2022-10-14 15:27:05 +02:00
Alan Agius
95adf11131 docs: fix markdown links in analytics docs 2022-10-12 16:55:17 +02:00
Alan Agius
3928d084e6 ci: add validation for parameters length
Needed as otherwise if the parameter is longer we are unable to map this in GA4.

GA4 has a limit of:
- 24 characters for custom user dimension parameter names
- 40 characters for custom event dimension parameter names
- 40 characters for custom metric dimension parameter names
2022-10-12 15:32:28 +02:00
Alan Agius
bf7ed0d3e5 ci: correct analytics validation script to print user custom dimensions
Prior to this user custom dimensions were not added to `docs/design/analytics.md`
2022-10-12 15:32:28 +02:00
Alan Agius
2fb9a4dc09 docs: remove page view section from analytics doc
Page views are no longer used in GA4.
2022-10-12 15:32:28 +02:00
Alan Agius
124be1cc9c refactor: add build and rebuild related statistics and analytics
The new build and rebuild statistics are used by the CLI to submit build related information to GA.
2022-10-11 18:52:30 +02:00
Alan Agius
639a3071c3 refactor: migrate analytics collector to use GA4
This change updates the analytics collector collector to use GA4 instead of UA. The motivation behind this change is that UA will stop collecting data in 2023.

BREAKING CHANGE:

`analyticsSharing` option in the global angular configuration has been
removed without replacement. This option was used to configure the Angular CLI to  access to your own users' CLI usage data.

If this option is used, it can be removed using `ng config --global cli.analyticsSharing undefined`.
2022-10-11 18:52:30 +02:00
Alan Agius
2ba44a433c refactor(@angular-devkit/build-angular): remove support for Stylus
The usage of Stylus in the CLI is minimal and this package never reached version 1.

BREAKING CHANGE:

Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and its usage in the Angular CLI is minimal. It's recommended to migrate to another CSS preprocessor that the Angular CLI supports.
2022-09-16 11:39:19 -07:00
Doug Parker
25482d72b9 docs: remove caretaker pairings
This list is out of date and not used. The calendar is listed above and is the source of truth, so there is no need for this table.
2022-05-16 09:21:14 -04:00
Paul Gschwendtner
156f15e47f build: cleanup references to old master branch
Cleans up all referneces to the old `master` branch.
2022-05-04 09:55:54 -07:00
Kristiyan Kostadinov
7b78b7840e feat(@schematics/angular): add --standalone to ng generate
Adds the `--standalone` flag when generating components, directives or pipes through `ng generate`.
2022-04-27 15:33:48 -04:00
Alan Agius
455aeea12d fix(@angular-devkit/core): add Angular CLI major version as analytics dimension
With this change we replace the custom dimension 8 `AOT Enabled`, with `Angular CLI Major Version`. The motivation behind replacing this dimension is that the there is already an `aot` dimension with id 13 which serves for the same purpose.

More information to why we need a new dimension for the Angular CLI major version can be found #22130

Closes #22130
2022-03-24 08:53:10 +01:00
Alan Agius
46a7be3af4 refactor(@angular/cli): clean up analytics methods
Re-use methods were possible.
2022-03-15 16:31:07 -04:00
Alan Agius
afafa5788f feat(@angular/cli): add --global option to ng analytics command
With this change we add a `--global` option to `ng analytics` command.

BREAKING CHANGE:

Several changes to the `ng analytics` command syntax.

- `ng analytics project <setting>` has been replaced with `ng analytics <setting>`
- `ng analytics <setting>` has been replaced with `ng analytics <setting> --global`
2022-03-15 16:31:07 -04:00
Alan Agius
17c78a53ba docs: remove old information from debugging section
`universal-analytics` has been removed via dbce2a3f28 which makes `DEBUG=universal-analytics` unusable.
2022-01-10 10:29:15 -08:00
Alan Agius
079ef070c9 refactor(@angular-devkit/build-angular): replace Ivy Enabled analytics dimension with AOT Enabled
The motivation behind this change is that since version 12, application are always built using Ivy, in addition to this, adding AOT as dimension might be  helpful in our decision process if we want to remove JIT.
2021-10-13 21:03:50 +02:00
Alan Agius
5986befcdc feat(@schematics/angular): remove deprecated options
With this change we removed several deprecated `@schematics/angular` deprecated options.

BREAKING CHANGE:

We removed several deprecated `@schematics/angular` deprecated options.
- `lintFix` have been removed from all schematics. `ng lint --fix` should be used instead.
- `legacyBrowsers` have been removed from the `application` schematics since IE 11 is no longer supported.
- `configuration` has been removed from the `web-worker` as it was unused.
- `target` has been removed from the `service-worker` as it was unused.
2021-07-30 14:26:53 +01:00
Charles Lyding
37a06a7c37 build: format all files
All files are now formatted using the ng-dev tools via prettier.
2021-04-28 16:05:49 -07:00
Jefiozie
e7f44664b1 docs: fix build-system-overview graph 2021-02-23 08:42:09 +01:00
Alan Agius
7807b779d8 docs: replace analytics table with kebabed cased arguments 2020-12-02 16:02:27 +01:00
Alan Agius
c5a1b21f7c refactor(@angular-devkit/core): remove unused NgBuildBuildEventLog from NgCliAnalyticsDimensions 2020-10-07 13:18:30 -04:00
Joey Perrott
dd59bfcc60 docs: remove usage of blacklist from third-party-libraries documentation
Replace the usage of blacklist with a description of the prevention/disclusion
methods which are beging described.
2020-09-24 00:06:27 +03:00
Doug Parker
245e669d63 docs: remove Docker design doc
This design was never implemented and has been superceded by the `ng deploy` design.
2020-09-11 16:17:15 -04:00
Charles Lyding
8f42fe4f42 docs: add build system differential loading theory of operation overview 2020-01-29 17:13:33 -08:00
Filipe Silva
d2e57e016d docs: address remaining review items 2020-01-21 08:34:34 -08:00
Filipe Silva
ff5f795190 docs: add build system doc 2019-12-17 09:51:16 -08:00
arturovt
44f70a928a docs: fix typos in the ngConfig design document 2019-11-26 13:06:22 -08:00
vikerman
2303a045ee feat(@angular-devkit/build-angular): add analytics for ivy/non-ivy builds
Look for `ngComponentDef` or `ngModuleDef` in the webpack analytics plugin
to report back whether the current build is built with Ivy enabled.
2019-10-02 12:06:38 -07:00
Alan
ba8a6ea599 feat(@schematics/angular): remove enableIvy option
With this change we remove the enableIvy option as now we only support generating Ivy application. Users who want to create a VE applications should follow the opt-out guide
2019-08-16 09:31:02 -07:00
Hans Larsen
af6c6d41d5 refactor: add count of component to analytics 2019-07-02 11:07:13 -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
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
2e9dc3d252 docs: add analytics dimensions for schematics flags and internal doc
The analytics.md should be kept up to date with the flags.
2019-03-20 15:08:07 -07:00
jsshandle
524807d6cf docs(@angular/cli): resolve HTTP 301 redirects 2018-07-23 13:33:15 +01:00
Hans
7924e0a455 docs: re-add angular/cli docs which were deleted when syncing devkit 2018-06-08 07:24:02 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00
Charles Lyding
d0a4b936b0 docs: add deploy URL and base HREF comparison 2018-02-26 16:00:15 +00:00
Mike Brocchi
809340a8f0 refactor(@angular/cli): rename config file from angular-cli.json to .angular-cli.json (#4681)
BREAKING CHANGE: The configuration file angular-cli.json has been renamed to .angular-cli.json
2017-02-15 23:14:18 -05:00
Stephen Cavaliere
d22e9ae737 chore: fix documentation end of file consistency (#4119) 2017-02-13 12:41:05 +00:00
Michał Gołębiowski
20484598dd chore: change all Angular-CLI occurrences to Angular CLI (#4402)
* chore: change all Angular-CLI occurrences to Angular CLI

* docs: remove one remaining angular-cli reference
2017-02-03 15:50:24 +00:00
Filipe Silva
2211172ffb feat(update): add ng update as alias of ng init (#4142)
Fix #4007
2017-01-30 16:24:13 -08:00
Codebacca
7545d514ff chore(doc): removed hanging comma in code example and fixed gramma (#3585) 2016-12-16 13:51:10 -08:00
Mike Brocchi
5514163e17 chore: remove format command
Formatting does not align with the style guide.
Fixes #765
2016-05-16 22:19:13 -04:00
Christopher Martin
88c77d6927 docs: Docker deploy design doc (#450)
* design(): docker deploy design doc

* design(docker): reduce scope and incorporate feedback from PR
2016-05-16 10:21:55 -07:00
Hans
8f8af24791 feature: New command 'set' and 'get' to play with the cli config. (#407)
Includes design doc.
2016-04-14 15:32:31 -07:00
Hans
f505b75e94 fix: deleting the data instead of setting it null. (#413)
Also, remove ngConfig which was added by mistake, and new tests for
sass.
2016-04-09 12:11:49 -07:00