build: upgrade `@angular/cli` in `cli-hello-world` integration test (#26869)
PR Close #26869
This commit is contained in:
parent
c40677a4f5
commit
387db75003
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue