Skip to content

Commit 6cefc53

Browse files
author
Louie Colgan
authored
Merge pull request #14 from ljbc1994/fix/content-files
fix(content-files): remove unnecessary content files in build
2 parents 1bdf45a + 51714c5 commit 6cefc53

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
<!-- Versioning properties -->
3535
<PropertyGroup>
36-
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">1.0.0</VersionPrefix>
36+
<VersionPrefix Condition=" '$(VersionPrefix)'=='' ">1.1.0</VersionPrefix>
3737
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">dev</VersionSuffix>
3838
</PropertyGroup>
3939

src/Blazor.IntersectionObserver/Blazor.IntersectionObserver.csproj

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Title>Blazor Intersection Observer</Title>
1717
<Description>Intersection Observer API for Blazor applications</Description>
1818
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
19-
<Version>1.0.0</Version>
19+
<Version>1.1.0</Version>
2020
<Product>BlazorIntersectionObserver</Product>
2121
<PackageReleaseNotes>06/12/2020
2222
- Updated project to use dotnet 5</PackageReleaseNotes>
@@ -58,19 +58,14 @@
5858
</ItemGroup>
5959

6060
<ItemGroup>
61-
<Folder Include="wwwroot\" />
61+
<Content Remove="package-lock.json" />
62+
<Content Remove="package.json" />
63+
<Content Remove="Properties\launchSettings.json" />
64+
<Content Remove="tsconfig.json" />
6265
</ItemGroup>
6366

6467
<ItemGroup>
65-
<Content Update="package-lock.json">
66-
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
67-
</Content>
68-
<Content Update="package.json">
69-
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
70-
</Content>
71-
<Content Update="tsconfig.json">
72-
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
73-
</Content>
68+
<Folder Include="wwwroot\" />
7469
</ItemGroup>
7570

7671
<ItemGroup>
@@ -84,5 +79,15 @@
8479
<Pack>True</Pack>
8580
<PackagePath></PackagePath>
8681
</None>
82+
<None Include="package-lock.json">
83+
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
84+
</None>
85+
<None Include="package.json">
86+
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
87+
</None>
88+
<None Include="Properties\launchSettings.json" />
89+
<None Include="tsconfig.json">
90+
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
91+
</None>
8792
</ItemGroup>
8893
</Project>

src/Blazor.IntersectionObserver/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "blazor.intersectionobserver",
33
"private": true,
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"description": "Intersection Observer wrapper for Blazor",
6-
"main": "index.ts",
6+
"main": "src/index.ts",
77
"scripts": {
88
"build": "rollup -c",
99
"test": "jest --ci --reporters=default --reporters=jest-junit --coverage --coverageReporters cobertura",

0 commit comments

Comments
 (0)