Skip to content

Commit 7c26b20

Browse files
committed
fix changesets
1 parent 3396d37 commit 7c26b20

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
const { default: baseFunctions } = require("@changesets/changelog-github")
1+
import baseFunctions from "@changesets/changelog-github"
22

33
/*
44
* This is just a small wrapper around the base changelog-github formatter that
55
* removes "Thanks @Beeequeue!" as it would be on every changelog entry
66
*/
7-
exports.default = {
7+
export default {
88
getDependencyReleaseLine: baseFunctions.getDependencyReleaseLine,
99
getReleaseLine: async (...options) => {
1010
const line = await baseFunctions.getReleaseLine(...options)
1111

12-
return line.replace(/Thanks \[@BeeeQueue.*?!/g, "")
12+
return line.replace(/Thanks \[@beeequeue.*?!/gi, "")
1313
},
1414
}

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"access": "public",
44
"baseBranch": "main",
55
"changelog": [
6-
"./changelog-formatter.cjs",
6+
"./.changeset/changelog-formatter.js",
77
{
88
"repo": "BeeeQueue/remsg"
99
}

0 commit comments

Comments
 (0)