UNPKG

@hyperse/dependency-sync

Version:

A comprehensive Node.js utility for managing dependencies in monorepo environments, specifically designed for Hyperse plugin ecosystems.

15 lines (14 loc) 523 B
import { type Options } from 'globby'; /** * Traversing the file system and returning pathnames that matched a defined set of a specified pattern according to the rules * @example * ```ts * // https://github.com/mrmlnc/fast-glob * const files = await fileWalk('**\/*.*', { * cwd: fixtureCwd, * ignore: ['**\/*.{jpg,png}'], * }); * ``` * @returns The paths of the files that matched the pattern. */ export declare const fileWalk: (pattern: string | readonly string[], options?: Options) => Promise<string[]>;