正在加载视频...

视频加载失败

xpm - Never think about package managers again.

103,845 次观看 • 1 年前 •via X (Twitter)

42 条评论

Filippo Facioni 的头像
Filippo Facioni1 年前

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

Moinul Moin 的头像
Moinul Moin1 年前

cool, i used this

Simon Farshid 的头像
Simon Farshid1 年前

`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

ray arayilakath ‎.߆ 的头像
ray arayilakath ‎.߆1 年前

inb4 this was solved already by replit forever ago

Simon Farshid 的头像
Simon Farshid1 年前

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

ray arayilakath ‎.߆ 的头像
ray arayilakath ‎.߆1 年前

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

Alex Holovach 的头像
Alex Holovach1 年前

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

Babak 的头像
Babak1 年前

@cyrusnewday

owen 的头像
owen1 年前

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.

Sandor 🦔 的头像
Sandor 🦔1 年前

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.

Balázs Némethi 的头像
Balázs Némethi1 年前

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

Erik Thorelli 的头像
Erik Thorelli1 年前

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 🤔

Eser Özvataf | SW³ 的头像
Eser Özvataf | SW³1 年前

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

Simon Farshid 的头像
Simon Farshid1 年前

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

dpreciated 的头像
dpreciated1 年前

I might make a wrapper for this

Erik Thorelli 的头像
Erik Thorelli1 年前

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

Simon Farshid 的头像
Simon Farshid1 年前

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

Erik Thorelli 的头像
Erik Thorelli1 年前

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

Erik Thorelli 的头像
Erik Thorelli1 年前

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? ✨

Simon Farshid 的头像
Simon Farshid1 年前

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

Erik Thorelli 的头像
Erik Thorelli1 年前

Lovely! 🙏

vedanta 的头像
vedanta1 年前

The install before server restart function is lovely

Andrew Vittiglio 的头像
Andrew Vittiglio1 年前

This is so simple yet so effective damn

shan 的头像
shan1 年前

Is this real? I fucking love it 🔥🔥🔥

Ivan Chebykin 的头像
Ivan Chebykin1 年前

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

Tulsi Prasad ⚡️ 的头像
Tulsi Prasad ⚡️1 年前

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

Pulkit 的头像
Pulkit1 年前

cool idea! Would love to give it a try

Rob Pruzan 的头像
Rob Pruzan1 年前

alright you convinced me

Sherwood 的头像
Sherwood1 年前

High taste

Karma 的头像
Karma1 年前

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.

Vini 的头像
Vini1 年前

why not just using corepack?

Simon Farshid 的头像
Simon Farshid1 年前

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

Alex Lewin 的头像
Alex Lewin1 年前

cool. great idea

Jacob Alswin 的头像
Jacob Alswin1 年前

Yeah I am not gonna think about them

ijon 的头像
ijon1 年前

amazing stuff

Kumar Deepanshu 的头像
Kumar Deepanshu1 年前

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

NotTheSharpestTool 的头像
NotTheSharpestTool1 年前

Yet another package manager? Exactly what we needed..

bassim 的头像
bassim1 年前

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!

zero 的头像
zero1 年前

Moonrepo already does this

David 的头像
David1 年前

Wth

Andre Landgraf 的头像
Andre Landgraf1 年前

This looks sick!

Remus 的头像
Remus1 年前

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

相关视频