UNPKG

601 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8/**
9 * Use Yarn if available, it's much faster than the npm client.
10 * Return the version of yarn installed on the system, null if yarn is not available.
11 */
12export declare function getYarnVersionIfAvailable(): string | null;
13/**
14 * Check if project is using Yarn (has `yarn.lock` in the tree)
15 */
16export declare function isProjectUsingYarn(cwd: string): string | undefined;
17//# sourceMappingURL=yarn.d.ts.map
\No newline at end of file