0.6.3 • Published 2 years ago

com.codewriter.npm-publisher-support v0.6.3

Weekly downloads
62
License
MIT
Repository
-
Last release
2 years ago

Npm Publisher Support Github license

A tool for managing Unity projects with multiple UnityPackageManager packages.

Npm Publisher Support Preview

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 to Samples~ (same for Documentation) before package publishing
  • 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

npm.io

Step 2. Login

npm.io

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