Skip to content

Commit

Permalink
Make knip pass
Browse files Browse the repository at this point in the history
Add entrypoints, ignore graphql, remove unused devDeps
  • Loading branch information
sandersn committed Jul 1, 2024
1 parent 0a14c1f commit b953520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@
"ignoreDependencies": ["@qiwi/npm-types"]
},
"packages/mergebot": {
"entry": ["src/functions/index.ts"],
"project": "**/*.ts"
"entry": ["src/functions/index.ts", "src/run.ts", "src/commands/create-fixture.ts", "src/commands/update-all-fixtures.ts", "src/commands/update-test-data.ts", "src/scripts/updateJSONFixtures.ts"],
"project": "**/*.ts",
"ignore": ["src/queries/schema/graphql-global-types.ts"]
}
},
"ignore": ["**/fixtures/**", "**/testsource/**", "**/dtslint/test/*/**", "**/*.d.ts"],
Expand Down
5 changes: 0 additions & 5 deletions packages/mergebot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,14 @@
"devDependencies": {
"@octokit/graphql-schema": "^14.58.0",
"@octokit/webhooks-types": "^7.5.1",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.33",
"@types/prettyjson": "^0.0.33",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"apollo": "^2.34.0",
"azure-functions-core-tools": "^4.0.5700",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"eslint-plugin-unicorn": "^52.0.0",
"jest": "^29.7.0",
"jest-environment-node": "^29.7.0",
"jest-file-snapshot": "^0.5.0",
"knip": "^5.15.1",
"rimraf": "^5.0.7",
Expand Down

0 comments on commit b953520

Please sign in to comment.