Skip to content

Commit 6f5124d

Browse files
committed
feat!: dotnet 7
1 parent 6088e37 commit 6f5124d

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/hooks/commit-msg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
2222
echo >&2 Duplicate Signed-off-by lines.
2323
exit 1
2424
}
25-
if ! head -1 "$1" | grep -qE "^(feat|fix|ci|chore|docs|test|style|refactor|chk)(\(.+?\))?: .{1,}$"; then
25+
if ! head -1 "$1" | grep -qE "^(feat|fix|ci|chore|docs|test|style|refactor|chk)(\(.+?\))?(\!)?: .{1,}$"; then
2626
echo "Aborting commit. Your commit message is invalid. See some examples below:" >&2
2727
echo "feat(logging): added logs for failed signups" >&2
2828
echo "fix(homepage): fixed image gallery" >&2
2929
echo "test(homepage): updated tests" >&2
3030
echo "docs(readme): added new logging table information" >&2
31-
echo "For more information check https://www.conventionalcommits.org/en/v1.0.0/ for more details" >&2
31+
echo "For more information check https://www.conventionalcommits.org/en/v1.0.0/" >&2
3232
exit 1
3333
fi
3434
if ! head -1 "$1" | grep -qE "^.{1,50}$"; then

demo/Fido2.Passwordless/Fido2.Passwordless.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
88
</PropertyGroup>
99

1010
<ItemGroup>
1111
<PackageReference Include="Fido2.AspNet" Version="3.0.0" />
12-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.6" />
13-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.7" />
14-
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.7" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.7" />
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.7" />
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.7">
12+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="7.0.0" />
13+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="7.0.0" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.0" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.0" />
17+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0">
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
</PackageReference>
2121
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.15.1" />
22-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.7" />
22+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.0" />
2323
<PackageReference Include="NetDevPack" Version="6.0.1" />
2424
</ItemGroup>
2525

src/NetDevPack.Fido2.EntityFramework.Store/NetDevPack.Fido2.EntityFramework.Store.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Authors>Bruno Brito</Authors>
@@ -16,15 +16,15 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Fido2" Version="3.0.0" />
20-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.4" />
19+
<PackageReference Include="Fido2" Version="3.0.1" />
20+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
2121
</ItemGroup>
2222

2323

24-
<Target Name="CopyHook" AfterTargets="AfterBuild" Condition=" '$(Configuration)' == 'Debug' ">
24+
<Target Name="CopyHook" AfterTargets="AfterBuild" Condition="'$(Configuration)' == 'Debug'">
2525
<ItemGroup>
2626
<_CustomFiles Include="../../.github/hooks/commit-msg" />
2727
</ItemGroup>
28-
<Copy SourceFiles="@(_CustomFiles)" DestinationFolder="../../.git/hooks" />
28+
<Copy SourceFiles="@(_CustomFiles)" DestinationFolder="../../.git/hooks" />
2929
</Target>
3030
</Project>

0 commit comments

Comments
 (0)