Skip to content

Commit

Permalink
Remove extra files
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Jul 14, 2023
1 parent 0299c11 commit 5164a86
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8,084 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,8 @@
<BlazorCacheBootResources>false</BlazorCacheBootResources>
<DisableGitAutoCRLFInPublishOutput>true</DisableGitAutoCRLFInPublishOutput>
<ImplicitUsings>enable</ImplicitUsings>
<ScriptRoot>Script\</ScriptRoot>
<DefaultItemExcludes>$(DefaultItemExcludes);$(ScriptRoot)node_modules\**</DefaultItemExcludes>
</PropertyGroup>

<ItemGroup>
<Content Remove="$(ScriptRoot)**" />
<None Remove="$(ScriptRoot)**" />
<None Include="$(ScriptRoot)**" Exclude="$(ScriptRoot)node_modules\**" />
</ItemGroup>

<Target Name="DebugEnsureNodeEnv" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('$(ScriptRoot)node_modules') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
<Exec WorkingDirectory="$(ScriptRoot)" Command="npm install" />
<Exec WorkingDirectory="$(ScriptRoot)" Command="npm run build" />
</Target>

<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
<!-- As part of publishing, ensure the JS resources are freshly built in production mode -->
<Exec WorkingDirectory="$(ScriptRoot)" Command="npm install" />
<Exec WorkingDirectory="$(ScriptRoot)" Command="npm run build" />
</Target>

<ItemGroup>
<None Include="Script\package-lock.json" />
<None Include="Script\package.json" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.3.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="7.0.5" />
Expand Down
Loading

0 comments on commit 5164a86

Please sign in to comment.