fix: build core package before typecheck to ensure types are available

Agent plugins depend on built type definitions from @composio/ao-core.
Without building core first, pnpm -r typecheck runs all checks in
parallel and agent plugins fail with TS2353 errors (e.g. getActivityState
not found in Agent interface) because the .d.ts files don't exist yet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Prateek 2026-02-20 19:34:28 +05:30
parent a626a9b591
commit ed7e13609e
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "pnpm -r typecheck",
"typecheck": "pnpm --filter @composio/ao-core build && pnpm -r typecheck",
"test": "pnpm -r --filter '!@composio/ao-web' test",
"test:integration": "pnpm --filter @composio/ao-integration-tests test:integration",
"clean": "pnpm -r clean",