The Sunniest Semantic Version Bumper
Перейти к файлу
Ken Chau 16d9a80c8a applying package updates 2024-11-06 22:56:34 +00:00
.github Update actions/checkout action to v4 (#959) 2024-04-18 19:30:21 -07:00
.husky Update formatting (#1003) 2024-11-06 14:54:15 -08:00
.vscode Add option to use hash in changelog filenames (#996) 2024-11-06 14:33:42 -08:00
bin For out-of-scope package, do not update its dependencies versions along with its own version (#428) 2020-10-21 11:24:47 -07:00
docs Minor doc updates (#987) 2024-09-09 21:00:30 -07:00
scripts Simplify some logic in bump and publish (#866) 2023-05-10 13:57:21 -07:00
src Update formatting (#1003) 2024-11-06 14:54:15 -08:00
.gitignore gitignore package-lock.json 2021-02-03 14:09:43 -08:00
.nvmrc Require Node 14 (#847) 2023-05-01 22:12:45 -07:00
.prettierignore Update formatting (#1003) 2024-11-06 14:54:15 -08:00
.prettierrc.json5 Configure Renovate (#690) 2022-08-06 01:31:00 +00:00
CHANGELOG.json applying package updates 2024-11-06 22:56:34 +00:00
CHANGELOG.md applying package updates 2024-11-06 22:56:34 +00:00
CONTRIBUTING.md Update prettier (#560) 2021-07-22 15:54:04 -07:00
LICENSE new license and updating docs 2019-06-25 15:54:36 -07:00
README.md Minor doc updates (#987) 2024-09-09 21:00:30 -07:00
SECURITY.md Microsoft mandatory file (#660) 2022-06-03 22:09:46 -07:00
beachball.config.js Explicitly ignore vuepress changes 2023-10-18 00:18:10 -05:00
jest.config.js Add option to use hash in changelog filenames (#996) 2024-11-06 14:33:42 -08:00
package.json applying package updates 2024-11-06 22:56:34 +00:00
renovate.json5 Unpin devDependencies (#846) 2023-05-01 20:06:04 -07:00
tsconfig.json Require Node 14 (#847) 2023-05-01 22:12:45 -07:00
yarn.lock Update formatting (#1003) 2024-11-06 14:54:15 -08:00

README.md

beachball

the sunniest version bumping tool

Prerequisites

git and a remote named "origin"

Usage

beachball [command] [options]

Commands

change (default)

a tool to help create change files in the change/ folder

check

checks whether a change file is needed for this branch

bump

bumps versions as well as generating changelogs

publish

bumps, publishes to npm registry (optionally does dist-tags), and pushes changelogs back into the default branch

sync

synchronizes published versions of packages from a registry, makes local package.json changes to match what is published

Options

Some of the most common options are summarized below. For details, see the pages for CLI options and config file options.

--config, -c

Explicit configuration file to use instead of the configuration automatically detected by cosmicconfig.

--registry, -r

registry, defaults to https://registry.npmjs.org

--tag, -t

  • for the publish command: dist-tag for npm publishes
  • for the sync command: will use specified tag to set the version

--branch, -b

target branch from origin (default: as configured in 'git config init.defaultBranch')

--message, -m

custom message for the checkin (default: applying package updates)

--no-push

skip pushing changes back to git remote origin

--no-publish

skip publishing to the npm registry

--help, -?, -h

show help message

--yes, -y

skips the prompts for publish

Examples

$ beachball

$ beachball check

$ beachball publish -r http://localhost:4873 -t beta

Notes

Overriding concurrency

In large monorepos, the Beachball sync process can be time-consuming due to the high number of packages. To optimize performance, you can override the default concurrency (typically 2 or 5) by setting the NPM_CONCURRENCY environment variable to a value that best suits your needs.

API surface

Beachball does not have a public API beyond the provided options. Usage of private APIs is not supported and may break at any time.

If you need to customize something beyond what's currently supported in the options, please open a feature request or talk with the maintainers.