discordjs / website

The discord.js site what else
Other
183 stars 114 forks source link

fix(MainSource): Fix invalid tag parsing #150

Closed Jiralite closed 1 year ago

Jiralite commented 1 year ago

semver is throwing when attempting to parse create-discord-bot@0.1.0. This was causing the list of versions to return an empty list.

I used the code we have in our scripts for parsing a tag and checked to ensure only discord.js tags are parsed for discord.js.

I also increased the minimum version to 12.0.0 from 9.0.0.

Note This will throw on subpackages (proxy, collection, etc.) but since those are dead, I decided to not fix them too. Maybe they can be removed in favour of the new documentation website?