zkochan
zkochan on Hacker News
well, it is literally in an example in the text that you provided. So, I am not sure why you confused it with postinstall lifecycle scripts.
enablePrePostScripts is about running "prebuild" and "postbuild" scripts automatically, when you run "pnpm run build"
Posted by
zkochan on Friday July 12, 2024 @06:48PM
from the vernus.one dept.
Posted by
zkochan on Thursday June 16, 2022 @05:33AM
from the bit.cloud dept.
> it starts from not judging people by their ethnicity or nationality
Russians that leave Russia are not blocked.
I am Hungarian by ethnicity. I will be probably also judged for the terrible policy of Orban. I feel deep shame for it. So I understand (a little) in what situation those "good" Russians are. And I know that those Russians support my decision and understand it.
Racist rhetoric? Don't be ridiculous. There is no Russian race. I don't block Russians if they leave Russia. I have many Russian friends in Ukraine. Only Russians that live in Russia are blocked. Russians that pay tax to a government that is waging war against my country.
> US-backed color revolutions - including the one in your very own country,
I see
I hope you won't use pnpm and we won't speak again.
You have the audacity to call it anti Russian hysteria, when I should hide from air raid attacks sometimes several times a day?
Please don't use pnpm. Use Yarn or npm, those are better package managers for you.
In the USA there are different people. Good and bad. There are states that are very conservative and there is California. There are some basic values that everyone agrees upon. I think nobody can claim that everyone is bad or good in the US. Same goes for any other democratic society. Same goes for Ukraine. There are a lot of people that I don't like in Ukraine.
In Russia there are some good people but they are in extreme minority. Extreme. Even the liberals in Russia are supporting the annexation of Crimea. Maybe the dictatorship is the reason, maybe the propaganda. I don't know and I don't care. This is how it is and I do what I can to exclude them from my life.
Both pnpm and Yarn are independent projects maintained by the community. I personally think that these are better projects than npm CLI because they can make their own decisions. Not decisions dictated by business needs of a company.
I was OK to merge pnpm into npm in the past. They have never suggested me this opportunity. Instead, they decided to re-implement pnpm's algorithm into npm and call it "isolated mode".
pnpm as well supports all three modes. But I think it is better to use Yarn for the PnP mode and pnpm for the symlinked mode.
Here is a feature comparison: https://pnpm.io/feature-comparison
That was the deal a few weeks ago. After the atrocities that their army has committed in my country, I do not think I will ever unblock traffic from Russian Federation.
Not symlinks. Hard links. Or copy-on-write on systems that support them.
It is unrelated because you don't have this issue with pnpm. pnpm uses a central content-addressable store and each unique file is written only once on a disk. It doesn't matter in how many projects you install the same dependency.
In any cases where pnpm doesn't work, you may set the node-linker=hoisted option and it will work:
https://pnpm.io/npmrc#node-linker
With node-linker=hoisted, pnpm creates a traditional hoisted (aka flat) node_modules, without using symlinks.
Posted by
zkochan on Friday January 31, 2020 @04:01PM
from the dev.to dept.
Posted by
zkochan on Monday November 05, 2018 @03:06AM
from the medium.com dept.
This change will reduce the size node_modules uses up (10 or more times).
pnpm saves one version of a package only ever once on a disk and node_modules consume drastically less space
Posted by
zkochan on Thursday May 31, 2018 @10:21AM
from the medium.com dept.
Posted by
zkochan on Wednesday May 23, 2018 @02:24AM
from the medium.com dept.
Posted by
zkochan on Tuesday October 04, 2016 @05:19AM
from the github.com dept.