Add 'knip' and 'jobs:worker' scripts to package.json. Wire knip into CI check job after tests. Remove redundant jobs-worker entry from knip.json (auto-detected).
23 lines
591 B
JSON
23 lines
591 B
JSON
{
|
|
"$schema": "https://unpkg.com/knip@6/schema.json",
|
|
"entry": [
|
|
"src/app/**/page.{ts,tsx}",
|
|
"src/app/**/layout.{ts,tsx}",
|
|
"src/app/**/route.{ts,tsx}",
|
|
"src/app/**/{error,not-found,loading,template,default,global-error}.{ts,tsx}",
|
|
"scripts/migrate-aes-cbc-to-gcm.ts"
|
|
],
|
|
"project": ["src/**/*.{ts,tsx}", "scripts/**/*.{ts,js}"],
|
|
"ignoreDependencies": [
|
|
"tailwindcss-animate",
|
|
"@tailwindcss/forms",
|
|
"@tailwindcss/typography",
|
|
"pino-pretty",
|
|
"tailwindcss",
|
|
"husky",
|
|
"@sentry/nextjs"
|
|
],
|
|
"ignore": ["src/actions/import-badges.ts"],
|
|
"ignoreBinaries": ["sendmail"]
|
|
}
|