Files
github-stats-extended/knip.jsonc
T
Martin 6e109e50d1 restructure tests, add tests, remove dotenv (#83)
- add a few tests
- re-organize tests to allow testing with different env vars and
creating a combined coverage report
- extract test data into separate files, because importing data from
testA in testB leads to weird jest errors
- remove `dotenv` because it's not being used
- "GitHub Trends" -> "GitHub Stats Extended"
2026-02-20 19:38:16 +01:00

40 lines
1.0 KiB
JSON

{
"$schema": "./node_modules/knip/schema.json",
"workspaces": {
"apps/backend": {
"jest": {
"config": [
"jest.config.js",
"jest.*.config.js",
"package.json" // included by default, see https://knip.dev/reference/plugins/jest
]
},
"entry": [
"api-renamed/*.js",
"express.js",
"jest.*.js",
"tests/bench/*.bench.js"
],
"ignoreFiles": [
"_dot_vercel_copy/**/*" // Hopefully by using a npm package this file will be removed
],
"ignoreDependencies": [
"jest" // used by test scripts referencing binary due to lack of ESM support
]
},
"apps/frontend": {
"entry": ["src/index.tsx", "src/wakatime-override.ts"],
"ignoreDependencies": [
// below dependencies are added because backend folder is copied inside frontend folder,
// so some of his dependencies must be present here
"github-username-regex",
"emoji-name-map",
"word-wrap"
]
}
}
}