Skip to content

Commit

Permalink
knip is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Jan 22, 2025
1 parent b8b8930 commit 460a4ad
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
10 changes: 10 additions & 0 deletions knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,22 @@ const config: KnipConfig = {
'.': {
entry: ['src/index.ts'],
ignore: ['xy.config.ts'],
ignoreDependencies: [
'eslint',
'@typescript-eslint/eslint-plugin',
'eslint-import-resolver-typescript',
'reflect-metadata',
'@xylabs/tsconfig-dom',
'@typescript-eslint/parser',
'@xylabs/config',
],
},
'packages/buffer': {
ignoreDependencies: ['buffer'],
ignore: ['xy.config.ts'],
entry: ['src/index.ts', 'src/node/index.ts', 'src/browser/index.ts'],
},
'packages/log': { ignoreDependencies: ['rollbar'], ignore: ['xy.config.ts'] },
'packages/*': {
entry: ['src/index.ts', 'src/node/index.ts', 'src/browser/index.ts', 'src/neutral/index.ts'],
ignore: ['xy.config.ts'],
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,15 @@
"@xylabs/config": "^4.2.6",
"@xylabs/eslint-config-flat": "^4.2.6",
"@xylabs/ts-scripts-yarn3": "^4.2.6",
"@xylabs/tsconfig": "^4.2.6",
"@xylabs/tsconfig-dom": "^4.2.6",
"dotenv": "^16.4.7",
"eslint": "^9.18.0",
"eslint-import-resolver-typescript": "^3.7.0",
"jsdom": "^26.0.0",
"knip": "^5.42.2",
"reflect-metadata": "^0.2.2",
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vitest": "^3.0.3"
},
"packageManager": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig-eslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"exclude": [".yarn", "./node_modules", "./**/node_modules", "./dist", "./**/dist", "./**/docs"],
"extends": "@xylabs/tsconfig"
"extends": "./tsconfig.json"
}
5 changes: 1 addition & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4947,7 +4947,6 @@ __metadata:
"@xylabs/static-implements": "workspace:^"
"@xylabs/timer": "workspace:^"
"@xylabs/ts-scripts-yarn3": "npm:^4.2.6"
"@xylabs/tsconfig": "npm:^4.2.6"
"@xylabs/tsconfig-dom": "npm:^4.2.6"
"@xylabs/url": "workspace:^"
dotenv: "npm:^16.4.7"
Expand All @@ -4956,10 +4955,8 @@ __metadata:
jsdom: "npm:^26.0.0"
knip: "npm:^5.42.2"
reflect-metadata: "npm:^0.2.2"
ts-node: "npm:^10.9.2"
typedoc: "npm:^0.27.6"
typescript: "npm:^5.7.3"
vite: "npm:^6.0.11"
vitest: "npm:^3.0.3"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -16417,7 +16414,7 @@ __metadata:
languageName: node
linkType: hard

"vite@npm:^5.0.0 || ^6.0.0, vite@npm:^6.0.11":
"vite@npm:^5.0.0 || ^6.0.0":
version: 6.0.11
resolution: "vite@npm:6.0.11"
dependencies:
Expand Down

0 comments on commit 460a4ad

Please sign in to comment.