Remove webinterface dependencies and build artifacts
Drops Watson.Lite (the HTTP server) and Newtonsoft.Json (only used by the webinterface JSON wire format) from the package references and removes websiteBuild.zip plus the UnzipBuild target that extracted it into the build output. The commented-out NodeJS compile blocks for the Svelte frontend go with them. DbViewer used to ship a CreateTempJsonFile button that exported the database in the webinterface message-protocol shape (MessageResponse, MessageTemplate, WebPayloadType). With no client able to consume that shape any more the button, the method and the two helper methods are removed. The Privacy tab's MessageExporter already covers Markdown, JSON and CSV exports with channel and date filters and is the supported way to get history out of the plugin. Build verified clean (Release, 0 warnings, 0 errors). The lockfile shrinks accordingly.
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
<PackageReference Include="morelinq" Version="4.4.0" />
|
||||
<PackageReference Include="Pidgin" Version="3.3.0" />
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.12" />
|
||||
<PackageReference Include="Watson.Lite" Version="6.3.9" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -73,26 +72,4 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<!--This doesn't work until Plogon is updated to include NodeJS-->
|
||||
<!-- <Target Name="NodeJS Compile" BeforeTargets="BeforeCompile">-->
|
||||
<!-- <Exec Command="npm install" WorkingDirectory="Http\Frontend"/>-->
|
||||
<!-- <Exec Command="npm run build" WorkingDirectory="Http\Frontend"/>-->
|
||||
<!-- </Target>-->
|
||||
<!-- -->
|
||||
<!-- <Target Name="CopyFiles" AfterTargets="Build">-->
|
||||
<!-- <ItemGroup>-->
|
||||
<!-- <Files Include="$(MSBuildThisFileDirectory)\Http\Frontend\build\**" />-->
|
||||
<!-- </ItemGroup>-->
|
||||
<!-- -->
|
||||
<!-- <Copy SourceFiles="@(Files)" DestinationFolder="$(TargetDir)\Frontend\%(RecursiveDir)" />-->
|
||||
<!-- </Target>-->
|
||||
|
||||
<!-- <Target Name="NodeJS Compile" BeforeTargets="BeforeCompile" Condition="'$(Configuration)' == 'Debug'">-->
|
||||
<!-- <Exec Command="npm install" WorkingDirectory="Http\Frontend"/>-->
|
||||
<!-- <Exec Command="npm run build" WorkingDirectory="Http\Frontend"/>-->
|
||||
<!-- </Target>-->
|
||||
|
||||
<Target Name="UnzipBuild" AfterTargets="Build">
|
||||
<Unzip SourceFiles="websiteBuild.zip" DestinationFolder="$(TargetDir)\Frontend"/>
|
||||
</Target>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user