@nrwl/workspace - library cannot be made publishable or at least buildable
See original GitHub issueCurrent Behavior
I did encounter this issue earlier today: https://github.com/nrwl/nx/issues/3795
It made me think about the fact that I was probably doing something wrong by having setup some of my shared libs as angular libs (as they were only used in angular projects) but could later on be used by node projects as well.
Therefore, I think I’m going to go ahead and transform those into @nrwl/workspace - library
instead of a @nrwl/angular - library
. The only thing that is stopping me right now is that I’d have to make that change on quite a few of them and we use the --with-deps
flag to build our app so all of our libraries have been made buildable.
Unfortunately, the buildable flag seems to have been made available on all kind of libs except for the @nrwl/workspace - library
. Is this by design? Is there anything I’m missing? Or is this a bug?
What should I do?
Expected Behavior
Either being able to import angular libs on a nest app (not the best scenario) or make @nrwl/workspace - library
buildable?
Steps to Reproduce
Use nx console and notice that there is no buildable or publishable flag for @nrwl/workspace - library
but there is one for the others.
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Environment
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
I believe this should be kept open
@maxime1992 I’ll give this a closer look. Will take some time though since I have some higher priority stuff on my plate first. Thx for your patience 🙏