Search Unity

Setup for scoped registries (private registries)

Discussion in 'Package Manager' started by rz_0lento, Oct 25, 2018.

  1. nilsdr

    nilsdr

    Joined:
    Oct 24, 2017
    Posts:
    374
  2. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229
    Thanks a lot!
     
  3. Hermesis

    Hermesis

    Joined:
    Apr 3, 2014
    Posts:
    7
    I have a public Verdaccio registry with uplink to https://openupm.com/
    I can use my own com.hermesis packages and I can add com.openupm to scopes in manifest.json if I want to use e.g. com.openupm.package (packages have different names so there's no universal scope)

    If my com.hermesis.packageA has a dependency com.openupm.packageB, I don't want to enter scopes for every secondary dependency, how can I add scopes for package dependency in it's package.json?
     
  4. nilsdr

    nilsdr

    Joined:
    Oct 24, 2017
    Posts:
    374
    That's not supported, all scopes have to be defined at project level
     
  5. marianomdq

    marianomdq

    Joined:
    Sep 29, 2015
    Posts:
    17
  6. danUnity

    danUnity

    Joined:
    Apr 28, 2015
    Posts:
    229