How to Import a Unity Package
If you are already using an npm-compatible registry (like Verdaccio, Nexus, or Artifactory) or GitHub Packages, you can import your packages into pckgs.io instead of re-uploading manually.
Prerequisites
- An organization on pckgs.io with a Unity registry. See Create an Organization.
- Read access to the source registry, if it requires authentication (a token, or a username and password).
Import from NPM Registry
Use this option for any npm-compatible registry like Verdaccio, Nexus, Artifactory.
- From your organization’s Packages page, click Import Package.
- Set Import Source to NPM Registry:
- Enter the registry’s Registry URL:
- Pick an Authentication method or leave it as Token with an empty value if the registry is public:
- With Token selected, paste a bearer/access token:
- With Basic selected, provide a username and password instead:
- Click Connect to list the packages available on the registry:
- For each package you want to bring in, click Import.
com.example.my-utils
com.example.my-utils
Import from GitHub Packages
- From your organization’s Packages page, click Import Package.
- Set Import Source to Github:
- Paste a GitHub Personal Access Token (classic):
- Click Connect to sign in and list your available packages:
If your token is missing the read:org permission, you’ll see a warning and can still import packages from your personal account:
Your token is missing the read:org permission. If you need to import packages from a GitHub organization, update your token to include read:org permission.
If your token has access to more than one account or organization, choose which one to import from.
For each package you want to bring in, click Import.
com.example.my-utils
com.example.my-utils
Related
Need help? Contact us here or at [email protected].