Skip to content

Commit 2e8d794

Browse files
committed
ci: register the apps/rental workspace with knip
apps/rental is a workspace but was never added to knip.json, so knip scanned none of its source and flagged every declared dependency as unused, failing the knip:deps gate. Add its entry points (adonisrc, bin, start, config, database, app, commands, inertia, tests) so knip sees the imports and gates the app like the other workspaces.
1 parent 052dbaa commit 2e8d794

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

knip.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,22 @@
6767
"project": ["**/*.ts"],
6868
"ignoreDependencies": ["pg"]
6969
},
70+
"apps/rental": {
71+
"entry": [
72+
"adonisrc.ts",
73+
"bin/**/*.ts",
74+
"start/**/*.ts",
75+
"config/**/*.ts",
76+
"database/**/*.ts",
77+
"app/**/*.ts",
78+
"commands/**/*.ts",
79+
"inertia/app/**/*.{ts,tsx}",
80+
"inertia/pages/**/*.tsx",
81+
"tests/**/*.ts"
82+
],
83+
"project": ["**/*.{ts,tsx}"],
84+
"ignoreDependencies": ["pg"]
85+
},
7086
"benchmarks": {
7187
"entry": [
7288
"src/*/index.ts",

0 commit comments

Comments
 (0)