Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/API.Tests/API.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="coverlet.collector" Version="8.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
8 changes: 4 additions & 4 deletions src/API/API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.23.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.1" />
<PackageReference Include="RestSharp" Version="113.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.3" />
<PackageReference Include="RestSharp" Version="113.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.1.4" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/API/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ COPY ["src/DataFacade.Tests/DataFacade.Tests.csproj", "DataFacade.Tests/"]
RUN dotnet restore "API/API.csproj"
COPY src/. .
WORKDIR "/src/API"
RUN dotnet build "API.csproj" -c Release -o /app/build
RUN dotnet build "API.csproj" --no-restore -c Release

#FROM build AS test
WORKDIR "/src"
RUN dotnet test API.Tests -c Release
RUN dotnet test DataFacade.Tests
RUN dotnet test API.Tests --no-build -c Release
RUN dotnet test DataFacade.Tests --no-build -c Release

FROM build AS publish
WORKDIR "/src/API"
RUN dotnet publish "API.csproj" -c Release -o /app/publish /p:UseAppHost=false
RUN dotnet publish "API.csproj" -c Release -o /app/publish --no-build /p:UseAppHost=false

FROM base AS final
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion src/DataFacade.Tests/DataFacade.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="coverlet.collector" Version="8.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions src/DataFacade/DataFacade.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.56.0" />
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.57.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(AssemblyName).Tests</_Parameter1>
</AssemblyAttribute>
<PackageReference Include="WolverineFx" Version="5.9.2" />
<PackageReference Include="WolverineFx" Version="5.16.2" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/react/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@


## Multi-stage Dockerfile to build a React app and serve the built /dist with NGINX

# 1) Builder: install deps and build to /app/dist
FROM node:24-alpine AS builder
FROM node:25-alpine AS builder
WORKDIR /app

# Copy lockfile(s) and package.json for better layer caching
Expand Down
2 changes: 1 addition & 1 deletion src/react/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>react</title>
<title>RobertLynJA.com</title>
</head>
<body>
<div id="root"></div>
Expand Down
60 changes: 57 additions & 3 deletions src/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.