Skip to content

Commit 747c189

Browse files
authored
fix: update runKnip (#30)
* fix: update `runKnip` * add tests * update knip * add changeset
1 parent df7cae5 commit 747c189

7 files changed

Lines changed: 265 additions & 144 deletions

File tree

.changeset/large-actors-remain.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@bomb.sh/tools": patch
3+
---
4+
5+
- Fixes `runKnip` to correctly handle reported violations
6+
- Updates `knip` dependency to `6.9.0`

knip.jsonc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "./node_modules/knip/schema-jsonc.json",
3+
"entry": [
4+
"src/index.ts",
5+
"src/test-utils/*.ts"
6+
],
7+
"ignoreDependencies": [
8+
"@tanstack/intent"
9+
]
10+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@humanfs/node": "^0.16.7",
6565
"@humanfs/types": "^0.15.0",
6666
"@typescript/native-preview": "7.0.0-dev.20260427.1",
67-
"knip": "^6.7.0",
67+
"knip": "^6.9.0",
6868
"oxfmt": "^0.47.0",
6969
"oxlint": "^1.62.0",
7070
"publint": "^0.3.18",

0 commit comments

Comments
 (0)