mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-25 19:34:45 +01:00
.. | ||
dist | ||
node_modules | ||
src | ||
CHANGELOG.md | ||
package.json | ||
README.md |
@manypkg/find-root
Find the root of a monorepo with Yarn workspaces, Bolt or pnpm
Install
yarn add @manypkg/find-root
Usage
import { findRoot, findRootSync } from "@manypkg/find-root";
let dir = await findRoot(process.cwd());
let dir = findRootSync(process.cwd());