Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 43d422b

Browse files
authored
build: update example-viewer to work with APF v13 (#1083)
1 parent 6b77dd3 commit 43d422b

File tree

4 files changed

+407
-403
lines changed

4 files changed

+407
-403
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# Only exists if Bazel was run
99
/bazel-out
1010

11+
.angular/
12+
1113
# dependencies
1214
/node_modules
1315

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,38 @@
3535
},
3636
"private": true,
3737
"dependencies": {
38-
"@angular/animations": "13.0.0-next.9",
39-
"@angular/cdk": "^13.0.0-next.7",
40-
"@angular/cdk-experimental": "^13.0.0-next.7",
41-
"@angular/common": "13.0.0-next.9",
42-
"@angular/compiler": "13.0.0-next.9",
43-
"@angular/components-examples": "angular/material2-docs-content#master",
44-
"@angular/core": "13.0.0-next.9",
45-
"@angular/forms": "13.0.0-next.9",
46-
"@angular/google-maps": "^13.0.0-next.7",
47-
"@angular/localize": "13.0.0-next.9",
48-
"@angular/material": "^13.0.0-next.7",
49-
"@angular/material-experimental": "^13.0.0-next.7",
50-
"@angular/material-moment-adapter": "^13.0.0-next.7",
51-
"@angular/platform-browser": "13.0.0-next.9",
52-
"@angular/platform-browser-dynamic": "13.0.0-next.9",
53-
"@angular/router": "13.0.0-next.9",
54-
"@angular/youtube-player": "^13.0.0-next.7",
38+
"@angular/animations": "13.0.0-next.15",
39+
"@angular/cdk": "13.0.0-next.8",
40+
"@angular/cdk-experimental": "13.0.0-next.8",
41+
"@angular/common": "13.0.0-next.15",
42+
"@angular/compiler": "13.0.0-next.15",
43+
"@angular/components-examples": "angular/material2-docs-content#13.0.x",
44+
"@angular/core": "13.0.0-next.15",
45+
"@angular/forms": "13.0.0-next.15",
46+
"@angular/google-maps": "13.0.0-next.8",
47+
"@angular/localize": "13.0.0-next.15",
48+
"@angular/material": "13.0.0-next.8",
49+
"@angular/material-experimental": "13.0.0-next.8",
50+
"@angular/material-moment-adapter": "13.0.0-next.8",
51+
"@angular/platform-browser": "13.0.0-next.15",
52+
"@angular/platform-browser-dynamic": "13.0.0-next.15",
53+
"@angular/router": "13.0.0-next.15",
54+
"@angular/youtube-player": "^13.0.0-next.8",
5555
"material-components-web": "13.0.0-canary.0a9069300.0",
5656
"moment": "^2.29.1",
5757
"rxjs": "^6.6.7",
5858
"tslib": "^2.3.0",
5959
"zone.js": "~0.11.4"
6060
},
6161
"devDependencies": {
62-
"@angular-devkit/build-angular": "^13.0.0-next.7",
62+
"@angular-devkit/build-angular": "^13.0.0-next.9",
6363
"@angular-eslint/builder": "^12.3.0",
6464
"@angular-eslint/eslint-plugin": "^12.3.0",
6565
"@angular-eslint/eslint-plugin-template": "^12.3.0",
6666
"@angular-eslint/schematics": "^12.3.0",
6767
"@angular-eslint/template-parser": "^12.3.0",
68-
"@angular/cli": "^13.0.0-next.7",
69-
"@angular/compiler-cli": "13.0.0-next.9",
68+
"@angular/cli": "^13.0.0-next.9",
69+
"@angular/compiler-cli": "13.0.0-next.15",
7070
"@types/imagemin": "^7.0.0",
7171
"@types/jasmine": "^3.7.7",
7272
"@types/node": "^14.14.22",

src/app/shared/example-viewer/example-viewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class ExampleViewer implements OnInit {
191191
// files. More details: https://webpack.js.org/api/module-methods/#magic-comments.
192192
const moduleExports: any = await import(
193193
/* webpackExclude: /\.map$/ */
194-
'@angular/components-examples/fesm2015/' + module.importSpecifier);
194+
'@angular/components-examples/fesm2020/' + module.importSpecifier);
195195
this._exampleComponentType = moduleExports[componentName];
196196
// The components examples package is built with Ivy. This means that no factory files are
197197
// generated. To retrieve the factory of the AOT compiled module, we simply pass the module

0 commit comments

Comments
 (0)