The Sunniest Semantic Version Bumper
Перейти к файлу
Ken Chau 02bf18fe1f applying package updates 2024-02-27 08:02:43 +00:00
.github Update documentation site and init command (#879) 2023-05-17 22:34:20 -07:00
.vscode Add tests for change command (#788) 2022-10-11 16:11:15 -07: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 Fix issues with docs (#923) 2023-10-17 22:16:36 -07:00
scripts Simplify some logic in bump and publish (#866) 2023-05-10 13:57:21 -07:00
src Support updating lockfiles for pnpm and yarn (#942) 2024-02-26 20:04:51 -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 2023-08-30 16:26:03 -07:00
.prettierrc.json5 Configure Renovate (#690) 2022-08-06 01:31:00 +00:00
CHANGELOG.json applying package updates 2024-02-27 08:02:43 +00:00
CHANGELOG.md applying package updates 2024-02-27 08:02:43 +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 Remove docs for nonexistent changelog command (#657) 2022-05-03 20:38:28 -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 Improve mock npm and support mock publishing (#897) 2023-07-17 18:24:34 -07:00
package.json applying package updates 2024-02-27 08:02:43 +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 Bump follow-redirects from 1.15.3 to 1.15.4 (#936) 2024-02-26 17:25:18 -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