azu / monorepo-utils

A collection of utilities for monorepo/lerna. Tools for TypeScript project references etc..
164 stars 10 forks source link
javascript lerna monorepo npm typescript yarn

monorepo-utils Actions Status: test

This repository is utilities for monorepo. Also, this repository is a monorepo.

Packages

@monorepo-utils/package-utils

Collect package file path in the monorepo.

Supports following package manager's workspaces.

@monorepo-utils/workspaces-to-typescript-project-references

This tool converts lerna/npm workspaces/yarn workspaces to TypeScript's Project References.

You can keep package dependencies synchronized between lerna/npm/yarn workspaces and TypeScript.

@monorepo-utils/collect-changelog

@monorepo-utils/collect-changelog get change from each package's CHANGELOG.md. It help to collect changelog in lerna's Independent mode.

@monorepo-utils/get-workspaces-cli

@monorepo-utils/get-workspaces-cli is a simple CLI for getting workspace list. It allows get file path of packages.

$ npx @monorepo-utils/get-workspaces-cli

Deprecated Packages

Deprecated del>[@monorepo-utils/publish](./packages/@monorepo-utils/publish)</del

@monorepo-utils/publish help npm publish.

This script split lerna publish(lerna 2) into versioning and publishing.

:warning: Notes:

lerna 3 support lerna version and lerna publish. You should use lerna 3 directly.

Release Flow

  1. Create Release PR via dispatching "Create Release" action
  2. Review and Merge release PR
  3. Published

See also: