Удаление сгенерированной LIB в NX

For anyone looking for the current way of removing app/lib (in a single list). #333 (comment) and #333 (comment) combined.

Remove the module import if the lib is imported into another app/lib.
Remove the app/lib from .angular-cli.json apps array.
Remove the path to your project from the tsconfig.json
Remove project from nx.json
eGG