Skip to content
Open
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
51 changes: 51 additions & 0 deletions knip.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"$schema": "https://unpkg.com/knip@6.16.1/schema.json",
"entry": [
"index.ts",
"lib/index.ts",
"lib/auth/index.ts",
"lib/request/index.ts",
"lib/codex-cli/index.ts",
"lib/ui/index.ts",
"scripts/*.{js,mjs}",
"test/**/*.test.ts",
"test/helpers/**/*.ts"
],
"project": [
"lib/**/*.ts",
"scripts/**/*.{js,mjs}",
"index.ts",
"test/**/*.ts"
],
"ignore": [
"bench/**",
"vendor/**",
"dist/**",
"docs/**"
],
"ignoreBinaries": [
"powershell.exe",
"pbcopy",
"where"
],
"ignoreDependencies": [
// Editor-only LSP tooling; never imported.
"typescript-language-server",
// The official Codex CLI this package wraps: resolved from the HOST
// install at runtime (scripts/codex-bin-resolver.js), deliberately not
// a package.json dependency.
"@openai/codex"
],
Comment thread
coderabbitai[bot] marked this conversation as resolved.
// Export/type-level findings are warn-only on purpose: the blocking signal
// is unused FILES and DEPENDENCIES. The export backlog was cleared
// incrementally (PRs #556/#557, down to two documented keepers); escalate a
// rule to "error" once its warning count is intentionally pinned at zero.
"rules": {
"exports": "warn",
"types": "warn",
"nsExports": "warn",
"nsTypes": "warn",
"duplicates": "warn",
"enumMembers": "warn"
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
24 changes: 0 additions & 24 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@
"node": ">=18.17.0"
},
"devDependencies": {
"@fast-check/vitest": "^0.2.4",
"@types/node": "^20.19.42",
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/parser": "^8.56.0",
Expand Down