@typescript-tools/package-manifests

Read every package's package.json

Usage no npm install needed!

<script type="module">
  import typescriptToolsPackageManifests from 'https://cdn.skypack.dev/@typescript-tools/package-manifests';
</script>

README

package-manifests

License NPM Package Build Status semantic-release

Read every package's package.json

Install

npm install @typescript-tools/package-manifests

Use

export function packageManifests(
  somePathInMonorepo?: string,
): TE.TaskEither<
  PackageManifestsError,
  ReadonlyArray<{ package: LernaPackage; contents: E.Json }>
>