https://github.com/ltmx/unity.packagemanagertools
Easy management of Scoped Registry inside Unity's Package Manager
https://github.com/ltmx/unity.packagemanagertools
openupm unity-editor unity-engine unity-git unity-package unity-package-manager unity-tool unity3d upm upm-package
Last synced: 8 months ago
JSON representation
Easy management of Scoped Registry inside Unity's Package Manager
- Host: GitHub
- URL: https://github.com/ltmx/unity.packagemanagertools
- Owner: ltmx
- License: other
- Created: 2024-02-23T12:19:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-01T18:55:38.000Z (about 1 year ago)
- Last Synced: 2024-10-10T10:22:31.145Z (12 months ago)
- Topics: openupm, unity-editor, unity-engine, unity-git, unity-package, unity-package-manager, unity-tool, unity3d, upm, upm-package
- Language: C#
- Homepage:
- Size: 5.37 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Unity Package Manager Tools




[](https://unity3d.com)[](https://openupm.com/packages/com.ltmx.package-manager.tools)
Enhance your Unity editor experience with the Unity Package Registry Tools, a versatile editor tool designed to seamlessly manage scoped registries in your Unity projects. This powerful editor extension lets you easily add, remove, and manage scoped registries directly from the Unity Editor, providing a streamlined workflow for handling package sources in your `manifest.json` file.
## Features
- #### Enhanced Description *fetched from Documentation files*
- #### Markdown Rendering
- #### Emoji Support
> - **Predefined Registries**: Comes with a set of predefined scoped registries known for common Unity packages
- #### **Custom Registry Management**: *Add, modify, and remove custom scoped registries*
> 
- **Selective Enable/Disable**: *Conveniently enable or disable individual registries*## Getting Started
### Installation
To install the Unity Package Registry Tools using the Git URL, follow these simple steps:
1. Open your Unity project and navigate to `Window > Package Manager`.
2. In the Package Manager window, click the `+` button located at the top left and select `Add package from git URL...`.
3. Enter this URL: `https://github.com/ltmx/Unity.PackageRegistryTools.git`
4. Click `Add` and Unity will begin importing the package into your project.Ensure you have Git installed and properly setup in your system's PATH to use this feature
### Usage1. Access the tool via `Tools > Scoped Registry Editor` in the Unity main menu.
2. Use the intuitive interface to manage your scoped registries:
- **Add Registry**: Click on the '+' button to add a new registry entry.
- **Remove Registry**: Select a registry and click the '-' button to remove the selected registry.
- **Edit Registry**: Modify the name, URL, or scopes directly in the list.
- **Enable/Disable Registries**: Toggle the checkbox next to each registry to enable or disable it as required.
- **Reorder Registries**: The order of the registries are reflected in the package manager (reorderable list feature)
3. After configuring your scoped registries, click `Update Registries` to apply the changes to your `manifest.json` file.
4. A dialog box will confirm the successful update of scoped registries.
5. You can edit the default package list by modifying them from the editor script, here
```cs
/// A list of predefined scoped registries to add to the manifest.json file.
private static readonly List predefinedRegistries = new List() {
// Author's registry
new ("ltmx", UpmUrl, "com.ltmx"),
// A curated list of Unity packages
new ("UnityNuGet", "https://unitynuget-registry.azurewebsites.net", "org.nuget"),
// Other great creator's registries
new ("acegikmo", UpmUrl, "com.acegikmo"),
new ("cysharp", UpmUrl, "com.cysharp"),
new ("neuecc", UpmUrl, "com.neuecc"),
new ("vrmc", UpmUrl, "com.vrmc"),
new ("alelievr", UpmUrl, "com.alelievr"),
new ("dbrizov", UpmUrl, "com.dbrizov"),
new ("needle", UpmUrl, "com.needle"),
new ("yasirkula", UpmUrl, "com.yasirkula"),
new ("keijiro", "https://registry.npmjs.com", "jp.keijiro"),
// Company registries
new ("Google", UpmUrl, "com.google"), // h
new ("MetaXR", "https://npm.developer.oculus.com", "com.meta.xr"),
};
```## Featured Scoped Registries
This tool includes predefined configurations for essential scoped registries like UnityNuGet, offering a diverse selection of packages, tools, SDKs, and libraries crucial for Unity development.
UnityNuGet
UnityNuGet offers a bridge to NuGet packages, allowing Unity developers to easily integrate thousands of .NET libraries into their projects. It's particularly useful for projects that rely on advanced .NET features or external .NET libraries.
**Registry Details**
- **Name**: UnityNuGet
- **URL**: `https://unitynuget-registry.azurewebsites.net`
- **Scopes**: `org.nuget`MetaXR
The MetaXR Scoped Registry is a must-have for developers working on VR and AR applications, especially those targeting Oculus devices. It provides access to Oculus SDKs and tools essential for VR development.
**Registry Details**
- **Name**: MetaXR
- **URL**: `https://npm.developer.oculus.com`
- **Scopes**: `com.meta.xr`## Contributing
Contributions are welcome! If you've identified a bug, have an idea for improvement, or want to propose a new feature, feel free to open an issue or submit a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Aknowledgements
The Markdown rendering is made using [UMV](https://github.com/gwaredd/UnityMarkdownViewer) as an embedded package
---
Enjoy a more efficient Unity package management experience with Unity Package