The DependencyUpdaterTool is a command-line tool aimed to simplify the process of updating project dependencies. It currently supports .NET projects and is able to handle NuGet packages. In future updates, we plan to extend its functionality to other package platforms and languages.
The tool can be installed via .NET global tools. Run the following command in your terminal:
dotnet tool install --global DependencyUpdaterTool
Please ensure that you have .NET 8 or later installed on your machine before running the installation command above.
After installation, you can use the DependencyUpdaterTool in your terminal by running:
dut
The most recent config can be found here:
https://github.com/torbacz/DependencyUpdated/blob/main/src/DependencyUpdated/config.json
Note: Each config value can be overridden by environment variables. For example if you want to update
{
"UpdaterConfig": {
"RepositoryType": ""
}
}
Set UpdaterConfig__RepositoryType variable (all follows standard .NET naming conversion, check docs for more info)
When working on local machine, there are several things that needs to be setup:
config.json
. Make sure not to commit config.json
file into repository.The DependencyUpdaterTool is available under the MIT license. For more information, see the LICENSE file in this repository.