Skip to content

merge material.angular.io repo #29925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 852 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
852 commits
Select commit Hold shift + click to select a range
04455f9
perf: example rendering performance improvements (#961)
crisbeto Apr 27, 2021
761c4bf
update to 12.0.0-rc.1 (#970)
andrewseguin Apr 28, 2021
e4a6ac3
chore: update to Angular and CLI v12 rc.1
Splaktar Apr 30, 2021
f2ef22e
update next.material.angular.io to 12.0.0-rc.2
annieyw May 5, 2021
2f60cf4
fix(sidenav): unable to scroll sidenav as expected (#978)
jljohnson001 May 7, 2021
1278d52
update to 12.0.0-rc.3
mmalerba May 11, 2021
f946906
release: bump to 12.0.0 (#984)
mmalerba May 12, 2021
82c58c9
build(deps): bump lodash from 4.17.20 to 4.17.21
dependabot[bot] May 12, 2021
7001602
build(deps): bump underscore from 1.12.0 to 1.13.1
dependabot[bot] May 7, 2021
796e921
build(deps): bump url-parse from 1.4.7 to 1.5.1
dependabot[bot] May 14, 2021
8738eec
feat: add help/support section (#915)
kian23kpt May 14, 2021
f65bb71
build: updates for v12 (#981)
Splaktar May 14, 2021
910c3b9
update to 12.0.1 (#987)
andrewseguin May 19, 2021
6a75a1b
Setup `@angular/localize` in docs app to enable examples show-casing …
devversion May 24, 2021
34cd5cd
feat: expose coercion and collections docs (#994)
crisbeto May 25, 2021
d9cf1de
refactor: add modifier badge tag
crisbeto May 25, 2021
9c64584
docs(material/core): Add core API docs
mmalerba May 25, 2021
df527f5
fix: use theme color for link inside the API reference (#990)
crisbeto May 25, 2021
825b17c
fix: sort links alphabetically (#996)
crisbeto May 26, 2021
b8771fd
release: bump to 12.0.2 (#998)
wagnermaciel May 26, 2021
496c913
feat: add cookie popup (#988)
crisbeto May 26, 2021
9f8db49
fix: cache fetched docs (#1001)
crisbeto May 28, 2021
07527f8
feat: expose CDK accordion docs (#1005)
crisbeto Jun 3, 2021
b7589e5
update to 12.0.3 (#1006)
andrewseguin Jun 4, 2021
8c2a55d
fix: guides overlapping footer on narrow screens (#1007)
crisbeto Jun 6, 2021
decaf1e
bump to 12.0.4 (#1011)
andrewseguin Jun 9, 2021
bff6e4f
docs: update v11 link in README.md file (#989)
Plondrein Jun 10, 2021
ece4db4
fix: cookies dialog button contrast (#1010)
kian23kpt Jun 14, 2021
1f90e2d
feat: more flexible carousels and fix homepage alignment
crisbeto Jun 9, 2021
760476c
fix(material/api-theme): fix nav items hover/focus contrast (#1004)
kian23kpt Jun 15, 2021
94cb1bf
fix(material/theme): unselected theme picker
kian23kpt Jun 15, 2021
df6c085
refactor: remove default form field appearance in Stackblitz (#1002)
crisbeto Jun 23, 2021
f43fee3
fix: align and clean up table design (#1003)
crisbeto Jun 23, 2021
02b7a44
release: update angular material version to 12.1.0 (#1017)
mmalerba Jun 24, 2021
7a75ab3
docs(readme): fix development setup list format
kgajera Jun 27, 2021
3e06e2e
build: ng update Angular and CLI to 12.1.0
Splaktar Jun 15, 2021
0b8f91f
fix: add postinstall script back to make component examples work
amysorto Jun 30, 2021
f4adbf9
release: update angular material version to 12.1.1
amysorto Jul 1, 2021
a81d41b
fix: angular material footer logo
kian23kpt Jul 11, 2021
f84464a
build: update to 12.1.4 (#1030)
mmalerba Jul 28, 2021
cf9d163
fix(stack-blitz-tests): revert enabling Ivy as it broke harness examp…
Splaktar Jul 29, 2021
2bea68e
perf: avoid triggering change detection on scroll (#1033)
crisbeto Aug 4, 2021
a15f053
build: update to Angular 12.2.0 (#1035)
crisbeto Aug 5, 2021
fdbd9a1
fix: prevent users from selecting link icon text (#1034)
crisbeto Aug 5, 2021
bb6a5fe
bump to 12.2.1 (#1039)
andrewseguin Aug 11, 2021
46d8b18
bump to 13.0.0-next.0 (#1041)
andrewseguin Aug 11, 2021
94d0240
bump to 12.2.2 (#1044)
wagnermaciel Aug 20, 2021
a4ecd2d
bump to 13.0.0-next.1 (#1048)
wagnermaciel Aug 20, 2021
27eb11c
fix: temporarily disable Ivy on Stackblitz (#1050)
crisbeto Aug 23, 2021
e27f0f4
Prevent deploying prerelease versions to prod stable
jelbourn Aug 25, 2021
7600aed
build: update to Angular v13 (#1054)
crisbeto Aug 26, 2021
f050af8
bump to 13.0.0-next.2
amysorto Aug 26, 2021
887caaa
build: remove IE compatibility (#1057)
crisbeto Aug 27, 2021
57133ba
fix: ensure that menu items are always sorted (#1058)
crisbeto Aug 30, 2021
dc349fc
build: enable unit test teardown (#1059)
crisbeto Aug 31, 2021
f90dfbd
update components to 13.0.0-next.3
mmalerba Sep 1, 2021
b66fb6f
fix: include cdkAccordionModule in material-module for accordion stac…
charlesabarnes Sep 4, 2021
981157b
build: release 13.0.0-next.4 (#1062)
zarend Sep 9, 2021
d2e8314
build: release with 12.2.5
zarend Sep 8, 2021
ff42c91
build(deps): bump tar from 4.4.13 to 4.4.19
dependabot[bot] Aug 25, 2021
aaa949a
fix(index.html): remove duplicated meta tag (#1065)
USSDlover Sep 13, 2021
8cb85db
build: ng update CLI and core. update to NodeJS 16.6.0
Splaktar Sep 10, 2021
fbbf8df
build(deps): bump glob-parent from 5.1.1 to 5.1.2
dependabot[bot] Sep 13, 2021
de90e92
bump to 13.0.0-next.6 (#1071)
wagnermaciel Sep 23, 2021
71e69a6
bump to 12.2.7 (#1073)
wagnermaciel Sep 23, 2021
307aab5
fix: update yarn.lock and fix package.json (#1074)
wagnermaciel Sep 23, 2021
25c5903
fix: use more lenient version when generating stackblitz (#1075)
crisbeto Sep 26, 2021
e3dfa61
bump to 13.0.0-next.7
amysorto Sep 29, 2021
53df867
build: update to latest Angular and TypeScript 4.4 (#1081)
crisbeto Oct 3, 2021
564cae1
fix: clean up tilde imports (#1082)
crisbeto Oct 7, 2021
5903cae
build: update example-viewer to work with APF v13 (#1083)
devversion Oct 8, 2021
c857353
build: update to node v16.10.0 to work with Angular v13 (#1084)
devversion Oct 8, 2021
54412d2
fix: github icon was not centered on mobile (#1067)
rapzo Oct 18, 2021
d33b9c0
bump to 13.0.0-rc.1 (#1088)
andrewseguin Oct 20, 2021
9c8a456
bump to 13.0.0-rc.2 (#1091)
wagnermaciel Oct 27, 2021
570bee3
build: fix linting CI check (#1092)
crisbeto Oct 28, 2021
fa56e32
refactor: update stackblitz examples write to use webcontainers for v…
devversion Oct 28, 2021
c33a185
fixup! refactor: update stackblitz examples write to use webcontainer…
devversion Oct 28, 2021
ebfe51b
fixup! refactor: update stackblitz examples write to use webcontainer…
devversion Oct 29, 2021
deb2983
fixup! refactor: update stackblitz examples write to use webcontainer…
devversion Oct 29, 2021
2964e8d
refactor: update stackblitz CLI asset to match with CLI rc.2 (#1094)
devversion Oct 30, 2021
66d3f2f
refactor: update stackblitz boilerplate to setup test environment (#1…
devversion Nov 2, 2021
c0cb22c
Update to latest RC versions (#1097)
jelbourn Nov 3, 2021
40fc668
Update to v13.0.0 (#1098)
jelbourn Nov 3, 2021
261e748
Always load versions from latest material.angular.io (#1099)
jelbourn Nov 3, 2021
e55a63e
Update yarn.lock for docs content update
jelbourn Nov 4, 2021
c9d2d30
feat: add support for reduced motion (#1095)
crisbeto Nov 10, 2021
b5abdaa
refactor: transfer favicon to stackBlitz (#1102)
jeripeierSBB Nov 11, 2021
1d716a9
refactor: remove duplicated BrowserAnimationsModule import (#1101)
jeripeierSBB Nov 11, 2021
43c5ba3
bump to version 13.0.1 (#1104)
mmalerba Nov 17, 2021
f6de95f
bump @angular/material to 13.0.2
mmalerba Nov 17, 2021
3f501f7
fix: add back accidentally deleted deployment check
mmalerba Nov 17, 2021
344142b
fix: bump angular version to resolve query issue (#1105)
crisbeto Nov 19, 2021
eb9eff5
update docs content to 13.0.2 (#1106)
zarend Nov 22, 2021
ce41571
build: fix crash in deploy script due to pipefail (#1107)
zarend Nov 22, 2021
c460f0d
bump to version 13.1.0 (#1108)
wagnermaciel Dec 9, 2021
7e2b4bf
build: update to Angular 13.1 and TypeScript 4.5 (#1109)
crisbeto Dec 13, 2021
604b063
bump to version 13.1.1 (#1110)
amysorto Dec 21, 2021
8ae0975
refactor: clean up explicit TestBed teardown and bump MDC version (#1…
crisbeto Dec 26, 2021
8f67735
update to 13.1.3 (#1116)
andrewseguin Jan 19, 2022
66867b0
Fix forking and saving for webcontainer stackblitz examples
devversion Jan 27, 2022
0564ab5
test: fix test assertions breaking due to license change
devversion Jan 27, 2022
61cf572
bump to version 13.2.0
amysorto Jan 27, 2022
7fd82c4
chore(stack-blitz): update package.json for v13 release
Splaktar Jan 29, 2022
7556a7c
bump to version 13.2.1
amysorto Feb 2, 2022
72553d0
release: cut release for 13.2.2 (#1121)
zarend Feb 9, 2022
22da098
bump to version 13.2.3 (#1122)
wagnermaciel Feb 17, 2022
e6ffa36
bump version to 14.0.0-next.3 (#1125)
wagnermaciel Feb 17, 2022
748dddb
bump to version 13.2.5
amysorto Mar 2, 2022
19e572a
bump to version 14.0.0-next.5
amysorto Mar 3, 2022
f8ff87e
bump to version 13.2.6
amysorto Mar 9, 2022
bb412c2
build: update to 13.3.0 (#1133)
crisbeto Mar 17, 2022
2a5f2ac
build: cut release for 14.0.0-next.7
zarend Mar 17, 2022
5feac7b
build: set firebase hosting target name to support multi-site
devversion Feb 19, 2022
1975e23
Strip additional SHA information in the toolbar version picker
devversion Feb 20, 2022
4691cd1
build: write lighthouse reports to allow for debugging
devversion Mar 8, 2022
28ed76c
build: update to angular v14 for next branch to fix tests
devversion Mar 22, 2022
8f7939c
build: fix circleci rebase to work with other branches than `master`
devversion Mar 22, 2022
6119dac
Fix stackblitz examples for v14
devversion Apr 2, 2022
4e32b66
Avoid analytics prompt of CLI in stackblitz examples
devversion Apr 2, 2022
b585773
build: update angular v14 dependencies
devversion Apr 21, 2022
2eb9896
fix: wrong import path (#1140)
crisbeto May 3, 2022
524266a
build: clean up references to old `master` branch
devversion May 4, 2022
86438d0
feat(cdk/menu): expose cdk menu docs (#1142)
mmalerba May 12, 2022
4e7f210
build: update to Angular 14.0.0-rc.0 (#1143)
crisbeto May 13, 2022
14c2c04
feat(cdk/dialog): expose cdk dialog docs (#1144)
mmalerba May 18, 2022
33ea4fa
Fix StackBlitz examples for v14 docs site
devversion May 25, 2022
4406fba
build: update angular and component packages to latest rc
devversion May 27, 2022
560292e
build: update to Angular 14 stable (#1147)
crisbeto Jun 3, 2022
0c2b51c
Disable caching for index file requests.
devversion Jun 8, 2022
15e146b
Rework caching header rules in an attempt to fix caching issues
devversion Jun 17, 2022
633d5ff
fix: add material-moment-adapter to stackblitz dependencies (#1156)
zarend Jun 23, 2022
961a928
Set up Google Analytics 4 along with keeping legacy Universal Analytics
devversion Jul 6, 2022
b5d0f65
Send exceptions to Analytics for tracking errors like in angular.io
devversion Jul 6, 2022
0d52622
Enable ip anonymization for legacy universal analytics instance
devversion Jul 11, 2022
7ce1bf2
Add cdk menu & dialog modules to stackblitz template
jelbourn Jun 17, 2022
3b8b5c1
Update content security header for Google Analytics 4
devversion Jul 13, 2022
3f6611c
docs: Add cdk/listbox docs
mmalerba Aug 16, 2022
6d4ca65
fix: lighthouse check failing in v15 (#1164)
crisbeto Aug 15, 2022
d5d69ea
build: update version of MDC (#1165)
crisbeto Aug 16, 2022
5062c76
build: update to Angular 15 (#1170)
crisbeto Sep 13, 2022
c421b4f
fix: add dynamic copyright (#1169)
Phosphorus-M Sep 21, 2022
2575660
fix: update angular & angular material to `next` version (#1171)
mmalerba Oct 4, 2022
c6a1d90
feat: switch to MDC components (#1174)
crisbeto Oct 12, 2022
3be328a
build: update docs content (#1175)
crisbeto Oct 13, 2022
2d9af7d
add mdc migration guide to guide list (#1176)
mmalerba Oct 14, 2022
0c6d0f9
build: update to Angular 15 RC (#1177)
crisbeto Oct 31, 2022
88b96af
fix: update stackblitz to correct angular framework version (#1178)
mmalerba Nov 11, 2022
8146501
update stackblitz package.json to v15 (#1179)
mmalerba Nov 16, 2022
6bd8ace
Fix cache control header for `versions.json`
devversion Nov 18, 2022
11fa6c8
Normalize paths shown in example tabs and for generated StackBlitz
devversion Nov 18, 2022
e6ab778
build: update to Angular 15 final
crisbeto Nov 20, 2022
062347a
test: run audit tests from isolated js script
jbedard Sep 30, 2022
585f940
fix: fix ts compiler error
jbedard Oct 24, 2022
599aebf
build: add bazel build
jbedard Aug 29, 2022
987282d
build: add missing newly added dependency to BUILD file
devversion Nov 29, 2022
b1d745d
build: allow for endpoint to be specified when auditing docs
devversion Nov 29, 2022
5b3a53c
build: delete danging bazel symlinks (#1185)
jbedard Nov 29, 2022
2611249
fix: prevent user-select on method modifier marker (#1182)
wagnermaciel Nov 29, 2022
c026781
fix material.module by adding CdkListboxModule (#1186)
JeanMeche Jan 21, 2023
92985a6
build: update to Angular 15.1 (#1187)
crisbeto Jan 21, 2023
20093be
build: avoid unnecessary re-evaluation of starlark code
devversion Feb 16, 2023
51687af
build: update to latest remote build execution setup (#1190)
josephperrott Feb 18, 2023
25b6ba4
build: update to aspect_bazel_lib 1.28.0 and aspect_rules_js 1.20.1
gregmagolan Mar 5, 2023
8c15dd1
ci: enable `ASPECT_RULES_JS_FROZEN_PNPM_LOCK` to ensure outdated pnpm…
devversion Mar 7, 2023
a2ca1fd
fix: use yarn when forking to stackblitz (#1194)
crisbeto Mar 27, 2023
b603acd
fix: harnesses not working on Stackblitz (#1193)
crisbeto Mar 27, 2023
d9adf67
build: update to Angular v16 (#1195)
crisbeto Mar 31, 2023
7bad1ac
build: account for APF v16 fesm2022 bundles
devversion Apr 12, 2023
5313172
Update pnpm lock file
devversion Apr 12, 2023
64761a3
feat: convert to standalone (#1200)
crisbeto Apr 15, 2023
383bf8a
refactor: remove examples reliance on APF internal structure
clydin Apr 21, 2023
b509a95
build: update Angular dependencies to v16 RC
clydin Apr 21, 2023
892d958
build: use modern fileReplacements option syntax
clydin Apr 21, 2023
e37542a
chore: update to latest rules_js and regenerate lock file with pnpm 8
gregmagolan May 13, 2023
6ab59dc
docs: Updated featured component image for slide-toggle
kashyapkaki May 10, 2023
8a69713
build: update to Angular 16 final
crisbeto May 15, 2023
f1718d7
build: update pnpm lock file so it doesn't have npm registry prefixes…
gregmagolan May 16, 2023
52f6ee6
feat: simplify stackblitz examples using standalone (#1211)
crisbeto May 23, 2023
0462260
fix: replace use of turbo with yarn (#1213)
Nemikolh Jun 6, 2023
ba8aa89
build: update to Angular 16.1 (#1214)
crisbeto Jun 6, 2023
959e368
build: update to Angular 16.1 final (#1215)
crisbeto Jun 14, 2023
79b9923
build: fix browserslist error in Stackblitz (#1217)
crisbeto Jun 14, 2023
2bb8bef
Fix page audit script (#1222)
crisbeto Aug 28, 2023
71e115f
fix: directly check if the hostname is the expected hostname instead …
josephperrott Aug 31, 2023
c62db86
allow data uris as images (#1225)
mmalerba Sep 27, 2023
0be9765
build: fix deployments (#1226)
crisbeto Sep 29, 2023
d4e8b3b
Remove quotes around `data:` in CSP (#1227)
mmalerba Oct 1, 2023
b650857
build: update to Angular v17 (#1228)
crisbeto Oct 24, 2023
bbbe926
build: update to Angular v17 final (#1230)
crisbeto Nov 8, 2023
09721b3
Fix examples using $localize (#1235)
crisbeto Jan 2, 2024
838df7b
build: update to node 20
crisbeto Feb 14, 2024
1db0c25
build: update to Angular 17.1
crisbeto Feb 14, 2024
37a52f5
build: update to Angular 17.2
crisbeto Feb 14, 2024
e1dff43
feat: Add material 3 guide (#1236)
mmalerba Feb 14, 2024
606af38
build: update to Angular 17.3 and TypeScript 5.4
crisbeto Mar 20, 2024
dbf9a17
Switch to Material 3
crisbeto Mar 25, 2024
ee04633
fix(material/docs): change twitter logo (#1245)
kian23kpt Apr 17, 2024
a28a290
fix: update component categories screenshots to M3
amysorto Apr 17, 2024
474c741
fix: remove google groups link
amysorto Apr 17, 2024
6f59f00
build: update to latest Angular and fix build errors (#1249)
crisbeto Apr 25, 2024
027944e
feat: Add separate guide for M2 specific theming
amysorto May 16, 2024
0b667e7
build: update to Angular v18 final
crisbeto May 22, 2024
76057cf
fix: allow table of contents to scroll
crisbeto May 23, 2024
0a467e7
fix: improve the docs typography
crisbeto May 23, 2024
b2efa9f
fix: sidenav spacing
crisbeto May 23, 2024
1dd9a1d
fix: add ripples to clickable cards
crisbeto May 23, 2024
e87454f
fix: use new control flow syntax
crisbeto May 23, 2024
e6cbd03
Update the Stackblitz template to v18
crisbeto May 30, 2024
7b9e26f
feat: added ability to keep pathname and hash on version change
naaajii Apr 7, 2023
95ed8c6
chore: lint errors fix
naaajii Apr 7, 2023
1e7dc2a
fix: window.location.href changed to its origin (#1234)
shayan-ghzl Jun 3, 2024
50c86a0
fix: remove MDC migration guide
crisbeto Jun 11, 2024
e152db7
fix: remove elevation from nav bar
crisbeto Jun 13, 2024
915af32
Fix code viewer title and buttons disappearing (#1258)
amysorto Jun 14, 2024
fce564c
build: update to Angular 18.2 and TypeScript 5.5
crisbeto Aug 15, 2024
76231ed
ci: convert bazel jobs to a PR Github Action workflow
clydin Aug 15, 2024
9c01d28
build: update yarn to v4.4.0
clydin Aug 15, 2024
ce06e99
ci: convert main CI workflow to Github Actions
clydin Aug 15, 2024
318b15b
build: restrict postinstall scripts during package installation
clydin Aug 15, 2024
a09c8b8
build: update Bazel rules_js to v2.0.0
clydin Aug 15, 2024
6d66897
docs-bug(Theming Angular Material): table of contents misses h2 headers
HermanWKeuris Aug 20, 2024
f1b6509
fix: switch Stackblitz back to npm
crisbeto Aug 29, 2024
04f0250
build: update to Angular 19
crisbeto Sep 3, 2024
e10c170
refactor: migrate to signal inputs using automated migration (#1270)
devversion Sep 25, 2024
f09b56e
refactor: switch to signal queries (#1271)
devversion Oct 9, 2024
e7a47a2
fix: errors when reading optional queries
crisbeto Oct 10, 2024
32ec8d5
build: fix CI failures
crisbeto Oct 10, 2024
0d238f8
build: update to the latest Angular (#1277)
crisbeto Oct 18, 2024
ac148bf
fix: update to rxjs 7 (#1280)
crisbeto Oct 24, 2024
059a1f3
use mat.theme (#1279)
andrewseguin Oct 24, 2024
dd24282
fix: failing test (#1281)
crisbeto Oct 24, 2024
37ee1ac
Add styling page to the docs
crisbeto Oct 30, 2024
183088a
Follow-up fixes for the styling page
crisbeto Oct 31, 2024
1a9400b
fix: routing path for `cdk/testing`
naaajii Oct 24, 2024
b87eaed
fix: add header background if links wrap
crisbeto Nov 4, 2024
a8e0fdc
fix: add box shadow to cookie popup
crisbeto Nov 4, 2024
46fb356
build: update to Angular v19 RC
crisbeto Nov 4, 2024
2aca1d6
fix: incorrect scenes
crisbeto Nov 4, 2024
1a65874
fix: remove ComponentFactoryResolver usage from scenes
crisbeto Nov 4, 2024
0dd88a6
fix: set up scene for timepicker
crisbeto Nov 4, 2024
9f3a25f
fix: expose timepicker
crisbeto Nov 4, 2024
afb4c29
fix: account for new token data format
crisbeto Nov 4, 2024
dbfd789
add system variables guide (#1287)
andrewseguin Nov 7, 2024
0d14712
remove listings for old theming guides (#1288)
andrewseguin Nov 12, 2024
eee7d1e
build: update to Angular v19 stable
crisbeto Nov 19, 2024
1b0ca6a
fix: hide ripple styling page
crisbeto Nov 28, 2024
45486ba
feat: show deprecated related information in `material/tooltip`
naaajii Oct 14, 2024
667270e
build: update dependencies to fix deployment
crisbeto Dec 18, 2024
2019f04
Merge remote-tracking branch 'mai/main'
alexeagle Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @generated
# Input hashes for repository rule npm_translate_lock(name = "npm", pnpm_lock = "//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-1306950124
pnpm-lock.yaml=1087437730
yarn.lock=-1043892813
package.json=430646288
6 changes: 6 additions & 0 deletions material.angular.io/.bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dist/
node_modules/
.angular/
.circleci/
.github/
src/assets/stack-blitz/node_modules
55 changes: 55 additions & 0 deletions material.angular.io/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
###############################
# Filesystem interactions #
###############################

# Disable watchfs as it causes tests to be flaky on Windows
# https://github.com/angular/angular/issues/29541
build --nowatchfs

# Turn off legacy external runfiles
build --nolegacy_external_runfiles

# Turn on --incompatible_strict_action_env which was on by default
# in Bazel 0.21.0 but turned off again in 0.22.0. Follow
# https://github.com/bazelbuild/bazel/issues/7026 for more details.
# This flag is needed to so that the bazel cache is not invalidated
# when running bazel via `yarn bazel`.
# See https://github.com/angular/angular/issues/27514.
build --incompatible_strict_action_env

# Enable remote caching of build/action tree
build --experimental_remote_merkle_tree_cache

# Ensure that tags applied in BUILDs propagate to actions
common --experimental_allow_tags_propagation

# Don't check if output files have been modified
build --noexperimental_check_output_files

# Ensure sandboxing is enabled even for exclusive tests
test --incompatible_exclusive_test_sandboxed

# Fixes use of npm paths with spaces such as some within the puppeteer module
build --experimental_inprocess_symlink_creation

# Warn if test timeout is much longer than execution time
test --test_verbose_timeout_warnings

# Prevent large amounbt of `dependency checking of directories is unsound` warnings
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1

# Disable bazel modules for now
common --noenable_bzlmod

####################################################
# User bazel configuration
# NOTE: This needs to be the *last* entry in the config.
####################################################

# Load any settings which are specific to the current user. Needs to be *last* statement
# in this config, as the user configuration should be able to overwrite flags from this file.
try-import .bazelrc.user

# Enable runfiles even on Windows.
# Architect resolves output files from data files, and this isn't possible without runfile support.
build --enable_runfiles
1 change: 1 addition & 0 deletions material.angular.io/.bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.3.0
16 changes: 16 additions & 0 deletions material.angular.io/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This config is remaining in place to prevent pull requests failing because of CircleCI config missing.

version: 2.1

jobs:
pass:
docker:
- image: cimg/base:2022.05
steps:
- run: echo "This too shall pass (always)"

workflows:
version: 2
default_workflow:
jobs:
- pass
13 changes: 13 additions & 0 deletions material.angular.io/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false
130 changes: 130 additions & 0 deletions material.angular.io/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"root": true,
"ignorePatterns": [
"*.d.ts",
"src/assets/stack-blitz/**/*.ts"
],
"overrides": [
{
"files": [
"*.ts"
],
"plugins": [
"@stylistic",
"@typescript-eslint",
"ban"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:@stylistic/disable-legacy"
],
"rules": {
"@angular-eslint/component-class-suffix": "off",
"@angular-eslint/component-selector": "off",
"@angular-eslint/directive-class-suffix": "off",
"@angular-eslint/directive-selector": "off",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-types": "off",
"@stylistic/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@stylistic/semi": [
"error"
],
"arrow-parens": [
"off",
"always"
],
"brace-style": [
"error",
"1tbs"
],
"import/order": "off",
"linebreak-style": [
"error",
"unix"
],
"max-len": [
"error",
{
"code": 100
}
],
"ban/ban": [
"error",
{
"name": "fit"
},
{
"name": "fdescribe"
},
{
"name": "xit"
},
{
"name": "xdescribe"
},
{
"name": [
"Object",
"assign"
],
"message": "Use the spread operator instead."
}
],
"no-duplicate-imports": "error",
"no-redeclare": "error",
"object-shorthand": "off",
"no-underscore-dangle": "off",
"prefer-arrow/prefer-arrow-functions": "off",
"jsdoc/newline-after-description": "off",
"quote-props": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {
"@angular-eslint/template/accessibility-alt-text": "error",
"@angular-eslint/template/accessibility-elements-content": "error",
"@angular-eslint/template/accessibility-label-for": "error",
"@angular-eslint/template/accessibility-table-scope": "error",
"@angular-eslint/template/accessibility-valid-aria": "error",
"@angular-eslint/template/click-events-have-key-events": "error",
"@angular-eslint/template/mouse-events-have-key-events": "error",
"@angular-eslint/template/no-autofocus": "error",
"@angular-eslint/template/no-distracting-elements": "error",
"@angular-eslint/template/no-positive-tabindex": "error"
}
}
]
}
17 changes: 17 additions & 0 deletions material.angular.io/.github/ISSUE_TEMPLATE/docs-infra.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Docs Infrastructure
about: Suggest an improvement to the infrastructure used to build material.angular.io
---

<!--------
🛑
Use the Angular Components repository (https://github.com/angular/components/issues/new/choose)
to report issues.

The Angular team can't provide general troubleshooting help. This is especially true when the
problem is specific to your app and cannot be reproduced in a StackBlitz demo.
However, the extended community of users may be able to provide help via the following channels:
- StackOverflow: https://stackoverflow.com/questions/tagged/angular-material2
- Gitter: https://gitter.im/angular/material2
- Google Groups: https://groups.google.com/forum/#!forum/angular-material2
-------->
76 changes: 76 additions & 0 deletions material.angular.io/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: CI

on:
push:
branches:
- main
- "[0-9]+.[0-9]+.x"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

defaults:
run:
shell: bash

env:
# TODO: Remove when pnpm is exclusively used.
ASPECT_RULES_JS_FROZEN_PNPM_LOCK: "1"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install --immutable
- name: Execute Linting
run: yarn bazel test --test_tag_filters=lint //...

build:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install --immutable
- name: Execute Direct Production Build (deploy usage)
run: yarn prod-build
- name: Execute Build via Bazel
run: yarn bazel build //...

test:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install --immutable
- name: Execute Tests
run: yarn bazel test --test_tag_filters=-lint,-e2e,-audit //...
- name: Store Test Logs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: test-logs
path: bazel-testlogs/
retention-days: 14

lighthouse:
runs-on: ubuntu-latest
steps:
- name: Initialize environment
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@db91da4e742cd081bfba01db2edc4e816018419b
- name: Install node modules
run: yarn install --immutable
- name: Execute Lighthouse Audit
run: yarn bazel test --test_tag_filters=audit //...
- name: Store Audit Logs
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: lighthouse-logs
path: bazel-testlogs/
retention-days: 14
Loading
Loading