Email or username:

Password:

Forgot your password?
Top-level
mcc

Is pnpm link different from npm link?

5 comments
mcc

How does `npm link` interact with npm workspaces?

I want to `npm link` (pnpm link but whatever) an on-disk npm package A into a local project B.

However, "A" is a sub-package ( like, a workspace package docs.npmjs.com/cli/v7/using-np ) of another package "C". The npm repository entry for A npmjs.com/package/@atproto/pds just links to C.

So: If I want to make B use the on-disk version of A, do I `pnpm link` A? or C? Or both?

mcc

Returned to debugging this this morning, but suddenly was unable to get it to print the error message any message. After a certain amount of fiddling, believing I did not understand how systemd services worked, I discovered that in fact at some point during the debugging I actually fixed the error, thus resulting in the error message no longer printing. Unfortunately I continued debugging after the point at which it started working and in the process I managed to break it again

mcc

Incidentally an interesting thing I've learned reading the docs is that BlueSky significantly relies on CBOR. This is a reasonable choice but makes me *very* curious whether any part of the BlueSky stack is susceptible to duplicate key attacks.

mcc

I have found it… the next evolution of curl | sudo sh

github.com/bluesky-social/pds/

Shell script that takes a subcommand, downloads a script by the name of the subcommand from github, then executes it as root

Go Up