Skip to content

Commit b661754

Browse files
deps: skuba 11.0.1 (#136)
* deps: skuba 11.0.1 * Run `skuba format` --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: skuba <>
1 parent 661ca34 commit b661754

File tree

3 files changed

+101
-41
lines changed

3 files changed

+101
-41
lines changed

.changeset/changelog.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ const boldScope = (firstLine) => firstLine.replace(/^([^:]+): /, '**$1:** ');
1919
*/
2020
const defaultChangelogFunctions = {
2121
getDependencyReleaseLine: async (changesets, dependenciesUpdated) => {
22-
if (dependenciesUpdated.length === 0) return '';
22+
if (dependenciesUpdated.length === 0) {
23+
return '';
24+
}
2325

2426
const changesetLinks = changesets.map(
2527
(changeset) => `- Updated dependencies [${changeset.commit}]`,
@@ -64,7 +66,9 @@ const gitHubChangelogFunctions = {
6466
'Please provide a repo to this changelog generator like this:\n"changelog": ["./changelog.js", { "repo": "org/repo" }]',
6567
);
6668
}
67-
if (dependenciesUpdated.length === 0) return '';
69+
if (dependenciesUpdated.length === 0) {
70+
return '';
71+
}
6872

6973
const changesetLink = `- Updated dependencies [${(
7074
await Promise.all(
@@ -103,7 +107,9 @@ const gitHubChangelogFunctions = {
103107
const replacedChangelog = changeset.summary
104108
.replace(/^\s*(?:pr|pull|pull\s+request):\s*#?(\d+)/im, (_, pr) => {
105109
const num = Number(pr);
106-
if (!isNaN(num)) prFromSummary = num;
110+
if (!isNaN(num)) {
111+
prFromSummary = num;
112+
}
107113
return '';
108114
})
109115
.replace(/^\s*commit:\s*([^\s]+)/im, (_, commit) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@types/node": "^22.13.14",
2121
"dotenv": "16.5.0",
2222
"esbuild": "~0.25.0",
23-
"skuba": "11.0.0"
23+
"skuba": "11.0.1"
2424
},
2525
"packageManager": "[email protected]",
2626
"engines": {

pnpm-lock.yaml

Lines changed: 91 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)