(exclude: Set<string>)
| 808 | } |
| 809 | |
| 810 | function* packagesIterator(exclude: Set<string>) { |
| 811 | for (const packageDir of ["packages", "codemods", "eslint"]) { |
| 812 | for (const dir of fs.readdirSync(new URL(packageDir, import.meta.url))) { |
| 813 | const src = `${packageDir}/${dir}`; |
| 814 | if (exclude.has(dir)) continue; |
| 815 | if (!fs.existsSync(new URL(`${src}/package.json`, import.meta.url))) { |
| 816 | continue; |
| 817 | } |
| 818 | yield src; |
| 819 | } |
| 820 | } |
| 821 | } |
| 822 | |
| 823 | type DeepStringsObject = null | string | { [key: string]: DeepStringsObject }; |
| 824 |
no test coverage detected
searching dependent graphs…