Skip to content

Commit c4f033c

Browse files
authored
build: remove unused dependencies (#29472)
We no longer depend on the `@material` packages so they can be removed, together with the infrastructure that was used to support them.
1 parent 315ebf1 commit c4f033c

Some content is hidden

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

64 files changed

+2123
-6395
lines changed

.github/workflows/scheduled-ci.yml

-27
Original file line numberDiff line numberDiff line change
@@ -67,33 +67,6 @@ jobs:
6767
JOB_NAME: 'Linker snapshot test'
6868
SLACK_BOT_TOKEN: ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
6969

70-
mdc_snapshot_test:
71-
runs-on: ubuntu-latest-4core
72-
steps:
73-
- name: Initialize environment
74-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@89624a6442b75b5cda33c5e9b5c8c4f87ca4f13d
75-
with:
76-
cache-node-modules: true
77-
- name: Setup Bazel
78-
uses: angular/dev-infra/github-actions/bazel/setup@89624a6442b75b5cda33c5e9b5c8c4f87ca4f13d
79-
- name: Setup Bazel RBE
80-
uses: angular/dev-infra/github-actions/bazel/configure-remote@89624a6442b75b5cda33c5e9b5c8c4f87ca4f13d
81-
- name: Setting up Angular snapshot builds
82-
# Angular snapshots must be set up first so that the yarn install properly
83-
# updates the yarn.lock as expected with the changes
84-
run: node ./scripts/circleci/setup-angular-snapshots.js main
85-
- name: Install MDC Canary
86-
run: node ./scripts/circleci/setup-mdc-canary.js
87-
- name: Install node modules
88-
run: yarn install
89-
- name: Run browser tests using MDC Canary
90-
run: bazel test --build_tag_filters=-docs-package,-e2e --test_tag_filters=-e2e --build_tests_only -- src/...
91-
- uses: ./.github/actions/slack
92-
if: ${{ failure() && github.event_name == 'push' }}
93-
with:
94-
JOB_NAME: 'MDC Snapshot test'
95-
SLACK_BOT_TOKEN: ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
96-
9770
monitor-docs-site:
9871
runs-on: ubuntu-latest
9972
steps:

BUILD.bazel

-7
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ load("//src/cdk:config.bzl", "CDK_ENTRYPOINTS")
44
load("//src/cdk-experimental:config.bzl", "CDK_EXPERIMENTAL_ENTRYPOINTS")
55
load("//src/material:config.bzl", "MATERIAL_ENTRYPOINTS", "MATERIAL_TESTING_ENTRYPOINTS")
66
load("//src/material-experimental:config.bzl", "MATERIAL_EXPERIMENTAL_ENTRYPOINTS", "MATERIAL_EXPERIMENTAL_TESTING_ENTRYPOINTS")
7-
load("//tools:defaults.bzl", "npm_sass_library")
8-
load("//:packages.bzl", "MDC_PACKAGES")
97

108
package(default_visibility = ["//visibility:public"])
119

@@ -40,8 +38,3 @@ genrule(
4038
outs = ["entry_points_manifest.json"],
4139
cmd = "echo '%s' > $@" % entryPoints,
4240
)
43-
44-
npm_sass_library(
45-
name = "mdc_sass_lib",
46-
deps = ["@npm//%s" % pkg for pkg in MDC_PACKAGES],
47-
)

FAQ.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ using native CSS Flexbox and CSS Grid.
5151

5252
## What's your relationship to [MDC Web][]?
5353

54-
MDC Web and Angular Material were created independently by two different teams inside Google.
55-
The Angular team is now working with the MDC team to share more code to reduce duplication. To that
56-
end, we are developing new, API-compatible versions of the Angular Material components backed by
57-
MDC Web. [See @jelbourn's 2019 ng-conf talk](https://youtu.be/4EXQKP-Sihw?t=891) for more details.
54+
Read more about the [current state of our relationship with MDC Web on our blog](https://blog.angular.dev/the-future-of-material-support-in-angular-7fa0662ecc4b).
5855

5956

6057
[StackOverflow]: https://stackoverflow.com

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ We aim for great user experience with the following screen readers:
6868
[Material Design]: https://material.io
6969
[Google Maps JavaScript API]: https://developers.google.com/maps/documentation/javascript/tutorial
7070
[YouTube Player API]: https://developers.google.com/youtube/iframe_api_reference
71-
[MDC Web]: https://github.com/material-components/material-components-web/
7271
[cdk-docs]: https://material.angular.io/cdk/categories
7372
[mat-docs]: https://material.angular.io
7473
[map-docs]: https://github.com/angular/components/blob/main/src/google-maps/README.md

0 commit comments

Comments
 (0)