The Sunniest Semantic Version Bumper
Перейти к файлу
Ken Chau 6b233fb4a9 applying package updates 2023-02-10 08:02:57 +00:00
.github Fix github token perms for release 2023-01-12 13:45:26 -08:00
.vscode Add tests for change command (#788) 2022-10-11 16:11:15 -07:00
bin
docs Reduce file reads and add verbose logs for determining changed packages (#693) 2022-08-10 14:29:46 -07:00
src New timeout flag for git push (#822) 2023-02-07 14:14:05 -08:00
.gitignore
.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-02-10 08:02:57 +00:00
CHANGELOG.md applying package updates 2023-02-08 08:03:19 +00:00
CONTRIBUTING.md
LICENSE
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 Separate functional tests from E2E tests (#762) 2022-08-22 10:56:45 -07:00
jest.config.js Add github actions jest reporter and use jest projects (#765) 2022-08-25 15:02:11 -07:00
package.json Update devDependency prettier to v2.8.4 (#825) 2023-02-09 20:56:07 -08:00
renovate.json5 Renovate: use custom beachball commands 2022-11-18 13:51:23 -08:00
tsconfig.json Switch from @types/jest to @jest/globals (#767) 2022-09-09 16:38:35 -07:00
yarn.lock Update devDependency prettier to v2.8.4 (#825) 2023-02-09 20:56:07 -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