mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2025-02-18 01:24:45 +01:00
304 B
304 B
@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());