Загрузка видео...

Не удалось загрузить видео

На главную

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?

Похожие видео