mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
chore: ignore bundled plugin runtime deps in knip
This commit is contained in:
@@ -45,6 +45,30 @@ const bundledPluginIgnoredRuntimeDependencies = [
|
|||||||
"pdfjs-dist",
|
"pdfjs-dist",
|
||||||
] as const;
|
] 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 = {
|
const config = {
|
||||||
ignoreFiles: [
|
ignoreFiles: [
|
||||||
"scripts/**",
|
"scripts/**",
|
||||||
@@ -111,7 +135,12 @@ const config = {
|
|||||||
workspaces: {
|
workspaces: {
|
||||||
".": {
|
".": {
|
||||||
entry: rootEntries,
|
entry: rootEntries,
|
||||||
ignoreDependencies: ["@openclaw/*", "playwright-core", "sqlite-vec"],
|
ignoreDependencies: [
|
||||||
|
"@openclaw/*",
|
||||||
|
"playwright-core",
|
||||||
|
"sqlite-vec",
|
||||||
|
...rootBundledPluginRuntimeDependencies,
|
||||||
|
],
|
||||||
project: [
|
project: [
|
||||||
"src/**/*.ts!",
|
"src/**/*.ts!",
|
||||||
"scripts/**/*.{js,mjs,cjs,ts,mts,cts}!",
|
"scripts/**/*.{js,mjs,cjs,ts,mts,cts}!",
|
||||||
|
|||||||
Reference in New Issue
Block a user