kubikpixel, to javascript German
@kubikpixel@chaos.social avatar

Es scheint so, als müsste ich mich bei der TypeScript Entwicklung auf @deno_land konzentrieren. Sicherlich, noch mit JSR genutzt, mittlerweile ein Ersatz für @nodejs professionell.

»Deno 1.44 lernt den Umgang mit privaten npm-Registries:
Das Minor Release kann mit privaten npm-Registries sowie gRPC-Verbindungen umgehen und erhöht nochmals die Kompatibilität mit Node.js.«

📰 https://www.heise.de/news/Deno-1-44-lernt-den-Umgang-mit-privaten-npm-Registries-9742970.html
🦕 https://deno.com


#javascript #typescript #denojs #nodejs #webdev #jsr #grpc #dev #npm

pwaring, to node
@pwaring@fosstodon.org avatar

If you're using NPM to manage your frontend dependencies, remember to use npm ci (clean install) instead of npm install in local development and especially in deployment piplines. ci will install what's in your lock file, whereas npm install will sometimes mutate your lock file (which is utterly broken behaviour IMO).

tanepiper, to node
@tanepiper@tane.codes avatar

Here's me trying to make sure we ship as secure as possible software, and there's someone who doesn't know how to use an npm ignore file to not ship their shitty docker files in their modules #node #npm

tanepiper,
@tanepiper@tane.codes avatar

So many #npm projects have a lot of crap in node_modules that are really not needed when deploying apps - SO MANY DOT FILES. I built a script that will clear them all out recursively, just leaving required files. Will probably add *.ts when creating containers.

A screenshot showing that over 4300 files will be deleted and clean up 27Mb of files
A screenshot showing a list of files in node_modules including a lot of dot files

ollicle,
@ollicle@mastodon.social avatar

@tanepiper I would enjoy the irony if one configured this script with a dot file of its own.

.undot

tanepiper, to programming
@tanepiper@tane.codes avatar

Anyone else seeing more segfaults with #nodejs 22 and #npm

Going to have to go back to LTS as pipeline keep failing now when installing dependencies when using caching.

tanepiper,
@tanepiper@tane.codes avatar

Turns out the answer is DOWNLOAD MORE RAM.

Runners were using 8Gb images, so we bumped it up to 16Gb and all of a sudden no problems and it runs faster

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar

npm feedback migrates from discussions in a GitHub repository to GitHub Community
https://github.blog/changelog/2024-04-30-npm-feedback-is-now-available-on-github-community/

#ECMAScript #JavaScript #npm

nebyoolae, to random
@nebyoolae@masto.neb.host avatar

I created my first node module, it's publicly available, and it's usefulness is low. Regardless, here it is: https://www.npmjs.com/package/node-neb-muz.

What does it need to run? The Entire Jar of Sauce.

https://music.nebyoolae.com/song/the-entire-jar-of-sauce

casraf, to typescript
@casraf@fosstodon.org avatar
nebyoolae, to node
@nebyoolae@masto.neb.host avatar

I've now moved a few of my personal projects that used regular ol' to the superior . It was a bit of setup, and Github Actions erred out for a while until I figured out a fix, but all in all I think I'm better off. Thank you, project, for shining the light.

sarahjelm, to ukteachers Swedish
@sarahjelm@mastodon.social avatar

Sunday…
And one new post in this searchable & translatable collection of links to free access #education content …
https://saraslistofedresources.wordpress.com
Thanks to @pragmarxist an example of the #Swedish #edupolitics debate, this time from university level (read last week’s post if you missed it)

I’m grateful if you boost this here or in networks elsewhere 🙏🏻‼️ Website is meant to be used
Have a great day …

@edutooters @education #TeachersOfMastadon
@edutooter
@socialscience
@politicalscience
#NPM

Crell, to node
@Crell@phpc.social avatar

We often joke about the billion-dependency problems with #npm. But I haven't seen anyone complain about the equivalent one in #Java/#JVM.

He says, looking at the 9000+ line generated dependencies file for this #Kotlin project...

ascherbaum, to node
@ascherbaum@mastodon.social avatar

Today 4 years ago, the #NPM is-promise package was released.

Yet another package which broke the NPM ecosystem. But are they in a better shape today?

#JavaScript

https://snyk.io/blog/why-did-is-promise-happen-and-what-can-we-learn-from-it/

nebyoolae, to node
@nebyoolae@masto.neb.host avatar

OK, I should really change all my projects that use / to use . If you barely use Node then it's probably not worth it, but for a webdev it now seems like a no-brainer.

zurmikopa,
@zurmikopa@mastodon.gamedev.place avatar

@nebyoolae I'm just not all that familiar with pnpm and was wondering in which situations it was worthwhile to switch and why.

nebyoolae,
@nebyoolae@masto.neb.host avatar

@zurmikopa it seems like in any situation where you have multiple node_modules directories pnpm is a no-brainer, because it reuses existing modules instead of having duplicates.

linuxiac, to node
@linuxiac@mastodon.social avatar

Learn to set up a reverse proxy with Nginx Proxy Manager, enhancing server management and security in just a few easy steps.
https://linuxiac.com/how-to-set-up-reverse-proxy-with-nginx-proxy-manager/

#proxy #reverseproxy #nginx #npm

linuxtldr, to linux
@linuxtldr@noc.social avatar
samueljohnson,
@samueljohnson@mstdn.social avatar

@linuxtldr Once again a "How to" without the courtesy of even a parenthetical reference to what this is or why you might want to.

Do it again and I will unfollow.

muhdiekuh, to node German
@muhdiekuh@ruhr.social avatar

Considering that every year we have a new ambitious replacement for in the JavaScript world, @naderman and @seldaek apparently did a very good job when building and maintaining for . Thanks a lot to you two and everyone else involved.

linc,
@linc@phpc.social avatar

@muhdiekuh Agreed! I also like to believe the ecosystem aged out of the "prove how clever & right you are" phase. 😅 We're all out here like,
"amazing, thank you, now I can work faster" not "huh, bet I can do better, hold my beer".

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines