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`: When a significant change is released in the CLI, the application should be updated with `ng update`:
```bash ```bash
$ cd integration $ cd integration/cli-hello-world
$ ng update $ yarn install
# ng build $ yarn ng update @angular/cli @angular-devkit/build-angular
# ng test # yarn build
# yarn test
# typescript version # typescript version
``` ```
@ -36,7 +37,7 @@ The API for each test is:
This means that the test should be started by test script, like 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 Note that the `package.json` file uses a special `file://../../dist` scheme

View File

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

View File

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

File diff suppressed because it is too large Load Diff