discordjs / discord.js-modules

Modularisation of discord.js (WIP)
Apache License 2.0
192 stars 30 forks source link

(@discordjs/rest) npm latest tag doesn't resolve to latest version #95

Closed claabs closed 2 years ago

claabs commented 2 years ago

Issue description

Just running npm i @discordjs/rest doesn't install the latest version. Instead it installs 0.1.0-canary.0, the oldest version.

image

It appears this is intentional behavior for prerelease tags. However, how the updates are being released (updating the minor version rater than the prerelease version), the latest tag never gets updated.

The correct approach would probably be to just remove the prerelease tag, as it isn't being used. Otherwise the discordjs.guide site should be updated to use npm install @discordjs/rest@canary.

Code sample

No response

discord.js version

0.2.0-canary.0

Node.js version

16

Operating system

No response

Priority this issue should have

Low (slightly annoying)

Which partials do you have configured?

No Partials

Which gateway intents are you subscribing to?

GUILDS

iCrawl commented 2 years ago

This has been resolved.