Skip to content

Commit e9d10d8

Browse files
committed
chore: release v0.5.11
1 parent c705cd2 commit e9d10d8

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Changelog
22

33

4+
## v0.5.10...main
5+
6+
[compare changes](https://github.com/stacksjs/buddy-bot/compare/v0.5.10...main)
7+
8+
### 🏡 Chore
9+
10+
- Minor adjustments ([c705cd2](https://github.com/stacksjs/buddy-bot/commit/c705cd2))
11+
12+
### ❤️ Contributors
13+
14+
- Chris ([@chrisbbreuer](https://github.com/chrisbbreuer))
15+
416
## v0.5.9...v0.5.9
517

618
[compare changes](https://github.com/stacksjs/buddy-bot/compare/v0.5.9...v0.5.9)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "buddy-bot",
33
"type": "module",
4-
"version": "0.5.10",
4+
"version": "0.5.11",
55
"description": "The Stacks CLI.",
66
"author": "Chris Breuer <[email protected]>",
77
"license": "MIT",

src/pr/pr-generator.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ export class PullRequestGenerator {
145145
body += `## 📦 npm Dependencies\n\n`
146146
if (packageJsonUpdates.length === 1) {
147147
body += `*${packageJsonUpdates.length} package will be updated*\n\n`
148-
} else if (packageJsonUpdates.length > 1) {
148+
}
149+
else if (packageJsonUpdates.length > 1) {
149150
body += `*${packageJsonUpdates.length} packages will be updated*\n\n`
150151
}
151152
body += `| Package | Change | Age | Adoption | Passing | Confidence |\n`
@@ -227,7 +228,8 @@ export class PullRequestGenerator {
227228
body += `## 🎼 PHP/Composer Dependencies\n\n`
228229
if (uniqueComposerUpdates.length === 1) {
229230
body += `*${uniqueComposerUpdates.length} package will be updated*\n\n`
230-
} else if (uniqueComposerUpdates.length > 1) {
231+
}
232+
else if (uniqueComposerUpdates.length > 1) {
231233
body += `*${uniqueComposerUpdates.length} packages will be updated*\n\n`
232234
}
233235
body += `| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |\n`
@@ -280,7 +282,8 @@ export class PullRequestGenerator {
280282
const uniqueFiles = [...new Set(dependencyFileUpdates.map(u => u.file))]
281283
if (dependencyFileUpdates.length === 1) {
282284
body += `*${dependencyFileUpdates.length} package will be updated in \`${uniqueFiles[0].split('/').pop()}\`*\n\n`
283-
} else if (dependencyFileUpdates.length > 1) {
285+
}
286+
else if (dependencyFileUpdates.length > 1) {
284287
body += `*${dependencyFileUpdates.length} packages will be updated across ${uniqueFiles.length} file(s): ${uniqueFiles.map(f => `\`${f.split('/').pop()}\``).join(', ')}*\n\n`
285288
}
286289

@@ -327,7 +330,8 @@ export class PullRequestGenerator {
327330

328331
if (uniqueGithubActionsUpdates.length === 1) {
329332
body += `*${uniqueGithubActionsUpdates.length} action will be updated*\n\n`
330-
} else if (uniqueGithubActionsUpdates.length > 1) {
333+
}
334+
else if (uniqueGithubActionsUpdates.length > 1) {
331335
body += `*${uniqueGithubActionsUpdates.length} actions will be updated*\n\n`
332336
}
333337

src/services/release-notes-fetcher.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ export class ReleaseNotesFetcher {
9191
console.error(`❌ Failed to fetch package info for ${packageName}:`, error)
9292
// Return minimal info that will still generate useful content
9393
return {
94-
packageInfo: {
94+
packageInfo: {
9595
name: packageName,
9696
description: `Package ${packageName} - see npm for details`,
97-
repository: { type: 'git', url: `https://github.com/search?q=${encodeURIComponent(packageName)}&type=repositories` }
97+
repository: { type: 'git', url: `https://github.com/search?q=${encodeURIComponent(packageName)}&type=repositories` },
9898
},
9999
releaseNotes: [],
100100
changelog: [],
@@ -149,10 +149,10 @@ export class ReleaseNotesFetcher {
149149
}
150150
catch (error) {
151151
console.warn(`⚠️ Failed to fetch npm info for ${packageName}:`, error)
152-
return {
152+
return {
153153
name: packageName,
154154
description: `NPM package ${packageName}`,
155-
homepage: `https://www.npmjs.com/package/${encodeURIComponent(packageName)}`
155+
homepage: `https://www.npmjs.com/package/${encodeURIComponent(packageName)}`,
156156
}
157157
}
158158
}

0 commit comments

Comments
 (0)