build: update Angular CLI packages to 12.0.0-next.7 (#41434)

With this change we update Angular CLI packages that are used in the repo for testing to `12.0.0-next.7`

PR Close #41434
This commit is contained in:
Alan Agius 2021-04-07 09:21:13 +02:00 committed by Zach Arend
parent 7d8efe323b
commit 1c82eff440
3 changed files with 737 additions and 555 deletions

View File

@ -62,7 +62,11 @@ const packageList = Object.keys(packages).map(p => `${p}@${packages[p]}`).join('
exec(`yarn add --ignore-scripts --silent ${packageList} --cache-folder ./.yarn_local_cache`); exec(`yarn add --ignore-scripts --silent ${packageList} --cache-folder ./.yarn_local_cache`);
// Add @angular/elements // Add @angular/elements
exec(bazelMappings ? `ng add "${bazelMappings['@angular/elements']}"` : `ng add "${__dirname}/../../dist/packages-dist/elements"`); const schematicPath = bazelMappings
? `${bazelMappings['@angular/elements']}`
: `${__dirname}/../../dist/packages-dist/elements`;
exec(`ng add "${schematicPath}" --skip-confirmation`);
// Test that build is successful after adding elements // Test that build is successful after adding elements
exec('ng build --no-source-map'); exec('ng build --no-source-map --configuration=development');

View File

@ -41,11 +41,11 @@
}, },
"// 1": "dependencies are used locally and by bazel", "// 1": "dependencies are used locally and by bazel",
"dependencies": { "dependencies": {
"@angular-devkit/architect": "0.1102.7", "@angular-devkit/architect": "0.1200.0-next.7",
"@angular-devkit/build-angular": "0.1102.7", "@angular-devkit/build-angular": "0.1200.0-next.7",
"@angular-devkit/build-optimizer": "0.1102.7", "@angular-devkit/build-optimizer": "0.1200.0-next.7",
"@angular-devkit/core": "11.2.7", "@angular-devkit/core": "12.0.0-next.7",
"@angular-devkit/schematics": "11.2.7", "@angular-devkit/schematics": "12.0.0-next.7",
"@babel/cli": "7.8.4", "@babel/cli": "7.8.4",
"@babel/core": "7.8.6", "@babel/core": "7.8.6",
"@babel/generator": "7.8.6", "@babel/generator": "7.8.6",
@ -63,7 +63,7 @@
"@microsoft/api-extractor": "7.7.11", "@microsoft/api-extractor": "7.7.11",
"@octokit/rest": "16.28.7", "@octokit/rest": "16.28.7",
"@octokit/types": "^5.5.0", "@octokit/types": "^5.5.0",
"@schematics/angular": "11.2.7", "@schematics/angular": "12.0.0-next.7",
"@types/angular": "^1.6.47", "@types/angular": "^1.6.47",
"@types/babel__core": "7.1.6", "@types/babel__core": "7.1.6",
"@types/babel__generator": "7.6.1", "@types/babel__generator": "7.6.1",
@ -159,7 +159,7 @@
}, },
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.", "// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
"devDependencies": { "devDependencies": {
"@angular/cli": "11.2.7", "@angular/cli": "12.0.0-next.7",
"@bazel/bazelisk": "^1.7.3", "@bazel/bazelisk": "^1.7.3",
"@bazel/buildifier": "^4.0.1", "@bazel/buildifier": "^4.0.1",
"@bazel/ibazel": "^0.15.6", "@bazel/ibazel": "^0.15.6",

1270
yarn.lock

File diff suppressed because it is too large Load Diff