UNPKG

1.36 kBTypeScriptView Raw
1import { AbstractAction } from './abstract.action';
2interface LockfileDependency {
3 version: string;
4}
5interface PackageJsonDependencies {
6 [key: string]: LockfileDependency;
7}
8interface NestDependency {
9 name: string;
10 value: string;
11 packageName: string;
12}
13interface NestDependencyWarnings {
14 [key: string]: Array<NestDependency>;
15}
16export declare class InfoAction extends AbstractAction {
17 private manager;
18 private warningMessageDependenciesWhiteList;
19 handle(): Promise<void>;
20 private displayBanner;
21 private displaySystemInformation;
22 displayPackageManagerVersion(): Promise<void>;
23 displayNestInformation(): Promise<void>;
24 displayNestInformationFromPackage(): Promise<void>;
25 displayCliVersion(): void;
26 readProjectPackageDependencies(): PackageJsonDependencies;
27 displayNestVersions(dependencies: PackageJsonDependencies): void;
28 displayWarningMessage(nestDependencies: NestDependency[]): void;
29 buildNestVersionsWarningMessage(nestDependencies: NestDependency[]): NestDependencyWarnings;
30 buildNestVersionsMessage(dependencies: PackageJsonDependencies): NestDependency[];
31 collectNestDependencies(dependencies: PackageJsonDependencies): NestDependency[];
32 format(dependencies: NestDependency[]): NestDependency[];
33 rightPad(name: string, length: number): string;
34}
35export {};