I’m trying to convert some of my code into a package.
This code depends on a webp-project on GitHub, that’s used to import .webp-images after they’ve been downloaded.
However, when setting the Git-URL as a dependency in my package.json, I keep getting errors on the manifest (in the inspector).
Unfortunately Git dependencies between packages are not supported yet. Only Git dependencies specified in the project manifest.json are supported. This is mentioned in the documentation you linked:
You cannot specify Git dependencies in a package.json file because the Package Manager does not support Git dependencies between packages. It only supports Git dependencies for projects, so you can only declare Git dependencies in the project’s manifest.json file.
Unfortunately, there’s no ETA for this feature at this time, but I invite you to submit your feature request on this page, under the Package Management tab, by using the Submit a new idea! tile.
And I wish I could see the tile about this issue already in that idea link. Seriously disappointed that it was not being progressed at all and you people never even do anything, not even put the tile there yourselves