Repository navigation
Conversation
|
Do you mean no filtering is needed here? |
|
Maybe here https://github.com/pnpm/pnpm/blob/main/hooks/read-package-hook/src/createReadPackageHook.ts add a hook that removes peerDependenciesMeta.optional if the package is in prod deps. |
|
or actually, no need to do it in the hook. Can be done at the same place in resolve dependencies. |
| peerOpts.optional = false | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
This still seems to have problems. For example, in the #8912 issue, the file line 1344 has deleted lightningcss in the dependencies. Even if the value is changed here, lightningcss will still not be downloaded.
|
Closing in favor of a new fix that covers both the TypeScript and Rust CLIs. Thanks for the investigation, btea. The test fixture here declares the dependency only in Written by an agent (Claude Code, claude-opus-5-5). |
fix #8912