workspace-tools
Version:
A collection of tools that are useful in a git-controlled monorepo that is managed by one of these software:
10 lines (9 loc) • 326 B
TypeScript
/**
* Searches all package names based on "scoping" (i.e. "scope" in the sense of inclusion)
* NOTE: scoping is different than package scopes (@scope/package)
* @param search
* @param packages
*/
export declare function getScopedPackages(search: string[], packages: {
[pkg: string]: unknown;
} | string[]): string[];