-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathLjbc1994.Blazor.IntersectionObserver.csproj
More file actions
114 lines (98 loc) · 4.26 KB
/
Ljbc1994.Blazor.IntersectionObserver.csproj
File metadata and controls
114 lines (98 loc) · 4.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup Label="Globals">
<SccProjectName>SAK</SccProjectName>
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
</PropertyGroup>
<PropertyGroup>
<PackageId>inmydata.BlazorIntersectionObserver</PackageId>
<TargetFramework>net5.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<RazorLangVersion>3.0</RazorLangVersion>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<IsPackable>true</IsPackable>
<Title>Blazor Intersection Observer</Title>
<Description>Intersection Observer API for Blazor applications</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.1.0.2</Version>
<Product>BlazorIntersectionObserver</Product>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>3.1.0.1 - Null checks in JS
3.1.0
- Use the navigation manager for importing intersection observer script
3.0.1
- Add helpful error messages if the consumer fails to provide an element to observe or does not provide
any child content.
3.0.0
- *BREAKING CHANGE* Namespace has been changed to `Ljbc1994.Blazor.IntersectionObserver` to avoid
namespace conflicts with Blazor libraries.
2.0.1
- *BREAKING CHANGE* The IntersectionObserve component now requires a reference to the node it's observing.
- The imported observer script is now minified.
1.0.0
- Updated project to use dotnet 5</PackageReleaseNotes>
<PackageLicenseFile>LICENCE.txt</PackageLicenseFile>
<Copyright>Copyright © 2021 - Louie Colgan</Copyright>
</PropertyGroup>
<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType>
<WarningLevel>4</WarningLevel>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="5.0.0" />
<PackageReference Include="Microsoft.JSInterop" Version="5.0.0" />
</ItemGroup>
<Target Name="EnsureNpmRestored" Condition="!Exists('node_modules')">
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
<Exec Command="npm install" />
</Target>
<Target Name="RunWebpack" AfterTargets="ResolveReferences" Inputs="@(WebpackInputs)" Outputs="wwwroot\blazor-intersection-observer.min.js" DependsOnTargets="EnsureNpmRestored">
<RemoveDir Directories="wwwroot" />
<Exec Command="npm run build" />
<ItemGroup>
<EmbeddedResource Include="wwwroot\**\*.min.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Target>
<ItemGroup>
<!-- .js/.css files will be referenced via <script>/<link> tags; other content files will just be included in the app's 'dist' directory without any tags referencing them -->
<EmbeddedResource Include="wwwroot\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
<EmbeddedResource Include="wwwroot\**\*.css" LogicalName="blazor:css:%(RecursiveDir)%(Filename)%(Extension)" />
<EmbeddedResource Include="wwwroot\**" Exclude="**\*.js;**\*.css" LogicalName="blazor:file:%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Content Remove="package-lock.json" />
<Content Remove="package.json" />
<Content Remove="Properties\launchSettings.json" />
<Content Remove="tsconfig.json" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="wwwroot\blazor-intersection-observer.min.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Update="wwwroot\blazor-intersection-observer.js">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="..\..\LICENCE.txt">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="package-lock.json">
</None>
<None Include="package.json">
</None>
<None Include="Properties\launchSettings.json" />
<None Include="tsconfig.json">
</None>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>