24 Commits

Author SHA1 Message Date
Ash Ramirez
434a3740f0 refactor(@angular/cli): update aio links -> adev links
Updates for all angular.io links to the new angular.dev domain. Additionally, adjustment to new resources where the equivalent does not exist on the new site (e.g. Tour of Heroes tutorial)
2024-06-06 11:12:06 +02:00
Alan Agius
466d86dc8d refactor(@angular-devkit/build-angular): update code base structure to facilitate future builders
This commit updates the code base structure in preparation for future works.
2023-06-09 16:02:14 +02:00
Alan Agius
e992c9a70b build: update files to be fix eslint header/header failures 2021-05-04 09:59:40 -04:00
Joey Perrott
003854257c build: migrate all file header to use Google LLC rather than Google Inc 2021-04-27 08:35:22 +02:00
Alan Agius
e368b2f141 refactor(@angular-devkit/build-angular): move karma plugin in own folder 2021-01-15 13:31:48 -05:00
Alan Agius
0d10de5cbb refactor(@angular-devkit/build-angular): re-structure folder structure and move code
Previous
```
packages/angular_devkit/build_angular
├── plugins
│   └── webpack
└── src
    ├── angular-cli-files
    │   ├── models
    │   │   └── webpack-configs
    │   ├── plugins
    │   └── utilities
    │       ├── index-file
    │       └── service-worker
    ├── app-shell
    ├── browser
    │   └── specs
    ├── dev-server
    ├── extract-i18n
    ├── karma
    ├── ng-packagr
    ├── protractor
    ├── server
    ├── tslint
    ├── utils
    └── webpack
        └── models
```

Now
```
packages/angular_devkit/build_angular
├── plugins
└── src
    ├── app-shell
    ├── browser
    │   └── specs
    ├── dev-server
    ├── extract-i18n
    ├── karma
    ├── ng-packagr
    ├── protractor
    ├── server
    ├── tslint
    ├── utils
    │   └── index-file
    └── webpack
        ├── configs
        ├── plugins
        └── utils
```
2020-09-14 16:40:39 -04:00
Alan Agius
ceeb6fba34 fix(@angular-devkit/build-angular): consider ascii_only terser setting when counting components in analytics 2020-09-03 20:23:21 +02:00
Alan Agius
d5dc73b1c3 refactor(@angular-devkit/build-angular): update analytics plugin to make it strict compliant 2020-08-12 19:28:17 +01:00
Alan Agius
cee5c31fa1 build: update @types/webpack-sources to version ^1.4.2 2020-08-03 15:40:38 -04:00
Alan Agius
05588fcee1 refactor: clean up unused code and imports 2020-07-24 08:01:52 +02:00
Alan Agius
d9420cbe40 fix(@angular-devkit/build-angular): fix numberOfComponents in JIT mode
Current we are always sending `0` as the number of components in JIT mode because ` Component({` doesn't match the component source
2019-11-14 11:11:05 -08:00
Alan Agius
e70a2b04bd refactor(@angular-devkit/build-angular): use compiler parsed value of enableIvy
At the moment we are relying on source content to determine if the compilation is under Ivy or VE. However, we do know what compilation we are in from the parsed tsconfig.

With this change we use the `enableIvy` to set the analytics metric
2019-11-01 10:24:20 -07:00
Alan Agius
90a29255da refactor(@angular-devkit/build-angular): remove branch that checks for ɵmod
Under VE this symbol exists in ngfactories and hence it is not safe to use it to determine if the app is running under ivy
2019-10-16 05:56:23 -07:00
Alan Agius
f943d3a8dc refactor(@angular-devkit/build-angular): rename ngModuleDef to ɵmod 2019-10-16 05:56:23 -07:00
Alan Agius
e847ee5c83 fix(@angular-devkit/build-angular): change the ngComponentDef to ɵcmp
Related to 64fd0d6db9
2019-10-16 05:56:23 -07: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
Charles
3db2787cea refactor(@angular-devkit/build-angular): update webpack typings (#15334) 2019-08-14 10:22:32 -07:00
Hans Larsen
fd512b8217 refactor: do not report errors if there is no errors to report 2019-07-02 11:07:13 -07:00
Hans Larsen
af6c6d41d5 refactor: add count of component to analytics 2019-07-02 11:07:13 -07:00
Filipe Silva
609acf4cac fix(@angular-devkit/build-angular): verify chunk files exist before accessing
`chunk.files[0]` can be undefined, which caused  `chunk.files[0].endsWith` to fail.
2019-04-10 08:42:39 -07:00
Alan Agius
d668889fae refactor: remove console logs from analytics
This cause errors to be printed out multiple times
2019-04-02 04:46:36 -07:00
Hans Larsen
20103a35d6 fix(@angular-devkit/build-angular): fix countOccurences
And add testing for it.
2019-03-28 13:28:41 -07:00
Hans Larsen
a2ff62e2b0 feat(@angular-devkit/build-angular): add analytics for build
Add a few metrics that we want to capture in the build.
2019-03-28 13:28:41 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00