Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions knip.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"treatConfigHintsAsErrors": true,

"ignoreBinaries": ["mint", "open"],
"ignoreDependencies": [
"@tanstack/react-router-ssr-query",
"@tanstack/router-plugin",
"@testing-library/dom",
"@testing-library/react",
"jsdom",
"postgres",
"web-vitals"
],
Comment on lines +5 to +14
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignoreDependencies is configured at the top level, but the ignored packages appear to be workspace-specific (most are only in packages/dashboard/package.json, while postgres is also used elsewhere). If Knip is intended to enforce unused deps across the monorepo, consider scoping these ignores to the relevant workspace/package so they don’t mask unused-dependency findings in other workspaces that might add the same deps later.

Copilot uses AI. Check for mistakes.
"ignoreExportsUsedInFile": {
"interface": true,
"type": true
},
"tags": ["-lintignore"],
"workspaces": {
".": {}
"ignoreFiles": [
"**/openworkflow.config.*",
"openworkflow/**/*.ts",
"packages/dashboard/src/components/ui/*.tsx",
"packages/docs/style.css"
],
"ignoreIssues": {
"packages/dashboard/src/components/ui/*.tsx": ["exports"],
"packages/openworkflow/workflow.ts": ["duplicates"]
Comment on lines +19 to +27
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages/dashboard/src/components/ui/*.tsx is listed in both ignoreFiles and ignoreIssues. If those files are ignored entirely, the ignoreIssues entry for them won’t have any effect and may hide whether the files are actually in-scope for dependency/entry analysis. Consider keeping only one of these (e.g., drop ignoreFiles if you only meant to suppress exports, or drop the ignoreIssues entry if you truly want to exclude these files).

Copilot uses AI. Check for mistakes.
}
}
50 changes: 44 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"scripts": {
"build": "turbo build",
"ci": "npm run format && npm run build && npm run lint && npm run lint:duplication && npm run typecheck && npm run test:coverage",
"ci": "npm run format && npm run build && npm run lint && npm run lint:duplication && npm run knip && npm run typecheck && npm run test:coverage",
"ci:bun": "bun run build && bun run test:bun",
"db:migrate": "tsx ./packages/openworkflow/postgres/scripts/db-migrate.ts",
"db:reset": "tsx ./packages/openworkflow/postgres/scripts/db-reset.ts",
Expand Down
34 changes: 0 additions & 34 deletions packages/dashboard/src/components/stats-card.tsx

This file was deleted.

Loading