Skip to content

Commit 3206718

Browse files
authored
chore: add README.md to package metadata for all projects (#3231)
1 parent 8d08fd1 commit 3206718

File tree

8 files changed

+16
-0
lines changed

8 files changed

+16
-0
lines changed

src/Playwright.CLI/Playwright.CLI.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3535
<PackageReleaseNotes><![CDATA[
3636
]]></PackageReleaseNotes>
37+
<PackageReadmeFile>README.md</PackageReadmeFile>
3738
</PropertyGroup>
3839
<Import Project="../Common/SignAssembly.props" />
3940
<Import Project="../Common/SignFiles.props" />
@@ -49,5 +50,6 @@
4950
</ItemGroup>
5051
<ItemGroup>
5152
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
53+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
5254
</ItemGroup>
5355
</Project>

src/Playwright.MSTest.v4/Playwright.MSTest.v4.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<PackageOutputPath>./nupkg</PackageOutputPath>
2020
<IsPackable>true</IsPackable>
2121
<Nullable>enable</Nullable>
22+
<PackageReadmeFile>README.md</PackageReadmeFile>
2223
<!--<EnablePackageValidation>true</EnablePackageValidation>
2324
<PackageValidationBaselineVersion>1.52.0</PackageValidationBaselineVersion>-->
2425
</PropertyGroup>
@@ -41,6 +42,7 @@
4142
</ItemGroup>
4243
<ItemGroup>
4344
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
45+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
4446
</ItemGroup>
4547
<ItemGroup>
4648
<Compile Include="$(MSBuildThisFileDirectory)..\Playwright.MSTest\*.cs">

src/Playwright.MSTest/Playwright.MSTest.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<PackageOutputPath>./nupkg</PackageOutputPath>
2020
<IsPackable>true</IsPackable>
2121
<Nullable>enable</Nullable>
22+
<PackageReadmeFile>README.md</PackageReadmeFile>
2223
<EnablePackageValidation>true</EnablePackageValidation>
2324
<PackageValidationBaselineVersion>1.52.0</PackageValidationBaselineVersion>
2425
</PropertyGroup>
@@ -43,5 +44,6 @@
4344
</ItemGroup>
4445
<ItemGroup>
4546
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
47+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
4648
</ItemGroup>
4749
</Project>

src/Playwright.NUnit/Playwright.NUnit.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<PackageOutputPath>./nupkg</PackageOutputPath>
2020
<IsPackable>true</IsPackable>
2121
<Nullable>enable</Nullable>
22+
<PackageReadmeFile>README.md</PackageReadmeFile>
2223
<EnablePackageValidation>true</EnablePackageValidation>
2324
<PackageValidationBaselineVersion>1.52.0</PackageValidationBaselineVersion>
2425
</PropertyGroup>
@@ -43,5 +44,6 @@
4344
</ItemGroup>
4445
<ItemGroup>
4546
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
47+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
4648
</ItemGroup>
4749
</Project>

src/Playwright.TestAdapter/Playwright.TestAdapter.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<PackageOutputPath>./nupkg</PackageOutputPath>
1919
<IsPackable>true</IsPackable>
2020
<Nullable>enable</Nullable>
21+
<PackageReadmeFile>README.md</PackageReadmeFile>
2122
<EnablePackageValidation>true</EnablePackageValidation>
2223
<PackageValidationBaselineVersion>1.52.0</PackageValidationBaselineVersion>
2324
</PropertyGroup>
@@ -40,5 +41,6 @@
4041
</ItemGroup>
4142
<ItemGroup>
4243
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
44+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
4345
</ItemGroup>
4446
</Project>

src/Playwright.Xunit.v3/Playwright.Xunit.v3.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<PackageOutputPath>./nupkg</PackageOutputPath>
2020
<IsPackable>true</IsPackable>
2121
<Nullable>enable</Nullable>
22+
<PackageReadmeFile>README.md</PackageReadmeFile>
2223
</PropertyGroup>
2324

2425
<Import Project="../Common/Version.props" />
@@ -39,5 +40,6 @@
3940
</ItemGroup>
4041
<ItemGroup>
4142
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
43+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
4244
</ItemGroup>
4345
</Project>

src/Playwright.Xunit/Playwright.Xunit.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<PackageOutputPath>./nupkg</PackageOutputPath>
2020
<IsPackable>true</IsPackable>
2121
<Nullable>enable</Nullable>
22+
<PackageReadmeFile>README.md</PackageReadmeFile>
2223
<EnablePackageValidation>true</EnablePackageValidation>
2324
<PackageValidationBaselineVersion>1.52.0</PackageValidationBaselineVersion>
2425
</PropertyGroup>
@@ -41,5 +42,6 @@
4142
</ItemGroup>
4243
<ItemGroup>
4344
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
45+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
4446
</ItemGroup>
4547
</Project>

src/Playwright/Playwright.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<EnablePackageValidation>true</EnablePackageValidation>
2424
<PackageValidationBaselineVersion>1.52.0</PackageValidationBaselineVersion>
2525
<Nullable>enable</Nullable>
26+
<PackageReadmeFile>README.md</PackageReadmeFile>
2627
</PropertyGroup>
2728
<Import Project="../Common/Version.props" />
2829
<Import Project="../Common/Dependencies.props" />
@@ -54,6 +55,7 @@
5455
<None Include="build\**" Pack="true" PackagePath="buildTransitive" />
5556
<None Include="build\**" Pack="true" PackagePath="build" />
5657
<None Include="..\Common\icon.png" Pack="true" Visible="false" PackagePath="icon.png" />
58+
<None Include="..\..\README.md" Pack="true" PackagePath="README.md" />
5759
</ItemGroup>
5860
<Target Name="EnsurePrerequisitsRan" BeforeTargets="GetCopyToOutputDirectoryItems">
5961
<Error Text="Playwright prerequisites are missing. Ensure you've ran `dotnet run --project ./src/tools/Playwright.Tooling/Playwright.Tooling.csproj -- download-drivers --basepath .`" Condition="!Exists('$(MSBuildProjectDirectory)\.drivers')" />

0 commit comments

Comments
 (0)