2.11.0 • Published 6 months ago
@monorepo-utils/package-utils v2.11.0
@monorepo-utils/package-utils
Package utility for monorepo.
Install
Install with npm:
npm install @monorepo-utils/package-utilsUsage
getPackages(rootDirectory: string): PackageResult[]
export interface PackageResult {
// path to package's directory
location: string;
// package.json content
packageJSON: any;
}
export declare const getPackages: (rootDirectory: string) => PackageResult[];Changelog
See Releases page.
Running tests
yarn testContributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
License
MIT © azu
Thanks to azz/get-monorepo-packages: Get a list of packages from a monorepo