aboutsummaryrefslogblamecommitdiffstats
path: root/packages/monorepo-scripts/src/globals.d.ts
blob: 1693a6dbb0a9f5a9211bf1ec45816d4f423a8b08 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                     
                             
 




                                                                                                  



                                                 




                                
                        

                      
                                                











                                                                
declare module 'async-child-process';
declare module 'publish-release';
declare module 'es6-promisify';
declare module 'semver-diff';

declare module 'prompt' {
    const start: () => void;
    const get: (promptMessages: string[], callback: (err: Error, result: string) => void) => void;
}

// semver-sort declarations
declare module 'semver-sort' {
    const desc: (versions: string[]) => string[];
}

declare interface LernaPackage {
    location: string;
    package: {
        private?: boolean;
        version: string;
        name: string;
        main?: string;
        scripts?: { [command: string]: string };
        config?: {
            additionalTsTypings?: string[];
        };
    };
}
declare function lernaGetPackages(path: string): LernaPackage[];
// lerna-get-packages declarations
declare module 'lerna-get-packages' {
    export = lernaGetPackages;
}

declare module 'promisify-child-process';