Home > @userfrosting/merge-package-dependencies > yarnIsFlat
Uses yarn.lock
to detect if multiple versions of a dependency have been installed.
Signature:
export declare function yarnIsFlat(p?: string, log?: LogOption): boolean;
Parameter |
Type |
Description |
---|---|---|
p |
string |
(Optional) Directory of |
log |
(Optional) If true, progress and errors will be logged. Has no affect on exceptions thrown. |
boolean