Skip to content

Replace npmjs.com links with npmx.dev#17847

Merged
nicolo-ribaudo merged 1 commit intobabel:mainfrom
nicolo-ribaudo:npmx
Mar 10, 2026
Merged

Replace npmjs.com links with npmx.dev#17847
nicolo-ribaudo merged 1 commit intobabel:mainfrom
nicolo-ribaudo:npmx

Conversation

@nicolo-ribaudo
Copy link
Copy Markdown
Member

@nicolo-ribaudo nicolo-ribaudo commented Mar 2, 2026

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

https://npmx.dev/ yet is a new frontend for the npm registry, created by people close to the vite community. It's officially launching tomorrow, but I have been using it for the past few weeks and it's so much better than npmjs.org.

Some cool things:

npmx.dev still has multiple bugs, but there is almost nothing that npmjs.com does better then it so I think it's worth changing our links.

I did not update two links:

  • for example, https://www.npmjs.com/package/@babel/types?activeTab=versions is the URL for `@babel/types`

    npmx.dev does not have a page to show all the versions of a package. I think this is the only feature that npmjs.com does better than npmx.dev: we should keep the npmjs.com URL there. I opened Linkable package page to show list of versions npmx-dev/npmx.dev#1846 to track implementing this on the npmx.dev side.
  • the scripts/ensure-package-exists.ts script. I think npmx.dev is going to also have better package admin management than npm, but I have not explored yet how it works. It will require adding a dependency to the monorepo so that npmx.dev can talk locally to it to do admin stuff (rather than sending your password to their server), but that package has not been published yet.

This PR also slightly reorganizes the badges in our main readme, removing the GitPod and v6 downloads ones.

@nicolo-ribaudo nicolo-ribaudo added the PR: Docs 📝 A type of pull request used for our changelog categories label Mar 2, 2026
Plugins are the heart of Babel and what make it work.

> You can find community plugins on [npm](https://www.npmjs.com/search?q=babel-plugin).
> You can find community plugins on [npm](https://npmx.dev/search?q=babel-plugin).
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have gone back and forth here, but I think it's good to use npm as the label for the URL, as npmx.dev is a browser for the npm registry, where the packages actually are.

@babel-bot
Copy link
Copy Markdown
Collaborator

babel-bot commented Mar 2, 2026

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/61084

@nicolo-ribaudo
Copy link
Copy Markdown
Member Author

@Aslemammad Is the URL we are using for the pkg.pr.new badge meant to work? It loads forever for me. https://pkg.pr.new/~/babel/babel

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 2, 2026

Open in StackBlitz

commit: 0ddf43d

@nicolo-ribaudo nicolo-ribaudo merged commit af15dfe into babel:main Mar 10, 2026
55 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the npmx branch March 10, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Docs 📝 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants