Content pfp
Content
@
0 reply
0 recast
2 reactions

AbuUsama pfp
AbuUsama
@abuusama
I have literally spent the last 24 hours trying to get a foundry project to work in a monorepo 😵‍💫 😵‍💫 😵‍💫 first i thought i was just smooth brained, but I cant find any examples on GitHub either so maybe its just not possible?......
2 replies
0 recast
0 reaction

alex pfp
alex
@alexgrover.eth
We have a pnpm monorepo with foundry projects. Why are your dependencies in node_modules rather than as git submodules?
1 reply
0 recast
1 reaction

AbuUsama pfp
AbuUsama
@abuusama
awesome, can i have a look 👀. WRT node_modules, im trying to avoid submodules since the rest of the monorepo is using pnpm. reading the docs again i did sort of figure out what the problem is, when using foundry<>hardhat you need a script that modifies the paths in the dependencies
1 reply
0 recast
0 reaction

alex pfp
alex
@alexgrover.eth
It’s closed source, sorry - but if yours is open I can look! But I’m using submodules and it works fine. We just use PNPM to run the scripts in the foundry projects, not manage deps
1 reply
0 recast
1 reaction

AbuUsama pfp
AbuUsama
@abuusama
Thank you ser! I just started again and used submodules. Mine is not in a shareable state though 😂 but I should publish next weekend though
1 reply
0 recast
0 reaction