All Projects β†’ lerna β†’ Lerna Changelog

lerna / Lerna Changelog

Licence: mit
πŸ“– PR-based changelog generator with monorepo support

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Lerna Changelog

Entria Fullstack
Monorepo Playground with GraphQL, React, React Native, Relay Modern, TypeScript and Jest
Stars: ✭ 434 (-28.97%)
Mutual labels:  lerna, monorepo
ng-mono-repo-starter
Angular Mono Repo Starter
Stars: ✭ 79 (-87.07%)
Mutual labels:  lerna, monorepo
react-ecommerce
E-commerce monorepo application using NextJs, React, React-native, Design-System and Graphql with Typescript
Stars: ✭ 136 (-77.74%)
Mutual labels:  lerna, monorepo
yarn-workspaces-example
Sample monorepo project using new Yarn feature called Workspaces
Stars: ✭ 39 (-93.62%)
Mutual labels:  lerna, monorepo
mono.ts
A minimal example of a typescript mono repo with pre-build support (tests, vscode).
Stars: ✭ 58 (-90.51%)
Mutual labels:  lerna, monorepo
blog
blog posts & source code.
Stars: ✭ 44 (-92.8%)
Mutual labels:  lerna, monorepo
lerna-terminal
Powerful cli ui for monorepos
Stars: ✭ 25 (-95.91%)
Mutual labels:  lerna, monorepo
lerna-sync
A package to synchronize distributed GitHub repos inside a Lerna monorepo.
Stars: ✭ 15 (-97.55%)
Mutual labels:  lerna, monorepo
monopack
A JavaScript bundler for node.js monorepo-codebased applications.
Stars: ✭ 52 (-91.49%)
Mutual labels:  lerna, monorepo
monopacker
A tool for managing builds of monorepo frontend projects with eg. npm- or yarn workspaces, lerna or similar tools into a standalone application - no other tools needed.
Stars: ✭ 17 (-97.22%)
Mutual labels:  lerna, monorepo
fe-standard-config-seed
ε‰η«―ι€šη”¨δ»£η θ§„θŒƒθ‡ͺεŠ¨εŒ–ζŽ₯ε…₯
Stars: ✭ 18 (-97.05%)
Mutual labels:  changelog, lerna
Ultra Runner
πŸƒβ›° Ultra fast monorepo script runner and build tool
Stars: ✭ 496 (-18.82%)
Mutual labels:  lerna, monorepo
cra-monorepo-demo
Monorepo example using create-react-app and common component library structure with yarn workspaces
Stars: ✭ 37 (-93.94%)
Mutual labels:  lerna, monorepo
eslint-import-resolver-lerna
Resolver for Lerna-based projects for eslint-plugin-import
Stars: ✭ 47 (-92.31%)
Mutual labels:  lerna, monorepo
shared-react-components-example
An example of a mono-repository of shared React components libraries!
Stars: ✭ 85 (-86.09%)
Mutual labels:  lerna, monorepo
vscode-monorepo-workspace
πŸ“¦βœ¨Manage monorepos with multi-root workspaces. Supports Lerna, Yarn, Pnpm, Rushjs and recursive package directories.
Stars: ✭ 93 (-84.78%)
Mutual labels:  lerna, monorepo
Puppeteer Extra
πŸ’― Teach puppeteer new tricks through plugins.
Stars: ✭ 3,397 (+455.97%)
Mutual labels:  lerna, monorepo
monorepo-utils
A collection of utilities for monorepo/lerna. Tools for TypeScript project references etc..
Stars: ✭ 143 (-76.6%)
Mutual labels:  lerna, monorepo
pacote
A box of goodies, in TypeScript.
Stars: ✭ 14 (-97.71%)
Mutual labels:  lerna, monorepo
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (-41.73%)
Mutual labels:  lerna, monorepo

lerna-changelog

TravisCI Build Status Latest NPM release

PR-based changelog generator with monorepo support

Install

Install with yarn:

yarn add lerna-changelog --dev
# or globally
yarn global add lerna-changelog

We're using yarn but you can use npm if you like:

npm install --save-dev lerna-changelog
# or globally
npm install --global lerna-changelog

Usage

$ lerna-changelog
## Unreleased (2018-05-24)

#### πŸ› Bug Fix
* [#198](https://github.com/my-org/my-repo/pull/198) Avoid an infinite loop ([@helpful-hacker](https://github.com/helpful-hacker))

#### 🏠 Internal
* [#183](https://github.com/my-org/my-repo/pull/183) Standardize error messages ([@careful-coder](https://github.com/careful-coder))

#### Commiters: 2
- Helpful Hacker ([@helpful-hacker](https://github.com/helpful-hacker))
- [@careful-coder](https://github.com/careful-coder)

By default lerna-changelog will show all pull requests that have been merged since the latest tagged commit in the repository. That is however only true for pull requests with certain labels applied. The labels that are supported by default are:

  • breaking (πŸ’₯ Breaking Change)
  • enhancement (πŸš€ Enhancement)
  • bug (πŸ› Bug Fix)
  • documentation (πŸ“ Documentation)
  • internal (🏠 Internal)

You can also use the --from and --to options to view a different range of pull requests:

lerna-changelog --from=v1.0.0 --to=v2.0.0

Monorepo support

If you have a packages folder and your projects in subfolders of that folder lerna-changelog will detect it and include the package names in the changelog for the relevant changes.

GitHub Token

Since lerna-changelog interacts with the GitHub API you may run into rate limiting issues which can be resolved by supplying a "personal access token":

export GITHUB_AUTH="..."

You'll need a personal access token for the GitHub API with the repo scope for private repositories or just public_repo scope for public repositories.

Configuration

You can configure lerna-changelog in various ways. The easiest way is by adding a changelog key to the package.json file of your project:

{
  // ...
  "changelog": {
    "labels": {
      "feature": "New Feature",
      "bug": "Bug Fix"
    }
  }
}

The supported options are:

  • repo: Your "org/repo" on GitHub (automatically inferred from the package.json file)

  • nextVersion: Title for unreleased commits (e.g. Unreleased)

  • labels: GitHub PR labels mapped to changelog section headers

  • ignoreCommitters: List of committers to ignore (exact or partial match). Useful for example to ignore commits from bots.

  • cacheDir: Path to a GitHub API response cache to avoid throttling (e.g. .changelog)

License

lerna-changelog is released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].