com.codewriter.npm-publisher-support
v0.6.3
Published
Publish Npm packages to your registry directly from the Unity
Downloads
1
Maintainers
Readme
Npm Publisher Support
A tool for managing Unity projects with multiple UnityPackageManager packages.
About
Splitting up large codebases into separate independently versioned packages is extremely useful for code sharing. However, making changes across many repositories is messy and difficult to track, and testing across repositories gets complicated really fast.
NPM Publisher Suport is a tool that optimizes the workflow around managing multi-package repositories.
Features
- Publish packages to any npm registry (like NpmJS or you own) directly from the Unity
- Fast switch between npm registries
- Track available updates for package dependencies:
- From Unity built-in registry
- From Scoped Package Registries
- From Local project (it’s convenient if several packages are located in one project)
- Increment packages version from Unity
- Patch Dependent option allow to automatically patch dependant packages version (If there are several packages in the project that depend on the current one)
- Samples~ and Documentation~ folders support:
- Automatically copy contents of
Samples
folder toSamples~
(same forDocumentation
) before package publishing
- Automatically copy contents of
- Publish modified packages command compares local package versions with specified remote registry that allow publish packages much faster
What does a NPM Publisher Support repo look like?
There's actually very little to it. You have a file structure that looks like this:
Assets/
Package-A/
Sources/
package.json
Package-B/
Sources/
Runtime/
Editor/
Samples/
Documentation/
package.json
README.md
LICENSE.md
Getting started
Step 1. Select registry
Step 2. Login
Step 3. Publish
Click Publish
button.
Install
Library distributed as git package (How to install package from git URL)
Git URL: https://github.com/codewriter-packages/NpmPublisherSupport.git