Skip to content

Commit 90dc73c

Browse files
authored
build: update to rules_nodejs v4.0.0-beta.0 and use new API golden tool [patch port] (#23180)
* build: update to rules_nodejs v4.0.0-beta.0 Updates the Bazel NodeJS rules to v4.0.0-beta.0. This is necessary so that the Angular components repo can start using the new API golden tool from the shared dev-infra repository, and it's generally good to stay as up-to-date as possible with the Bazel rules as it's easy to fall behind, and updating early allows us to discover issues affecting our tooling earlier (where they are easier to address due to e.g. potential breaking change policy). bazel-contrib/rules_nodejs@3be2902. As part of this change, we remove all manual `module_name` properties from `ts_library` and `ng_module` targets. These will be generated now as manually setting the module name is rather prone to mistakes and this way it also integrates better with the new `package_name` property introduced as part of Rules NodeJS v4. This change reveiled that we set a module name for the private `material/testing` folder. This folder no longer will resolve through `@angular/material` and needs to be imported through a relative path. * build: switch to API signature test tool from dev-infra We recently introduced a new tool for testing the public API signature of entry-points. This tool is part of the shared dev-infra package and uses Microsoft's API extractor under the hood. This commit sets up the new tool and removes ts-api-guardian. * build: fix approve-api golden script The API goldens have been flattened as part of 766b07e, but the script for updating goldens has not been updated. This commit fixes the script so that it respects the new file location of goldens. * build: remove leftover manual `module_name` definition Removes a remaining instance of the Bazel `module_name` property being set.
1 parent aa470ef commit 90dc73c

File tree

470 files changed

+10150
-4192
lines changed

Some content is hidden

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

470 files changed

+10150
-4192
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ jobs:
220220
- *slack_notify_on_failure
221221

222222
# --------------------------------------------------------------------------------------------
223-
# Job that runs ts-api-guardian against our API goldens in "tools/public_api_guard".
223+
# Job that runs API golden tests in "tools/public_api_guard".
224224
# This job fails whenever an API has been updated but not explicitly approved through goldens.
225225
# --------------------------------------------------------------------------------------------
226226
api_golden_checks:

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package(default_visibility = ["//visibility:public"])
88

99
exports_files([
1010
"LICENSE",
11+
"package.json",
1112
])
1213

1314
genrule(

WORKSPACE

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
88
# Add NodeJS rules
99
http_archive(
1010
name = "build_bazel_rules_nodejs",
11-
sha256 = "10f534e1c80f795cffe1f2822becd4897754d18564612510c59b3c73544ae7c6",
12-
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/3.5.0/rules_nodejs-3.5.0.tar.gz"],
11+
sha256 = "5c40083120eadec50a3497084f99bc75a85400ea727e82e0b2f422720573130f",
12+
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.0.0-beta.0/rules_nodejs-4.0.0-beta.0.tar.gz"],
1313
)
1414

1515
# Add sass rules
@@ -77,10 +77,17 @@ load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies")
7777

7878
rules_sass_dependencies()
7979

80-
# Setup the Sass rule repositories.
81-
load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
82-
83-
sass_repositories()
80+
# TODO(devversion): remove workaround once `rules_sass` supports v4 of the Bazel NodeJS rules,
81+
# or when https://github.com/bazelbuild/rules_nodejs/issues/2807 is solved. For now, we just
82+
# replicate the original `sass_repositories` call and manually add the `--ignore-scripts`
83+
# Yarn argument to not run the postinstall version check of `@bazel/worker`
84+
yarn_install(
85+
name = "build_bazel_rules_sass_deps",
86+
args = ["--ignore-scripts"],
87+
package_json = "@io_bazel_rules_sass//sass:package.json",
88+
symlink_node_modules = False,
89+
yarn_lock = "@io_bazel_rules_sass//sass:yarn.lock",
90+
)
8491

8592
# Setup repositories for browsers provided by the shared dev-infra package.
8693
load(

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,26 @@
7575
"@angular-devkit/build-optimizer": "^0.1201.0",
7676
"@angular-devkit/core": "^12.1.0",
7777
"@angular-devkit/schematics": "^12.1.0",
78-
"@angular/bazel": "^12.1.0",
78+
"@angular/bazel": "https://github.com/angular/bazel-builds.git#2566cc859235399edc72749a957f1cdcba2dc121",
7979
"@angular/compiler-cli": "^12.1.0",
80-
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#7b783ae5493d40941fbe48f766b9e4ac1b214f42",
80+
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#0057daca63205a10c26256b6733b02af835497c0",
8181
"@angular/localize": "^12.1.0",
8282
"@angular/platform-browser-dynamic": "^12.1.0",
8383
"@angular/platform-server": "^12.1.0",
8484
"@angular/router": "^12.1.0",
8585
"@axe-core/webdriverjs": "^4.1.0",
8686
"@babel/core": "^7.13.10",
8787
"@babel/traverse": "^7.13.0",
88-
"@bazel/bazelisk": "1.7.5",
88+
"@bazel/bazelisk": "1.9.0",
8989
"@bazel/buildifier": "4.0.1",
90-
"@bazel/concatjs": "3.5.0",
91-
"@bazel/ibazel": "0.15.8",
92-
"@bazel/jasmine": "3.5.0",
93-
"@bazel/protractor": "3.5.0",
94-
"@bazel/rollup": "3.5.0",
95-
"@bazel/runfiles": "3.5.0",
96-
"@bazel/terser": "3.5.0",
97-
"@bazel/typescript": "3.5.0",
90+
"@bazel/concatjs": "4.0.0-beta.0",
91+
"@bazel/ibazel": "0.15.10",
92+
"@bazel/jasmine": "4.0.0-beta.0",
93+
"@bazel/protractor": "4.0.0-beta.0",
94+
"@bazel/rollup": "4.0.0-beta.0",
95+
"@bazel/runfiles": "4.0.0-beta.0",
96+
"@bazel/terser": "4.0.0-beta.0",
97+
"@bazel/typescript": "4.0.0-beta.0",
9898
"@firebase/app-types": "^0.6.1",
9999
"@material/animation": "12.0.0-canary.2952c6a76.0",
100100
"@material/auto-init": "12.0.0-canary.2952c6a76.0",
@@ -218,7 +218,6 @@
218218
"shelljs": "^0.8.3",
219219
"stylelint": "^13.8.0",
220220
"terser": "^4.8.0",
221-
"ts-api-guardian": "^0.6.0",
222221
"ts-node": "^9.1.1",
223222
"tsickle": "0.39.1",
224223
"tslint": "^6.1.3",

scripts/approve-api-golden.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,29 @@
33
const shelljs = require('shelljs');
44
const chalk = require('chalk');
55
const path = require('path');
6-
const packageName = process.argv[2];
6+
const searchPackageName = process.argv[2];
77
const {guessPackageName} = require('./util');
88

9-
if (!packageName) {
9+
if (!searchPackageName) {
1010
console.error(chalk.red('No package name has been passed in for API golden approval.'));
1111
process.exit(1);
1212
}
1313

1414
const projectDir = path.join(__dirname, '../');
15-
const packageNameGuess = guessPackageName(packageName, path.join(projectDir, 'src'));
15+
const packageNameGuess = guessPackageName(searchPackageName, path.join(projectDir, 'src'));
1616

1717
if (!packageNameGuess.result) {
1818
console.error(chalk.red(`Could not find package for API golden approval called ` +
19-
`${chalk.yellow(packageName)}. Looked in packages: \n${packageNameGuess.attempts.join('\n')}`));
19+
`${chalk.yellow(searchPackageName)}. Looked in packages:\n` +
20+
`${packageNameGuess.attempts.join('\n')}`));
2021
process.exit(1);
2122
}
2223

24+
const [packageName, ...entryPointTail] = packageNameGuess.result.split('/');
25+
const apiGoldenTargetName =
26+
`//tools/public_api_guard:${packageName}/${entryPointTail.join('-')}.md_api.accept`;
27+
2328
// ShellJS should exit if any command fails.
2429
shelljs.set('-e');
2530
shelljs.cd(projectDir);
26-
shelljs.exec(`yarn bazel run //tools/public_api_guard:${packageNameGuess.result}.d.ts_api.accept`);
31+
shelljs.exec(`yarn bazel run ${apiGoldenTargetName}`);

scripts/check-mdc-exports.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ function getMissingSymbols(name: string, skipped: string[], skippedPatterns: Reg
7575

7676
/**
7777
* Gets the name of the exported symbols from a particular package.
78-
* Based on https://github.com/angular/angular/blob/master/tools/ts-api-guardian/lib/serializer.ts
7978
*/
8079
function getExports(name: string): string[] {
8180
const entryPoint = join(__dirname, '../src', name, 'public-api.ts');

src/cdk-experimental/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ts_library(
99
["*.ts"],
1010
exclude = ["**/*.spec.ts"],
1111
),
12-
module_name = "@angular/cdk-experimental",
1312
deps = ["@npm//@angular/core"],
1413
)
1514

src/cdk-experimental/column-resize/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ng_module(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11-
module_name = "@angular/cdk-experimental/column-resize",
1211
deps = [
1312
"//src/cdk-experimental/popover-edit",
1413
"//src/cdk/bidi",

src/cdk-experimental/combobox/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ng_module(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11-
module_name = "@angular/cdk-experimental/combobox",
1211
deps = [
1312
"//src:dev_mode_types",
1413
"//src/cdk/a11y",

src/cdk-experimental/combobox/combobox.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
1313
import {By} from '@angular/platform-browser';
1414
import {CdkComboboxModule} from './combobox-module';
1515
import {CdkCombobox} from './combobox';
16-
import {dispatchKeyboardEvent, dispatchMouseEvent} from '@angular/cdk/testing/private';
16+
import {dispatchKeyboardEvent, dispatchMouseEvent} from '../../cdk/testing/private';
1717
import {
1818
AriaHasPopupValue,
1919
CdkComboboxPanel} from '@angular/cdk-experimental/combobox/combobox-panel';

src/cdk-experimental/dialog/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ng_module(
99
exclude = ["**/*.spec.ts"],
1010
),
1111
assets = [":dialog-container.css"] + glob(["**/*.html"]),
12-
module_name = "@angular/cdk-experimental/dialog",
1312
deps = [
1413
"//src:dev_mode_types",
1514
"//src/cdk/a11y",

src/cdk-experimental/dialog/dialog.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
dispatchKeyboardEvent,
3131
createKeyboardEvent,
3232
dispatchEvent,
33-
} from '@angular/cdk/testing/private';
33+
} from '../../cdk/testing/private';
3434
import {DIALOG_DATA, Dialog, DialogModule, DialogRef} from './index';
3535

3636
describe('Dialog', () => {

src/cdk-experimental/listbox/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ng_module(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11-
module_name = "@angular/cdk-experimental/listbox",
1211
deps = [
1312
"//src/cdk-experimental/combobox",
1413
"//src/cdk/a11y",

src/cdk-experimental/listbox/listbox.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
createKeyboardEvent,
1414
dispatchKeyboardEvent,
1515
dispatchMouseEvent
16-
} from '@angular/cdk/testing/private';
16+
} from '../../cdk/testing/private';
1717
import {A, DOWN_ARROW, END, HOME, SPACE} from '@angular/cdk/keycodes';
1818
import {FormControl, FormsModule, ReactiveFormsModule} from '@angular/forms';
1919
import {CdkCombobox, CdkComboboxModule, CdkComboboxPanel} from '@angular/cdk-experimental/combobox';

src/cdk-experimental/menu/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ng_module(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11-
module_name = "@angular/cdk-experimental/menu",
1211
deps = [
1312
"//src:dev_mode_types",
1413
"//src/cdk/a11y",

src/cdk-experimental/menu/context-menu.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {CdkMenuModule} from './menu-module';
33
import {TestBed, waitForAsync, ComponentFixture} from '@angular/core/testing';
44
import {CdkMenu} from './menu';
55
import {CdkContextMenuTrigger} from './context-menu';
6-
import {dispatchMouseEvent} from '@angular/cdk/testing/private';
6+
import {dispatchMouseEvent} from '../../cdk/testing/private';
77
import {By} from '@angular/platform-browser';
88
import {CdkMenuItem} from './menu-item';
99
import {CdkMenuItemTrigger} from './menu-item-trigger';

src/cdk-experimental/menu/menu-bar.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
createKeyboardEvent,
2929
dispatchEvent,
3030
dispatchMouseEvent,
31-
} from '@angular/cdk/testing/private';
31+
} from '../../cdk/testing/private';
3232
import {CdkMenuBar} from './menu-bar';
3333
import {CdkMenuModule} from './menu-module';
3434
import {CdkMenuItemRadio} from './menu-item-radio';

src/cdk-experimental/menu/menu-item-trigger.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Component, ViewChildren, QueryList, ElementRef, ViewChild, Type} from '@angular/core';
22
import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing';
33
import {By} from '@angular/platform-browser';
4-
import {dispatchKeyboardEvent} from '@angular/cdk/testing/private';
4+
import {dispatchKeyboardEvent} from '../../cdk/testing/private';
55
import {TAB, SPACE} from '@angular/cdk/keycodes';
66
import {CdkMenuModule} from './menu-module';
77
import {CdkMenuItem} from './menu-item';

src/cdk-experimental/menu/menu.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
dispatchMouseEvent,
1414
createMouseEvent,
1515
dispatchEvent,
16-
} from '@angular/cdk/testing/private';
16+
} from '../../cdk/testing/private';
1717
import {By} from '@angular/platform-browser';
1818
import {CdkMenu} from './menu';
1919
import {CdkMenuModule} from './menu-module';

src/cdk-experimental/menu/pointer-focus-tracker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Component, QueryList, ElementRef, ViewChildren, AfterViewInit} from '@angular/core';
22
import {waitForAsync, ComponentFixture, TestBed} from '@angular/core/testing';
3-
import {createMouseEvent, dispatchEvent} from '@angular/cdk/testing/private';
3+
import {createMouseEvent, dispatchEvent} from '../../cdk/testing/private';
44
import {Observable} from 'rxjs';
55
import {FocusableElement, PointerFocusTracker} from './pointer-focus-tracker';
66

src/cdk-experimental/popover-edit/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ng_module(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11-
module_name = "@angular/cdk-experimental/popover-edit",
1211
deps = [
1312
"//src/cdk/a11y",
1413
"//src/cdk/bidi",

src/cdk-experimental/popover-edit/popover-edit.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {DataSource} from '@angular/cdk/collections';
22
import {LEFT_ARROW, UP_ARROW, RIGHT_ARROW, DOWN_ARROW, TAB} from '@angular/cdk/keycodes';
33
import {CdkTableModule} from '@angular/cdk/table';
4-
import {dispatchKeyboardEvent} from '@angular/cdk/testing/private';
4+
import {dispatchKeyboardEvent} from '../../cdk/testing/private';
55
import {CommonModule} from '@angular/common';
66
import {Component, Directive, ElementRef, ViewChild} from '@angular/core';
77
import {ComponentFixture, fakeAsync, flush, TestBed, tick, inject} from '@angular/core/testing';

src/cdk-experimental/scrolling/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ng_module(
99
["**/*.ts"],
1010
exclude = ["**/*.spec.ts"],
1111
),
12-
module_name = "@angular/cdk-experimental/scrolling",
1312
deps = [
1413
"//src:dev_mode_types",
1514
"//src/cdk/coercion",

src/cdk-experimental/selection/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ng_module(
88
["**/*.ts"],
99
exclude = ["**/*.spec.ts"],
1010
),
11-
module_name = "@angular/cdk-experimental/selection",
1211
deps = [
1312
"//src:dev_mode_types",
1413
"//src/cdk/coercion",

src/cdk-experimental/table-scroll-container/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ng_module(
1313
["**/*.ts"],
1414
exclude = ["**/*.spec.ts"],
1515
),
16-
module_name = "@angular/cdk-experimental/table-scroll-container",
1716
deps = [
1817
"//src/cdk/bidi",
1918
"//src/cdk/platform",

src/cdk-experimental/tsconfig-tests.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"extends": "../bazel-tsconfig-build.json",
3+
"references": [
4+
{"path": "../cdk/tsconfig-tests.json"}
5+
],
36
"compilerOptions": {
7+
"composite": true,
48
"baseUrl": ".",
59
"outDir": "../../dist/packages/cdk-experimental",
610
"rootDir": ".",
@@ -20,8 +24,7 @@
2024
}
2125
},
2226
"include": [
23-
"**/index.ts",
24-
"**/*.spec.ts",
27+
"**/*.ts",
2528
"../dev-mode-types.d.ts"
2629
],
2730
"exclude": [

src/cdk/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ts_library(
99
["*.ts"],
1010
exclude = ["**/*.spec.ts"],
1111
),
12-
module_name = "@angular/cdk",
1312
deps = ["@npm//@angular/core"],
1413
)
1514

src/cdk/a11y/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ng_module(
1616
["**/*.ts"],
1717
exclude = ["**/*.spec.ts"],
1818
),
19-
module_name = "@angular/cdk/a11y",
2019
deps = [
2120
"//src:dev_mode_types",
2221
"//src/cdk/coercion",

src/cdk/a11y/focus-monitor/focus-monitor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
patchElementFocus,
77
createMouseEvent,
88
dispatchEvent,
9-
} from '@angular/cdk/testing/private';
9+
} from '../../testing/private';
1010
import {DOCUMENT} from '@angular/common';
1111
import {Component, NgZone} from '@angular/core';
1212
import {ComponentFixture, fakeAsync, flush, inject, TestBed, tick} from '@angular/core/testing';

src/cdk/a11y/focus-trap/event-listener-inert-strategy.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {AfterViewInit, Component, ElementRef, Type, ViewChild, Provider} from '@angular/core';
22
import {ComponentFixture, fakeAsync, flush, TestBed} from '@angular/core/testing';
3-
import {patchElementFocus} from '@angular/cdk/testing/private';
3+
import {patchElementFocus} from '../../testing/private';
44
import {
55
A11yModule,
66
ConfigurableFocusTrapFactory,

src/cdk/a11y/input-modality/input-modality-detector.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
dispatchTouchEvent,
1010
dispatchEvent,
1111
createTouchEvent,
12-
} from '@angular/cdk/testing/private';
12+
} from '../../testing/private';
1313
import {fakeAsync, inject, tick} from '@angular/core/testing';
1414
import {InputModality, InputModalityDetector, TOUCH_BUFFER_MS} from './input-modality-detector';
1515

src/cdk/a11y/key-manager/list-key-manager.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {DOWN_ARROW, END, HOME, LEFT_ARROW, RIGHT_ARROW, TAB, UP_ARROW} from '@angular/cdk/keycodes';
2-
import {createKeyboardEvent} from '@angular/cdk/testing/private';
2+
import {createKeyboardEvent} from '../../testing/private';
33
import {QueryList} from '@angular/core';
44
import {fakeAsync, tick} from '@angular/core/testing';
55
import {take} from 'rxjs/operators';

src/cdk/accordion/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ng_module(
1414
["**/*.ts"],
1515
exclude = ["**/*.spec.ts"],
1616
),
17-
module_name = "@angular/cdk/accordion",
1817
deps = [
1918
"//src/cdk/coercion",
2019
"//src/cdk/collections",

src/cdk/bidi/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ng_module(
1414
["**/*.ts"],
1515
exclude = ["**/*.spec.ts"],
1616
),
17-
module_name = "@angular/cdk/bidi",
1817
deps = [
1918
"@npm//@angular/common",
2019
"@npm//@angular/core",

src/cdk/clipboard/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ng_module(
99
exclude = ["**/*.spec.ts"],
1010
),
1111
assets = glob(["**/*.html"]),
12-
module_name = "@angular/cdk/clipboard",
1312
deps = [
1413
"@npm//@angular/core",
1514
"@npm//rxjs",

0 commit comments

Comments
 (0)