fix: align plugin runtime types
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
const repoRoot = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"clawdbot/plugin-sdk": path.join(repoRoot, "src", "plugin-sdk", "index.ts"),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
testTimeout: 20_000,
|
||||
include: [
|
||||
|
||||
Reference in New Issue
Block a user