7 Commits

Author SHA1 Message Date
Justin Schwartzenberger
3c55f34ca1 fix(schematics): make deep import check work for libs with same prefix
Adds logic to sort app names from longest to shortest so deep import
check of startsWith will work when more than one lib has the same
starting string. Also adds spec to confirm the case.
2017-12-20 10:13:06 -05:00
vsavkin
013a828d1e feat(schematics): add support for generating apps and libs in nested dirs 2017-12-05 16:23:26 -05:00
Emilio Martinez-Cordero
b3f67351fe feat(schematics): add allow option to whitelist deep imports
Adds an `allow` option to the `nx-enforce-module-boundaries` rule.

This option allows users to provide a specific set of library deep imports that should be whitelisted. Values need to be to be absolute library import paths, e.g., `@npmScope/library/subdirectory`. This option does not affect relative imports.
2017-12-03 15:30:57 -05:00
vsavkin
d6e66b9931 feat(schematics): add nx-migrate command 2017-12-01 11:37:13 -05:00
vsavkin
048448eba2 refactor(schematics): add all schematics into the collection dir 2017-12-01 11:37:13 -05:00
vsavkin
a43fbaeb9a switch to prettier 2017-10-07 12:09:45 -04:00
vsavkin
6c0dc2a874 feat(schematics): add a lint check to enforce module boundaries 2017-10-01 15:20:03 -04:00