Monorepo utility.
Usage
Searches up the directory structure and the last package.json it finds is assumed to be the solution.
import { getSolutionDir } from '@zero-version/monorepo';
console.log(getSolutionDir(process.cwd()));
// -> eg.
// /dir/to/solution
☕
Support Are you using a package I've developed and finding it useful? Or have you looked at one of my repositories and learnt something new? If so, please consider buying me a coffee. Thanks!