Ability to use pnpm (or yarn) #2389
Replies: 5 comments
-
https://pnpm.io/npmrc#shamefully-hoist fixes for |
Beta Was this translation helpful? Give feedback.
-
@csjh that's cool! I do wonder though if we are architecting wrong / misconfiguring something though. Shouldn't pnpm "just work". Is there something fundamentally different about evidence, vs let's say SvelteKit that means we need to do this hoisting? I also run into a similar kind of dependency hell when trying to use stackblitz (which uses turborepo), which is what makes me think this |
Beta Was this translation helpful? Give feedback.
-
Yeah, we abuse peer deps a bit to minimize the amount of user It might be possible to do a lot of re-exporting from the |
Beta Was this translation helpful? Give feedback.
-
See #1205 |
Beta Was this translation helpful? Give feedback.
-
Just as a note; |
Beta Was this translation helpful? Give feedback.
-
It would be useful if evidence was compatible with other package managers, in particular pnpm which would be helpful for maintaining monorepos.
encountered this issue while looking into #1205
suspect this is to do with shenanigans in the hidden ./evidence/template folder and or the fact that we explicitly call
npx
in the cli.jspnpm
result
yarn
result
Beta Was this translation helpful? Give feedback.
All reactions