()
| 12 | export const GITHUB_REPO_URL = "https://github.com/remix-run/react-router"; |
| 13 | |
| 14 | export function getAllPackageDirNames(): string[] { |
| 15 | return fs.readdirSync(packagesDir).filter((name) => { |
| 16 | let packagePath = getPackagePath(name); |
| 17 | return fs.existsSync(packagePath) && fs.statSync(packagePath).isDirectory(); |
| 18 | }); |
| 19 | } |
| 20 | |
| 21 | export function getPackagePath(packageDirName: string): string { |
| 22 | return path.resolve(packagesDir, packageDirName); |
no test coverage detected