1.0.0-alpha.2 • Published 1 year ago

@wibus/bump-monorepo v1.0.0-alpha.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

bump-monorepo

A Command Line Tool to bump monorepo packages.

preview

Features

  • Bump packages in monorepo
  • Commit and push
  • Pre-commit hook
  • After-push hook
  • Alpha, Beta, Canary, RC, Patch, Minor, Major, Custom version
  • Custom commit message

This project is quite restrictive because it was developed for proprietary repositories. If you have any suggestions, please feel free to open an issue.

The release in this repository is not generated by this tool. It is generated by @innei/bump-version

Usage

$ npm i -g @wibus/bump-monorepo

Write your config in package.json:

{
  // ...
  "bump": {
    "message": "release: %s", // commit message
    "activePackages": [
      "core"
    ],
    "publish": true
  }
  // ...
}

Then run:

$ bump-monorepo

Warnings

  1. It will use the root package.json as the main version. Though you choose to bump a package inside, it will bump the root package.json too.
  2. If you config activePackages in package.json, it will only bump the packages in the array.
{
  // ...
  "bump": {
    "activePackages": ["packages/a", "packages/b"]
  }
  // ...
}

warning: Once you do this, you must continue to use this config. Otherwise, it may damage your repository.

Author

bump-monorepo © Wibus, Released under MIT. Created on Dec 21, 2022

Personal Website · Blog · GitHub @wibus-wee · Telegram @wibus✪

1.0.0-alpha.2

1 year ago

0.2.1-alpha.1

1 year ago

0.2.1-alpha.0

1 year ago

0.2.0-alpha.0

1 year ago

0.1.4-alpha.5

1 year ago

0.1.4-alpha.4

1 year ago

0.1.4-alpha.3

1 year ago

0.1.4-alpha.2

1 year ago

0.1.4-alpha.1

1 year ago

0.1.4-alpha.0

1 year ago

0.1.3-alpha.0

1 year ago

0.1.2-alpha.1

1 year ago

0.1.2-alpha.0

1 year ago

0.1.1-alpha.0

1 year ago