Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

xpm - Never think about package managers again.

103,845 Aufrufe • vor 1 Jahr •via X (Twitter)

42 Kommentare

Profilbild von Filippo Facioni
Filippo Facionivor 1 Jahr

I know it’s not the same, but it reminded me of this

Profilbild von Moinul Moin
Moinul Moinvor 1 Jahr

cool, i used this

Profilbild von Simon Farshid
Simon Farshidvor 1 Jahr

`ni` is amazing! Main differences: - xpm uses the exact same syntax as other package managers so it's easier to use as a drop-in replacement - xpm autoinstalls your dependencies when lockfiles change

Profilbild von ray arayilakath ‎.߆
ray arayilakath ‎.߆vor 1 Jahr

inb4 this was solved already by replit forever ago

Profilbild von Simon Farshid
Simon Farshidvor 1 Jahr

Didn’t know about this one! Does it support executing scripts? like `xpm dev`

Profilbild von ray arayilakath ‎.߆
ray arayilakath ‎.߆vor 1 Jahr

nope, which is where you might have them beat! :) super exciting haha

Profilbild von Alex Holovach
Alex Holovachvor 1 Jahr

Supporting both js and python packages is a killer feature, love this

Profilbild von Babak
Babakvor 1 Jahr

@cyrusnewday

Profilbild von owen
owenvor 1 Jahr

I’ve been using for quite a while and it’s been great. but I’ve got to say what you built is really impressive too.

Profilbild von Sandor 🦔
Sandor 🦔vor 1 Jahr

wow, neat! yet another layer of complexity! or how about just pick pnpm if you're on node and stick with it. If you're on bun you're on it because you use the runtime.

Profilbild von Balázs Némethi
Balázs Némethivor 1 Jahr

the manager or managers! oh boi this can’t go wrong

Profilbild von Erik Thorelli
Erik Thorellivor 1 Jahr

Seems super useful for agents, too. Unguided, I rarely see them take the effort to look up what package manager is being used in a JS/TS project or Python project. And they often get away with using the wrong one...just telling them to always use xpm could be a solution 🤔

Profilbild von Eser Özvataf | SW³
Eser Özvataf | SW³vor 1 Jahr

doesn’t support deno apparently. so it doesn’t satisfy its claim also.

Profilbild von Simon Farshid
Simon Farshidvor 1 Jahr

`[email protected]` -- now with deno support

Profilbild von dpreciated
dpreciatedvor 1 Jahr

I might make a wrapper for this

Profilbild von Erik Thorelli
Erik Thorellivor 1 Jahr

how does it compare to bun’s latest x-package manager features?

Profilbild von Simon Farshid
Simon Farshidvor 1 Jahr

xpm doesn't force your coworkers to use `bun` :) (or `xpm`, your coworkers won't even know)

Profilbild von Erik Thorelli
Erik Thorellivor 1 Jahr

Oh, it's just respecting what a project already uses? That's really nice....oh wait, and PYTHON SUPPORT?!

Profilbild von Erik Thorelli
Erik Thorellivor 1 Jahr

Any way to configure a preferred package manager? I would love to be able to have a config that defaults to bun or fallback defaults to pnpm when either of those are possible to use in the project without causing issues (and uv as default choice for python). Similarly, I'd love to have a way to switch the project's package manager to a more optimal one (e.g. bun or uv). Something like `xpm optimize` and it automagically identifies a migration path and tells me roughly how much better it'd be if I migrated. A kid can dream, right? ✨

Profilbild von Simon Farshid
Simon Farshidvor 1 Jahr

# package manager for new projects xpm set-config default-package-manager <npm|yarn|pnpm|bun>

Profilbild von Erik Thorelli
Erik Thorellivor 1 Jahr

Lovely! 🙏

Profilbild von vedanta
vedantavor 1 Jahr

The install before server restart function is lovely

Profilbild von Andrew Vittiglio
Andrew Vittigliovor 1 Jahr

This is so simple yet so effective damn

Profilbild von shan
shanvor 1 Jahr

Is this real? I fucking love it 🔥🔥🔥

Profilbild von Ivan Chebykin
Ivan Chebykinvor 1 Jahr

amazing, i had to make a wrapper to detect a package manager in sourcewizard because the coding agent struggles to understand how to build things as well as average js developer

Profilbild von Tulsi Prasad ⚡️
Tulsi Prasad ⚡️vor 1 Jahr

Very clean demo, I didn't think something like this could even exist! Great work!

Profilbild von Pulkit
Pulkitvor 1 Jahr

cool idea! Would love to give it a try

Profilbild von Rob Pruzan
Rob Pruzanvor 1 Jahr

alright you convinced me

Profilbild von Sherwood
Sherwoodvor 1 Jahr

High taste

Profilbild von Karma
Karmavor 1 Jahr

This looks really useful! The idea of never having to think about which package manager to use is brilliant - would love to try this out.

Profilbild von Vini
Vinivor 1 Jahr

why not just using corepack?

Profilbild von Simon Farshid
Simon Farshidvor 1 Jahr

xpm works great with corepack, two the tools solve different problems (xpm is a unified interface to all package managers)

Profilbild von Alex Lewin
Alex Lewinvor 1 Jahr

cool. great idea

Profilbild von Jacob Alswin
Jacob Alswinvor 1 Jahr

Yeah I am not gonna think about them

Profilbild von ijon
ijonvor 1 Jahr

amazing stuff

Profilbild von Kumar Deepanshu
Kumar Deepanshuvor 1 Jahr

It is really good, I'm going to try it.

Profilbild von NotTheSharpestTool
NotTheSharpestToolvor 1 Jahr

Yet another package manager? Exactly what we needed..

Profilbild von bassim
bassimvor 1 Jahr

xpm is awesome! i’m always switching between bun and pnpm projects, xpm allows my to retain muscle memory without thinking about what pm the project uses. great work!

Profilbild von zero
zerovor 1 Jahr

Moonrepo already does this

Profilbild von David
Davidvor 1 Jahr

Wth

Profilbild von Andre Landgraf
Andre Landgrafvor 1 Jahr

This looks sick!

Profilbild von Remus
Remusvor 1 Jahr

How does it work with python? Does it make a JS package.json for the python libraries?

Ähnliche Videos