Hey Guys, I am having hard time initialing this mo...
# help
m
Hey Guys, I am having hard time initialing this mono repo approach with aws cdk...😅 I have 1 TS CDK backend, 2 TS react frontends and our usual TS lambdas in src with their own package.json files. Looking for help with yarn workspace and/or lerna
does this mean that the UI team will need to clone the entire repo for development?🙄
a
I have similar issues with lerna + yarn 😞
f
Hey @Mr.9715 @Adrián Mouly What issues are you running into?
m
😅 don't know how to initialise it, wasn't able to find a neat doc. all the apps create their own gitignore and package files which conflict with one other example JEST 😑.( says - found another jest in higher level )
f
You mean the JEST issue where it asks u to create a
.env
file with:
SKIP_PREFLIGHT_CHECK=true
?
m
yes exactly.
f
Yeah, SST has
jest
as a dependency, and React does too. And when dependencies are hoisted inside a mono repo, React complaints that
jest
has a different version. I don’t know what the right solution is on top of my head.
We are going to create a SST starter repo with Lerna and Yarn workspaces. And we might take another look at this issue.
But if you happen to figure something out, be sure to let me know 🤔