373
top 38 comments
sorted by: hot top controversial new old
[-] bisby@lemmy.world 146 points 1 month ago

Apparently it works retroactively and now you are on Windows.

[-] key@lemmy.keychat.org 55 points 1 month ago

Oh man, that would be a hell of an easter egg if it cleared your terminal and pretended to be a dos prompt

[-] SpaceNoodle@lemmy.world 58 points 1 month ago

"ruin dev" is redundant; that's the default behavior.

[-] RichardoC@lemmy.world 55 points 1 month ago

Nothing, it's already ruined(!)

[-] Lemminary@lemmy.world 12 points 1 month ago

dev.ruin()!

SyntaxError: Unexpected ! operator

No, it's an order!

Understood

[-] NigelFrobisher@aussie.zone 42 points 1 month ago

Npm ruined dev long before you tried this.

[-] PrettyFlyForAFatGuy@feddit.uk 38 points 1 month ago* (last edited 1 month ago)

Your code will be minified and your git history deleted

[-] Godort@lemm.ee 30 points 1 month ago
[-] MajorHavoc@programming.dev 3 points 1 month ago

We have the best deployment pipeline in the world, because of jail.

[-] BigMikeInAustin@lemmy.world 30 points 1 month ago

You'll be forced to use only Windows forever.

[-] cupcakezealot@lemmy.blahaj.zone 29 points 1 month ago

i think the dev is already ruined having to use npm

[-] corsicanguppy@lemmy.ca 5 points 1 month ago

Security people will say so.

[-] xmunk@sh.itjust.works 26 points 1 month ago

It's an alias to start the upgrade to Windows 11... you thought you were being careful all those months dodging the Windows 11 upgrade button but you've done it now! Get ready for an objectively worse OS!

[-] 30p87@feddit.de 2 points 1 month ago

Considering "being ruined" is a state, and not a scale, the dev is already ruined, because it's not Linux.

[-] Klear@lemmy.world 20 points 1 month ago
[-] Klanky@sopuli.xyz 6 points 1 month ago

Did you get four hundred thousand viruses?

[-] Psythik@lemmy.world 2 points 1 month ago

Computer over?
Virus = very yes?

That's not a good prize!

[-] I_Clean_Here@lemmy.world 3 points 1 month ago

Hi Strong Bad

[-] Thcdenton@lemmy.world 20 points 1 month ago

You forgot to run npm edge dev first

[-] polonius-rex@kbin.run 19 points 1 month ago* (last edited 1 month ago)

deploys your code to your dev environment

[-] dejected_warp_core@lemmy.world 16 points 1 month ago

NPM ruin dev is a new advanced feature that endorses opinionated "extreme programming" techniques. First it gets to work rebuilding node_modules, but with all the least compatible module versions in order to accelerate testing. It also minifies your .js code in place, to save you some CPU cycles later. Lastly, it squashes your entire git history on all branches, to save space.

[-] sukhmel@programming.dev 3 points 1 month ago

It also tries to do rm -rf / to save more space, but in this case it's a futile attempt

[-] un_aristocrate@jlai.lu 13 points 1 month ago

You may have to switch to a proper operating system to redeem yourself.

[-] activ8r@sh.itjust.works 8 points 1 month ago

Hope you didn't have the repository URL in your package.json... otherwise it'll be gone now.

[-] squirrel@discuss.tchncs.de 8 points 1 month ago

npm will ruin the dev now. It happened to me 11 months ago

[-] lud@lemm.ee 8 points 1 month ago

The NPM gods will smite you for using CMD instead of PowerShell.

[-] __init__@programming.dev 7 points 1 month ago

Yeah you’re gonna need a new dev environment. That one’s toast.

[-] MonkderDritte@feddit.de 7 points 1 month ago

NPM on Windows, it doesn't matter anymore.

[-] itsraining@lemmygrad.ml 6 points 1 month ago

This needs to be a real command.

[-] reboot6675@sopuli.xyz 6 points 1 month ago

Your .env with production credentials is now up on a public repo

[-] corsicanguppy@lemmy.ca 4 points 1 month ago

Same thing.

[-] Jakylla@sh.itjust.works 4 points 1 month ago

Not sure CrowdStrike runs on npm, but still ruined it all for sure

[-] Solitaire20X6@sh.itjust.works 3 points 1 month ago

MCP: Already there, Hun! END OF LINE.

[-] istoff@lemmy.world 2 points 1 month ago

You should press backspace. 😉

[-] ParetoOptimalDev@lemmy.today 2 points 1 month ago

Its an alias, so no problem.

[-] NegativeLookBehind@lemmy.world 1 points 1 month ago

Microsoft is way ahead of you

[-] akash_rawal@lemmy.world 1 points 1 month ago

npm ruin dev running shittier could be a nice prank... depending on how often it gets typed.

this post was submitted on 16 Jul 2024
373 points (97.7% liked)

Programmer Humor

19138 readers
353 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS