(parent: string, child: string)
| 163 | } |
| 164 | |
| 165 | function isPathInside(parent: string, child: string): boolean { |
| 166 | const relativePath = path.relative(parent, child); |
| 167 | return !relativePath.startsWith(`..`); |
| 168 | } |
| 169 | |
| 170 | export function getAllDepsFromPackageJson(packageJson: PackageJSON) { |
| 171 | const devDependencies = Object.keys(packageJson.devDependencies ?? {}); |
no outgoing calls
no test coverage detected
searching dependent graphs…