test: update angular cli version for ng_update_migrations integration test (#33223)
Updates the Angular CLI version in the `ng_update_migrations` integration test. Since refactorings are made to the `ng update` command implementation, we want to make sure that everything works as expected for the migrations in version 9. PR Close #33223
This commit is contained in:
parent
4800fa1c08
commit
06093559a2
|
@ -24,8 +24,8 @@
|
||||||
"zone.js": "file:../../node_modules/zone.js"
|
"zone.js": "file:../../node_modules/zone.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~0.803.0",
|
"@angular-devkit/build-angular": "^0.900.0-next.11",
|
||||||
"@angular/cli": "^8.3.0",
|
"@angular/cli": "^9.0.0-next.9",
|
||||||
"@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": "~3.3.8",
|
"@types/jasmine": "~3.3.8",
|
||||||
|
|
|
@ -22,8 +22,8 @@ const fromVersion = '8.0.0';
|
||||||
const toVersion = '9.0.0';
|
const toVersion = '9.0.0';
|
||||||
// Note that we need to specify "--allow-dirty" as the repository will become dirty
|
// Note that we need to specify "--allow-dirty" as the repository will become dirty
|
||||||
// if dependencies for the integration test are installed (i.e. modified lock files)
|
// if dependencies for the integration test are installed (i.e. modified lock files)
|
||||||
const updateCommandArgs =
|
const updateCommandArgs = ['@angular/core', '--migrate-only', '--from', fromVersion,
|
||||||
['@angular/core', '--migrate-only', '--from', fromVersion, '--to', toVersion, '--allow-dirty'];
|
'--to', toVersion, '--allow-dirty', '--skip-commits'];
|
||||||
|
|
||||||
// Print out the command that is used to run the migrations for easier debugging.
|
// Print out the command that is used to run the migrations for easier debugging.
|
||||||
console.error(`Running "ng update ${updateCommandArgs.join(' ')}":`);
|
console.error(`Running "ng update ${updateCommandArgs.join(' ')}":`);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue