Redux Devtools is using Nx and PNPM to boost their #monorepo
Check it out
github.com/reduxjs/redux-dev…
Also, a friendly reminder that we give free, unlimited (!!) Nx Cloud caching & distributed task execution to all open source projects. Ping us!
#redux#reactjs
I have written my first article in the @bitdev_ blog!
It is about "bit install" and how it makes life easier by automating a lot of things that are currently done manually with npm/pnpm/Yarn!
bit.cloud/blog/painless-mono…
After a long break, the next edition of the JSValley meetup will take place on June 28th in Kontich (Antwerp)!
We have two interesting topics in store:
- Form handling in React
- Manage your JS dependencies with PNPM
We're looking forward meeting you!
#javascript#meetup
Just created a visualizer tool to display @pnpmjs workspace relationships in a graph. Run 'pnpx pnpm-workspace-graph'!
NPM package is here: npmjs.com/package/pnpm-works…
Apparently, if you choose to disable the automatic installation of peer deps in npm (with legacy-peer-deps=true), npm will not print any warnings about missing peer deps. What a mess.
I've been interested in @pnpmjs for the longest time (is there another content addressed node package manager) yet I've been holding out for the switch.
Yesterday I finally did for a side project and I'm impressed how much better it is than the competition.
Some things I like:
My personal experience shows that in some projects pnpm can be approx. 10x time faster at resolving dependencies than npm or yarn, and up to 3x more efficient for disk usage.
#DEVCommunitydev.to/andreychernykh/yarn-n…
Have you noticed #VSCode's new file nesting feature?
🛁 For example it nests package-lock.json under package.json in the explorer.
The defaults are limited, (e.g. nothing similar for pnpm). @antfu7 has your back though with a set of nesting patterns:
github.com/antfu/vscode-file…
The @nextjs GitHub repo now has 50% faster install times in CI thanks to @pnpmjs 🥳
It also helped uncover duplication in compiled code, so the Next.js package install size was also reduced by 7mb.
github.com/vercel/next.js/pu…
tip
If you support Node.js 14, add this to your npmrc:
engine-strict=true
node-version=14.19.0
You will get an error when installing a package that doesn't support Node.js 14. Even if you are using a newer Node.js version at the moment.