Khải

Results 175 comments of Khải

> What will JSON API be used for? pnpm will interact with pacquet via JSON stdout. On happy path, pnpm will periodically listen to JSON messages and output report to...

> Error is one of the log types > > https://github.com/pnpm/logger/blob/37902c06048ec4df19f6ebc11b14d1263d9f1a17/src/logger.ts#L12 Does `Error` in this code refer to JavaScript `Error` object? JSON cannot construct JavaScript `Error` object. I expect pnpm...

@zkochan > no, because you separated the custom registry field from name+ver+peer and custom registry is only related to name+ver+peer, not other types of "dependency path" Custom registry is at...

@zkochan Is there an issue or a PR that introduces custom registry as a package version specifier in the lockfile?

> Forget about custom registry in dependency path. It is legacy. We'll remove it from pnpm v9. Does it mean that dependency path (that is, the keys in the snapshot...

> I remember reading an article about tokio::fs is slower than std::fs. Ref: https://users.rust-lang.org/t/why-tokio-fs-is-slower-than-std-fs/39610 The async code in the link is slow is because there is no parallelization. The author...

> This is a decent starting point, but like, is the goal here correctness of `pacquet` on its own? is the goal to eventually have `paquet` be an actual part...

@anonrig I don't think it is either necessary or possible to go as far as "language agnostic", just make the e2e tests independent from `pnpm` is fine. By "independent", I...

@gluxon Does this PR also make `pnpm compile` detect type error in test files? (It currently doesn't, which is pretty annoying).