You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@monorepo-utils/package-utils

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monorepo-utils/package-utils

Package utility for monorepo.

Source
npmnpm
Version
2.7.0
Version published
Maintainers
1
Created
Source

@monorepo-utils/package-utils

Package utility for monorepo.

Install

Install with npm:

npm install @monorepo-utils/package-utils

Usage

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 test

Contributing

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

Keywords

lerna

FAQs

Package last updated on 20 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts