find-workspace-root
Find the root of a multi-package repo with Yarn workspaces
Last updated 5 months ago by hupe1980 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install find-workspace-root 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (5 months ago)

2 Versions

  • 1.0.0                                ...           5 months ago
  • 0.0.11                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (11)

Copyright 2014 - 2016 © taobao.org |