mirror of
https://github.com/ComposioHQ/composio.git
synced 2026-09-22 11:46:35 +08:00
74ce25812e
This PR: - patches the Peekaboo sidecar build to rewrite the resolved `swift-system` `AT_RESOLVE_BENEATH` Darwin guard before compiling on GitHub macOS runners - adds regression coverage for the `swift-system` checkout patch and includes script tests in `@composio/cli-local-tools` Vitest - switches the SDK docs sync workflow to `anthropics/claude-code-action/base-action` so push-triggered automation does not fail on unsupported event parsing - moves Claude tool restrictions to `claude_args` and quotes `$GITHUB_OUTPUT` writes so the workflow passes `actionlint` - verifies the changed package and workflow with targeted tests, build, formatting, YAML parsing, and `actionlint`
23 lines
883 B
TypeScript
23 lines
883 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import path from 'node:path';
|
|
|
|
const __dirname = path.resolve(path.dirname(new URL(import.meta.url).pathname));
|
|
const coreDir = path.resolve(__dirname, '../core');
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@composio/core/experimental': path.join(coreDir, 'src/experimental/index.ts'),
|
|
'@composio/core': path.join(coreDir, 'src/index.ts'),
|
|
'#config_defaults': path.join(coreDir, 'src/utils/config-defaults/ConfigDefaults.node.ts'),
|
|
'#platform': path.join(coreDir, 'src/platform/node.ts'),
|
|
'#files': path.join(coreDir, 'src/models/Files.node.ts'),
|
|
'#file_tool_modifier': path.join(coreDir, 'src/utils/modifiers/FileToolModifier.node.ts'),
|
|
},
|
|
},
|
|
test: {
|
|
include: ['src/**/*.test.ts', 'scripts/**/*.test.ts'],
|
|
exclude: ['vendor/**', 'dist/**', 'node_modules/**'],
|
|
},
|
|
});
|