Files
cfw-autumn/knip.json

94 lines
2.3 KiB
JSON

{
"$schema": "https://unpkg.com/knip@6/schema.json",
"exclude": [
"dependencies",
"unlisted",
"unresolved",
"binaries",
"catalog",
"exports",
"types",
"enumMembers",
"duplicates"
],
"ignoreWorkspaces": [
"packages/atmn",
"packages/autumn-js",
"packages/mcp",
"packages/openapi",
"packages/sdk"
],
"workspaces": {
".": {
"entry": ["apps/scope-picker/**/*", "trigger.config.ts"],
"project": ["apps/scope-picker/**/*"]
},
"server": {
"entry": [
"src/internal/customers/cusUtils/createNewCustomer.ts",
"src/utils/importUtils/addProductFromSubs.ts",
"src/utils/scriptUtils/readOnlyStripe.ts",
"src/utils/scriptUtils/scriptUtils.ts",
"src/utils/scriptUtils/getAll/getAllAutumnCustomers.ts",
"src/utils/scriptUtils/getAll/getAllOrgs.ts",
"src/internal/billing/v2/providers/stripe/utils/sync/**/*.ts",
"tests/**/*.ts"
],
"project": ["src/**/*.ts", "tests/**/*.ts"],
"ignoreDependencies": ["@react-email/components", "@axiomhq/pino"]
},
"shared": {
"project": ["**/*.ts", "!utils/**"],
"includeEntryExports": false
},
"vite": {
"entry": ["tests/**/*.{ts,tsx}"],
"project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}"],
"ignore": ["src/components/ai-elements/**", "src/hooks/useControllableState.ts", "src/types/**/*.d.ts"],
"ignoreDependencies": [
"tailwindcss",
"tailwind-scrollbar-hide",
"tailwindcss-animate",
"@squircle/tailwindcss"
]
},
"scripts": {
"entry": ["**/*.{ts,js}"],
"project": ["**/*.{ts,js}"]
},
"apps/docs": {
"entry": ["**/*"],
"project": ["**/*.{ts,js,jsx,css,mdx}"]
},
"apps/sdk-test": {
"entry": ["app/**/*.{ts,tsx}", "lib/**/*.{ts,tsx}", "*.ts"],
"project": ["**/*.{ts,tsx}"]
},
"apps/website": {
"entry": [
"app/**/*.{ts,tsx,mdx}",
"components/**/*.{ts,tsx}",
"content/**/*.mdx",
"*.mjs"
],
"project": ["**/*.{ts,tsx,mdx,mjs}"]
},
"apps/checkout": {
"project": ["src/**/*.{ts,tsx}"],
"ignoreDependencies": ["shadcn", "tailwindcss", "tw-animate-css"]
},
"apps/leaf": {
"entry": ["tests/**/*.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"]
},
"packages/ksuid": {
"project": ["src/**/*.ts"]
},
"packages/stripe-sync": {
"entry": ["scripts/**/*.ts"],
"project": ["src/**/*.ts", "scripts/**/*.ts"]
}
},
"ignoreBinaries": ["infisical", "lsof", "serve"]
}