/find-workspace-root

Find the root of a multi-package repo with Yarn workspaces

Primary LanguageTypeScriptMIT LicenseMIT

find-workspace-root

Build Status

Find the root of a multi-package repo with Yarn workspaces

Installation

yarn add find-workspace-root

How to use

import findWorkspaceRoot from 'find-workspace-root';

const rootDir = await findWorkspaceRoot(/** intialDir [default=process.cwd()]**/);

License

MIT