I've setup a project using lerna which links local folders as node_modules when necessary.
Let's say I have a this structure :
B is a typescript library with an barrel index at its root folder.
B is linked in A as a scoped module in the scope @test (so its local path is a/node_modules/@test/b).
Each time I'm trying to import a file in A, from B obviously, its auto imported path is relative to the file importing it (ex. ../../b/src/[...]), instead of putting the alias @test/b.
Any idea on how to achieve this result please :) ?
Edit : I've tried to use paths in the tsconfig.json without success so far.