Files
composiohq__composio/pnpm-workspace.yaml
T
Alberto Schiabel f8cd90ce5a chore(ts): adopt Node 24 and pnpm 11 toolchain (#3646)
This PR:

- uses plain `tsdown` package scripts and a shared typed
`tsdown.config.base.ts` so Node 24 builds work without loader flags
- switches the repo dev/build toolchain to Node `24.17.0` and pnpm
`11.8.0` through `mise.toml`, `mise.lock`, and `pnpm-lock.yaml`
- marks the root package as ESM with `type: module`, matching the
TypeScript packages
- keeps Node `22.22.3` in the runtime/E2E matrices as the minimum
supported user runtime
- changes the TypeScript build workflow back to a single build on the
mise-managed toolchain and broadens path filters for
package-manager/build config files
- adds pnpm 11 build-script policy with `allowBuilds` and intentionally
ignored `sharp` builds
- enables tsdown ESM shims for the packaged CLI wrapper so `composio
--help` runs under Node 22 and Node 24

Verified locally:

- `CI=true pnpm install --frozen-lockfile`
- `pnpm lint`
- `pnpm run build:packages`
- `COMPOSIO_E2E_NODE_VERSION=22.22.3 pnpm --filter
@e2e-tests/node-esm-basic --filter @e2e-tests/node-cjs-basic run
test:e2e:node`
- `node ts/packages/cli/bin/composio.mjs --help` under Node `22.22.3`
and `24.17.0`
2026-06-24 18:58:11 +04:00

73 lines
1.7 KiB
YAML

packages:
- ts/e2e-tests/_utils
- ts/e2e-tests/cli/*
- ts/e2e-tests/cli/**/*
- ts/e2e-tests/runtimes/node/*
- ts/e2e-tests/runtimes/deno/*
- ts/e2e-tests/runtimes/cloudflare/*
- ts/examples/*
- ts/packages/cli
- ts/packages/cli-keyring
- ts/packages/cli-local-tools
- ts/packages/core
- ts/packages/json-schema-to-zod
- ts/packages/providers/*
- ts/packages/ts-builders
- ts/packages/wrappers/*
allowBuilds:
'@parcel/watcher': true
esbuild: true
msgpackr-extract: true
protobufjs: true
sharp: false
tree-sitter: true
workerd: true
catalog:
'@ai-sdk/openai': ^3.0.71
'@arethetypeswrong/cli': ^0.18.3
'@clack/core': '^1.4.1'
'@clack/prompts': '^1.5.1'
'@cloudflare/vitest-pool-workers': 0.16.15
'@cloudflare/workers-types': ^4.20260616.1
'@composio/client': 0.1.0-alpha.74
'@effect/cli': ^0.75.2
'@effect/eslint-plugin': ^0.3.2
'@effect/language-service': ^0.86.2
'@effect/platform': ^0.96.1
'@effect/platform-bun': ^0.90.0
'@effect/platform-node': ^0.107.0
'@effect/platform-node-shared': ^0.60.0
'@effect/vitest': ^0.29.0
'@mastra/core': ^1.42.0
'@modelcontextprotocol/sdk': ^1.29.0
'@types/bun': ^1.3.14
'@typescript/native-preview': 7.0.0-dev.20260615.1
ai: ^6.0.206
dotenv: ^17.4.2
effect: ^3.21.3
hono: ^4.12.25
openai: ^6.42.0
picocolors: ^1.1.1
pnpm: ^11.8.0
publint: ^0.3.21
tsdown: ^0.22.3
tsx: ^4.22.4
typescript: ^6.0.3
'@vitest/ui': ^4.1.9
vitest: ^4.1.9
wrangler: ^4.101.0
zod: ^4.4.3
zod-to-json-schema: ^3.25.2
minimumReleaseAge: 4320
minimumReleaseAgeExclude:
- '@composio/client'
- chrome-devtools-mcp
overrides:
qs@<6.14.1: '>=6.14.1'
protobufjs: 7.5.9