Skip to content

Commit

Permalink
Merge pull request #14 from ljbc1994/fix/content-files
Browse files Browse the repository at this point in the history
fix(content-files): remove unnecessary content files in build
  • Loading branch information
Louie Colgan authored Dec 6, 2020
2 parents 1bdf45a + 51714c5 commit 6cefc53
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Versioning properties -->
<PropertyGroup>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">1.0.0</VersionPrefix>
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">1.1.0</VersionPrefix>
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">dev</VersionSuffix>
</PropertyGroup>

Expand Down
27 changes: 16 additions & 11 deletions src/Blazor.IntersectionObserver/Blazor.IntersectionObserver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Title>Blazor Intersection Observer</Title>
<Description>Intersection Observer API for Blazor applications</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.0</Version>
<Version>1.1.0</Version>
<Product>BlazorIntersectionObserver</Product>
<PackageReleaseNotes>06/12/2020
- Updated project to use dotnet 5</PackageReleaseNotes>
Expand Down Expand Up @@ -58,19 +58,14 @@
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\" />
<Content Remove="package-lock.json" />
<Content Remove="package.json" />
<Content Remove="Properties\launchSettings.json" />
<Content Remove="tsconfig.json" />
</ItemGroup>

<ItemGroup>
<Content Update="package-lock.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
<Content Update="package.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
<Content Update="tsconfig.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
<Folder Include="wwwroot\" />
</ItemGroup>

<ItemGroup>
Expand All @@ -84,5 +79,15 @@
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="package-lock.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Include="package.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Include="Properties\launchSettings.json" />
<None Include="tsconfig.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Blazor.IntersectionObserver/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "blazor.intersectionobserver",
"private": true,
"version": "1.0.0",
"version": "1.1.0",
"description": "Intersection Observer wrapper for Blazor",
"main": "index.ts",
"main": "src/index.ts",
"scripts": {
"build": "rollup -c",
"test": "jest --ci --reporters=default --reporters=jest-junit --coverage --coverageReporters cobertura",
Expand Down

0 comments on commit 6cefc53

Please sign in to comment.