(options)
| 15 | }, |
| 16 | |
| 17 | afterInstall(options) { |
| 18 | let isMorganMissing = isPackageMissing(this, 'morgan'); |
| 19 | let isGlobMissing = isPackageMissing(this, 'glob'); |
| 20 | |
| 21 | let areDependenciesMissing = isMorganMissing || isGlobMissing; |
| 22 | let libsToInstall = []; |
| 23 | |
| 24 | if (isMorganMissing) { |
| 25 | libsToInstall.push({ name: 'morgan', target: '^1.3.2' }); |
| 26 | } |
| 27 | |
| 28 | if (isGlobMissing) { |
| 29 | libsToInstall.push({ name: 'glob', target: '^4.0.5' }); |
| 30 | } |
| 31 | |
| 32 | if (!options.dryRun && areDependenciesMissing) { |
| 33 | return this.addPackagesToProject(libsToInstall); |
| 34 | } |
| 35 | }, |
| 36 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…