HackerTrans
トップ新着トレンドコメント過去質問紹介求人

zkochan

no profile record

投稿

Simulation: From Solipsism to Mahavishnu

vernus.one
3 ポイント·投稿者 zkochan·2 年前·0 コメント

Painless Monorepo Dependency Management with Bit

bit.cloud
2 ポイント·投稿者 zkochan·4 年前·0 コメント

コメント

zkochan
·10 か月前·議論
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.
zkochan
·10 か月前·議論
enablePrePostScripts is about running "prebuild" and "postbuild" scripts automatically, when you run "pnpm run build"
zkochan
·昨年·議論
Good luck!
zkochan
·4 年前·議論
> 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.
zkochan
·4 年前·議論
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.
zkochan
·4 年前·議論
> 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.
zkochan
·4 年前·議論
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.
zkochan
·4 年前·議論
You can use pnpm without symlinks by setting node-linker=hoisted

https://pnpm.io/npmrc#node-linker
zkochan
·4 年前·議論
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.
zkochan
·4 年前·議論
pnpm is really good for monorepos and there are many big open source projects that use pnpm: https://pnpm.io/workspaces#usage-examples
zkochan
·4 年前·議論
pnpm also implements all three: https://pnpm.io/feature-comparison

But I think it is best to use Yarn for PnP and pnpm for the symlinked node_modules structure.
zkochan
·4 年前·議論
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".
zkochan
·4 年前·議論
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
zkochan
·4 年前·議論
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.
zkochan
·4 年前·議論
Not symlinks. Hard links. Or copy-on-write on systems that support them.
zkochan
·4 年前·議論
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.
zkochan
·4 年前·議論
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.
zkochan
·4 年前·議論
Thank you!
zkochan
·4 年前·議論
Слава Україні!