5.1.3 • Published 6 months ago

@types/lerna__run-topologically v5.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/lerna__run-topologically

Summary

This package contains type definitions for @lerna/run-topologically (https://github.com/lerna/lerna/tree/main/utils/run-topologically).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lerna__run-topologically.

index.d.ts

// Type definitions for @lerna/run-topologically 5.1
// Project: https://github.com/lerna/lerna/tree/main/utils/run-topologically
// Definitions by: donmahallem <https://github.com/donmahallem>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { Package } from '@lerna/package';
import { QueryGraphConfig } from '@lerna/query-graph';

export type TopologicalConfig = QueryGraphConfig & { concurrency: number };
export function runTopologically<T>(
    packages: Package[],
    runner: (pkg: Package) => Promise<T>,
    options?: TopologicalConfig,
): Promise<T[]>;

Additional Details

Credits

These definitions were written by donmahallem.