Skip to content
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
46bcb20
perf: example rendering performance improvements (#961)
crisbeto Apr 27, 2021
1ad95b6
update to 12.0.0-rc.1 (#970)
andrewseguin Apr 28, 2021
f053457
chore: update to Angular and CLI v12 rc.1
Splaktar Apr 30, 2021
9d4be0a
update next.material.angular.io to 12.0.0-rc.2
annieyw May 5, 2021
05f72f8
fix(sidenav): unable to scroll sidenav as expected (#978)
jljohnson001 May 7, 2021
1d779d1
update to 12.0.0-rc.3
mmalerba May 11, 2021
f405629
release: bump to 12.0.0 (#984)
mmalerba May 12, 2021
76502e9
build(deps): bump lodash from 4.17.20 to 4.17.21
dependabot[bot] May 12, 2021
4dd79ec
build(deps): bump underscore from 1.12.0 to 1.13.1
dependabot[bot] May 7, 2021
90f1562
build(deps): bump url-parse from 1.4.7 to 1.5.1
dependabot[bot] May 14, 2021
663d794
feat: add help/support section (#915)
kian23kpt May 14, 2021
fdd81e1
build: updates for v12 (#981)
Splaktar May 14, 2021
a04b487
update to 12.0.1 (#987)
andrewseguin May 19, 2021
ea32afd
Setup `@angular/localize` in docs app to enable examples show-casing …
devversion May 24, 2021
8f2fa28
feat: expose coercion and collections docs (#994)
crisbeto May 25, 2021
618e306
refactor: add modifier badge tag
crisbeto May 25, 2021
772bf9d
docs(material/core): Add core API docs
mmalerba May 25, 2021
7d090a6
fix: use theme color for link inside the API reference (#990)
crisbeto May 25, 2021
6d28826
fix: sort links alphabetically (#996)
crisbeto May 26, 2021
79c8e98
release: bump to 12.0.2 (#998)
wagnermaciel May 26, 2021
39ab48f
feat: add cookie popup (#988)
crisbeto May 26, 2021
90cf5f3
fix: cache fetched docs (#1001)
crisbeto May 28, 2021
60eb965
feat: expose CDK accordion docs (#1005)
crisbeto Jun 3, 2021
d9861d4
update to 12.0.3 (#1006)
andrewseguin Jun 4, 2021
fa88118
fix: guides overlapping footer on narrow screens (#1007)
crisbeto Jun 6, 2021
83048ba
bump to 12.0.4 (#1011)
andrewseguin Jun 9, 2021
b7af311
docs: update v11 link in README.md file (#989)
Plondrein Jun 10, 2021
71133d7
fix: cookies dialog button contrast (#1010)
kian23kpt Jun 14, 2021
84b3139
feat: more flexible carousels and fix homepage alignment
crisbeto Jun 9, 2021
057ed37
fix(material/api-theme): fix nav items hover/focus contrast (#1004)
kian23kpt Jun 15, 2021
a0b5546
fix(material/theme): unselected theme picker
kian23kpt Jun 15, 2021
b6287aa
refactor: remove default form field appearance in Stackblitz (#1002)
crisbeto Jun 23, 2021
51ce514
fix: align and clean up table design (#1003)
crisbeto Jun 23, 2021
8dea976
release: update angular material version to 12.1.0 (#1017)
mmalerba Jun 24, 2021
8f46b32
docs(readme): fix development setup list format
kgajera Jun 27, 2021
641005e
build: ng update Angular and CLI to 12.1.0
Splaktar Jun 15, 2021
2996086
fix: add postinstall script back to make component examples work
amysorto Jun 30, 2021
a1a36f1
release: update angular material version to 12.1.1
amysorto Jul 1, 2021
c88475f
fix: angular material footer logo
kian23kpt Jul 11, 2021
e4ef48b
build: update to 12.1.4 (#1030)
mmalerba Jul 28, 2021
fb72582
fix(stack-blitz-tests): revert enabling Ivy as it broke harness examp…
Splaktar Jul 29, 2021
355eb64
perf: avoid triggering change detection on scroll (#1033)
crisbeto Aug 4, 2021
338cbed
build: update to Angular 12.2.0 (#1035)
crisbeto Aug 5, 2021
45e159b
fix: prevent users from selecting link icon text (#1034)
crisbeto Aug 5, 2021
b2cf9be
bump to 12.2.1 (#1039)
andrewseguin Aug 11, 2021
b529808
bump to 13.0.0-next.0 (#1041)
andrewseguin Aug 11, 2021
e729925
bump to 12.2.2 (#1044)
wagnermaciel Aug 20, 2021
8881b19
bump to 13.0.0-next.1 (#1048)
wagnermaciel Aug 20, 2021
be7b959
fix: temporarily disable Ivy on Stackblitz (#1050)
crisbeto Aug 23, 2021
3e27d9c
Prevent deploying prerelease versions to prod stable
jelbourn Aug 25, 2021
7ba9604
build: update to Angular v13 (#1054)
crisbeto Aug 26, 2021
7d928c8
bump to 13.0.0-next.2
amysorto Aug 26, 2021
2a9f492
build: remove IE compatibility (#1057)
crisbeto Aug 27, 2021
defdbe6
fix: ensure that menu items are always sorted (#1058)
crisbeto Aug 30, 2021
73a5c97
build: enable unit test teardown (#1059)
crisbeto Aug 31, 2021
cd8dcf3
update components to 13.0.0-next.3
mmalerba Sep 1, 2021
2ec3c38
fix: include cdkAccordionModule in material-module for accordion stac…
charlesabarnes Sep 4, 2021
43ee7e0
build: release 13.0.0-next.4 (#1062)
zarend Sep 9, 2021
fa82534
build: release with 12.2.5
zarend Sep 8, 2021
91f1916
build(deps): bump tar from 4.4.13 to 4.4.19
dependabot[bot] Aug 25, 2021
ce5a4ef
fix(index.html): remove duplicated meta tag (#1065)
USSDlover Sep 13, 2021
1137531
build: ng update CLI and core. update to NodeJS 16.6.0
Splaktar Sep 10, 2021
5fcd166
build(deps): bump glob-parent from 5.1.1 to 5.1.2
dependabot[bot] Sep 13, 2021
cb3603e
bump to 13.0.0-next.6 (#1071)
wagnermaciel Sep 23, 2021
df06bb1
bump to 12.2.7 (#1073)
wagnermaciel Sep 23, 2021
b0984ec
fix: update yarn.lock and fix package.json (#1074)
wagnermaciel Sep 23, 2021
1ee6973
fix: use more lenient version when generating stackblitz (#1075)
crisbeto Sep 26, 2021
374a505
bump to 13.0.0-next.7
amysorto Sep 29, 2021
0308370
build: update to latest Angular and TypeScript 4.4 (#1081)
crisbeto Oct 3, 2021
8a85bb8
fix: clean up tilde imports (#1082)
crisbeto Oct 7, 2021
a3e698f
build: update example-viewer to work with APF v13 (#1083)
devversion Oct 8, 2021
4926c49
build: update to node v16.10.0 to work with Angular v13 (#1084)
devversion Oct 8, 2021
195f992
fix: github icon was not centered on mobile (#1067)
rapzo Oct 18, 2021
75e122a
bump to 13.0.0-rc.1 (#1088)
andrewseguin Oct 20, 2021
273eda9
bump to 13.0.0-rc.2 (#1091)
wagnermaciel Oct 27, 2021
145d558
build: fix linting CI check (#1092)
crisbeto Oct 28, 2021
f04835b
refactor: update stackblitz examples write to use webcontainers for v…
devversion Oct 28, 2021
7f4b12a
fixup! refactor: update stackblitz examples write to use webcontainer…
devversion Oct 28, 2021
213846c
fixup! refactor: update stackblitz examples write to use webcontainer…
devversion Oct 29, 2021
17466e2
fixup! refactor: update stackblitz examples write to use webcontainer…
devversion Oct 29, 2021
f06098a
refactor: update stackblitz CLI asset to match with CLI rc.2 (#1094)
devversion Oct 30, 2021
1688f78
refactor: update stackblitz boilerplate to setup test environment (#1…
devversion Nov 2, 2021
99ed21d
Update to latest RC versions (#1097)
jelbourn Nov 3, 2021
3a6a507
Update to v13.0.0 (#1098)
jelbourn Nov 3, 2021
c27c570
Always load versions from latest material.angular.io (#1099)
jelbourn Nov 3, 2021
3ad38c6
Update yarn.lock for docs content update
jelbourn Nov 4, 2021
856a03f
feat: add support for reduced motion (#1095)
crisbeto Nov 10, 2021
75b646e
refactor: transfer favicon to stackBlitz (#1102)
jeripeierSBB Nov 11, 2021
4392699
refactor: remove duplicated BrowserAnimationsModule import (#1101)
jeripeierSBB Nov 11, 2021
55e582d
bump to version 13.0.1 (#1104)
mmalerba Nov 17, 2021
1f848d5
bump @angular/material to 13.0.2
mmalerba Nov 17, 2021
ebaa6e3
fix: add back accidentally deleted deployment check
mmalerba Nov 17, 2021
bc23434
fix: bump angular version to resolve query issue (#1105)
crisbeto Nov 19, 2021
6952fb2
update docs content to 13.0.2 (#1106)
zarend Nov 22, 2021
bfa743c
build: fix crash in deploy script due to pipefail (#1107)
zarend Nov 22, 2021
ea74e93
bump to version 13.1.0 (#1108)
wagnermaciel Dec 9, 2021
2ec73c4
build: update to Angular 13.1 and TypeScript 4.5 (#1109)
crisbeto Dec 13, 2021
406e0b1
bump to version 13.1.1 (#1110)
amysorto Dec 21, 2021
c071c3d
refactor: clean up explicit TestBed teardown and bump MDC version (#1…
crisbeto Dec 26, 2021
abfceef
update to 13.1.3 (#1116)
andrewseguin Jan 19, 2022
efd098a
Fix forking and saving for webcontainer stackblitz examples
devversion Jan 27, 2022
4114edd
test: fix test assertions breaking due to license change
devversion Jan 27, 2022
7c0f5eb
bump to version 13.2.0
amysorto Jan 27, 2022
a988a98
chore(stack-blitz): update package.json for v13 release
Splaktar Jan 29, 2022
17edc0b
bump to version 13.2.1
amysorto Feb 2, 2022
4c18f85
release: cut release for 13.2.2 (#1121)
zarend Feb 9, 2022
9401f5b
bump to version 13.2.3 (#1122)
wagnermaciel Feb 17, 2022
86f897e
bump version to 14.0.0-next.3 (#1125)
wagnermaciel Feb 17, 2022
2e763c9
bump to version 13.2.5
amysorto Mar 2, 2022
f314df1
bump to version 14.0.0-next.5
amysorto Mar 3, 2022
461e3d1
bump to version 13.2.6
amysorto Mar 9, 2022
ac0669e
build: update to 13.3.0 (#1133)
crisbeto Mar 17, 2022
558208c
build: cut release for 14.0.0-next.7
zarend Mar 17, 2022
c4e23af
build: set firebase hosting target name to support multi-site
devversion Feb 19, 2022
b995633
Strip additional SHA information in the toolbar version picker
devversion Feb 20, 2022
df20522
build: write lighthouse reports to allow for debugging
devversion Mar 8, 2022
9aa4327
build: update to angular v14 for next branch to fix tests
devversion Mar 22, 2022
65f68e7
build: fix circleci rebase to work with other branches than `master`
devversion Mar 22, 2022
c299921
Fix stackblitz examples for v14
devversion Apr 2, 2022
2cdbc54
Avoid analytics prompt of CLI in stackblitz examples
devversion Apr 2, 2022
74dce9e
build: update angular v14 dependencies
devversion Apr 21, 2022
4eeb2bd
fix: wrong import path (#1140)
crisbeto May 3, 2022
8bc7293
build: clean up references to old `master` branch
devversion May 4, 2022
a0a16fc
feat(cdk/menu): expose cdk menu docs (#1142)
mmalerba May 12, 2022
9f9f4a9
build: update to Angular 14.0.0-rc.0 (#1143)
crisbeto May 13, 2022
62a672a
feat(cdk/dialog): expose cdk dialog docs (#1144)
mmalerba May 18, 2022
6b54caf
Fix StackBlitz examples for v14 docs site
devversion May 25, 2022
507ecaa
build: update angular and component packages to latest rc
devversion May 27, 2022
338df4a
build: update to Angular 14 stable (#1147)
crisbeto Jun 3, 2022
e0d3667
Disable caching for index file requests.
devversion Jun 8, 2022
eabfb50
Rework caching header rules in an attempt to fix caching issues
devversion Jun 17, 2022
baef337
fix: add material-moment-adapter to stackblitz dependencies (#1156)
zarend Jun 23, 2022
01b2d08
Set up Google Analytics 4 along with keeping legacy Universal Analytics
devversion Jul 6, 2022
d01e1b6
Send exceptions to Analytics for tracking errors like in angular.io
devversion Jul 6, 2022
886cd46
Enable ip anonymization for legacy universal analytics instance
devversion Jul 11, 2022
bec95c2
Add cdk menu & dialog modules to stackblitz template
jelbourn Jun 17, 2022
8fa5501
Update content security header for Google Analytics 4
devversion Jul 13, 2022
d2c0ec2
docs: Add cdk/listbox docs
mmalerba Aug 16, 2022
e76343b
fix: lighthouse check failing in v15 (#1164)
crisbeto Aug 15, 2022
124a29e
build: update version of MDC (#1165)
crisbeto Aug 16, 2022
24b3b7a
build: update to Angular 15 (#1170)
crisbeto Sep 13, 2022
d3a56e5
fix: add dynamic copyright (#1169)
Phosphorus-M Sep 21, 2022
502b1a9
fix: update angular & angular material to `next` version (#1171)
mmalerba Oct 4, 2022
bcfb368
feat: switch to MDC components (#1174)
crisbeto Oct 12, 2022
d9f1f3e
build: update docs content (#1175)
crisbeto Oct 13, 2022
cd5dc43
add mdc migration guide to guide list (#1176)
mmalerba Oct 14, 2022
2799b79
build: update to Angular 15 RC (#1177)
crisbeto Oct 31, 2022
e621cbc
fix: update stackblitz to correct angular framework version (#1178)
mmalerba Nov 11, 2022
c802d5e
update stackblitz package.json to v15 (#1179)
mmalerba Nov 16, 2022
9a59db1
Fix cache control header for `versions.json`
devversion Nov 18, 2022
06c6745
Normalize paths shown in example tabs and for generated StackBlitz
devversion Nov 18, 2022
91310b5
build: update to Angular 15 final
crisbeto Nov 20, 2022
c321e07
test: run audit tests from isolated js script
jbedard Sep 30, 2022
6601ada
fix: fix ts compiler error
jbedard Oct 24, 2022
07b157f
build: add bazel build
jbedard Aug 29, 2022
edada28
build: add missing newly added dependency to BUILD file
devversion Nov 29, 2022
6660481
build: allow for endpoint to be specified when auditing docs
devversion Nov 29, 2022
267631c
build: delete danging bazel symlinks (#1185)
jbedard Nov 29, 2022
cd7117f
fix: prevent user-select on method modifier marker (#1182)
wagnermaciel Nov 29, 2022
e568057
fix material.module by adding CdkListboxModule (#1186)
JeanMeche Jan 21, 2023
a27bc19
build: update to Angular 15.1 (#1187)
crisbeto Jan 21, 2023
a90b333
build: avoid unnecessary re-evaluation of starlark code
devversion Feb 16, 2023
e693b4a
build: update to latest remote build execution setup (#1190)
josephperrott Feb 18, 2023
ff54e58
build: update to aspect_bazel_lib 1.28.0 and aspect_rules_js 1.20.1
gregmagolan Mar 5, 2023
17b8fd5
ci: enable `ASPECT_RULES_JS_FROZEN_PNPM_LOCK` to ensure outdated pnpm…
devversion Mar 7, 2023
be57a6b
fix: use yarn when forking to stackblitz (#1194)
crisbeto Mar 27, 2023
1f695d1
fix: harnesses not working on Stackblitz (#1193)
crisbeto Mar 27, 2023
f71faf2
build: update to Angular v16 (#1195)
crisbeto Mar 31, 2023
ae78614
build: account for APF v16 fesm2022 bundles
devversion Apr 12, 2023
dffb7fd
Update pnpm lock file
devversion Apr 12, 2023
95753b7
feat: convert to standalone (#1200)
crisbeto Apr 15, 2023
973f2c2
refactor: remove examples reliance on APF internal structure
clydin Apr 21, 2023
1624aad
build: update Angular dependencies to v16 RC
clydin Apr 21, 2023
5f45a9f
build: use modern fileReplacements option syntax
clydin Apr 21, 2023
154315b
chore: update to latest rules_js and regenerate lock file with pnpm 8
gregmagolan May 13, 2023
588496b
docs: Updated featured component image for slide-toggle
kashyapkaki May 10, 2023
720c958
build: update to Angular 16 final
crisbeto May 15, 2023
a43f39d
build: update pnpm lock file so it doesn't have npm registry prefixes…
gregmagolan May 16, 2023
f9c59da
feat: simplify stackblitz examples using standalone (#1211)
crisbeto May 23, 2023
86cfbd6
fix: replace use of turbo with yarn (#1213)
Nemikolh Jun 6, 2023
6eb05ff
build: update to Angular 16.1 (#1214)
crisbeto Jun 6, 2023
902616f
build: update to Angular 16.1 final (#1215)
crisbeto Jun 14, 2023
d5afa38
build: fix browserslist error in Stackblitz (#1217)
crisbeto Jun 14, 2023
06e0d54
Fix page audit script (#1222)
crisbeto Aug 28, 2023
d04156a
fix: directly check if the hostname is the expected hostname instead …
josephperrott Aug 31, 2023
f39dbe6
allow data uris as images (#1225)
mmalerba Sep 27, 2023
0b3d61e
build: fix deployments (#1226)
crisbeto Sep 29, 2023
776880c
Remove quotes around `data:` in CSP (#1227)
mmalerba Oct 1, 2023
3c991b4
build: update to Angular v17 (#1228)
crisbeto Oct 24, 2023
5f6e732
build: update to Angular v17 final (#1230)
crisbeto Nov 8, 2023
fb4a8f2
Fix examples using $localize (#1235)
crisbeto Jan 2, 2024
4803bbb
build: update to node 20
crisbeto Feb 14, 2024
5b99800
build: update to Angular 17.1
crisbeto Feb 14, 2024
af70b14
build: update to Angular 17.2
crisbeto Feb 14, 2024
38b0fbf
feat: Add material 3 guide (#1236)
mmalerba Feb 14, 2024
3f07a02
build: update to Angular 17.3 and TypeScript 5.4
crisbeto Mar 20, 2024
9b665c3
Switch to Material 3
crisbeto Mar 25, 2024
3163040
fix(material/docs): change twitter logo (#1245)
kian23kpt Apr 17, 2024
053b27c
fix: update component categories screenshots to M3
amysorto Apr 17, 2024
bcc6a0d
fix: remove google groups link
amysorto Apr 17, 2024
91cf69c
build: update to latest Angular and fix build errors (#1249)
crisbeto Apr 25, 2024
a429d1b
feat: Add separate guide for M2 specific theming
amysorto May 16, 2024
728aa77
build: update to Angular v18 final
crisbeto May 22, 2024
b584257
fix: allow table of contents to scroll
crisbeto May 23, 2024
fe06a37
fix: improve the docs typography
crisbeto May 23, 2024
b14a475
fix: sidenav spacing
crisbeto May 23, 2024
dcf45d3
fix: add ripples to clickable cards
crisbeto May 23, 2024
06eb0ab
fix: use new control flow syntax
crisbeto May 23, 2024
015b9fd
Update the Stackblitz template to v18
crisbeto May 30, 2024
a041c42
feat: added ability to keep pathname and hash on version change
naaajii Apr 7, 2023
21c3abf
chore: lint errors fix
naaajii Apr 7, 2023
d12a8bb
fix: window.location.href changed to its origin (#1234)
shayan-ghzl Jun 3, 2024
07518e1
fix: remove MDC migration guide
crisbeto Jun 11, 2024
603e5a7
fix: remove elevation from nav bar
crisbeto Jun 13, 2024
2d68420
Fix code viewer title and buttons disappearing (#1258)
amysorto Jun 14, 2024
5fb77ce
build: update to Angular 18.2 and TypeScript 5.5
crisbeto Aug 15, 2024
2ebe819
ci: convert bazel jobs to a PR Github Action workflow
clydin Aug 15, 2024
21b6c4e
build: update yarn to v4.4.0
clydin Aug 15, 2024
ea8ef61
ci: convert main CI workflow to Github Actions
clydin Aug 15, 2024
f08dc6c
build: restrict postinstall scripts during package installation
clydin Aug 15, 2024
fcfeee5
build: update Bazel rules_js to v2.0.0
clydin Aug 15, 2024
c13e559
docs-bug(Theming Angular Material): table of contents misses h2 headers
HermanWKeuris Aug 20, 2024
0e675d4
fix: switch Stackblitz back to npm
crisbeto Aug 29, 2024
940f114
build: update to Angular 19
crisbeto Sep 3, 2024
25c51f8
refactor: migrate to signal inputs using automated migration (#1270)
devversion Sep 25, 2024
5a8cb62
refactor: switch to signal queries (#1271)
devversion Oct 9, 2024
b124bb4
fix: errors when reading optional queries
crisbeto Oct 10, 2024
95eba00
build: fix CI failures
crisbeto Oct 10, 2024
4589d4b
build: update to the latest Angular (#1277)
crisbeto Oct 18, 2024
82ee7fe
fix: update to rxjs 7 (#1280)
crisbeto Oct 24, 2024
eeab33b
use mat.theme (#1279)
andrewseguin Oct 24, 2024
3c93065
fix: failing test (#1281)
crisbeto Oct 24, 2024
420a63c
Add styling page to the docs
crisbeto Oct 30, 2024
3f67890
Follow-up fixes for the styling page
crisbeto Oct 31, 2024
085c794
fix: routing path for `cdk/testing`
naaajii Oct 24, 2024
ff0b4d9
fix: add header background if links wrap
crisbeto Nov 4, 2024
8e86c81
fix: add box shadow to cookie popup
crisbeto Nov 4, 2024
70bd909
build: update to Angular v19 RC
crisbeto Nov 4, 2024
d398abf
fix: incorrect scenes
crisbeto Nov 4, 2024
ee4e3a3
fix: remove ComponentFactoryResolver usage from scenes
crisbeto Nov 4, 2024
8fce89a
fix: set up scene for timepicker
crisbeto Nov 4, 2024
776973d
fix: expose timepicker
crisbeto Nov 4, 2024
8866616
fix: account for new token data format
crisbeto Nov 4, 2024
bd1da42
add system variables guide (#1287)
andrewseguin Nov 7, 2024
5753ce2
remove listings for old theming guides (#1288)
andrewseguin Nov 12, 2024
222f8e3
build: update to Angular v19 stable
crisbeto Nov 19, 2024
65f1ec6
fix: hide ripple styling page
crisbeto Nov 28, 2024
9804943
feat: show deprecated related information in `material/tooltip`
naaajii Oct 14, 2024
d48e2d9
build: update dependencies to fix deployment
crisbeto Dec 18, 2024
433d850
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