Skip to content

Commit 985dd43

Browse files
committed
fix: update dependencies and fix test type annotations
- Update @stacksjs/clapp to 0.1.18 - Update @stacksjs/logsmith to 0.1.18 - Add explicit type annotations to test file parameters to fix TS7006 errors - All TypeScript errors in dependencies are now resolved
1 parent 5db5c56 commit 985dd43

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"bumpx": "./dist/bin/cli.js",
4444
},
4545
"dependencies": {
46-
"@stacksjs/clapp": "^0.1.16",
47-
"@stacksjs/logsmith": "^0.1.15",
46+
"@stacksjs/clapp": "^0.1.18",
47+
"@stacksjs/logsmith": "^0.1.18",
4848
"bunfig": "^0.14.1",
4949
},
5050
"devDependencies": {

packages/bumpx/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"test": "bun test"
6565
},
6666
"dependencies": {
67-
"@stacksjs/clapp": "^0.1.16",
68-
"@stacksjs/logsmith": "^0.1.15",
67+
"@stacksjs/clapp": "^0.1.18",
68+
"@stacksjs/logsmith": "^0.1.18",
6969
"bunfig": "^0.14.1"
7070
},
7171
"devDependencies": {

packages/bumpx/test/git-operations.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,11 @@ Initial release
479479

480480
// Find the actual tag call to check
481481
const tagCalls = mockSpawnSync.mock.calls.filter(
482-
call => call[0] && call[0].includes && call[0].includes('tag') && call[0].includes('-m'),
482+
(call: any) => call[0] && call[0].includes && call[0].includes('tag') && call[0].includes('-m'),
483483
)
484484

485485
// Check that the tag includes at least the version header from the changelog
486-
const matchingCall = tagCalls.some(call =>
486+
const matchingCall = tagCalls.some((call: any) =>
487487
call[0][0] === 'tag'
488488
&& call[0][1] === '-a'
489489
&& call[0][2] === 'v1.0.1'
@@ -510,11 +510,11 @@ Initial release
510510

511511
// Find the actual tag call to check
512512
const tagCalls = mockSpawnSync.mock.calls.filter(
513-
call => call[0] && call[0].includes && call[0].includes('tag'),
513+
(call: any) => call[0] && call[0].includes && call[0].includes('tag'),
514514
)
515515

516516
// We just check that a tag was created with the correct version
517-
const basicTagCall = tagCalls.some(call =>
517+
const basicTagCall = tagCalls.some((call: any) =>
518518
call[0][0] === 'tag'
519519
&& call[0].includes('v1.0.1'),
520520
)
@@ -550,11 +550,11 @@ Initial release
550550

551551
// Find the actual tag call to check
552552
const tagCalls = mockSpawnSync.mock.calls.filter(
553-
call => call[0] && call[0].includes && call[0].includes('tag') && call[0].includes('-m'),
553+
(call: any) => call[0] && call[0].includes && call[0].includes('tag') && call[0].includes('-m'),
554554
)
555555

556556
// We expect the implementation to extract content from the changelog
557-
const matchingCall = tagCalls.some(call =>
557+
const matchingCall = tagCalls.some((call: any) =>
558558
call[0][0] === 'tag'
559559
&& call[0][1] === '-a'
560560
&& call[0][2] === 'v1.0.1'
@@ -591,11 +591,11 @@ Initial release
591591

592592
// Find the actual tag call to check
593593
const tagCalls = mockSpawnSync.mock.calls.filter(
594-
call => call[0] && call[0].includes && call[0].includes('tag') && call[0].includes('-m'),
594+
(call: any) => call[0] && call[0].includes && call[0].includes('tag') && call[0].includes('-m'),
595595
)
596596

597597
// Check that one of the calls includes the changelog content
598-
const matchingCall = tagCalls.some(call =>
598+
const matchingCall = tagCalls.some((call: any) =>
599599
call[0][0] === 'tag'
600600
&& call[0][1] === '-a'
601601
&& call[0][2] === 'v1.0.1'

0 commit comments

Comments
 (0)