Replies: 2 comments 8 replies
-
If it already doesn't do this, imo |
Beta Was this translation helpful? Give feedback.
-
Yes, you're right. This is a disappointing experience, I agree. Just to clarify the rationale here - I'm sure that many of you who are reading this already know these, but it bears mentioning for completeness in case somebody reading this thread is not familiar with this:
The published package names in your example are all unique, and correspond to their package names: https://www.npmjs.com/package/gulp-jest-acierto has a
No, that's correct. This is much harder to validate the correctness of. An "author" may be an organization. Or the
No, that's correct. This is also very hard to use as a signal for correctness. Many people publish multiple packages out of a single repository (the "monorepo" pattern). Thinking through some of the changes that you've proposed - which I think are possibly each individual pieces of feedback that should be evaluated separately:
I'm not opposed to this, but it feels like this is only the first step of this functionality. I guess my bigger question is what actually happens when people have flagged this? ie, what action do you want npm to take here if a package is no longer maintained?
I definitely want to be able to have my accounts connected, but I don't see how these two things necessarily track yet. I don't think that an author and publisher are necessarily the same (intentionally) regardless of account linkage? |
Beta Was this translation helpful? Give feedback.
-
I had this issue come up today, regarding
gulp-jest
.There is a particular bug with gulp-jest, and a pull request was submitted. Unfortunately, that PR has been sitting there for quite some time.
So two folks took it upon themselves to make a package from that PR: gulp-jest-acierto, and @jacobq/gulp-jest
When I search on NPM for "gulp jest", all three packages show up, and it's somewhat obvious which one is the "real" gulp-jest because of the number of downloads.
However:
@jacobq/gulp-jest
,gulp-jest
) have the samename
in their package.jsonName
Author
website
Repository URL
I think this reveals a few problems with the NPM registry and the package.json
name
field matches the published package nameSo I think there's some solutions to discuss
Beta Was this translation helpful? Give feedback.
All reactions