mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
## Summary - Refactor for readability + add tests - Allow small agent-branch PRs to reach Tier 2 (< 50 prod lines, ≤ 3 files) - Add cross-layer detection to keep multi-package changes at Tier 3+ - Raise Tier 2 ceiling from 100 → 150 production lines - Exclude test and changeset files from line counts used for tier decisions - Extract pure classification logic into .github/scripts/ for testability - Gate classify job on tests passing in pr-triage.yml - Only CI changes to main.yaml and release.yaml are tier 4 - Test changes in critical paths don't count toward tiering decisions
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://unpkg.com/knip@6/schema.json",
|
|
"workspaces": {
|
|
"packages/app": {
|
|
"entry": ["pages/**/*.{ts,tsx}", "scripts/*.js", "tests/e2e/**/*.ts"],
|
|
"project": ["src/**/*.{ts,tsx}", "pages/**/*.{ts,tsx}"],
|
|
"ignore": [".storybook/public/**"],
|
|
"ignoreDependencies": [
|
|
"eslint-config-next",
|
|
"@chromatic-com/storybook",
|
|
"@storybook/addon-themes"
|
|
]
|
|
},
|
|
"packages/api": {
|
|
"entry": [
|
|
"src/index.ts",
|
|
"src/tasks/index.ts",
|
|
"scripts/*.ts",
|
|
"src/fixtures.ts"
|
|
],
|
|
"project": ["src/**/*.ts"],
|
|
"ignoreDependencies": ["pino-pretty", "aws4"],
|
|
"ignore": ["src/opamp/**", "src/utils/logParser.ts"]
|
|
},
|
|
"packages/common-utils": {
|
|
"entry": ["src/**/*.ts", "!src/__tests__/**", "!src/**/*.test.*"],
|
|
"project": ["src/**/*.ts"]
|
|
}
|
|
},
|
|
"ignore": ["scripts/dev-portal/**", ".github/scripts/**"],
|
|
"ignoreBinaries": ["make", "migrate", "playwright"],
|
|
"ignoreDependencies": [
|
|
"@dotenvx/dotenvx",
|
|
"concurrently",
|
|
"dotenv",
|
|
"babel-plugin-react-compiler"
|
|
],
|
|
"exclude": ["enumMembers", "duplicates"]
|
|
}
|