parcel-bundler / parcel

The zero configuration build tool for the web. 📦🚀
https://parceljs.org
MIT License
43.37k stars 2.26k forks source link

My plugin isn't showing up in the search #9711

Open drpepper opened 4 months ago

drpepper commented 4 months ago

🐛 bug report

Hi! I just realized that a plugin I made a while back doesn't show up on the plugin browser.

I'm probably doing something wrong, but I'm not sure what.

The plugin is called parcel-transformer-spritesheet

🤔 Expected Behavior

I should see the plugin when I search "spritesheet" in the plugin browser.

😯 Current Behavior

It's not there!

Thanks for your help!

mischnic commented 4 months ago

It's using a Algolia npm search API: https://github.com/parcel-bundler/website/blob/v2/src/plugin-browser/hooks.js

I think that's this here: https://github.com/algolia/npm-search

So it's a black box to us as well 🤷

drpepper commented 4 months ago

Thanks for that! Based on the comment that it's the same search that powers yarnpkg.com and jsdelivr.com, I tried searching there, and found my package.

I do notice that my package has 0 downloads (I use it as a linked git module), but there's nothing that I see in the search code that would filter that out.

mischnic commented 4 months ago

Yeah, it's here: https://yarnpkg.com/search?q=parcel-transformer+sprite And that is using the exact same endpoint. So one of the filters on https://github.com/parcel-bundler/website/blob/v2/src/plugin-browser/hooks.js must be the problem