I have a typescript yarn monorepo that has 2 apps:
- a nextjs v15 app
- nodejs app (discord bot)
I want to import a shared package @repo/core and others in both of these apps but I am not able to setup it up. I tried to tweak the tsconfig a lot but keep getting MODULE_NOT_FOUND when trying 'yarn dev' in the bot app.
When trying to build also it is not able to find the local packages in the workspace.
I will be really glad if someone can help me. I have attached the project source code too.
Also when importing should we be importing from the root folder like:
@repo/core/commands/about
or from the src folder like:
@repo/core/src/commands/about
you sure? have you checked the