diff --git a/CHANGELOG.md b/CHANGELOG.md index c0eb69c..f94991d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,12 @@ ## 0.5.0 (tbd) - Fixed issue with broken assets +- Fixed emulator running debugged micro frontend assemblies in default context - Added `PiralOptions` to configure behavior - Added `IsolatedAssemblies` option - Added support for relative paths in `AppShell` of SDK (#2) - Added new documentation page (blazor.piral.io) +- Added support for `IConfiguration` of micro frontends - Added roadmap (#3) ## 0.4.1 (February 16, 2024) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 2c5efb8..062df3b 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -19,6 +19,7 @@ const sidebars = (): DefaultTheme.SidebarItem[] => [ { text: "Emulator", link: "/getting-started/server/emulator" }, { text: "Micro Frontend", link: "/getting-started/server/microfrontend" }, { text: "Publishing", link: "/getting-started/server/publishing" }, + { text: "Runtime Configuration", link: "/getting-started/server/environment" }, ], }, { @@ -29,7 +30,7 @@ const sidebars = (): DefaultTheme.SidebarItem[] => [ { text: "Micro Frontend", link: "/getting-started/spa/microfrontend" }, { text: "Debugging", link: "/getting-started/spa/debugging" }, { text: "Publishing", link: "/getting-started/spa/publishing" }, - { text: "Configuration", link: "/getting-started/spa/configuration" }, + { text: "Build Configuration", link: "/getting-started/spa/configuration" }, { text: "Dependency Injection", link: "/getting-started/spa/dependency-injection" }, { text: "Page Components", link: "/getting-started/spa/pages" }, { text: "Extension Components", link: "/getting-started/spa/extensions" }, @@ -39,6 +40,7 @@ const sidebars = (): DefaultTheme.SidebarItem[] => [ { text: "Parameters", link: "/getting-started/spa/parameters" }, { text: "Pilet Service", link: "/getting-started/spa/pilet-service" }, { text: "Localization", link: "/getting-started/spa/localization" }, + { text: "Runtime Configuration", link: "/getting-started/server/environment" }, ], }, { diff --git a/docs/getting-started/server/environment.md b/docs/getting-started/server/environment.md new file mode 100644 index 0000000..ea64c4d --- /dev/null +++ b/docs/getting-started/server/environment.md @@ -0,0 +1,3 @@ +# Environment Configuration + +... diff --git a/docs/getting-started/spa/environment.md b/docs/getting-started/spa/environment.md new file mode 100644 index 0000000..ea64c4d --- /dev/null +++ b/docs/getting-started/spa/environment.md @@ -0,0 +1,3 @@ +# Environment Configuration + +... diff --git a/src/Piral.Blazor.Sdk/Emulator.cs b/src/Piral.Blazor.Sdk/Emulator.cs index a93b1e3..356b6ba 100644 --- a/src/Piral.Blazor.Sdk/Emulator.cs +++ b/src/Piral.Blazor.Sdk/Emulator.cs @@ -113,7 +113,9 @@ private static string TryResolveLocalPackageAt(string path) } } +#pragma warning disable CS8603 // Possible null reference return. return null; +#pragma warning restore CS8603 // Possible null reference return. } private static string TryResolveLocalPackage(string root, string name)