Aiursoft.NugetNinja.PrBot
8.0.20
See the version list below for details.
dotnet tool install --global Aiursoft.NugetNinja.PrBot --version 8.0.20
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Aiursoft.NugetNinja.PrBot --version 8.0.20
#tool dotnet:?package=Aiursoft.NugetNinja.PrBot&version=8.0.20
nuke :add-package Aiursoft.NugetNinja.PrBot --version 8.0.20
Nuget Ninja
Nuget Ninja is a tool for detecting dependencies of .NET projects. It analyzes the dependency structure of .NET projects in a directory and builds a directed acyclic graph. And will give some modification suggestions for Nuget packages, so that the dependencies of the project are as concise and up-to-date as possible.
Install
Run the following command to install this tool:
dotnet tool install --global Aiursoft.NugetNinja
Usage
After getting the binary, run it directly in the terminal.
C:\workspace> ninja.exe
Description:
Nuget Ninja, a tool for detecting dependencies of .NET projects.
Usage:
ninja [command] [options]
Options:
-p, --path <path> (REQUIRED) Path of the projects to be changed.
-d, --dry-run Preview changes without actually making them
-v, --verbose Show detailed log
--allow-preview Allow using preview versions of packages from Nuget.
--nuget-server <nuget-server> If you want to use a customized nuget server instead of the official nuget.org, you can set it with a value like: https://nuget.myserver/v3/index.json
--token <token> The PAT token which has privilege to access the nuget server. See: https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate
--version Show version information
-?, -h, --help Show help and usage information
Commands:
all, all-officials The command to run all officially supported features.
fill-properties The command to fill all missing properties for .csproj files.
remove-deprecated The command to replace all deprecated packages to new packages.
upgrade-pkg The command to upgrade all package references to possible latest and avoid conflicts.
clean-pkg The command to clean up possible useless package references.
clean-prj The command to clean up possible useless project references.
Sample
Generate suggestions for the current workspace without modifying local files:
C:\workspace> ninja.exe all --path . --dry-run
Fill missing properties for current workspace:
C:\workspace> ninja.exe fill-properties --path .
Run all plugins under the current folder:
C:\workspace> ninja.exe all --path .
How to build and run locally
Requirements about how to develop.
- Execute
dotnet restore
to restore all .NET dependencies. - Execute the following command to build the app:
dotnet publish -c Release -r win-x64
on Windows.dotnet publish -c Release -r linux-x64
on Linux.dotnet publish -c Release -r osx-x64
on Mac OS.
- Execute
dotnet run
to run the app
Run in Microsoft Visual Studio
- Open the
.sln
file in the project path. - Press
F5
.
Contributing
There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.
Even if you have push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your personal workflow cruft out of sight.
We're also interested in your feedback for the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
8.0.45 | 92 | 11/12/2024 |
8.0.44 | 80 | 11/10/2024 |
8.0.43 | 78 | 11/2/2024 |
8.0.42 | 80 | 10/29/2024 |
8.0.41 | 69 | 10/28/2024 |
8.0.40 | 74 | 10/26/2024 |
8.0.39 | 80 | 10/25/2024 |
8.0.38 | 84 | 10/24/2024 |
8.0.37 | 87 | 10/11/2024 |
8.0.36 | 83 | 10/10/2024 |
8.0.35 | 79 | 10/9/2024 |
8.0.33 | 76 | 10/7/2024 |
8.0.32 | 74 | 10/7/2024 |
8.0.31 | 85 | 10/2/2024 |
8.0.30 | 90 | 9/27/2024 |
8.0.29 | 89 | 9/23/2024 |
8.0.28 | 98 | 9/14/2024 |
8.0.27 | 112 | 9/2/2024 |
8.0.26 | 115 | 8/31/2024 |
8.0.25 | 123 | 8/20/2024 |
8.0.24 | 122 | 8/18/2024 |
8.0.23 | 93 | 8/1/2024 |
8.0.22 | 105 | 7/15/2024 |
8.0.21 | 82 | 7/10/2024 |
8.0.20 | 112 | 7/8/2024 |
8.0.19 | 110 | 7/7/2024 |
8.0.18 | 100 | 7/1/2024 |
8.0.17 | 110 | 6/29/2024 |
8.0.16 | 108 | 6/27/2024 |
8.0.15 | 97 | 6/17/2024 |
8.0.14 | 94 | 6/14/2024 |
8.0.13 | 88 | 6/13/2024 |
8.0.12 | 92 | 6/9/2024 |
8.0.11 | 98 | 6/8/2024 |
8.0.10 | 105 | 6/5/2024 |
8.0.9 | 110 | 5/16/2024 |
8.0.8 | 130 | 5/4/2024 |
8.0.7 | 274 | 3/28/2024 |
8.0.6 | 288 | 3/17/2024 |
8.0.5 | 324 | 3/17/2024 |
8.0.4 | 279 | 3/17/2024 |
8.0.3 | 327 | 3/15/2024 |
8.0.2 | 402 | 2/28/2024 |
8.0.1 | 382 | 2/19/2024 |
8.0.0 | 499 | 2/19/2024 |
7.0.50 | 420 | 2/15/2024 |
7.0.49 | 512 | 2/5/2024 |
7.0.48 | 443 | 2/4/2024 |
7.0.47 | 491 | 2/4/2024 |
7.0.46 | 427 | 2/3/2024 |
7.0.45 | 446 | 2/2/2024 |
7.0.44 | 516 | 2/2/2024 |
7.0.43 | 401 | 1/30/2024 |
7.0.42 | 454 | 1/30/2024 |
7.0.41 | 420 | 1/30/2024 |
7.0.40 | 689 | 1/4/2024 |
7.0.39 | 558 | 1/4/2024 |
7.0.38 | 621 | 12/31/2023 |
7.0.37 | 644 | 12/30/2023 |
7.0.36 | 738 | 12/24/2023 |
7.0.35 | 583 | 12/24/2023 |
7.0.34 | 620 | 12/23/2023 |
7.0.33 | 598 | 12/22/2023 |
7.0.32 | 659 | 12/16/2023 |
7.0.31 | 606 | 12/12/2023 |
7.0.30 | 611 | 12/12/2023 |
7.0.29 | 652 | 12/12/2023 |
7.0.28 | 656 | 12/6/2023 |
7.0.27 | 792 | 12/6/2023 |
7.0.26 | 640 | 12/6/2023 |
7.0.25 | 514 | 12/6/2023 |
7.0.24 | 707 | 12/3/2023 |
7.0.23 | 673 | 12/1/2023 |
7.0.22 | 758 | 11/26/2023 |
7.0.21 | 574 | 11/26/2023 |
7.0.20 | 684 | 11/26/2023 |
7.0.19 | 630 | 11/25/2023 |
7.0.18 | 624 | 11/24/2023 |
7.0.17 | 593 | 11/24/2023 |
7.0.16 | 781 | 11/22/2023 |
7.0.15 | 710 | 11/12/2023 |
7.0.14 | 719 | 11/2/2023 |
7.0.13 | 678 | 11/2/2023 |
7.0.12 | 751 | 11/2/2023 |
7.0.11 | 621 | 11/2/2023 |
7.0.10 | 668 | 11/2/2023 |
7.0.9 | 845 | 11/2/2023 |
7.0.8 | 692 | 10/31/2023 |
7.0.7 | 817 | 10/6/2023 |
7.0.6 | 814 | 10/6/2023 |
7.0.5 | 807 | 9/23/2023 |
7.0.4 | 877 | 9/18/2023 |
7.0.3 | 901 | 9/14/2023 |
7.0.2 | 887 | 9/13/2023 |
7.0.1 | 765 | 9/13/2023 |
7.0.0 | 542 | 9/6/2023 |
0.0.23 | 801 | 9/5/2023 |
0.0.22 | 856 | 8/23/2023 |
0.0.21 | 867 | 8/22/2023 |
0.0.20 | 831 | 8/20/2023 |
0.0.19 | 758 | 8/20/2023 |
0.0.18 | 835 | 8/20/2023 |
0.0.17 | 906 | 8/20/2023 |
0.0.16 | 859 | 8/20/2023 |
0.0.15 | 973 | 8/20/2023 |
0.0.14 | 734 | 8/20/2023 |
0.0.13 | 735 | 7/20/2023 |
0.0.12 | 957 | 6/24/2023 |
0.0.11 | 950 | 6/11/2023 |
0.0.10 | 749 | 6/11/2023 |
0.0.9 | 889 | 6/10/2023 |
0.0.8 | 783 | 6/10/2023 |
0.0.7 | 932 | 6/7/2023 |
0.0.6 | 845 | 5/25/2023 |
0.0.5 | 844 | 5/17/2023 |
0.0.4 | 941 | 5/17/2023 |
0.0.3 | 746 | 5/17/2023 |
0.0.2 | 800 | 5/11/2023 |
0.0.1 | 528 | 8/30/2022 |