Skip to content

Support for Unity Packages #248

Description

@jwittner

Add general support for Unity Packages and common modifications to related files.

  • UnityPackage Support
    • Get-UnityPackage - find all unity packages by searching for package.json.
    • Test-UnityPackageMetaFileIntegry - validates all package contents have meta file integrity
  • UnityPackageManifest Support
    • Get/Import-UnityPackageManifest - Get the manifest details for a Unity project
    • Add-UnityScopedRegistry - Adds a scoped registry to manifest
    • Remove-UnityScopedRegistry - Removes a scoped registry from the manifest
    • Add-UnityPackage - Adds unity package to the manifest
    • Set-UnityPackageVersion - Sets existing unity package listing to the version
    • Export-UnityPackageManifest
  • UnityPackageManagerConfig
    • Import-UnityPackageManagerConfig
    • Export-UnityPackageManagerConfig
    • Login-UnityPackageManagerConfig - Gathers tokens for all scoped registries from provided manifest and updates.

Note: Right now we have to manually modify the upmconfig.toml file or have hand rolled scripts to configure them. This module would be a perfect place to be able to configure authentication for any given project by looking at the scoped registries and updating the configuration with updated authentication information.

For reference:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions