(frameworkDir)
| 91 | } |
| 92 | |
| 93 | function scanProjectDirectory(frameworkDir) { |
| 94 | const projectDirectory = join(frameworkDir, 'project') |
| 95 | const baseDirectory = join(projectDirectory, 'base') |
| 96 | const basePackagePath = join(baseDirectory, 'package.json') |
| 97 | const optionalPackagesPath = join(projectDirectory, 'packages.json') |
| 98 | |
| 99 | return { |
| 100 | base: findFilesRecursively(baseDirectory), |
| 101 | basePackageJSON: existsSync(basePackagePath) ? readJson(basePackagePath) : {}, |
| 102 | optionalPackages: existsSync(optionalPackagesPath) |
| 103 | ? readJson(optionalPackagesPath) |
| 104 | : {}, |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | function scanCatalogDirectory(addOnsBase) { |
| 109 | if (!existsSync(addOnsBase)) { |
no test coverage detected