Skip to content

Commit 31e2532

Browse files
renovate[bot]favna
andauthored
fix(deps): update all non-major dependencies (#251)
* fix(deps): update all non-major dependencies * chore: gotta make you understand --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jeroen Claassens <support@favware.tech>
1 parent 33182ae commit 31e2532

7 files changed

Lines changed: 438 additions & 411 deletions

File tree

Lines changed: 273 additions & 279 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ plugins:
1010
- path: .yarn/plugins/@yarnpkg/plugin-git-hooks.cjs
1111
spec: 'https://raw.githubusercontent.com/trufflehq/yarn-plugin-git-hooks/main/bundles/%40yarnpkg/plugin-git-hooks.js'
1212

13-
yarnPath: .yarn/releases/yarn-4.9.1.cjs
13+
yarnPath: .yarn/releases/yarn-4.9.2.cjs

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"@sapphire/utilities": "3.18.2",
4343
"colorette": "^2.0.20",
4444
"commander": "^14.0.0",
45-
"conventional-recommended-bump": "^11.0.0",
46-
"execa": "^9.5.3",
47-
"git-cliff": "^2.8.0",
45+
"conventional-recommended-bump": "^11.2.0",
46+
"execa": "^9.6.0",
47+
"git-cliff": "^2.9.1",
4848
"js-yaml": "^4.1.0",
4949
"semver": "^7.7.2",
5050
"smol-toml": "^1.3.4"
@@ -56,18 +56,18 @@
5656
"@sapphire/prettier-config": "^2.0.0",
5757
"@sapphire/ts-config": "^5.0.1",
5858
"@types/js-yaml": "^4.0.9",
59-
"@types/node": "^22.15.18",
59+
"@types/node": "^22.15.31",
6060
"@types/semver": "^7.7.0",
61-
"@typescript-eslint/eslint-plugin": "^7.13.1",
62-
"@typescript-eslint/parser": "^7.13.1",
61+
"@typescript-eslint/eslint-plugin": "^7.18.0",
62+
"@typescript-eslint/parser": "^7.18.0",
6363
"cz-conventional-changelog": "^3.3.0",
6464
"eslint": "^8.57.1",
6565
"eslint-config-prettier": "^10.1.5",
66-
"eslint-plugin-prettier": "^5.4.0",
67-
"lint-staged": "^16.0.0",
66+
"eslint-plugin-prettier": "^5.4.1",
67+
"lint-staged": "^16.1.0",
6868
"prettier": "^3.5.3",
6969
"rimraf": "^6.0.1",
70-
"typescript": "~5.4.5"
70+
"typescript": "~5.8.3"
7171
},
7272
"engines": {
7373
"node": ">=v18"
@@ -113,5 +113,5 @@
113113
"eslintConfig": {
114114
"extends": "@sapphire"
115115
},
116-
"packageManager": "yarn@4.9.1"
116+
"packageManager": "yarn@4.9.2"
117117
}

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ if (isNullishOrEmpty(bumperRecommendation.reason) || isNullishOrEmpty(bumperReco
230230

231231
const infoIcon = blue('ℹ️');
232232
const releaseType = yellow(`${getReleaseType(options, bumperRecommendation)}`);
233-
console.info(cyan(`${infoIcon} Bumping the ${releaseType} version of ${blueBright(fullPackageName)}: ${yellow(bumperRecommendation.reason!)}`));
233+
console.info(cyan(`${infoIcon} Bumping the ${releaseType} version of ${blueBright(fullPackageName)}: ${yellow(bumperRecommendation.reason)}`));
234234

235235
let newVersion: string | undefined;
236236

src/commands/get-conventional-bump.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { getFullPackageName, getSHA1HashesRegexp } from '#lib/utils';
22
import type { Options } from 'commander';
3-
import { Bumper, packagePrefix } from 'conventional-recommended-bump';
3+
import { Bumper, packagePrefix, type BumperRecommendation } from 'conventional-recommended-bump';
44

5-
export async function getConventionalBump(options: Options) {
5+
export async function getConventionalBump(options: Options): Promise<BumperRecommendation> {
66
const bumper = new Bumper().commits(
77
{
88
path: process.cwd(),
@@ -48,5 +48,5 @@ export async function getConventionalBump(options: Options) {
4848
? `There is ${breakings} BREAKING CHANGE and ${features} features`
4949
: `There are ${breakings} BREAKING CHANGES and ${features} features`
5050
});
51-
});
51+
}) as Promise<BumperRecommendation>;
5252
}

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function resolveGitHubReleaseNameTemplate(options: Options, newVersion: s
142142

143143
/** Resolves the release-as prefix */
144144
export function getReleaseType(options: Options, bumperRecommendation: BumperRecommendation): ReleaseType {
145-
return ((Boolean(options.preid) ? 'pre' : '') + bumperRecommendation.releaseType) as ReleaseType;
145+
return ((options.preid ? 'pre' : '') + bumperRecommendation.releaseType) as ReleaseType;
146146
}
147147

148148
/**

0 commit comments

Comments
 (0)