Permalink
Cannot retrieve contributors at this time
22 lines (22 sloc)
1.37 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@pkgr/utils/lib/helpers.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export declare const tryPkg: (pkg: string) => string | undefined; | |
export declare const tryRequirePkg: <T>(pkg: string) => T | undefined; | |
export declare const isPkgAvailable: (pkg: string) => boolean; | |
export declare const isTsAvailable: boolean; | |
export declare const isAngularAvailable: boolean; | |
export declare const isMdxAvailable: boolean; | |
export declare const isReactAvailable: boolean; | |
export declare const isSvelteAvailable: boolean; | |
export declare const isVueAvailable: boolean; | |
export declare const tryFile: (filePath?: string[] | string, includeDir?: boolean) => string; | |
export declare const tryExtensions: (filepath: string, extensions?: string[]) => string; | |
export declare const tryGlob: (paths: string[], options?: string | { | |
absolute?: boolean; | |
baseDir?: string; | |
ignore?: [string]; | |
}) => string[]; | |
export declare const identify: <T>(_: T) => _ is Exclude<T, "" | (T extends boolean ? false : boolean) | null | undefined>; | |
export declare const findUp: (searchEntry: string, searchFile?: string) => string; | |
export declare const arrayify: <T, R = T extends (infer S)[] ? NonNullable<S> : NonNullable<T>>(...args: (R | R[])[]) => R[]; | |
export declare const getPackageManager: () => "pnpm" | "yarn" | "npm" | undefined; | |
export declare const getScriptRunner: () => "npx" | "pnpm" | "yarn" | undefined; | |
export declare const getScriptExecutor: () => "npx" | "pnpx" | "yarn dlx" | undefined; |