Skip to content

Commit 3d59d14

Browse files
authored
Merge pull request #64 from marcominerva/develop
Update libraries
2 parents 7ac33fe + 2651e2b commit 3d59d14

File tree

74 files changed

+588
-449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+588
-449
lines changed

.editorconfig

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ csharp_style_var_elsewhere = true:suggestion
9898
csharp_style_var_for_built_in_types = true:suggestion
9999
csharp_style_var_when_type_is_apparent = true:suggestion
100100

101-
# Expression-bodied members
101+
# Expression-bodied members preferences
102102
csharp_style_expression_bodied_accessors = true:silent
103103
csharp_style_expression_bodied_constructors = false:silent
104104
csharp_style_expression_bodied_indexers = true:silent
@@ -126,6 +126,7 @@ csharp_preferred_modifier_order = public,private,protected,internal,static,exter
126126

127127
# Code-block preferences
128128
csharp_style_prefer_top_level_statements = true:suggestion
129+
csharp_style_prefer_primary_constructors = true:suggestion
129130
csharp_prefer_braces = true:silent
130131
csharp_prefer_simple_using_statement = true:suggestion
131132
csharp_style_namespace_declarations = file_scoped:suggestion
@@ -139,14 +140,15 @@ csharp_style_pattern_local_over_anonymous_function = true:suggestion
139140
csharp_style_prefer_index_operator = true:suggestion
140141
csharp_style_prefer_range_operator = true:suggestion
141142
csharp_style_throw_expression = true:suggestion
142-
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
143-
csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion
143+
csharp_style_unused_value_assignment_preference = discard_variable:none
144+
csharp_style_unused_value_expression_statement_preference = discard_variable:none
144145

145146
# 'using' directive preferences
146147
csharp_using_directive_placement = outside_namespace:suggestion
147148

148149
# Struct preferences
149150
csharp_style_prefer_readonly_struct = true:suggestion
151+
csharp_style_prefer_readonly_struct_member = true:suggestion
150152

151153
#### C# Formatting Rules ####
152154

@@ -161,6 +163,8 @@ csharp_new_line_between_query_expression_clauses = true
161163
csharp_style_allow_embedded_statements_on_same_line_experimental = false:error
162164
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:error
163165
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
166+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
167+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
164168

165169
# Indentation preferences
166170
csharp_indent_block_contents = true
@@ -290,4 +294,4 @@ dotnet_diagnostic.IDE0058.severity = none
290294
dotnet_diagnostic.IDE0010.severity = none
291295

292296
# IDE0072: Add missing cases
293-
dotnet_diagnostic.IDE0072.severity = none
297+
dotnet_diagnostic.IDE0072.severity = none

samples/DatabaseGpt.Web/DatabaseGpt.Web.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.396" />
12-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.1" />
11+
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.405" />
12+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.3" />
1313
<PackageReference Include="MinimalHelpers.OpenApi" Version="2.0.3" />
14-
<PackageReference Include="MinimalHelpers.Routing" Version="2.0.3" />
15-
<PackageReference Include="OperationResultTools.AspNetCore.Http" Version="1.0.17" />
14+
<PackageReference Include="MinimalHelpers.Routing.Analyzers" Version="1.0.7" />
15+
<PackageReference Include="OperationResultTools.AspNetCore.Http" Version="1.0.22" />
1616
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
17-
<PackageReference Include="TinyHelpers" Version="3.0.4" />
18-
<PackageReference Include="TinyHelpers.AspNetCore" Version="3.0.4" />
17+
<PackageReference Include="TinyHelpers" Version="3.1.3" />
18+
<PackageReference Include="TinyHelpers.AspNetCore" Version="3.0.6" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

samples/DatabaseGpt.Web/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
using DatabaseGpt.Web.Settings;
99
using DatabaseGpt.Web.Swagger;
1010
using Microsoft.OpenApi.Models;
11-
using MinimalHelpers.Routing;
1211
using OperationResults.AspNetCore.Http;
13-
using TinyHelpers.AspNetCore.ExceptionHandlers;
1412
using TinyHelpers.AspNetCore.Extensions;
1513
using TinyHelpers.AspNetCore.Swagger;
1614

@@ -143,7 +141,7 @@
143141
builder.UseRateLimiter();
144142
});
145143

146-
// app.UseCors();
144+
//app.UseCors();
147145

148146
// In Razor Pages apps and apps with controllers, UseOutputCache must be called after UseRouting.
149147
//app.UseOutputCache();

samples/DatabaseGpt.Web/libman.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"defaultProvider": "cdnjs",
44
"libraries": [
55
{
6-
"library": "twitter-bootstrap@5.3.2",
6+
"library": "twitter-bootstrap@5.3.3",
77
"destination": "wwwroot/lib/bootstrap"
88
},
99
{
@@ -15,11 +15,11 @@
1515
"destination": "wwwroot/lib/jquery"
1616
},
1717
{
18-
"library": "alpinejs@3.13.3",
18+
"library": "alpinejs@3.13.7",
1919
"destination": "wwwroot/lib/alpinejs"
2020
},
2121
{
22-
"library": "marked@11.1.1",
22+
"library": "marked@12.0.1",
2323
"destination": "wwwroot/lib/marked"
2424
}
2525
]

0 commit comments

Comments
 (0)