Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 03:37 UTC
| 1 | { |
| 2 | "$schema": "https://turbo.build/schema.json", |
| 3 | // pnpm is installed and enforced by mise (`npm:pnpm` in mise.toml). The root |
| 4 | // `packageManager` field exists for tools like Turbo that need explicit |
| 5 | // workspace package-manager metadata; keep it aligned with mise.toml. |
| 6 | "dangerouslyDisablePackageManagerCheck": true, |
| 7 | // The toolchain (node, bun, pnpm, tsgo host) is pinned by mise, not by |
| 8 | // package.json/lockfile, so toolchain bumps must invalidate every task hash |
| 9 | // or restored CI caches would skip the very runs meant to validate them. |
| 10 | "globalDependencies": ["mise.toml", "mise.lock"], |
| 11 | "tasks": { |
| 12 | "build": { |
| 13 | "dependsOn": ["^build"], |
| 14 | "inputs": [ |
| 15 | "$TURBO_DEFAULT$", |
| 16 | "tsdown.config.ts", |
| 17 | // for core |
| 18 | "../../../tsdown.config.base.ts", |
| 19 | "../../../tsconfig.base.json", |
| 20 | // for providers |
| 21 | "../../../../tsdown.config.base.ts", |
| 22 | "../../../../tsconfig.base.json" |
| 23 | ], |
| 24 | "outputs": ["dist/"] |
| 25 | }, |
| 26 | "test": { |
| 27 | "dependsOn": ["^build"], |
| 28 | // the shared cross-SDK JSON Schema conversion corpus and its loader are |
| 29 | // owned by `@composio/core` but imported by the Zod, Effect, and CLI test |
| 30 | // suites, whose $TURBO_DEFAULT$ inputs stop at their own package directory |
| 31 | "inputs": ["$TURBO_DEFAULT$", "../core/test/fixtures/json-schema-conversion/*"] |
| 32 | }, |
| 33 | "test:e2e": { |
| 34 | "dependsOn": ["^build"], |
| 35 | "env": ["ANTHROPIC_API_KEY", "COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "OPENAI_API_KEY"], |
| 36 | "cache": false |
| 37 | }, |
| 38 | "test:e2e:node": { |
| 39 | "dependsOn": ["^build"], |
| 40 | "env": ["ANTHROPIC_API_KEY", "COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "COMPOSIO_E2E_NODE_VERSION", "OPENAI_API_KEY"], |
| 41 | "cache": false |
| 42 | }, |
| 43 | "test:e2e:cli": { |
| 44 | "dependsOn": ["^build"], |
| 45 | "env": ["COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "COMPOSIO_E2E_CLI_VERSION", "OPENAI_API_KEY"], |
| 46 | "cache": false |
| 47 | }, |
| 48 | "test:e2e:install": { |
| 49 | "env": ["COMPOSIO_INSTALL_E2E_MODE", "COMPOSIO_INSTALL_E2E_SHELL", "COMPOSIO_INSTALL_E2E_VERSION", "COMPOSIO_INSTALL_E2E_RELEASE_DIR"], |
| 50 | "cache": false |
| 51 | }, |
| 52 | "test:e2e:cloudflare": { |
| 53 | "dependsOn": ["^build"], |
| 54 | "env": ["COMPOSIO_API_KEY", "COMPOSIO_BASE_URL", "COMPOSIO_USER_API_KEY", "OPENAI_API_KEY"], |
| 55 | "cache": false |
| 56 | }, |
| 57 | "install:binary": { |
| 58 | "dependsOn": ["build:binary"], |
| 59 | "cache": false |
| 60 | }, |
| 61 | "clean": { |
| 62 | "cache": false |
| 63 | }, |
| 64 | "typecheck": { |
| 65 | "dependsOn": ["^build"], |
| 66 | // package tsconfigs extend the root base config, which lives outside the |
| 67 | // package dirs and is therefore not part of $TURBO_DEFAULT$ |
| 68 | "inputs": [ |
| 69 | "$TURBO_DEFAULT$", |
| 70 | // for core |
| 71 | "../../../tsconfig.base.json", |
| 72 | // for providers |
| 73 | "../../../../tsconfig.base.json" |
| 74 | ] |
| 75 | }, |
| 76 | "lint": { |
| 77 | "inputs": ["$TURBO_DEFAULT$", "../../../.oxlintrc.json"] |
| 78 | }, |
| 79 | "cf:dry-run": { |
| 80 | "dependsOn": ["^build"] |
| 81 | }, |
| 82 | "//#clean": { |
| 83 | "cache": false |
| 84 | }, |
| 85 | "record": { |
| 86 | "dependsOn": ["^build"], |
| 87 | "inputs": [ |
| 88 | "src/**", |
| 89 | "scripts/record.ts", |
| 90 | "recordings/recordings.yaml" |
| 91 | ], |
| 92 | "outputs": [ |
| 93 | "recordings/tapes/**", |
| 94 | "recordings/svgs/**", |
| 95 | "recordings/ascii/**" |
| 96 | ], |
| 97 | "env": ["COMPOSIO_API_KEY"] |
| 98 | } |
| 99 | } |
| 100 | } |