Aiursoft.NugetNinja.PrBot 8.0.19
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.
Version | Downloads | Last updated |
---|---|---|
8.0.46 | 0 | 12/01/2024 |
8.0.45 | 1 | 11/12/2024 |
8.0.44 | 2 | 11/10/2024 |
8.0.43 | 0 | 11/02/2024 |
8.0.42 | 0 | 10/29/2024 |
8.0.41 | 0 | 10/28/2024 |
8.0.40 | 0 | 10/26/2024 |
8.0.39 | 0 | 10/25/2024 |
8.0.38 | 1 | 10/24/2024 |
8.0.37 | 2 | 10/11/2024 |
8.0.36 | 1 | 10/10/2024 |
8.0.35 | 1 | 10/09/2024 |
8.0.33 | 0 | 10/07/2024 |
8.0.32 | 1 | 10/07/2024 |
8.0.31 | 1 | 10/02/2024 |
8.0.30 | 3 | 09/27/2024 |
8.0.29 | 1 | 09/23/2024 |
8.0.28 | 1 | 09/14/2024 |
8.0.27 | 2 | 09/02/2024 |
8.0.26 | 0 | 08/31/2024 |
8.0.25 | 1 | 08/20/2024 |
8.0.24 | 1 | 08/18/2024 |
8.0.23 | 2 | 08/01/2024 |
8.0.22 | 5 | 07/15/2024 |
8.0.21 | 2 | 07/10/2024 |
8.0.20 | 1 | 07/08/2024 |
8.0.19 | 2 | 07/07/2024 |
8.0.18 | 1 | 07/01/2024 |
8.0.17 | 1 | 06/29/2024 |
8.0.16 | 1 | 06/27/2024 |
8.0.15 | 4 | 06/17/2024 |
8.0.14 | 2 | 06/14/2024 |
8.0.13 | 4 | 06/13/2024 |
8.0.12 | 3 | 06/09/2024 |
8.0.11 | 2 | 06/08/2024 |
8.0.10 | 3 | 06/05/2024 |
8.0.9 | 5 | 05/16/2024 |
8.0.8 | 6 | 05/04/2024 |
8.0.7 | 8 | 03/28/2024 |
8.0.6 | 9 | 03/26/2024 |
8.0.5 | 6 | 04/03/2024 |
8.0.4 | 10 | 04/03/2024 |
8.0.3 | 7 | 04/03/2024 |
8.0.2 | 6 | 04/04/2024 |
8.0.1 | 7 | 04/04/2024 |
8.0.0 | 6 | 04/04/2024 |
7.0.50 | 5 | 04/04/2024 |
7.0.49 | 8 | 04/04/2024 |
7.0.48 | 5 | 04/28/2024 |
7.0.47 | 5 | 04/28/2024 |
7.0.46 | 9 | 03/28/2024 |
7.0.45 | 7 | 04/04/2024 |
7.0.44 | 6 | 04/04/2024 |
7.0.43 | 6 | 04/04/2024 |
7.0.42 | 5 | 04/04/2024 |
7.0.41 | 4 | 04/04/2024 |
7.0.40 | 5 | 04/27/2024 |
7.0.39 | 5 | 04/28/2024 |
7.0.38 | 7 | 04/04/2024 |
7.0.37 | 7 | 04/04/2024 |
7.0.36 | 5 | 04/04/2024 |
7.0.35 | 6 | 04/04/2024 |
7.0.34 | 9 | 04/04/2024 |
7.0.33 | 5 | 04/28/2024 |
7.0.32 | 9 | 04/04/2024 |
7.0.31 | 5 | 04/04/2024 |
7.0.30 | 6 | 04/28/2024 |
7.0.29 | 5 | 04/04/2024 |
7.0.28 | 6 | 04/28/2024 |
7.0.27 | 7 | 04/28/2024 |
7.0.26 | 6 | 04/04/2024 |
7.0.25 | 5 | 05/28/2024 |
7.0.24 | 6 | 04/04/2024 |
7.0.23 | 4 | 04/28/2024 |
7.0.22 | 7 | 04/28/2024 |
7.0.21 | 7 | 04/04/2024 |
7.0.20 | 6 | 04/28/2024 |
7.0.19 | 7 | 04/04/2024 |
7.0.18 | 6 | 04/28/2024 |
7.0.17 | 7 | 04/04/2024 |
7.0.16 | 7 | 04/04/2024 |
7.0.15 | 5 | 04/04/2024 |
7.0.14 | 6 | 04/04/2024 |
7.0.13 | 5 | 04/04/2024 |
7.0.12 | 5 | 04/04/2024 |
7.0.11 | 5 | 04/04/2024 |
7.0.10 | 9 | 04/28/2024 |
7.0.9 | 7 | 04/04/2024 |
7.0.8 | 5 | 04/04/2024 |
7.0.7 | 8 | 04/28/2024 |
7.0.6 | 7 | 04/04/2024 |
7.0.5 | 6 | 04/04/2024 |
7.0.4 | 8 | 04/04/2024 |
7.0.3 | 6 | 04/04/2024 |
7.0.2 | 6 | 04/28/2024 |
7.0.1 | 5 | 04/04/2024 |
7.0.0 | 5 | 04/04/2024 |
0.0.23 | 5 | 04/04/2024 |
0.0.22 | 7 | 04/04/2024 |
0.0.21 | 7 | 04/04/2024 |
0.0.20 | 5 | 04/04/2024 |
0.0.19 | 7 | 04/04/2024 |
0.0.18 | 6 | 04/04/2024 |
0.0.17 | 7 | 04/01/2024 |
0.0.16 | 7 | 04/04/2024 |
0.0.15 | 8 | 04/04/2024 |
0.0.14 | 5 | 04/04/2024 |
0.0.13 | 7 | 04/04/2024 |
0.0.12 | 6 | 04/04/2024 |
0.0.11 | 7 | 04/04/2024 |
0.0.10 | 7 | 04/04/2024 |
0.0.9 | 8 | 04/04/2024 |
0.0.8 | 6 | 04/04/2024 |
0.0.7 | 6 | 04/04/2024 |
0.0.6 | 9 | 04/04/2024 |
0.0.5 | 9 | 04/04/2024 |
0.0.4 | 6 | 04/04/2024 |
0.0.3 | 7 | 04/04/2024 |
0.0.2 | 7 | 04/04/2024 |
0.0.1 | 5 | 04/04/2024 |