For your Elm CI pleasure (or I guess any for node-focused project where you don't want to use a web of npm scripts as your build tool):
💁 a public docker image with nodejs, Haskell, and shake (with bonus elm-tooling and pnpm) hub.docker.com/r/avh4/node-s…
One of @turborepo's larger customers is switching from Lerna w/o workspaces to PNPM (after putting it up against Yarn 1 workspaces). PNPM ultimately won. They also uncovered some package.json errors along the way as well.
after using @pnpmjs for quite some time, i decided that its time to contribute to my favorite package manager 🚀.
thanks @zkochan for helping me with my first bug fix that will hopefully lead to more contributions 🙏.
PSA: Yarn 2 (and 3, AFAICT) doesn't work with ESM. really hope this gets resolved soon — it will be a huge drag on the ecosystem otherwise — but in the meantime i recommend using pnpm.io instead
github.com/sveltejs/kit/issu…
🥳 Just cut our build time (@yarn + @webpack) from 1m 6s to 31s with @pnpmjs + esbuild + @tailwindcss JIT mode. The bundles are smaller too!
👉 Check out esbuild-loader (github.com/privatenumber/esb…) if you want to optimize your builds with Webpack. Legacy browsers not supported. 😉
TIL that @pnpmjs features `pnpm update` that lets you bump dependencies, even interactively if you want. The monorepo DX of pnpm keeps getting better. Neat!
E tem alternativas 😊
Se quiser deixar outro gerenciador de dependências no radar o pnpm é interessante e tem uns conceitos legais.
Lida de forma bem inteligente com o gerenciamento da node_modules e também tem suporte pra monorepo.
pnpm.io/
I tried pnpm instead of Yarn/npm, and snowpack instead of WebPack/Parcel/Vite with tailwindcss jit mode + TypeScript React. Ran into a few issues but finally, the experience is not bad. It's faster than everything else (not sure about Vite).
I've recently made the switch from yarn to pnpm🚀 It’s truly efficient, things work as you'd expect, and there are some cool features like strict dependencies or the ability to modify a package dependency prior to resolution. I’m sold!