Is this a thing? Am I just tired?
(ps i know I can filter instead of cd)
Is this a thing? Am I just tired?
(ps i know I can filter instead of cd)
Anyone know how to fix ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL errors?
I have a build script that ends up outputting a build/package.json which is a copy of the parent directories package.json — pnpm seems to want to execute that too.
My pnpm-workspaces.yaml file…
OH!!
OH FUCKING WAIT!!
it's pnpm-workspace.yaml not pnpm-workspaces.yaml
wait... wait! are you telling me that #pnpm supports `package.json5` instead of `package.json`??? and I learn about it years later?
I've been praying for something like this for ages... and it turns out that we already had it.
Node.js Corepack Faces Key ID Mismatch: What Developers Need to Know
A recent issue with Node.js Corepack has caused installation failures for package managers due to a key ID mismatch. This article delves into the technical details behind the error and its implication...
https://news.lavx.hu/article/node-js-corepack-faces-key-id-mismatch-what-developers-need-to-know
Finally! #pnpm has disabled `postinstall` scripts by default in npm module - something I reported 8 years ago as a major security risk and provided a POC of it. Now let's see if #npm does the same... #nodejs #cyberSecurity
Big changes in @pnpm 10.0.0: Lifecycle scripts are now blocked by default to combat supply chain attacks. This change is widely supported but comes with some friction.
https://socket.dev/blog/pnpm-10-0-0-blocks-lifecycle-scripts-by-default #NodeJS #pnpm #JavaScript
@pnpm 10 is out: https://github.com/pnpm/pnpm/releases/tag/v10.0.0
Interesting change: “Lifecycle scripts of dependencies are not executed during installation by default! This is a breaking change aimed at increasing security. In order to allow lifecycle scripts of specific dependencies, they should be listed in the pnpm.onlyBuiltDependencies field of package.json.”
Okay so i got #Headplane running manually (non-nix) on my #NixOS host, but i fail to write a working package flake.
Why oh why does it have to be a #PNPM application. The wiki does not help much either.
Did any of you know of an app where i can get inspired? Or has done it themselves?
I am so close.
If anyone needs it, here's a minimal Dockerfile for #SvelteKit node apps and #pnpm. It maximizes layer caching without eating more disk space after each run.
I'm far from being a Docker expert and it took me enough time to understand and write this, so I might as well share it
https://git.scambier.xyz/scambier/gists/src/branch/main/Dockerfile%20SvelteKit%20Node.md
@deadparrot That was a shitty starter repo! Monorepo with TS, instant HMR and <1m build time is state-of-the-art.
We've got to take responsibility for our tools. I was just part of an effort to migrate an app with 25 microfrontends from CRA + Yarn Classic + Jest to #Rsbuild + #pnpm + #vitest. It took a couple of weeks, while continuing work on features.
There's a lot of shitty legacy tooling, so we need to teach juniors the good stuff, and tell mgmt to smoke it and eat the costs of upgrading.
Am 9.12. darf ich in Dortmund bei der #Angular Ruhr etwas über #pnpm erzählen. Kommt gerne vorbei! https://www.meetup.com/angular-ruhr/events/304576825
“Since v16.13, Node.js is shipping Corepack for managing package managers.”
What did I just read?!
Testing out #PNPM today, as I've got so many JS projects that are eating my hard drive...
In case you're using PNPM and always struggle with `add` syntax for anything but plain package name, my docs improvement to list out (pretty much) all the possible formats is out now: https://pnpm.io/cli/add
【脱create-react-app】pnpm + vite + React + vitest を動かす!
https://qiita.com/suiwave/items/879ceafdde7d9dd51c1c?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
Is there some #freesoftware https proxy that can save replies to requests and replay them when offline afterwards?
I am trying to make "pnpm install" work offline without network connection (I need that for a flatpak build)
Anyone got any experience with pnpm? Thoughts?
https://pnpm.io
Installing EmberJS v2 addons from GitHub forks using PNPM
https://dev.to/michalbryxi/installing-emberjs-v2-addons-from-github-forks-using-pnpm-556
This week I've happened on two new-to-me tools that detect your package manager and run the appropriate "add a dependency" command (e.g. `install` or `add`).
You don't need them! bun, npm, pnpm, and yarn all support `add`