Skip to content

Commit

Permalink
chore: remove the method the function that is no longer in use
Browse files Browse the repository at this point in the history
  • Loading branch information
rainx committed Oct 8, 2023
1 parent 13bf668 commit 931df1b
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 4 deletions.
68 changes: 68 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>RightCapitalHQ/renovate-config"],
"assignees": ["rainx"],
"reviewers": ["rainx"],
"labels": ["dependencies"],
"automergeType": "pr",
"platformAutomerge": true,
"prCreation": "immediate",
"postUpgradeTasks": {
"commands": [
"git add --all",
"npx beachball change --no-fetch --no-commit --type patch --message '{{{commitMessage}}}'",
"git reset"
],
"executionMode": "branch",
"fileFilters": ["change/*.json"]
},
"lockFileMaintenance": {
"automerge": true,
"enabled": true,
"postUpgradeTasks": {
"commands": [
"git add --all",
"npx beachball change --no-fetch --no-commit --type none --message '{{{commitMessage}}}'",
"git reset"
],
"executionMode": "branch",
"fileFilters": ["change/*.json"]
}
},
"packageRules": [
{
"automerge": false,
"description": "Mark rule and plugin updates as breaking changes",
"matchDepTypes": ["dependencies"],
"matchPackagePrefixes": [
"@typescript-eslint/",
"eslint-config-",
"eslint-plugin-"
]
},
{
"automerge": false,
"description": "Group all RightCapital packages (non-major) together",
"groupName": "RightCapital packages (non-major)",
"groupSlug": "auto-merge-rightcapital-packages-non-major-updates",
"matchUpdateTypes": ["minor", "patch"],
"matchPackagePrefixes": ["@rightcapital"]
},
{
"automerge": false,
"description": "Group all DevDependencies together",
"groupName": "DevDependencies",
"groupSlug": "auto-merge-dev-dependencies-updates",
"matchDepTypes": ["devDependencies"],
"postUpgradeTasks": {
"commands": [
"git add --all",
"npx beachball change --no-fetch --no-commit --type none --message '{{{commitMessage}}}'",
"git reset"
],
"fileFilters": ["change/*.json"],
"executionMode": "branch"
}
}
]
}
4 changes: 0 additions & 4 deletions src/helpers/image-source-url.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,4 @@ export class ImageSourceUrlHelpers {
`Unsupported source image provider URL: ${sourceUrl}`,
);
}

private static arrayBufferToBuffer(arrayBufferData: ArrayBuffer): Buffer {
return Buffer.from(arrayBufferData);
}
}

0 comments on commit 931df1b

Please sign in to comment.