chore: replace fast-glob and ora with lighter alternatives (#2173)

This commit is contained in:
Florian Metz
2026-03-04 21:26:11 +01:00
committed by GitHub
parent a14d0b4f2f
commit ae55aecb0d
20 changed files with 70 additions and 101 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import glob from 'fast-glob';
import { glob } from 'tinyglobby';
import fs from 'fs-extra';
import * as semver from 'semver';
import { dirname } from 'node:path';
@@ -97,7 +97,7 @@ async function getPackageJsonDependencies(
}> {
const packageJsonFiles = await glob(
['package.json', '*/*/package.json', '!**/node_modules'],
{ onlyFiles: true },
{ onlyFiles: true, expandDirectories: false },
);
const packageJsons: PackageJsonData[] = await Promise.all(
packageJsonFiles.map(async (path) => ({