-
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
3068555
commit a1bf36f
Showing
10 changed files
with
351 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "minor", | ||
"comment": "Add option changelog.maxVersions", | ||
"packageName": "beachball", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ exports[`writeChangelog generates basic changelog: changelog md 1`] = ` | |
<!-- Start content --> | ||
## 1.0.0 | ||
## 1.1.0 | ||
(date) | ||
|
@@ -29,13 +29,13 @@ exports[`writeChangelog generates changelogs with dependent changes in monorepo: | |
<!-- Start content --> | ||
## 1.3.4 | ||
## 1.3.5 | ||
(date) | ||
### Patches | ||
- Bump baz to v1.3.4 | ||
- Bump baz to v1.4.0 | ||
" | ||
`; | ||
|
||
|
@@ -46,7 +46,7 @@ exports[`writeChangelog generates changelogs with dependent changes in monorepo: | |
<!-- Start content --> | ||
## 1.3.4 | ||
## 1.4.0 | ||
(date) | ||
|
@@ -63,14 +63,14 @@ exports[`writeChangelog generates changelogs with dependent changes in monorepo: | |
<!-- Start content --> | ||
## 1.0.0 | ||
## 1.1.0 | ||
(date) | ||
### Minor changes | ||
- foo comment ([email protected]) | ||
- Bump bar to v1.3.4 | ||
- Bump bar to v1.3.5 | ||
" | ||
`; | ||
|
||
|
@@ -81,7 +81,7 @@ exports[`writeChangelog generates grouped changelog in monorepo: grouped CHANGEL | |
<!-- Start content --> | ||
## 1.0.0 | ||
## 1.1.0 | ||
(date) | ||
|
@@ -94,3 +94,30 @@ exports[`writeChangelog generates grouped changelog in monorepo: grouped CHANGEL | |
- baz comment ([email protected]) | ||
" | ||
`; | ||
|
||
exports[`writeChangelog trims previous changelog entries over maxVersions: CHANGELOG.md 1`] = ` | ||
"# Change Log - foo | ||
<!-- This log was last generated on (date) and should not be manually modified. --> | ||
<!-- Start content --> | ||
## 1.3.0 | ||
(date) | ||
### Minor changes | ||
- foo comment 3 ([email protected]) | ||
## 1.2.0 | ||
(date) | ||
### Minor changes | ||
- foo comment 2 ([email protected]) | ||
**Changelog has been truncated. Refer to git history for older versions.** | ||
" | ||
`; |
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 |
---|---|---|
|
@@ -46,7 +46,7 @@ Thu, 22 Aug 2019 21:20:40 GMT | |
# Change Log - foo | ||
This log was last generated on Wed, 21 Aug 2019 21:20:40 GMT and should not be manually modified. | ||
<!-- This log was last generated on Wed, 21 Aug 2019 21:20:40 GMT and should not be manually modified. --> | ||
" | ||
`; | ||
|
||
|
@@ -73,7 +73,11 @@ Thu, 22 Aug 2019 21:20:40 GMT | |
## 1.2.0 | ||
(content here) | ||
(date) | ||
### Patch changes | ||
- content of 1.2.0 | ||
" | ||
`; | ||
|
||
|
@@ -100,7 +104,11 @@ Thu, 22 Aug 2019 21:20:40 GMT | |
## 1.2.0 | ||
(content here) | ||
(date) | ||
### Patch changes | ||
- content of 1.2.0 | ||
" | ||
`; | ||
|
||
|
@@ -127,7 +135,52 @@ Thu, 22 Aug 2019 21:20:40 GMT | |
## 1.2.0 | ||
(content here) | ||
(date) | ||
### Patch changes | ||
- content of 1.2.0 | ||
" | ||
`; | ||
|
||
exports[`renderChangelog trims previous versions if over maxVersions 1`] = ` | ||
"# Change Log - foo | ||
<!-- This log was last generated on Thu, 22 Aug 2019 21:20:40 GMT and should not be manually modified. --> | ||
<!-- Start content --> | ||
## 1.2.3 | ||
Thu, 22 Aug 2019 21:20:40 GMT | ||
### Minor changes | ||
- Awesome change ([email protected]) | ||
- Boring change ([email protected]) | ||
### Patches | ||
- Fix ([email protected]) | ||
- stuff ([email protected]) | ||
## 1.2.0 | ||
(date) | ||
### Patch changes | ||
- content of 1.2.0 | ||
## 1.1.9 | ||
(date) | ||
### Patch changes | ||
- content of 1.1.9 | ||
**Changelog has been truncated. Refer to git history for older versions.** | ||
" | ||
`; | ||
|
||
|
@@ -144,6 +197,10 @@ no notes for you | |
## 1.2.0 | ||
(content here) | ||
(date) | ||
### Patch changes | ||
- content of 1.2.0 | ||
" | ||
`; |
Oops, something went wrong.