Skip to content

Commit 32d0660

Browse files
committed
Fix
1 parent 9a53261 commit 32d0660

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

eng/Npm.Workspace.nodeproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
<Message Text="Building NPM packages..." Importance="high" />
4545

4646
<Exec
47-
Condition="$(ContinuousIntegrationBuild) == 'true'"
4847
Command="node $(MSBuildThisFileDirectory)scripts/npm/pack-workspace.mjs --update-versions $(RepoRoot)package.json $(PackageVersion) $(PackageOutputPath) $(IntermediateOutputPath)"
4948
EnvironmentVariables="$(_NpmAdditionalEnvironmentVariables)" />
5049

package-lock.json

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

src/Components/WebAssembly/WebAssembly/src/Prerendering/WebAssemblyComponentParameterDeserializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public ParameterView DeserializeParameters(IList<ComponentParameter> parametersD
6060
var parameterValue = JsonSerializer.Deserialize(
6161
value.GetRawText(),
6262
parameterType,
63-
WebAssemblyJsonSerializerContext.Default);
63+
WebAssemblyComponentSerializationSettings.JsonSerializationOptions);
6464

6565
parametersDictionary[definition.Name] = parameterValue;
6666
}

src/Components/test/testassets/Components.TestServer/RazorComponents/App.razor

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
});
7171
}
7272
},
73+
configureRuntime: (builder) => {
74+
builder.withConfig({
75+
browserProfilerOptions: {},
76+
});
77+
},
7378
},
7479
}).then(() => {
7580
const startedParagraph = document.createElement('p');

src/Components/test/testassets/Components.TestServer/ServerStartup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public void ConfigureServices(IServiceCollection services)
3030
options.RootComponents.RegisterForJavaScript<BasicTestApp.JavaScriptRootComponentParameterTypes>(
3131
"component-with-many-parameters",
3232
javaScriptInitializer: "myJsRootComponentInitializers.testInitializer");
33+
34+
options.DetailedErrors = true;
3335
});
3436
services.AddSingleton<ResourceRequestLog>();
3537
services.AddTransient<BasicTestApp.FormsTest.ValidationComponentDI.SaladChef>();

src/Components/test/testassets/Components.WasmMinimal/Components.WasmMinimal.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<StaticWebAssetBasePath>WasmMinimal</StaticWebAssetBasePath>
8+
9+
<WasmProfilers>browser;</WasmProfilers>
10+
<WasmBuildNative>true</WasmBuildNative>
811
</PropertyGroup>
912

1013
<ItemGroup>

0 commit comments

Comments
 (0)