发布

  • chore(ts): adopt Node 24 and pnpm 11 toolchain (#3646)

    frostbyte_neo 发布于 2026-06-24 14:58:11 +00:00

    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
    下载附件