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.«
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).
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
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.
I've now moved a few of my personal projects that used regular ol' #npm to the superior #pnpm. 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, #EmberJS project, for shining the light.
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 …
OK, I should really change all my projects that use #npm/#yarn to use #pnpm. If you barely use Node then it's probably not worth it, but for a webdev it now seems like a no-brainer.
@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.
Considering that every year we have a new ambitious replacement for #npm in the JavaScript world, @naderman and @seldaek apparently did a very good job when building and maintaining #composer for #php. Thanks a lot to you two and everyone else involved.
@muhdiekuh Agreed! I also like to believe the #PHP 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".