Skip to content

Commit baef337

Browse files
authoredJun 23, 2022
fix: add material-moment-adapter to stackblitz dependencies (#1156)
Adds `@angular/material-moment-adapter` and `moment` to the package.json on stackblitz examples. This fixes the "Cannot find module 'moment' or its corresponding type declarations." in some examples. Fixes #25136
1 parent eabfb50 commit baef337

File tree

2 files changed

+53
-15
lines changed

2 files changed

+53
-15
lines changed
 

‎material.angular.io/src/assets/stack-blitz/package-lock.json

+51-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎material.angular.io/src/assets/stack-blitz/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
"@angular/core": "~14.0.0",
1818
"@angular/forms": "~14.0.0",
1919
"@angular/material": "${version}",
20+
"@angular/material-moment-adapter": "${version}",
2021
"@angular/platform-browser": "~14.0.0",
2122
"@angular/platform-browser-dynamic": "~14.0.0",
2223
"@angular/router": "~14.0.0",
24+
"moment": "^2.18.1",
2325
"rxjs": "~7.4.0",
2426
"tslib": "^2.3.0",
2527
"zone.js": "~0.11.5"

0 commit comments

Comments
 (0)