build: upgrade `@angular/cli` in `cli-hello-world` integration test (#26869)

PR Close #26869
This commit is contained in:
George Kalpakas 2018-10-31 17:25:57 +02:00 committed by Kara Erickson
parent c40677a4f5
commit 387db75003
4 changed files with 2216 additions and 798 deletions

View File

@ -10,10 +10,11 @@ To test Angular CLI applications, we use the integration test `cli-hello-world`.
When a significant change is released in the CLI, the application should be updated with `ng update`:
```bash
$ cd integration
$ ng update
# ng build
# ng test
$ cd integration/cli-hello-world
$ yarn install
$ yarn ng update @angular/cli @angular-devkit/build-angular
# yarn build
# yarn test
# typescript version
```
@ -36,7 +37,7 @@ The API for each test is:
This means that the test should be started by test script, like
```
'scripts' { 'test': 'runProgramA && assertResultIsGood' }
"scripts": {"test": "runProgramA && assertResultIsGood"}
```
Note that the `package.json` file uses a special `file://../../dist` scheme

View File

@ -2,9 +2,9 @@
"cli-hello-world": {
"master": {
"uncompressed": {
"runtime": 1110,
"main": 160134,
"polyfills": 59620
"runtime": 1497,
"main": 181839,
"polyfills": 59608
}
}
},

View File

@ -9,7 +9,7 @@
"ng": "ng",
"postinstall": "webdriver-manager update --gecko=false --standalone=false $CHROMEDRIVER_VERSION_ARG",
"start": "ng serve",
"test": "ng test --progress=false && ng e2e --webdriver-update=false && ng e2e --prod --webdriver-update=false"
"test": "ng test --progress=false --watch=false && ng e2e --webdriver-update=false && ng e2e --prod --webdriver-update=false"
},
"private": true,
"dependencies": {
@ -27,8 +27,8 @@
"zone.js": "file:../../node_modules/zone.js"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.5.0",
"@angular/cli": "7.0.0-beta.4",
"@angular-devkit/build-angular": "~0.10.3",
"@angular/cli": "7.0.3",
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
"@angular/language-service": "file:../../dist/packages-dist/language-service",
"@types/jasmine": "~2.8.3",

File diff suppressed because it is too large Load Diff