(host: Tree, path: string)
| 148 | } |
| 149 | |
| 150 | function addTripleSlashType(host: Tree, path: string): void { |
| 151 | const content = host.readText(path); |
| 152 | if (!content.includes(localizeTripleSlashType)) { |
| 153 | host.overwrite(path, localizeTripleSlashType + '\n\n' + content); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | function moveToDependencies(host: Tree): Rule | void { |
| 158 | if (!host.exists('package.json')) { |
no test coverage detected
searching dependent graphs…