mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-29 05:04:46 +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());