• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb-js / devtools-shared / 16048988276

03 Jul 2025 11:17AM UTC coverage: 72.545%. First build
16048988276

Pull #558

github

lerouxb
fallback directoryExists to true, not false
Pull Request #558: fix(ts-autocomplete): fallback directoryExists to true, not false

1502 of 2355 branches covered (63.78%)

Branch coverage included in aggregate %.

1 of 2 new or added lines in 1 file covered. (50.0%)

3249 of 4194 relevant lines covered (77.47%)

592.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

44.44
/packages/monorepo-tools/src/utils/list-all-packages.ts
1
import path from 'path';
1✔
2
import type { PackageInfo } from './get-packages-in-topological-order';
3
import { getPackagesInTopologicalOrder } from './get-packages-in-topological-order';
1✔
4
import { findMonorepoRoot } from './find-monorepo-root';
1✔
5

6
export async function* listAllPackages(): AsyncIterable<
1✔
7
  { rootDir: string; packageJson: Record<string, any> } & PackageInfo
8
> {
9
  const monorepoRoot = await findMonorepoRoot();
×
10
  const packages = await getPackagesInTopologicalOrder(monorepoRoot);
×
11
  for (const packageInfo of packages) {
×
12
    // eslint-disable-next-line @typescript-eslint/no-var-requires
13
    const packageJson = require(
×
14
      path.join(packageInfo.location, 'package.json'),
15
    );
16
    yield { rootDir: monorepoRoot, packageJson, ...packageInfo };
×
17
  }
18
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc