From c24fdcdf0a1f478e79d8ffbb6e5a86b6deddc10d Mon Sep 17 00:00:00 2001 From: "Jonas R. Hansen" Date: Sun, 24 Nov 2024 13:52:03 +0100 Subject: [PATCH] disable package locks --- .github/workflows/build.yaml | 4 +- .../HomeAssistantDiscoveryNet.csproj | 3 - .../packages.lock.json | 33 --- src/ToMqttNet/ToMqttNet.csproj | 3 - src/ToMqttNet/packages.lock.json | 115 ---------- .../ToMqttNet.Test.Unit.csproj | 3 - test/ToMqttNet.Test.Unit/packages.lock.json | 214 ------------------ 7 files changed, 1 insertion(+), 374 deletions(-) delete mode 100644 src/HomeAssistantDiscoveryNet/packages.lock.json delete mode 100644 src/ToMqttNet/packages.lock.json delete mode 100644 test/ToMqttNet.Test.Unit/packages.lock.json diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 06d861e..dd35fa3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,9 +34,8 @@ jobs: with: dotnet-version: "9.0.100" cache: true - cache-dependency-path: src/ToMqttNet/packages.lock.json - name: Restore - run: dotnet restore --locked-mode + run: dotnet restore - name: Build run: dotnet build -c Release --no-restore - name: Test @@ -54,7 +53,6 @@ jobs: with: dotnet-version: "9.0.100" cache: true - cache-dependency-path: src/ToMqttNet/packages.lock.json - name: Create Release NuGet package run: | arrTag=(${GITHUB_REF//\// }) diff --git a/src/HomeAssistantDiscoveryNet/HomeAssistantDiscoveryNet.csproj b/src/HomeAssistantDiscoveryNet/HomeAssistantDiscoveryNet.csproj index 6d6c72c..6189042 100644 --- a/src/HomeAssistantDiscoveryNet/HomeAssistantDiscoveryNet.csproj +++ b/src/HomeAssistantDiscoveryNet/HomeAssistantDiscoveryNet.csproj @@ -6,9 +6,6 @@ enable true - true - true - 0.1.4 JonasMH ASP.NET Hosted MQTT Connection and models to make it easier to work with Home Assistant MQTT Discovery diff --git a/src/HomeAssistantDiscoveryNet/packages.lock.json b/src/HomeAssistantDiscoveryNet/packages.lock.json deleted file mode 100644 index 878a6f7..0000000 --- a/src/HomeAssistantDiscoveryNet/packages.lock.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net9.0": { - "Microsoft.DotNet.ILCompiler": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "Z08whyO9ArRB3JvofB9dE95fF2Be5Y60dcjmjiFshgfH/y1LnZCEFC/hxdYy92DtoNHhkxFdV0PrNaTVfcw2AQ==" - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "g0UfujELzlLbHoVG8kPKVBaW470Ewi+jnptGS9KUi6jcb+k2StujtK3m26DFSGGwQ/+bVgZfsWqNzlP6YOejvw==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0" - } - }, - "Microsoft.NET.ILLink.Tasks": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "n6hFpsxceW4UZiGvZ/08Z0RZzA3JgT7tp58vyfvXU9On4O3HCsXbxb76YwAk4t0Rv32Bsm12W2Ijx70tzYwZNg==" - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "+6f2qv2a3dLwd5w6JanPIPs47CxRbnk+ZocMJUhv9NxP88VlOcJYZs9jY+MYSjxvady08bUZn6qgiNh7DadGgg==" - } - } - } -} \ No newline at end of file diff --git a/src/ToMqttNet/ToMqttNet.csproj b/src/ToMqttNet/ToMqttNet.csproj index 03a5402..4132404 100644 --- a/src/ToMqttNet/ToMqttNet.csproj +++ b/src/ToMqttNet/ToMqttNet.csproj @@ -9,9 +9,6 @@ snupkg true - true - true - 0.1.4 JonasMH ASP.NET Hosted MQTT Connection and models to make it easier to work with Home Assistant MQTT Discovery diff --git a/src/ToMqttNet/packages.lock.json b/src/ToMqttNet/packages.lock.json deleted file mode 100644 index 765ad87..0000000 --- a/src/ToMqttNet/packages.lock.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net9.0": { - "Microsoft.DotNet.ILCompiler": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "Z08whyO9ArRB3JvofB9dE95fF2Be5Y60dcjmjiFshgfH/y1LnZCEFC/hxdYy92DtoNHhkxFdV0PrNaTVfcw2AQ==" - }, - "Microsoft.Extensions.Hosting.Abstractions": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "yUKJgu81ExjvqbNWqZKshBbLntZMbMVz/P7Way2SBx7bMqA08Mfdc9O7hWDKAiSp+zPUGT6LKcSCQIPeDK+CCw==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "9.0.0", - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Diagnostics.Abstractions": "9.0.0", - "Microsoft.Extensions.FileProviders.Abstractions": "9.0.0", - "Microsoft.Extensions.Logging.Abstractions": "9.0.0" - } - }, - "Microsoft.Extensions.Options.DataAnnotations": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "nIdreCN4msOmppc8vx4B+6YZUrgNpIBPt1GFminvWS0m/Jj3uVSvglxnkJvY/xFS7k2rQpTZVfGm1HJMqxiM+g==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Options": "9.0.0" - } - }, - "Microsoft.NET.ILLink.Tasks": { - "type": "Direct", - "requested": "[9.0.0, )", - "resolved": "9.0.0", - "contentHash": "n6hFpsxceW4UZiGvZ/08Z0RZzA3JgT7tp58vyfvXU9On4O3HCsXbxb76YwAk4t0Rv32Bsm12W2Ijx70tzYwZNg==" - }, - "MQTTnet": { - "type": "Direct", - "requested": "[4.3.7.1207, )", - "resolved": "4.3.7.1207", - "contentHash": "ah7aHXoedWp5m5a4zy2u4phOEVj0QFYzOb5tFKQeV8RRBrxp+1QREF4ymZuG8D+hzB2dhtrrG81WxTFv0PzOeQ==" - }, - "MQTTnet.Extensions.ManagedClient": { - "type": "Direct", - "requested": "[4.3.7.1207, )", - "resolved": "4.3.7.1207", - "contentHash": "i7T+4dsBqy3VVvuDuh9mmTbeZwF7eYP+8rHir4rdriM+k2dGwDNuXrScpz6xI3mEBfJZTVno8zy8+r0zzmFQuQ==", - "dependencies": { - "MQTTnet": "4.3.7.1207" - } - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "lqvd7W3FGKUO1+ZoUEMaZ5XDJeWvjpy2/M/ptCGz3tXLD4HWVaSzjufsAsjemasBEg+2SxXVtYVvGt5r2nKDlg==", - "dependencies": { - "Microsoft.Extensions.Primitives": "9.0.0" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "+6f2qv2a3dLwd5w6JanPIPs47CxRbnk+ZocMJUhv9NxP88VlOcJYZs9jY+MYSjxvady08bUZn6qgiNh7DadGgg==" - }, - "Microsoft.Extensions.Diagnostics.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "1K8P7XzuzX8W8pmXcZjcrqS6x5eSSdvhQohmcpgiQNY/HlDAlnrhR9dvlURfFz428A+RTCJpUyB+aKTA6AgVcQ==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Options": "9.0.0" - } - }, - "Microsoft.Extensions.FileProviders.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "uK439QzYR0q2emLVtYzwyK3x+T5bTY4yWsd/k/ZUS9LR6Sflp8MIdhGXW8kQCd86dQD4tLqvcbLkku8qHY263Q==", - "dependencies": { - "Microsoft.Extensions.Primitives": "9.0.0" - } - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "g0UfujELzlLbHoVG8kPKVBaW470Ewi+jnptGS9KUi6jcb+k2StujtK3m26DFSGGwQ/+bVgZfsWqNzlP6YOejvw==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0" - } - }, - "Microsoft.Extensions.Options": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "y2146b3jrPI3Q0lokKXdKLpmXqakYbDIPDV6r3M8SqvSf45WwOTzkyfDpxnZXJsJQEpAsAqjUq5Pu8RCJMjubg==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Primitives": "9.0.0" - } - }, - "Microsoft.Extensions.Primitives": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "N3qEBzmLMYiASUlKxxFIISP4AiwuPTHF5uCh+2CWSwwzAJiIYx0kBJsS30cp1nvhSySFAVi30jecD307jV+8Kg==" - }, - "homeassistantdiscoverynet": { - "type": "Project", - "dependencies": { - "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" - } - } - } - } -} \ No newline at end of file diff --git a/test/ToMqttNet.Test.Unit/ToMqttNet.Test.Unit.csproj b/test/ToMqttNet.Test.Unit/ToMqttNet.Test.Unit.csproj index 7bec044..ff7a3da 100644 --- a/test/ToMqttNet.Test.Unit/ToMqttNet.Test.Unit.csproj +++ b/test/ToMqttNet.Test.Unit/ToMqttNet.Test.Unit.csproj @@ -3,9 +3,6 @@ net9.0 enable - true - true - false diff --git a/test/ToMqttNet.Test.Unit/packages.lock.json b/test/ToMqttNet.Test.Unit/packages.lock.json deleted file mode 100644 index 134bc0f..0000000 --- a/test/ToMqttNet.Test.Unit/packages.lock.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net9.0": { - "coverlet.collector": { - "type": "Direct", - "requested": "[6.0.2, )", - "resolved": "6.0.2", - "contentHash": "bJShQ6uWRTQ100ZeyiMqcFlhP7WJ+bCuabUs885dJiBEzMsJMSFr7BOyeCw4rgvQokteGi5rKQTlkhfQPUXg2A==" - }, - "Microsoft.NET.Test.Sdk": { - "type": "Direct", - "requested": "[17.12.0, )", - "resolved": "17.12.0", - "contentHash": "kt/PKBZ91rFCWxVIJZSgVLk+YR+4KxTuHf799ho8WNiK5ZQpJNAEZCAWX86vcKrs+DiYjiibpYKdGZP6+/N17w==", - "dependencies": { - "Microsoft.CodeCoverage": "17.12.0", - "Microsoft.TestPlatform.TestHost": "17.12.0" - } - }, - "xunit": { - "type": "Direct", - "requested": "[2.9.2, )", - "resolved": "2.9.2", - "contentHash": "7LhFS2N9Z6Xgg8aE5lY95cneYivRMfRI8v+4PATa4S64D5Z/Plkg0qa8dTRHSiGRgVZ/CL2gEfJDE5AUhOX+2Q==", - "dependencies": { - "xunit.analyzers": "1.16.0", - "xunit.assert": "2.9.2", - "xunit.core": "[2.9.2]" - } - }, - "xunit.runner.visualstudio": { - "type": "Direct", - "requested": "[2.8.2, )", - "resolved": "2.8.2", - "contentHash": "vm1tbfXhFmjFMUmS4M0J0ASXz3/U5XvXBa6DOQUL3fEz4Vt6YPhv+ESCarx6M6D+9kJkJYZKCNvJMas1+nVfmQ==" - }, - "Microsoft.CodeCoverage": { - "type": "Transitive", - "resolved": "17.12.0", - "contentHash": "4svMznBd5JM21JIG2xZKGNanAHNXplxf/kQDFfLHXQ3OnpJkayRK/TjacFjA+EYmoyuNXHo/sOETEfcYtAzIrA==" - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "lqvd7W3FGKUO1+ZoUEMaZ5XDJeWvjpy2/M/ptCGz3tXLD4HWVaSzjufsAsjemasBEg+2SxXVtYVvGt5r2nKDlg==", - "dependencies": { - "Microsoft.Extensions.Primitives": "9.0.0" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "+6f2qv2a3dLwd5w6JanPIPs47CxRbnk+ZocMJUhv9NxP88VlOcJYZs9jY+MYSjxvady08bUZn6qgiNh7DadGgg==" - }, - "Microsoft.Extensions.Diagnostics.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "1K8P7XzuzX8W8pmXcZjcrqS6x5eSSdvhQohmcpgiQNY/HlDAlnrhR9dvlURfFz428A+RTCJpUyB+aKTA6AgVcQ==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Options": "9.0.0" - } - }, - "Microsoft.Extensions.FileProviders.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "uK439QzYR0q2emLVtYzwyK3x+T5bTY4yWsd/k/ZUS9LR6Sflp8MIdhGXW8kQCd86dQD4tLqvcbLkku8qHY263Q==", - "dependencies": { - "Microsoft.Extensions.Primitives": "9.0.0" - } - }, - "Microsoft.Extensions.Hosting.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "yUKJgu81ExjvqbNWqZKshBbLntZMbMVz/P7Way2SBx7bMqA08Mfdc9O7hWDKAiSp+zPUGT6LKcSCQIPeDK+CCw==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "9.0.0", - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Diagnostics.Abstractions": "9.0.0", - "Microsoft.Extensions.FileProviders.Abstractions": "9.0.0", - "Microsoft.Extensions.Logging.Abstractions": "9.0.0" - } - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "g0UfujELzlLbHoVG8kPKVBaW470Ewi+jnptGS9KUi6jcb+k2StujtK3m26DFSGGwQ/+bVgZfsWqNzlP6YOejvw==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0" - } - }, - "Microsoft.Extensions.Options": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "y2146b3jrPI3Q0lokKXdKLpmXqakYbDIPDV6r3M8SqvSf45WwOTzkyfDpxnZXJsJQEpAsAqjUq5Pu8RCJMjubg==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Primitives": "9.0.0" - } - }, - "Microsoft.Extensions.Options.DataAnnotations": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "nIdreCN4msOmppc8vx4B+6YZUrgNpIBPt1GFminvWS0m/Jj3uVSvglxnkJvY/xFS7k2rQpTZVfGm1HJMqxiM+g==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", - "Microsoft.Extensions.Options": "9.0.0" - } - }, - "Microsoft.Extensions.Primitives": { - "type": "Transitive", - "resolved": "9.0.0", - "contentHash": "N3qEBzmLMYiASUlKxxFIISP4AiwuPTHF5uCh+2CWSwwzAJiIYx0kBJsS30cp1nvhSySFAVi30jecD307jV+8Kg==" - }, - "Microsoft.TestPlatform.ObjectModel": { - "type": "Transitive", - "resolved": "17.12.0", - "contentHash": "TDqkTKLfQuAaPcEb3pDDWnh7b3SyZF+/W9OZvWFp6eJCIiiYFdSB6taE2I6tWrFw5ywhzOb6sreoGJTI6m3rSQ==", - "dependencies": { - "System.Reflection.Metadata": "1.6.0" - } - }, - "Microsoft.TestPlatform.TestHost": { - "type": "Transitive", - "resolved": "17.12.0", - "contentHash": "MiPEJQNyADfwZ4pJNpQex+t9/jOClBGMiCiVVFuELCMSX2nmNfvUor3uFVxNNCg30uxDP8JDYfPnMXQzsfzYyg==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.12.0", - "Newtonsoft.Json": "13.0.1" - } - }, - "MQTTnet": { - "type": "Transitive", - "resolved": "4.3.7.1207", - "contentHash": "ah7aHXoedWp5m5a4zy2u4phOEVj0QFYzOb5tFKQeV8RRBrxp+1QREF4ymZuG8D+hzB2dhtrrG81WxTFv0PzOeQ==" - }, - "MQTTnet.Extensions.ManagedClient": { - "type": "Transitive", - "resolved": "4.3.7.1207", - "contentHash": "i7T+4dsBqy3VVvuDuh9mmTbeZwF7eYP+8rHir4rdriM+k2dGwDNuXrScpz6xI3mEBfJZTVno8zy8+r0zzmFQuQ==", - "dependencies": { - "MQTTnet": "4.3.7.1207" - } - }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "xunit.abstractions": { - "type": "Transitive", - "resolved": "2.0.3", - "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" - }, - "xunit.analyzers": { - "type": "Transitive", - "resolved": "1.16.0", - "contentHash": "hptYM7vGr46GUIgZt21YHO4rfuBAQS2eINbFo16CV/Dqq+24Tp+P5gDCACu1AbFfW4Sp/WRfDPSK8fmUUb8s0Q==" - }, - "xunit.assert": { - "type": "Transitive", - "resolved": "2.9.2", - "contentHash": "QkNBAQG4pa66cholm28AxijBjrmki98/vsEh4Sx5iplzotvPgpiotcxqJQMRC8d7RV7nIT8ozh97957hDnZwsQ==" - }, - "xunit.core": { - "type": "Transitive", - "resolved": "2.9.2", - "contentHash": "O6RrNSdmZ0xgEn5kT927PNwog5vxTtKrWMihhhrT0Sg9jQ7iBDciYOwzBgP2krBEk5/GBXI18R1lKvmnxGcb4w==", - "dependencies": { - "xunit.extensibility.core": "[2.9.2]", - "xunit.extensibility.execution": "[2.9.2]" - } - }, - "xunit.extensibility.core": { - "type": "Transitive", - "resolved": "2.9.2", - "contentHash": "Ol+KlBJz1x8BrdnhN2DeOuLrr1I/cTwtHCggL9BvYqFuVd/TUSzxNT5O0NxCIXth30bsKxgMfdqLTcORtM52yQ==", - "dependencies": { - "xunit.abstractions": "2.0.3" - } - }, - "xunit.extensibility.execution": { - "type": "Transitive", - "resolved": "2.9.2", - "contentHash": "rKMpq4GsIUIJibXuZoZ8lYp5EpROlnYaRpwu9Zr0sRZXE7JqJfEEbCsUriZqB+ByXCLFBJyjkTRULMdC+U566g==", - "dependencies": { - "xunit.extensibility.core": "[2.9.2]" - } - }, - "homeassistantdiscoverynet": { - "type": "Project", - "dependencies": { - "Microsoft.Extensions.Logging.Abstractions": "[9.0.0, )" - } - }, - "tomqttnet": { - "type": "Project", - "dependencies": { - "HomeAssistantDiscoveryNet": "[0.1.4, )", - "MQTTnet": "[4.3.7.1207, )", - "MQTTnet.Extensions.ManagedClient": "[4.3.7.1207, )", - "Microsoft.Extensions.Hosting.Abstractions": "[9.0.0, )", - "Microsoft.Extensions.Options.DataAnnotations": "[9.0.0, )" - } - } - } - } -} \ No newline at end of file