How do I lock a version of a package to never serve beond a certain version

I have a nexus repo, that I am using as an NPM proxy.

That I want to be able to only return a certain version of a package whenever it’s called without a version identified (not the latest).

Basically, I want to create a redirect from any request above version package@3.0.0 to 3.0.0 and silently return that

Is there a way? If so, how do I do this?

You could probably implement this yourself as a plugin to Nexus but it isn’t something that could be accomplished otherwise.

1 Like