Patches aren't being applied in upstream library #8425
Unanswered
samuellye98
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a library that is a dependency for other applications. Let's call this library foo and my application app.
app is importing foo and foo is using patchedDependencies to patch a nested dependency, e.g. pnpm patch packageB where app -> foo -> packageA -> packageB represents the dependency tree.
The patches are applied fine from foo, e.g. when I run storybook from foo, etc. However, when I import foo in app and run app, the patches aren't applied.
Is this intended behavior? I know for yarn and npm you have to use the patch-package library and postinstall command. But for pnpm patches should be applied during install if I'm not wrong.a
Beta Was this translation helpful? Give feedback.
All reactions