Skip to content

Commit 860bc08

Browse files
committed
chore: remove maintainer credit
1 parent aba5589 commit 860bc08

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "mizdra/css-modules-kit" }],
3+
"changelog": ["./custom-changelog-github.mts", { "repo": "mizdra/css-modules-kit" }],
44
"commit": false,
55
"fixed": [],
66
"linked": [],
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import github from '@changesets/changelog-github';
2+
import type { ChangelogFunctions } from '@changesets/types';
3+
4+
const defaultChangelogFunctions: ChangelogFunctions = {
5+
getReleaseLine: async (...args) => {
6+
const originalResult = await github.getReleaseLine(...args);
7+
// Remove maintainer credit
8+
return originalResult.replaceAll('Thanks [@mizdra](https://github.com/mizdra)! ', '');
9+
},
10+
getDependencyReleaseLine: github.getDependencyReleaseLine,
11+
};
12+
13+
export default defaultChangelogFunctions;

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": "./tsconfig.base.json",
3+
"include": ["**/*", ".changeset/custom-changelog-github.mts"],
34
"exclude": ["node_modules", "**/dist", "examples"],
45
"compilerOptions": {
56
"target": "ES2022",

0 commit comments

Comments
 (0)