build: consolidate @angular-devkit/build-angular to the root package.json (#34002)

This allows us to update the version of the package in a single place for all tests.

Notable exemption of this is aio which currently doesn't depend on anything installed in the root.

PR Close #34002
This commit is contained in:
Igor Minar
2019-11-22 16:31:40 -08:00
committed by Miško Hevery
parent 7385e9d06d
commit ca88f7d2ef
22 changed files with 5178 additions and 1641 deletions

View File

@ -4,7 +4,7 @@ This directory contains end-to-end tests for Angular. Each directory is a self-c
that exactly mimics how a user might expect Angular to work, so they allow high-fidelity
reproductions of real-world issues.
For this to work, we first build the Angular distribution just like we would publish it to npm, then
For this to work, we first build the Angular distribution via `./scripts/build-packages-dist.js`, then
install the distribution into each app.
To test Angular CLI applications, we use the `cli-hello-world-*` integration tests.
@ -15,11 +15,13 @@ When a significant change is released in the CLI, the applications should be upd
$ cd integration/cli-hello-world[-*]
$ yarn install
$ yarn ng update @angular/cli @angular-devkit/build-angular
# yarn build
# yarn test
# typescript version
$ yarn build
$ yarn test
```
Afterwards the `@angular/cli` and `@angular-devkit/build-angular` should be reverted to the `file:../` urls
and the main `package.json` should be updated with the new versions.
## Render3 tests
The directory `cli-hello-world-ivy-compat` contains a test for render3 used with the angular cli.