Pain Point: redirecting deprecated packages #34
stefee
started this conversation in
Pain Points
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Let's use
joipackage as an example, where@hapi/joiwas deprecated in favour ofjoi. The last version of@hapi/joiwas v17.1.1, and any future versions of the package are published tojoi.Ideally, querying the registry to see which versions of
@hapi/joiare available would tell you about the new versions ofjoiso that dependency bots would be able to do the switch to the new package name, and runningnpm install @hapi/[email protected]on the command line would spit out a warning and install[email protected]instead.Currently, dependency bots have no idea about the new versions, so the dependency just goes stale over time unless an engineer is told directly via email or twitter or something to go in and manually update the dependency.
Beta Was this translation helpful? Give feedback.
All reactions