unitysetup.powershell icon indicating copy to clipboard operation
unitysetup.powershell copied to clipboard

Support for Unity Packages

Open jwittner opened this issue 2 years ago • 0 comments

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:

  • https://docs.unity3d.com/Manual/upm-scoped.html
  • https://docs.unity3d.com/Manual/upm-config-scoped.html

jwittner avatar May 04 '23 15:05 jwittner