pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
11 stars 11 forks source link

[BUG] Wrong package is installed #253

Open savetheclocktower opened 2 months ago

savetheclocktower commented 2 months ago

The bug

When I run ppm install linter-stylelint-pulsar, it appears to install linter-stylelint instead.

Screenshot 2024-04-07 at 12 20 45 PM

It should be linter-stylelint-pulsar — which is on version 4.6.0. So the wrong package and the wrong version are installed.

Replicating the bug

Do what I just described.

Speculation

I decided to file this in package-backend because I inspected the JSON response for this package from the API. It looks nearly as it should, but I eventually noticed this in the metadata:

Screenshot 2024-04-07 at 12 35 46 PM

I also dug into the 4.0.2 tag — the first one that was published for the forked package — and found that its package.json still referred to the original package's repository under AtomLinter. Maybe that's confusing the backend?