mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
chore: ignore bundled plugin runtime deps in knip
This commit is contained in:
@@ -45,6 +45,30 @@ const bundledPluginIgnoredRuntimeDependencies = [
|
||||
"pdfjs-dist",
|
||||
] as const;
|
||||
|
||||
const rootBundledPluginRuntimeDependencies = [
|
||||
"@anthropic-ai/sdk",
|
||||
"@anthropic-ai/vertex-sdk",
|
||||
"@aws-sdk/client-bedrock",
|
||||
"@aws-sdk/client-bedrock-runtime",
|
||||
"@aws-sdk/credential-provider-node",
|
||||
"@aws/bedrock-token-generator",
|
||||
"@google/genai",
|
||||
"@grammyjs/runner",
|
||||
"@grammyjs/transformer-throttler",
|
||||
"@homebridge/ciao",
|
||||
"@mozilla/readability",
|
||||
"@slack/bolt",
|
||||
"@slack/types",
|
||||
"@slack/web-api",
|
||||
"grammy",
|
||||
"linkedom",
|
||||
"minimatch",
|
||||
"node-edge-tts",
|
||||
"openshell",
|
||||
"pdfjs-dist",
|
||||
"tokenjuice",
|
||||
] as const;
|
||||
|
||||
const config = {
|
||||
ignoreFiles: [
|
||||
"scripts/**",
|
||||
@@ -111,7 +135,12 @@ const config = {
|
||||
workspaces: {
|
||||
".": {
|
||||
entry: rootEntries,
|
||||
ignoreDependencies: ["@openclaw/*", "playwright-core", "sqlite-vec"],
|
||||
ignoreDependencies: [
|
||||
"@openclaw/*",
|
||||
"playwright-core",
|
||||
"sqlite-vec",
|
||||
...rootBundledPluginRuntimeDependencies,
|
||||
],
|
||||
project: [
|
||||
"src/**/*.ts!",
|
||||
"scripts/**/*.{js,mjs,cjs,ts,mts,cts}!",
|
||||
|
||||
Reference in New Issue
Block a user