Made by Bohdan Yavhusishyn
A Unity Editor tool for package publishing and deletion on personal Verdaccio server.
- Package publishing - Updated version of package and publish them to Verdaccio
- Package deleting - Deletes package by specific version. If it is the last version removes package completely from Verdaccio
- Package comparison - In order to identify unpublished changes to Verdaccio
- Authentication - Login and sign up to Verdaccio package manager by using Unity Editor Window
- Session data save - Saves manifest from all scoped registries in order to prevent multiple requests after Unity Editor script reloading
- Editor window - Dedicated window with access to features
Name | Version | Source | License |
---|---|---|---|
Tomlyn | 0.19.0 | NuGet | BSD-2-Clause license |
NuGet.Versioning | 6.14.0 | NuGet | Apache-2.0 license |
Newtonsoft Json | 3.2.1 | Unity Package Manager | Unity Technologies ApS |
SharpZipLib | 1.3.9 | Unity Package Manager | Unity Technologies ApS |
UniTask | 2.5.10 | GitHub repository | The MIT License (MIT) |
- Unity 6000.0 LTS or higher
- Manually added UniTask package
- Open Unity Editor
- Go to
Window > Package Manager
- Click
+
and selectAdd package from git URL
- Enter:
https://github.com/Scrag0/UnityPackageAssistant.git#1.0.0
- Open
Packages
folder - Find file manifest.json
- Manually add line to dependencies:
"dependencies": {
"com.scrag0.unity-package-assistant": "https://github.com/Scrag0/UnityPackageAssistant.git#1.0.0",
...
- Download the latest release from Releases
- Extract to your Unity project's
Packages
folder - Unity will automatically detect and import the package
- In order to access remote server with Verdaccio you need to add scoped registries by two ways:
- First
- Open
Project Settings
- Find tab
Package Manager
- Click
+
inScoped Registries
- Open
- Second
- Open
Window > Package Manager
- Click on three dots In upper right corner
- Choose option `Project Settings
- Click
+
inScoped Registries
- Open
- First
- Open Editor Window in
Tools > Unity Package Assistant
- If scoped registry gives access to publishing and unpublishing features only for authorized users, click on button
Account
. Remark:Remember me
toggle sets propertyAlwaysAuth
. - Button
Packages
gives access to window with publish and unpublish features. - Click on button
Request
executes method, which retrieves data about packages from all scoped registries. Analyzed data is shown per scoped registries and in 4 categories:- Available - Packages are only present in Verdaccio;
- Common - Packages are present in project and in Verdaccio;
- Changed - Packages are present in project and in Verdaccio, but there are some differences;
- Installable - Packages are only present in project.
- Click on refresh button reinitializes loaded data and scripts. Button is present at both tabs
Account
andPackages
.
Warning
Package in project must be in embedded in order to be recognizable by tool
P.s. They must be in folder Packages
- Bug Reports: Create an issue
- Feature Requests: Create an issue