A collection of utilities for monorepo/lerna.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
packages/@monorepo-utils
.gitignore
.travis.yml
README.md
lerna.json
package.json
yarn.lock

README.md

monorepo-utils Build Status

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

packages

@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.

Deprecated @monorepo-utils/publish

@monorepo-utils/publish help npm publish.

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

⚠️ Notes:

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

UseCase

These utils aim to make release flow more flexible.

📝 Note: lerna@2 publish do all things at once.

You can do release to use @monorepo-utils/publishlerna 3 and @monorepo-utils/collect-changelog by following steps:

  1. Bump version and generate CHANGELOG
  2. Submit Pull Request
  3. Review the CHANGELOG
  4. Publish to npm
  5. Merge

For more details, see Release flow on this repository.