I am new to nrwl nx cli and extensively searched through their documentation and could not find the command to generate the nestjs module as lib rather than the actual module within app.
The reason why I want to create the nestjs module as lib is becuase I have got several nestjs applications in my mono repo and as per nrwl nx guidelines if I have to share code, which is module in my case, it has to be a lib.
Can anyone please share the command to do the following thing:-
- Generate nestsjs module in libs
- Create nestjs service for that module in libs folder
Any help is much appreciated.