Skip to content

fix: ignore NPM details of private packages - #56

Merged
bjohansebas merged 3 commits into
pkgjs:mainfrom
krzysdz:skip-private-packages
Sep 26, 2026
Merged

bjohansebas merged 3 commits into
pkgjs:mainfrom
krzysdz:skip-private-packages

Conversation

@krzysdz

@krzysdz krzysdz commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Packages with "private": true in package.json by definition cannot be published on NPM. This reduces the number of 404s in logs and hides badges of NPM packages that don't exist or are owned by somebody else.
The link on stars badge was changed to point to GitHub repo, because that's where stars are and repos without package.json had this link as https://npmjs.org/package/null.

Closes #53

@krzysdz

krzysdz commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

CI won't pass without #54

Packages with `"private": true` in package.json by definition cannot be published on NPM.
@krzysdz
krzysdz force-pushed the skip-private-packages branch from 54275fb to 92080ba Compare September 26, 2026 20:12
my mistake from pkgjs#55
@bjohansebas
bjohansebas merged commit c014026 into pkgjs:main Sep 26, 2026
7 checks passed
@krzysdz
krzysdz deleted the skip-private-packages branch September 26, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't show NPM badges of projects with "private": true

2 participants