Fork me on GitHub
#shadow-cljs
<
2024-02-28
>
geraldodev13:02:00

Yesterday, I was watching the video at https://www.youtube.com/watch?v=kn9nvHEgzJY&amp;t=1934s, which seems to be using Shadow-cljs with pnpm. What is the current state of pnpm and Shadow-cljs?

Chris McCormick14:02:32

I use pnpm and it works great.

👍 1
mike70657418:03:18

@UUSQUGUF3 Hey, are you using any hoisting settings to make pnpm work with shadow-cljs? So far I’ve only been successful by using the shamefully-hoist setting - it seems like Shadow wants all the dependencies at the root of node_modules. I’m out of my comfort zone though and looking to make sure I’m not missing something

Chris McCormick18:03:08

Ah yes I should have mentioned that. I could only get it to work with that flag too.

mike70657418:03:30

No problem, thanks!

Sam Ferrell19:02:20

Is there an obvious strategy for running :target :node-test tests while developing locally besides just running two processes, one for the app and another for tests? Nothing super important just wondering what other people might have done here

Sam Ferrell19:02:48

Ah answered my own question, shadow-cljs can watch multiple builds like shadow-cljs watch app test