com.codewriter.npm-publisher-support

0.5.6 • Public • Published

Npm Publisher Support Stars Watchers

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 Npm packages to your registry directly from the Unity
  • Track available updates for package dependencies:
    • From Npm registry
    • From Local project (it’s convenient if several packages are located in one project)
  • Increment packages version from UnityEditor
    • Patch Dependent option allow to automatically patch dependant packages version (If there are several packages in the project that depend on the current one)

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/
      Runtime/
      package.json
      README.md
      LICENSE.md
  Package-B/
    Sources/
      Runtime/
      Editor/
      package.json
      README.md
      LICENSE.md

Getting started

Step 1. Select registry

Step 2. Login

Step 3. Publish

Npm package

NPM

Npm package is available at npmjs.com. To use it, add the following line to dependencies section of your manifest.json. Unity should download and link the package automatically:

{
  "scopedRegistries": [
    {
      "name": "CodeWriter",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.codewriter"
      ]
    }
  ],
  "dependencies": {
    "com.codewriter.npm-publisher-support": "0.5.6"
  }
}

README Badge

Using NPM Publisher Support? Add a README badge to show it off: NPM Publisher Support

[![NPM Publisher Support](https://img.shields.io/badge/maintained%20with-NPM%20Publisher%20Support-blue.svg)](https://github.com/vanifatovvlad/NpmPublisherSupport)

Package Sidebar

Install

npm i com.codewriter.npm-publisher-support@0.5.6

Version

0.5.6

License

MIT

Unpacked Size

83.7 kB

Total Files

39

Last publish

Collaborators

  • codewriter