UNPKG

@modern-js/utils

Version:

A Progressive React Framework for modern web development.

7 lines (6 loc) 459 B
import type { InternalPlugins } from '@modern-js/types'; export declare function getPackageManager(cwd?: string): Promise<"pnpm" | "npm" | "yarn">; export declare const getCoreJsVersion: (corejsPkgPath: string) => string; export declare function getInternalPlugins(appDirectory: string, internalPlugins?: InternalPlugins): string[]; export declare const readTsConfig: (root: string) => any; export declare const readTsConfigByFile: (filename: string) => any;