From a8d6209e52fd0851dad04cef3ce35089650bcf70 Mon Sep 17 00:00:00 2001 From: Michael Romer Date: Wed, 14 Feb 2024 16:01:35 -0600 Subject: [PATCH] Update Blazor WASM framework helpers --- app-shell/index.html | 4 ++-- catalog/package-lock.json | 8 ++++---- catalog/package.json | 2 +- catalog/src/CatalogApp/CatalogApp.csproj | 4 ++-- orders/package-lock.json | 16 ++++++++-------- orders/package.json | 4 ++-- orders/src/OrdersApp/OrdersApp.csproj | 4 ++-- orders/src/OrdersApp/wwwroot/lifecycles.js | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/app-shell/index.html b/app-shell/index.html index da266cd..813e9a5 100644 --- a/app-shell/index.html +++ b/app-shell/index.html @@ -42,8 +42,8 @@

Robots R Us

"lit-element/": "https://ga.jspm.io/npm:lit-element@4.0.4/", "lit-html": "https://ga.jspm.io/npm:lit-html@3.1.2/lit-html.js", "lit-html/": "https://ga.jspm.io/npm:lit-html@3.1.2/", - "blazor-wasm-single-spa": "https://ga.jspm.io/npm:blazor-wasm-single-spa@0.4.2/dist/index.js", - "blazor-wasm-ext-mud-blazor": "https://ga.jspm.io/npm:blazor-wasm-ext-mud-blazor@0.1.0/dist/index.js", + "blazor-wasm-single-spa": "https://ga.jspm.io/npm:blazor-wasm-single-spa@0.4.3/dist/index.js", + "blazor-wasm-ext-mud-blazor": "https://ga.jspm.io/npm:blazor-wasm-ext-mud-blazor@0.2.0/dist/index.js", "@mfe-demo/catalog": "https://thankful-beach-011007d10.3.azurestaticapps.net/lifecycles.js", "@mfe-demo/orders": "https://black-dune-0b90ca410.4.azurestaticapps.net/lifecycles.js", "@mfe-demo/profile": "https://nice-mushroom-0dd3ee710.3.azurestaticapps.net/lifecycles.js" diff --git a/catalog/package-lock.json b/catalog/package-lock.json index dbefe81..6b2594e 100644 --- a/catalog/package-lock.json +++ b/catalog/package-lock.json @@ -8,13 +8,13 @@ "name": "catalog", "version": "0.1.0", "dependencies": { - "blazor-wasm-single-spa": "^0.4.2" + "blazor-wasm-single-spa": "^0.4.3" } }, "node_modules/blazor-wasm-single-spa": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/blazor-wasm-single-spa/-/blazor-wasm-single-spa-0.4.2.tgz", - "integrity": "sha512-THj0RSG6uGOhaF+QZoU/PDVJ0HWxTFMUVPreZ1tvhOfhmsyjafrchqNipzOP+HJ8dBMMGTqVDLt+tqNycZdVoA==" + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/blazor-wasm-single-spa/-/blazor-wasm-single-spa-0.4.3.tgz", + "integrity": "sha512-vy5LvOjUkgmVl1WeU/64yqSugcSKI5x+wKpfh/G3x4YecuiXi+2z+ujVhD3AV4J04H0CtRad0QzBvWh1R5YFbw==" } } } diff --git a/catalog/package.json b/catalog/package.json index 405909b..bbd783d 100644 --- a/catalog/package.json +++ b/catalog/package.json @@ -4,6 +4,6 @@ "description": "Catalog micro-frontend", "private": true, "dependencies": { - "blazor-wasm-single-spa": "^0.4.2" + "blazor-wasm-single-spa": "^0.4.3" } } diff --git a/catalog/src/CatalogApp/CatalogApp.csproj b/catalog/src/CatalogApp/CatalogApp.csproj index 0c649d5..46abc52 100644 --- a/catalog/src/CatalogApp/CatalogApp.csproj +++ b/catalog/src/CatalogApp/CatalogApp.csproj @@ -7,7 +7,7 @@ - + @@ -18,4 +18,4 @@ --outDir - + diff --git a/orders/package-lock.json b/orders/package-lock.json index 518b45a..f6a1b10 100644 --- a/orders/package-lock.json +++ b/orders/package-lock.json @@ -8,19 +8,19 @@ "name": "orders", "version": "0.1.0", "dependencies": { - "blazor-wasm-ext-mud-blazor": "^0.1.0", - "blazor-wasm-single-spa": "^0.4.2" + "blazor-wasm-ext-mud-blazor": "^0.2.0", + "blazor-wasm-single-spa": "^0.4.3" } }, "node_modules/blazor-wasm-ext-mud-blazor": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/blazor-wasm-ext-mud-blazor/-/blazor-wasm-ext-mud-blazor-0.1.0.tgz", - "integrity": "sha512-V8S2HNRIy45Rf2S2dVMClkG6Y5PsAbONSDp0WduQjZhxh01fN4K1Ing7ms/7kg8R1QftPEChCwGYbQcdCWiUog==" + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/blazor-wasm-ext-mud-blazor/-/blazor-wasm-ext-mud-blazor-0.2.0.tgz", + "integrity": "sha512-b8MYmi5ydGlcz/5jCNMHfH/saHRRrOCpLpPR/93DYRF8akDctveYXZr29Rbu1arhZAaTGWWDeSpPSkNjXYrOKw==" }, "node_modules/blazor-wasm-single-spa": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/blazor-wasm-single-spa/-/blazor-wasm-single-spa-0.4.2.tgz", - "integrity": "sha512-THj0RSG6uGOhaF+QZoU/PDVJ0HWxTFMUVPreZ1tvhOfhmsyjafrchqNipzOP+HJ8dBMMGTqVDLt+tqNycZdVoA==" + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/blazor-wasm-single-spa/-/blazor-wasm-single-spa-0.4.3.tgz", + "integrity": "sha512-vy5LvOjUkgmVl1WeU/64yqSugcSKI5x+wKpfh/G3x4YecuiXi+2z+ujVhD3AV4J04H0CtRad0QzBvWh1R5YFbw==" } } } diff --git a/orders/package.json b/orders/package.json index c3fb0a3..643d6d3 100644 --- a/orders/package.json +++ b/orders/package.json @@ -4,7 +4,7 @@ "description": "Orders micro-frontend", "private": true, "dependencies": { - "blazor-wasm-ext-mud-blazor": "^0.1.0", - "blazor-wasm-single-spa": "^0.4.2" + "blazor-wasm-ext-mud-blazor": "^0.2.0", + "blazor-wasm-single-spa": "^0.4.3" } } diff --git a/orders/src/OrdersApp/OrdersApp.csproj b/orders/src/OrdersApp/OrdersApp.csproj index 427834a..43d876f 100644 --- a/orders/src/OrdersApp/OrdersApp.csproj +++ b/orders/src/OrdersApp/OrdersApp.csproj @@ -7,11 +7,11 @@ - + - + diff --git a/orders/src/OrdersApp/wwwroot/lifecycles.js b/orders/src/OrdersApp/wwwroot/lifecycles.js index 20220e4..e18457d 100644 --- a/orders/src/OrdersApp/wwwroot/lifecycles.js +++ b/orders/src/OrdersApp/wwwroot/lifecycles.js @@ -9,5 +9,5 @@ const assetBaseUrl = import.meta.url.substring(0, iLastSlash + 1); export const { bootstrap, mount, unmount } = singleSpaBlazor({ appTagName: 'mfe-orders-app', assetBaseUrl, - appExtensions: [mudBlazorExtension], + appExtensions: [mudBlazorExtension()], });