Skip to content

Commit 03ff5e6

Browse files
committed
use generic getManifest
1 parent 0b0ebf1 commit 03ff5e6

7 files changed

Lines changed: 30 additions & 28 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"titleBar.inactiveBackground": "#7fc9e899",
1616
"titleBar.inactiveForeground": "#15202b99"
1717
},
18-
"peacock.color": "#7fc9e8"
18+
"peacock.color": "#7fc9e8",
19+
"angular.enable-strict-mode-prompt": false
1920
}

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"private": true,
2020
"dependencies": {
21-
"@angular-architects/module-federation": "^14.3.3",
21+
"@angular-architects/module-federation": "^14.3.7",
2222
"@angular/animations": "^14.0.0",
2323
"@angular/common": "^14.0.0",
2424
"@angular/compiler": "^14.0.0",

projects/shell/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class AppComponent implements OnInit {
1717
}
1818

1919
async ngOnInit(): Promise<void> {
20-
const manifest = getManifest() as CustomManifest;
20+
const manifest = getManifest<CustomManifest>();
2121

2222
// Hint: Move this to an APP_INITIALIZER
2323
// to avoid issues with deep linking

projects/shell/src/app/config/config.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ import { CustomManifest } from '../utils/config';
88
})
99
export class ConfigComponent {
1010

11-
manifest = getManifest() as CustomManifest;
11+
manifest = getManifest<CustomManifest>();
1212

1313
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"moduleResolution": "node",
1313
"importHelpers": false,
1414
"target": "ES2020",
15+
"strict": true,
1516
"lib": [
1617
"es2018",
1718
"dom"

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
"@jridgewell/gen-mapping" "^0.1.0"
1111
"@jridgewell/trace-mapping" "^0.3.9"
1212

13-
"@angular-architects/module-federation-runtime@14.3.3":
14-
"integrity" "sha512-Ookeud+eFwc1O82UfAIPDDxYby69OZfrEUWX3yzXcr94FM5k5wJ1dyUJbCbIrvzPNGbU78sNpA60tCe8SneJxg=="
15-
"resolved" "https://registry.npmjs.org/@angular-architects/module-federation-runtime/-/module-federation-runtime-14.3.3.tgz"
16-
"version" "14.3.3"
13+
"@angular-architects/module-federation-runtime@14.3.7":
14+
"integrity" "sha512-7z6wMTxWeXVzT51xj7NpZRIAmvEDZ13lufo6fX06mBxtM4RnLWp9GsOibTZrSdxxtOJei7d2zLp1qa1pqkuYKA=="
15+
"resolved" "https://registry.npmjs.org/@angular-architects/module-federation-runtime/-/module-federation-runtime-14.3.7.tgz"
16+
"version" "14.3.7"
1717
dependencies:
1818
"tslib" "^2.0.0"
1919

20-
"@angular-architects/module-federation@^14.3.3":
21-
"integrity" "sha512-c3ECudlx7uURe8+UBnv1M3sZxJ+pJ3u0BVs5GVx/pFTDcK45u6L9+iOnzrU5g0dMJLLMBJpusBNbWSJluQlH3A=="
22-
"resolved" "https://registry.npmjs.org/@angular-architects/module-federation/-/module-federation-14.3.3.tgz"
23-
"version" "14.3.3"
20+
"@angular-architects/module-federation@^14.3.7":
21+
"integrity" "sha512-v9I1ZaOHnKTQgssMoCGWBZIuv0YPdyD3N02e3vHDexviIGkhlaKJR2CXqP+7ICNHo3LdOXTPxiEn7j970Y1wIQ=="
22+
"resolved" "https://registry.npmjs.org/@angular-architects/module-federation/-/module-federation-14.3.7.tgz"
23+
"version" "14.3.7"
2424
dependencies:
25-
"@angular-architects/module-federation-runtime" "14.3.3"
25+
"@angular-architects/module-federation-runtime" "14.3.7"
2626
"@schematics/angular" "^13.0.4"
2727
"callsite" "^1.0.0"
2828
"node-fetch" "^2.6.7"

0 commit comments

Comments
 (0)