Discuss Scratch

dumorando
Scratcher
46 posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

what node package manager do you guys use?
personally i use yarn classic (not much of an upgrade, kinda a downgrade, but im used to the syntax)

ive been thinking of switching to bun, though.
it looks really fast cool and epic

ajskateboarder
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

I haven't written a Node.js project for a while now, but I use pnpm whenever possible - and if that doesn't work (like with scratch-www for some reason), I use npm

Last edited by ajskateboarder (March 21, 2024 11:30:53)

mybearworld
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

Bun isn't just a package manager, it's a whole runtime.
Also it doesn't have good Windows support, so I don't really use it

Signatures are the only place where assets links still work.
dumorando
Scratcher
46 posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

mybearworld wrote:

Bun isn't just a package manager, it's a whole runtime.
Also it doesn't have good Windows support, so I don't really use it
bun has a package manager for node thats really fast

Steve0Greatness
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

dumorando wrote:

bun has a package manager for node thats really fast
Pretty sure Bun's package manager can work with Node, but it's designed for Bun.

/hj is the worst tone indicator. It's confusing and ambiguous. I hate it. The point of tone indicators is to indicate tone, or the way that a piece of text should be read, but what does “half joking” mean? Do you just wake up in the morning and think “wow, I really have something I want to talk about seriously but also kinda not, IDK you decide.” It's useless. I hate it. It just provokes a deep rooted anger within me whenever I see it. People just comment /hj as if it makes any sense. It doesn't. Oh wow, it's a tone indicator that's has a relative meaning, how useful, I'll use it in every comment I post. NO. STOP IT. You're a tone indicator, you have only one job, and yet you sit there doing nothing apart angering me.

/srs

^^^ (there's more below)
This one is useful because it tells you that this signature is fully 100% serious. (/srs) Who would've thought that tone indicators needed to tell you something about the piece of text they're attached to? /s

I'm serious, I'm not even going to put multiple (/hj)s a the end of my signature as to mock the previous paragraph for not getting the point of something(like previous version of my signature). /srs
Redstone1080
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

I just use normal npm. It gets the job done for me and I don't see much reason to switch to anything else.

Last edited by Redstone1080 (March 23, 2024 13:04:34)


const juniper = programmer && musician;
// my pronouns are she/her
// i am trans and bi :P
// you can call me june or juni for short but i prefer juniper
python version:
juniper = programmer and musician
# my pronouns are she/her
# i am trans and bi :P
# you can call me june or juni for short but i prefer juniper
mybearworld
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

Redstone1080 wrote:

(#6)
I just use normal npm. It gets the job done for me and I don't see much reason to switch to anything else.
It is slow. It's really hard to go back to once you've tried PNPM.

Signatures are the only place where assets links still work.
Mr_rudy
Scratcher
100+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

Redstone1080 wrote:

I just use normal npm. It gets the job done for me and I don't see much reason to switch to anything else.

mybearworld wrote:

Redstone1080 wrote:

(#6)
I just use normal npm. It gets the job done for me and I don't see much reason to switch to anything else.
It is slow. It's really hard to go back to once you've tried PNPM.

it also takes a lot of disk space


CHECK OUT SNAIL IDE:
Website
Fourm Post



i make games and other cool stuff

when @greenFlag [clicked v]:: events hat
when (when @greenFlag clicked:: events) clicked:: events stack
when @greenFlag clicked {
when @greenFlag clicked:: events stack
}:: events
when <@greenFlag:: events> clicked:: events
when ({when @greenFlag clicked:: events stack}@addInput:: events) clicked:: events stack
when @greenFlag clicked:: events cap
evil kumquats ate this sentenc-
Redstone1080
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

mybearworld wrote:

Redstone1080 wrote:

(#6)
I just use normal npm. It gets the job done for me and I don't see much reason to switch to anything else.
It is slow. It's really hard to go back to once you've tried PNPM.
Okay I give in. I'll first need to uninstall npm :P

Edit: I realized uninstalling npm is probably a bad idea lol

Last edited by Redstone1080 (March 23, 2024 23:03:00)


const juniper = programmer && musician;
// my pronouns are she/her
// i am trans and bi :P
// you can call me june or juni for short but i prefer juniper
python version:
juniper = programmer and musician
# my pronouns are she/her
# i am trans and bi :P
# you can call me june or juni for short but i prefer juniper
dumorando
Scratcher
46 posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

i just remembered about this lol

ive switched to bun since then
bun is great

Mr_rudy
Scratcher
100+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

dumorando wrote:

i just remembered about this lol

ive switched to bun since then
bun is great
is bun faster than pnpm?

CHECK OUT SNAIL IDE:
Website
Fourm Post



i make games and other cool stuff

when @greenFlag [clicked v]:: events hat
when (when @greenFlag clicked:: events) clicked:: events stack
when @greenFlag clicked {
when @greenFlag clicked:: events stack
}:: events
when <@greenFlag:: events> clicked:: events
when ({when @greenFlag clicked:: events stack}@addInput:: events) clicked:: events stack
when @greenFlag clicked:: events cap
evil kumquats ate this sentenc-
dumorando
Scratcher
46 posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

Mr_rudy wrote:

dumorando wrote:

i just remembered about this lol

ive switched to bun since then
bun is great
is bun faster than pnpm?
yes a lot faster

mybearworld
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

The Problem with Bun is that so far, it's reliably segfaulted on everything I tried to do with it that isn't a hello world

Signatures are the only place where assets links still work.
dumorando
Scratcher
46 posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

mybearworld wrote:

The Problem with Bun is that so far, it's reliably segfaulted on everything I tried to do with it that isn't a hello world
huh thats weird

works great for me, but i tihnk thats cuz im on linux

Redstone1080
Scratcher
1000+ posts

npm vs yarn vs pnpm vs bun vs whatever other thing you use

Just switched to pnpm, never looking back, it is WAY faster
Haven't compared it to npm yet but it just feels faster

Last edited by Redstone1080 (May 7, 2024 22:05:14)


const juniper = programmer && musician;
// my pronouns are she/her
// i am trans and bi :P
// you can call me june or juni for short but i prefer juniper
python version:
juniper = programmer and musician
# my pronouns are she/her
# i am trans and bi :P
# you can call me june or juni for short but i prefer juniper

Powered by DjangoBB