The Sunniest Semantic Version Bumper
Перейти к файлу
Elizabeth Craig bf0cf61ec5
Update documentation site and init command (#879)
2023-05-17 22:34:20 -07: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
change Update documentation site and init command (#879) 2023-05-17 22:34:20 -07:00
docs Update documentation site and init command (#879) 2023-05-17 22:34:20 -07:00
scripts Simplify some logic in bump and publish (#866) 2023-05-10 13:57:21 -07:00
src Update documentation site and init command (#879) 2023-05-17 22:34:20 -07: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 devDependency prettier to v2.7.1 (#710) 2022-08-08 21:40:42 +00:00
.prettierrc.json5 Configure Renovate (#690) 2022-08-06 01:31:00 +00:00
CHANGELOG.json applying package updates 2023-05-17 08:04:02 +00:00
CHANGELOG.md applying package updates 2023-05-17 08:04:02 +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 Assorted small fixes and cleanup (#865) 2023-05-10 13:12:31 -07:00
jest.config.js Assorted small fixes and cleanup (#865) 2023-05-10 13:12:31 -07:00
package.json applying package updates 2023-05-17 08:04:02 +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 dependency workspace-tools to v0.34.6 (#861) 2023-05-16 23:33:44 -07: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