Commit 85bc612
committed
chore(ci): add dependency checks and reorganize tangled dependencies
This adds a dep check using `knip`. We use `depcheck` in Compass but this is deprecated and knip is recommend instead. This adds a basic configuration and then uses it to untangle some of our dependencies. This includes:
- Moving dependencies into dev dependencies, most notably `mongodb`! which we actually only use for types in the code itself at the moment.
- Moving certain types, consts into helper utils as they are only relevant there.
This seems like a useful feature and allows us to avoid mixing up our scripting or testing code with production.1 parent 430f427 commit 85bc612
File tree
20 files changed
+758
-298
lines changed- src/common
- tests
- accuracy/sdk
- integration
- common
- unit
- common
- resources/common
- utils
20 files changed
+758
-298
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments