9.0.10076 • Published 4 years ago

@acoustic-content-sdk/tooling-dependencies v9.0.10076

Weekly downloads
8
License
MIT
Repository
-
Last release
4 years ago

npm

Utility functions to detect dependencies in packages

API Documentation

Home > @acoustic-content-sdk/tooling-dependencies

tooling-dependencies package

Utility functions to detect dependencies in packages

Functions

FunctionDescription
detectDependencies(aDir)Detects direct dependencies from the build output by scanning the CJS file and by following the dependencies in the typings. The implementation will not resolve these dependencies transitively.
findPeerDependencies(aDeps)Finds all peer dependencies of the given packages together will all peer dependencies

Variables

VariableDescription
VERSIONVersion and build number of the package

Home > @acoustic-content-sdk/tooling-dependencies > detectDependencies

detectDependencies() function

Detects direct dependencies from the build output by scanning the CJS file and by following the dependencies in the typings. The implementation will not resolve these dependencies transitively.

Signature:

export declare function detectDependencies(aDir: string): Promise<string[]>;

Parameters

ParameterTypeDescription
aDirstringthe directory to scan

Returns:

Promise<string[]>

the list of dependencies

Home > @acoustic-content-sdk/tooling-dependencies > findPeerDependencies

findPeerDependencies() function

Finds all peer dependencies of the given packages together will all peer dependencies

Signature:

export declare function findPeerDependencies(aDeps: string[]): Promise<string[]>;

Parameters

ParameterTypeDescription
aDepsstring[]a list of all dependencies

Returns:

Promise<string[]>

the list of all peer dependencies of these dependencies

Home > @acoustic-content-sdk/tooling-dependencies > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}
9.0.10076

4 years ago

9.0.10067

4 years ago

9.0.10040

4 years ago

9.0.10034

4 years ago

9.0.495

4 years ago

9.0.493

4 years ago

9.0.462

4 years ago