Skip to content

Commit da5bb71

Browse files
Remove Central Package Management
1 parent 2812d09 commit da5bb71

File tree

9 files changed

+25
-55
lines changed

9 files changed

+25
-55
lines changed

Directory.Build.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1616
</PropertyGroup>
1717

18+
<ItemGroup>
19+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" IncludeAssets="runtime;build;native;contentFiles;analyzers" PrivateAssets="all" />
20+
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.119" IncludeAssets="runtime;build;native;contentFiles;analyzers" PrivateAssets="all" />
21+
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" IncludeAssets="runtime;build;native;contentFiles;analyzers" PrivateAssets="all" />
22+
<PackageReference Include="Umbraco.Code" Version="2.0.0" IncludeAssets="runtime;build;native;contentFiles;analyzers" PrivateAssets="all" />
23+
<PackageReference Include="Umbraco.GitVersioning.Extensions" Version="0.2.0" IncludeAssets="runtime;build;native;contentFiles;analyzers" PrivateAssets="all" />
24+
</ItemGroup>
25+
1826
<ItemGroup>
1927
<Content Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="" Visible="false" />
2028
</ItemGroup>

Directory.Packages.props

Lines changed: 0 additions & 18 deletions
This file was deleted.

NuGet.config

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,4 @@
66
<add key="Umbraco Prereleases" value="https://www.myget.org/F/umbracoprereleases/api/v3/index.json" />
77
<add key="Umbraco Nightly" value="https://www.myget.org/F/umbraconightly/api/v3/index.json" />
88
</packageSources>
9-
<packageSourceMapping>
10-
<packageSource key="nuget.org">
11-
<package pattern="*" />
12-
</packageSource>
13-
<packageSource key="Umbraco Prereleases">
14-
<package pattern="Umbraco.Cms.*" />
15-
</packageSource>
16-
<packageSource key="Umbraco Nightly">
17-
<package pattern="Umbraco.Cms.*" />
18-
</packageSource>
19-
</packageSourceMapping>
209
</configuration>

Umbraco.Deploy.Contrib.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1717
azure-pipelines.yml = azure-pipelines.yml
1818
CONTRIBUTING.md = CONTRIBUTING.md
1919
Directory.Build.props = Directory.Build.props
20-
Directory.Packages.props = Directory.Packages.props
2120
global.json = global.json
2221
icon.png = icon.png
2322
LICENSE.md = LICENSE.md

src/Umbraco.Deploy.Contrib/CompatibilitySuppressions.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,4 @@
9191
<Right>lib/net6.0/Umbraco.Deploy.Contrib.dll</Right>
9292
<IsBaselineSuppression>true</IsBaselineSuppression>
9393
</Suppression>
94-
<Suppression>
95-
<DiagnosticId>CP0003</DiagnosticId>
96-
<Target>Umbraco.Deploy.Contrib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</Target>
97-
<Left>lib/net6.0/Umbraco.Deploy.Contrib.dll</Left>
98-
<Right>lib/net6.0/Umbraco.Deploy.Contrib.dll</Right>
99-
<IsBaselineSuppression>true</IsBaselineSuppression>
100-
</Suppression>
10194
</Suppressions>

src/Umbraco.Deploy.Contrib/Umbraco.Deploy.Contrib.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Umbraco.Deploy.Infrastructure" />
8+
<PackageReference Include="Umbraco.Deploy.Infrastructure" Version="[10.1.0, 11)" />
99
</ItemGroup>
1010
</Project>

src/Umbraco.Deploy.Contrib/packages.lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 2,
2+
"version": 1,
33
"dependencies": {
44
"net6.0": {
55
"Microsoft.SourceLink.GitHub": {

tests/Umbraco.Deploy.Contrib.Tests/Umbraco.Deploy.Contrib.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="NUnit3TestAdapter" />
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" />
11-
<PackageReference Include="Umbraco.Cms.Tests" />
9+
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
11+
<PackageReference Include="Umbraco.Cms.Tests" Version="10.1.0" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

tests/Umbraco.Deploy.Contrib.Tests/packages.lock.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 2,
2+
"version": 1,
33
"dependencies": {
44
"net6.0": {
55
"Microsoft.NET.Test.Sdk": {
@@ -45,7 +45,7 @@
4545
},
4646
"Umbraco.Cms.Tests": {
4747
"type": "Direct",
48-
"requested": "[10.1.0, 11.0.0)",
48+
"requested": "[10.1.0, )",
4949
"resolved": "10.1.0",
5050
"contentHash": "Ov0vvPS+40Jxj1nli/nM6fpjaYcUglcZEhM3/3OYEf1D3Mq1YBb81BqfU2FBcQVNqCM0EJl3veKeQ9RwKPCtRw==",
5151
"dependencies": {
@@ -2088,6 +2088,16 @@
20882088
"Umbraco.Cms.Core": "[10.0.0, 11.0.0)"
20892089
}
20902090
},
2091+
"Umbraco.Deploy.Infrastructure": {
2092+
"type": "Transitive",
2093+
"resolved": "10.1.0",
2094+
"contentHash": "xX3//I/oqzhsaQYNrI0tIfxJT6fc17UU3oX2BZh1JFH6Oa3XmG1mWHVjxIlaSgLzbquIVCMdmyinPBCI5uiQJw==",
2095+
"dependencies": {
2096+
"Umbraco.Cms.Web.BackOffice": "[10.0.0, 11.0.0)",
2097+
"Umbraco.Deploy.Core": "10.1.0",
2098+
"Umbraco.Licensing": "4.0.0"
2099+
}
2100+
},
20912101
"Umbraco.Licensing": {
20922102
"type": "Transitive",
20932103
"resolved": "4.0.0",
@@ -2104,17 +2114,6 @@
21042114
"dependencies": {
21052115
"Umbraco.Deploy.Infrastructure": "[10.1.0, 11.0.0)"
21062116
}
2107-
},
2108-
"Umbraco.Deploy.Infrastructure": {
2109-
"type": "CentralTransitive",
2110-
"requested": "[10.1.0, 11.0.0)",
2111-
"resolved": "10.1.0",
2112-
"contentHash": "xX3//I/oqzhsaQYNrI0tIfxJT6fc17UU3oX2BZh1JFH6Oa3XmG1mWHVjxIlaSgLzbquIVCMdmyinPBCI5uiQJw==",
2113-
"dependencies": {
2114-
"Umbraco.Cms.Web.BackOffice": "[10.0.0, 11.0.0)",
2115-
"Umbraco.Deploy.Core": "10.1.0",
2116-
"Umbraco.Licensing": "4.0.0"
2117-
}
21182117
}
21192118
}
21202119
}

0 commit comments

Comments
 (0)