Skip to content

Commit 88fbfb9

Browse files
fix: generate CHANGELOG.md files again (#854)
## PR Checklist - [x] Addresses an existing open issue: fixes #842 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Going off the docs in https://github.com/release-it/release-it/blob/e2e0c34cd392f7c87e41300b10c2d398582d32ce/docs/changelog.md#conventional-changelog. I think I'd started investigating accessibility compliance across changelog options and never got around to finishing it.
1 parent 788f058 commit 88fbfb9

8 files changed

+361
-9
lines changed

.release-it.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"release": true,
99
"releaseName": "v${version}"
1010
},
11-
"npm": {
12-
"publishArgs": ["--provenance"]
11+
"npm": { "publishArgs": ["--provenance"] },
12+
"plugins": {
13+
"@release-it/conventional-changelog": {
14+
"infile": "CHANGELOG.md",
15+
"preset": "angular"
16+
}
1317
}
1418
}

cspell.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"contributorsrc",
1616
"conventionalcommits",
1717
"execa",
18+
"infile",
1819
"joshuakgoldberg",
1920
"knip",
2021
"lcov",

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
},
6363
"devDependencies": {
6464
"@octokit/request-error": "^5.0.0",
65+
"@release-it/conventional-changelog": "^7.0.1",
6566
"@types/eslint": "^8.44.2",
6667
"@types/git-url-parse": "^9.0.1",
6768
"@types/js-yaml": "^4.0.5",

0 commit comments

Comments
 (0)