-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75bb256
commit ad8c76d
Showing
3 changed files
with
54 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,12 +28,12 @@ For cases where it's necessary to bump packages together, `beachball` also provi | |
|
||
Groups can be added to the [configuration file](../overview/configuration). See the [`VersionGroupOptions` source](https://github.com/microsoft/beachball/blob/master/src/types/ChangelogOptions.ts) for full details. | ||
|
||
| Name | Type | Description | | ||
| ----------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `name` | `string` | Name of the version group | | ||
| `include` | `string \| string[] \| true` | minimatch pattern(s) for package paths to include in this group. Patterns are relative to the repo root and must use forward slashes. If `true`, include all packages except those matching `exclude`. | | ||
| `exclude` | `string \| string[]` | minimatch pattern(s) for package paths to include in this group. Patterns are relative to the repo root and must use forward slashes. Currently this must use **negated patterns only** (will be fixed in the next major version). | | ||
| `disallowedChangeTypes` | `ChangeType[] \| null` | Disallow these change types for the group. | | ||
| Name | Type | Description | | ||
| ----------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `name` | `string` | Name of the version group | | ||
| `include` | `string \| string[] \| true` | glob pattern(s) for package paths to include (see [notes on globs][1]). If `true`, include all packages except those matching `exclude`. | | ||
| `exclude` | `string \| string[]` | glob pattern(s) for package paths to exclude (see [notes on globs][1]). | | ||
| `disallowedChangeTypes` | `ChangeType[] \| null` | Disallow these change types for the group. | | ||
|
||
Example: | ||
|
||
|
@@ -58,12 +58,12 @@ If you only want to publish or record changes for certain packages, you should u | |
|
||
To show changes for multiple packages in one change file, use the `changelog.groups` option. See the [`ChangelogGroupOptions` source](https://github.com/microsoft/beachball/blob/master/src/types/ChangelogOptions.ts) for full details. | ||
|
||
| Name | Type | Description | | ||
| ------------------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| `masterPackageName` | `string` | The main package which a group of changes bubbles up to. | | ||
| `include` | `string \| string[] \| true` | minimatch pattern(s) for package paths to include in this group. Patterns are relative to the repo root and must use forward slashes. If `true`, include all packages except those matching `exclude`. | | ||
| `exclude` | `string \| string[]` | minimatch pattern(s) for package paths to exclude from this group. Patterns are relative to the repo root and must use forward slashes. Currently this must use **negated patterns only** (will be fixed in the next major version). | | ||
| `changelogPath` | `string` | Put the grouped changelog file under this directory. Can be relative to the root, or absolute. | | ||
| Name | Type | Description | | ||
| ------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `masterPackageName` | `string` | The main package which a group of changes bubbles up to. | | ||
| `include` | `string \| string[] \| true` | glob pattern(s) for package paths to include (see [notes on globs][1]). If `true`, include all packages except those matching `exclude`. | | ||
| `exclude` | `string \| string[]` | glob pattern(s) for package paths to exclude (see [notes on globs][1]). | | ||
| `changelogPath` | `string` | Put the grouped changelog file under this directory. Can be relative to the root, or absolute. | | ||
|
||
In this example, changelogs for all packages under `packages/*` (except `packages/baz`) are written to a `CHANGELOG.md` at the repo root (`.`), with `foo` as the master package. (To replace `foo`'s usual changelog with a grouped one, you'd specify `changelogPath` as the path to `foo` instead, e.g. `packages/foo`.) | ||
|
||
|
@@ -99,3 +99,5 @@ Tue, 19 Nov 2024 08:03:08 GMT | |
- `bar` | ||
- bar change ([email protected]) | ||
``` | ||
|
||
[1]: ../overview/configuration#glob-matching |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters