Skip to content

Commit b029dea

Browse files
committed
build: account for new dev-infra packages @angular/ng-dev and @angular/build-tooling (#25345)
We split the dev-infra-private packagve to decouple the ng-dev tool from the build tooling. This allows us to easily update ng-dev e.g. in LTS branches without needing to update Bazel. It is important that ng-dev can be updated as much as possilbe in all branches to ensure the release IPC reliably works. (cherry picked from commit 00ee53a)
1 parent 82be1d7 commit b029dea

File tree

74 files changed

+160
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+160
-156
lines changed

.bazelrc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ build:remote --google_default_credentials=true
8383

8484
# Setup the toolchain and platform for the remote build execution. The platform
8585
# is provided by the shared dev-infra package and targets k8 remote containers.
86-
build:remote --crosstool_top=@npm//@angular/dev-infra-private/bazel/remote-execution/cpp:cc_toolchain_suite
87-
build:remote --extra_toolchains=@npm//@angular/dev-infra-private/bazel/remote-execution/cpp:cc_toolchain
88-
build:remote --extra_execution_platforms=@npm//@angular/dev-infra-private/bazel/remote-execution:platform_with_network
89-
build:remote --host_platform=@npm//@angular/dev-infra-private/bazel/remote-execution:platform_with_network
90-
build:remote --platforms=@npm//@angular/dev-infra-private/bazel/remote-execution:platform_with_network
86+
build:remote --crosstool_top=@npm//@angular/build-tooling/bazel/remote-execution/cpp:cc_toolchain_suite
87+
build:remote --extra_toolchains=@npm//@angular/build-tooling/bazel/remote-execution/cpp:cc_toolchain
88+
build:remote --extra_execution_platforms=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network
89+
build:remote --host_platform=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network
90+
build:remote --platforms=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network
9191

9292
################################
9393
# Sandbox settings #

.ng-dev/caretaker.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {CaretakerConfig} from '@angular/dev-infra-private/ng-dev';
1+
import {CaretakerConfig} from '@angular/ng-dev';
22

33
/** The configuration for `ng-dev caretaker` commands. */
44
export const caretaker: CaretakerConfig = {

.ng-dev/commit-message.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {CommitMessageConfig} from '@angular/dev-infra-private/ng-dev';
1+
import {CommitMessageConfig} from '@angular/ng-dev';
22

33
/**
44
* The configuration for `ng-dev commit-message` commands.

.ng-dev/format.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {FormatConfig} from '@angular/dev-infra-private/ng-dev';
1+
import {FormatConfig} from '@angular/ng-dev';
22

33
/**
44
* Configuration for the ng-dev format command. We currently only use the buildifier

.ng-dev/github.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {GithubConfig} from '@angular/dev-infra-private/ng-dev';
1+
import {GithubConfig} from '@angular/ng-dev';
22

33
/**
44
* Github configuration for the ng-dev command. This repository is

.ng-dev/pull-request.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {PullRequestConfig} from '@angular/dev-infra-private/ng-dev';
1+
import {PullRequestConfig} from '@angular/ng-dev';
22

33
/**
44
* Configuration for the pull request commands in `ng-dev`. This includes the

.ng-dev/release.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import semver from 'semver';
2-
import {ReleaseConfig} from '@angular/dev-infra-private/ng-dev';
2+
import {ReleaseConfig} from '@angular/ng-dev';
33
import {assertValidFrameworkPeerDependency} from '../tools/release-checks/check-framework-peer-dependency.mjs';
44
import {assertValidUpdateMigrationCollections} from '../tools/release-checks/check-migration-collections.mjs';
55
import {assertValidNpmPackageOutput} from '../tools/release-checks/npm-package-output/index.mjs';

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ sass_repositories(
109109

110110
# Setup repositories for browsers provided by the shared dev-infra package.
111111
load(
112-
"@npm//@angular/dev-infra-private/bazel/browsers:browser_repositories.bzl",
112+
"@npm//@angular/build-tooling/bazel/browsers:browser_repositories.bzl",
113113
_dev_infra_browser_repositories = "browser_repositories",
114114
)
115115

integration/size-test/index.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel:expand_template.bzl", "expand_template")
1+
load("@npm//@angular/build-tooling/bazel:expand_template.bzl", "expand_template")
22
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary", "nodejs_test")
33
load("@bazel_skylib//lib:paths.bzl", "paths")
44
load("@npm//@bazel/esbuild:index.bzl", "esbuild")

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"scripts": {
1717
"postinstall": "node tools/postinstall/apply-patches.js",
18-
"ng-dev": "cross-env TS_NODE_PROJECT=$PWD/.ng-dev/tsconfig.json TS_NODE_TRANSPILE_ONLY=1 node --no-warnings --loader ts-node/esm node_modules/@angular/dev-infra-private/ng-dev/bundles/cli.mjs",
18+
"ng-dev": "cross-env TS_NODE_PROJECT=$PWD/.ng-dev/tsconfig.json TS_NODE_TRANSPILE_ONLY=1 node --no-warnings --loader ts-node/esm node_modules/@angular/ng-dev/bundles/cli.mjs",
1919
"build": "ts-node --esm --project scripts/tsconfig.json ./scripts/build-packages-dist-main.mts",
2020
"build-docs-content": "ts-node --esm --project scripts/tsconfig.json ./scripts/build-docs-content-main.mts",
2121
"build-and-check-release-output": "ts-node --esm --project scripts/tsconfig.json scripts/build-and-check-release-output.mts",
@@ -74,10 +74,11 @@
7474
"@angular-devkit/core": "^14.0.1",
7575
"@angular-devkit/schematics": "^14.0.1",
7676
"@angular/bazel": "^14.0.1",
77+
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#1addc303bef0b6acc0dca0961e9e642629f3a5cd",
7778
"@angular/cli": "^14.0.1",
7879
"@angular/compiler-cli": "^14.0.1",
79-
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#c1b330bfbd79adf076039c872b966cfef76c5781",
8080
"@angular/localize": "^14.0.1",
81+
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#865c7687cdca2bd512040330e1677eecaa26e46a",
8182
"@angular/platform-browser-dynamic": "^14.0.1",
8283
"@angular/platform-server": "^14.0.1",
8384
"@angular/router": "^14.0.1",
@@ -223,7 +224,8 @@
223224
"zx": "^6.2.4"
224225
},
225226
"resolutions": {
226-
"@angular/dev-infra-private/typescript": "~4.7.2",
227+
"@angular/build-tooling/typescript": "~4.7.2",
228+
"@angular/ng-dev/typescript": "~4.7.2",
227229
"browser-sync-client": "2.26.13",
228230
"dgeni-packages/typescript": "~4.7.2",
229231
"**/https-proxy-agent": "5.0.0"

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"enabled": false
2525
},
2626
{
27-
"matchPackageNames": ["@angular/dev-infra-private", "angular/dev-infra"],
27+
"matchPackageNames": ["@angular/ng-dev", "@angular/build-tooling", "angular/dev-infra"],
2828
"groupName": "angular shared dev-infra code",
2929
"enabled": true
3030
},

scripts/build-docs-content.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import sh from 'shelljs';
7-
import {BuiltPackage} from '@angular/dev-infra-private/ng-dev';
7+
import {BuiltPackage} from '@angular/ng-dev';
88
import {fileURLToPath} from 'url';
99
import {join, dirname} from 'path';
1010

scripts/build-packages-dist.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import {execSync} from 'child_process';
88
import {join, dirname} from 'path';
9-
import {BuiltPackage} from '@angular/dev-infra-private/ng-dev';
9+
import {BuiltPackage} from '@angular/ng-dev';
1010
import {fileURLToPath} from 'url';
1111
import sh from 'shelljs';
1212

scripts/circleci/notify-slack-job-failure.mts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
*/
77

88
import sh from 'shelljs';
9-
import {
10-
isVersionBranch,
11-
getConfig,
12-
assertValidGithubConfig,
13-
} from '@angular/dev-infra-private/ng-dev';
9+
import {isVersionBranch, getConfig, assertValidGithubConfig} from '@angular/ng-dev';
1410

1511
if (process.env.CIRCLE_PR_NUMBER !== undefined) {
1612
console.info('Skipping notifications for pull requests.');

scripts/circleci/setup-angular-snapshots.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ const snapshotPackages = [
2828

2929
/** List of packages which should not be updated to a snapshot build. */
3030
const ignorePackages = [
31-
// Skip update for the shared dev-infra package. We do not want to update to a snapshot
31+
// Skip update for the shared dev-infra packages. We do not want to update to a snapshot
3232
// version of the dev-infra tooling as that could break tooling from running snapshot
3333
// tests for the actual snapshot Angular framework code.
34-
'@angular/dev-infra-private',
34+
'@angular/build-tooling',
35+
'@angular/ng-dev',
3536
];
3637

3738
const {writeFileSync} = require('fs');

scripts/create-legacy-tests-bundle.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
import {createLinkerEsbuildPlugin} from '@angular/dev-infra-private/shared-scripts/angular-linker/esbuild-plugin.mjs';
3+
import {createLinkerEsbuildPlugin} from '@angular/build-tooling/shared-scripts/angular-linker/esbuild-plugin.mjs';
44
import child_process from 'child_process';
55
import esbuild from 'esbuild';
66
import fs from 'fs';

scripts/docs-deploy/deploy-ci-push.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
getBranchesForMajorVersions,
66
getVersionForVersionBranch,
77
isVersionBranch,
8-
} from '@angular/dev-infra-private/ng-dev';
8+
} from '@angular/ng-dev';
99
import {firebaseConfig, sites} from './utils.mjs';
1010

1111
import {buildAndDeployWithSnapshots} from './snapshot-deploy.mjs';

scripts/docs-deploy/github-versioning.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
assertValidGithubConfig,
66
getConfig,
77
getNextBranchName,
8-
} from '@angular/dev-infra-private/ng-dev';
8+
} from '@angular/ng-dev';
99

1010
import {githubAccessToken} from './utils.mjs';
1111

scripts/docs-deploy/install-built-packages.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as fs from 'fs';
22
import * as url from 'url';
33

4-
import {BuiltPackage} from '@angular/dev-infra-private/ng-dev';
4+
import {BuiltPackage} from '@angular/ng-dev';
55
import {getPackageJsonOfProject} from './utils.mjs';
66

77
export async function installBuiltPackagesInRepo(repoPath: string, builtPackages: BuiltPackage[]) {

scripts/docs-deploy/monitoring/index.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {$, cd} from 'zx';
22

33
import {ProductionDeployment} from '../deploy-to-site.mjs';
44
import {cloneDocsRepositoryForMajor} from '../clone-docs-repo.mjs';
5-
import {ActiveReleaseTrains} from '@angular/dev-infra-private/ng-dev';
5+
import {ActiveReleaseTrains} from '@angular/ng-dev';
66
import {getReleaseRepoWithApi} from '../github-versioning.mjs';
77
import {installDepsForDocsSite} from '../docs-deps-install.mjs';
88
import {sites} from '../utils.mjs';

scripts/docs-deploy/update-versions-file.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
assertValidReleaseConfig,
77
fetchLongTermSupportBranchesFromNpm,
88
getConfig,
9-
} from '@angular/dev-infra-private/ng-dev';
9+
} from '@angular/ng-dev';
1010

1111
import {sites} from './utils.mjs';
1212

src/cdk/testing/tests/webdriver-test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def webdriver_test(name, deps, tags = [], **kwargs):
1919

2020
web_test(
2121
name = "%s_chromium_web_test" % name,
22-
browser = "@npm//@angular/dev-infra-private/bazel/browsers/chromium:chromium",
22+
browser = "@npm//@angular/build-tooling/bazel/browsers/chromium:chromium",
2323
tags = tags + ["manual"],
2424
test = ":%s_jasmine_test" % name,
2525
)

test/benchmarks/cdk/testing/component-harness/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-toolinge/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22
load("//tools:defaults.bzl", "ng_test_library", "ng_web_test_suite", "ts_library")
33

44
package(default_visibility = ["//visibility:public"])
@@ -20,7 +20,7 @@ ts_library(
2020
srcs = [":protractor-benchmark-utilities.ts"],
2121
deps = [
2222
":constants",
23-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
23+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
2424
"@npm//@types/node",
2525
],
2626
)
@@ -69,7 +69,7 @@ ng_test_library(
6969
"//src/cdk/testing/testbed",
7070
"//src/material/button",
7171
"//src/material/button/testing",
72-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
72+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
7373
],
7474
)
7575

test/benchmarks/cdk/testing/component-harness/protractor-benchmark-utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
9+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1010
import {USE_BENCHPRESS} from './constants';
1111

1212
/**

test/benchmarks/material/button/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22

33
# TODO(wagnermaciel): Update this target to provide indigo-pink in a way that doesn't require having to import it with
44
# stylesUrls inside the components once `component_benchmark` supports asset injection.
@@ -7,7 +7,7 @@ component_benchmark(
77
name = "benchmark",
88
driver = ":button.perf-spec.ts",
99
driver_deps = [
10-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
10+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
1111
"@npm//protractor",
1212
"@npm//@types/jasmine",
1313
],

test/benchmarks/material/button/button.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {$, browser} from 'protractor';
10-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
10+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1111

1212
describe('button performance benchmarks', () => {
1313
beforeAll(() => {

test/benchmarks/material/card/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22

33
# TODO(wagnermaciel): Update this target to provide indigo-pink in a way that doesn't require having to import it with
44
# stylesUrls inside the components once `component_benchmark` supports asset injection.
@@ -7,7 +7,7 @@ component_benchmark(
77
name = "benchmark",
88
driver = ":card.perf-spec.ts",
99
driver_deps = [
10-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
10+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
1111
"@npm//protractor",
1212
"@npm//@types/jasmine",
1313
],

test/benchmarks/material/card/card.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {$, browser} from 'protractor';
10-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
10+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1111

1212
describe('card performance benchmarks', () => {
1313
beforeAll(() => {

test/benchmarks/material/checkbox/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22

33
# TODO(wagnermaciel): Update this target to provide indigo-pink in a way that doesn't require having to import it with
44
# stylesUrls inside the components once `component_benchmark` supports asset injection.
@@ -7,7 +7,7 @@ component_benchmark(
77
name = "benchmark",
88
driver = ":checkbox.perf-spec.ts",
99
driver_deps = [
10-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
10+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
1111
"@npm//protractor",
1212
"@npm//@types/jasmine",
1313
],

test/benchmarks/material/checkbox/checkbox.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {$, browser} from 'protractor';
10-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
10+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1111

1212
describe('checkbox performance benchmarks', () => {
1313
beforeAll(() => {

test/benchmarks/material/chips/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22

33
# TODO(wagnermaciel): Update this target to provide indigo-pink in a way that doesn't require having to import it with
44
# stylesUrls inside the components once `component_benchmark` supports asset injection.
@@ -7,7 +7,7 @@ component_benchmark(
77
name = "benchmark",
88
driver = ":chips.perf-spec.ts",
99
driver_deps = [
10-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
10+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
1111
"@npm//protractor",
1212
"@npm//@types/jasmine",
1313
],

test/benchmarks/material/chips/chips.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {$, browser} from 'protractor';
10-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
10+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1111

1212
describe('chip performance benchmarks', () => {
1313
beforeAll(() => {

test/benchmarks/material/form-field/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22

33
# TODO(wagnermaciel): Update this target to provide indigo-pink in a way that doesn't require having to import it with
44
# stylesUrls inside the components once `component_benchmark` supports asset injection.
@@ -7,7 +7,7 @@ component_benchmark(
77
name = "benchmark",
88
driver = ":form-field.perf-spec.ts",
99
driver_deps = [
10-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
10+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
1111
"@npm//protractor",
1212
"@npm//@types/jasmine",
1313
],

test/benchmarks/material/form-field/form-field.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {$, browser} from 'protractor';
10-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
10+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1111

1212
function runFormFieldRenderBenchmark(testId: string, showBtnId: string) {
1313
return runBenchmark({

test/benchmarks/material/menu/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm//@angular/dev-infra-private/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
1+
load("@npm//@angular/build-tooling/bazel/benchmark/component_benchmark:component_benchmark.bzl", "component_benchmark")
22

33
# TODO(wagnermaciel): Update this target to provide indigo-pink in a way that doesn't require having to import it with
44
# stylesUrls inside the components once `component_benchmark` supports asset injection.
@@ -7,7 +7,7 @@ component_benchmark(
77
name = "benchmark",
88
driver = ":menu.perf-spec.ts",
99
driver_deps = [
10-
"@npm//@angular/dev-infra-private/bazel/benchmark/driver-utilities",
10+
"@npm//@angular/build-tooling/bazel/benchmark/driver-utilities",
1111
"@npm//protractor",
1212
"@npm//@types/jasmine",
1313
],

test/benchmarks/material/menu/menu.perf-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {$, by, element, ElementFinder, Key} from 'protractor';
10-
import {runBenchmark} from '@angular/dev-infra-private/bazel/benchmark/driver-utilities';
10+
import {runBenchmark} from '@angular/build-tooling/bazel/benchmark/driver-utilities';
1111

1212
// Clicking to close a menu is problematic. This is a solution that uses `.sendKeys()` avoids
1313
// issues with `.click()`.

0 commit comments

Comments
 (0)