Files
composiohq__composio/package.json
T
Alberto Schiabel 20aaa95c96 ci(ts): verify packed provider compatibility (#4355)
This PR:

- adds a clean consumer harness that packs core, its internal JSON
Schema dependency, and all ten TypeScript providers
- verifies tarball contents, npm installation, named public exports,
consumer typechecking, provider construction, and a credential-free
`wrapTool` conversion
- covers the current workspace core, one verified minimum-core lane per
provider, and the packed workspace core presented as `1.0.0-beta.0`
- preserves existing 0.x minimum peer ranges while recording the
verified floors separately for the future breaking release
- additively accepts core 1.0 prereleases without claiming stable 1.x
support yet
- widens the Anthropic and OpenAI Agents peer ranges to include the
upstream versions already used by this repository
- runs the gate in TypeScript CI and immediately before Changesets
publishing

The release guard fails before publication and its regression test
verifies build -> compatibility -> publish ordering plus failure
propagation.

## Non-breaking scope

No public API is removed or renamed, and the existing 0.x core peer
floors remain unchanged. All peer-range changes are additive. The gate
reports the nine floor corrections that should be made with the planned
breaking release.

## Validation

- `pnpm run check:provider-compatibility` (12 packed consumer lanes)
- `pnpm run test:provider-compatibility`
- `pnpm run test:release-workflow`
- `pnpm run build:packages` (19 packages)
- focused TypeScript compile and Oxlint checks
- Prettier, Changesets validation, and `git diff --check`
2026-09-07 12:33:53 +02:00

118 lines
4.8 KiB
JSON

{
"name": "composio",
"version": "0.10.0-alpha.1",
"private": true,
"type": "module",
"packageManager": "pnpm@11.8.0",
"description": "",
"workspaces": [
"ts/packages/core",
"ts/packages/experimental",
"ts/packages/slim",
"ts/packages/json-schema-to-effect-schema",
"ts/packages/json-schema-to-zod",
"ts/packages/cli",
"ts/packages/cli-keyring",
"ts/packages/cli-local-tools",
"ts/packages/ts-builders",
"ts/packages/providers/*"
],
"scripts": {
"build": "turbo build",
"build:binary": "turbo build:binary --filter=./ts/packages/cli",
"build:binary:all": "turbo build:binary:all --filter=./ts/packages/cli",
"build:binary:checksums": "turbo build:binary:checksums --filter=./ts/packages/cli",
"install:binary": "turbo install:binary --filter=./ts/packages/cli",
"build:packages": "turbo build --filter=./ts/packages/**",
"cli:record": "turbo run record --filter=./ts/packages/cli",
"record": "turbo run record",
"test": "pnpm run test:toolchain && pnpm run test:install-sh && pnpm run test:release-workflow && pnpm run test:provider-compatibility && turbo test --filter=./ts/packages/** --filter=!@e2e-tests/* && pnpm run test:examples",
"test:install-sh": "bash test/install-sh-release-resolution.test.sh && bash test/install-sh-atomic-replace.test.sh",
"test:release-workflow": "bun run test/release-workflow.test.ts",
"test:provider-compatibility": "bun test test/provider-compatibility.test.ts",
"test:toolchain": "bun run test/mise-bun-pin.test.ts",
"test:examples": "tsx ts/scripts/validate-examples.ts",
"test:e2e": "turbo test:e2e --filter='@e2e-tests/*'",
"test:e2e:node": "turbo test:e2e:node --filter='@e2e-tests/node-*'",
"test:e2e:deno": "turbo test:e2e:deno --filter='@e2e-tests/deno-*'",
"test:e2e:cli": "turbo test:e2e:cli --filter='@e2e-tests/cli-*'",
"test:e2e:install": "turbo test:e2e:install --filter='@e2e-tests/cli-install'",
"test:e2e:cloudflare": "turbo test:e2e:cloudflare --filter='@e2e-tests/cf-*'",
"test:ui": "vitest --ui",
"typecheck": "turbo typecheck --filter=./ts/packages/**",
"typecheck:examples": "turbo typecheck --filter='./ts/examples/*'",
"lint:examples": "turbo lint --filter='./ts/examples/*'",
"lint": "oxlint ts test tsdown.config.base.ts",
"lint:packages": "oxlint ts/packages",
"lint:fix": "oxlint --fix .",
"lint:fix:packages": "oxlint --fix ts/packages",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"prepare": "husky",
"create:provider": "bash ts/scripts/create-provider.sh",
"create:example": "bash ts/scripts/create-example.sh",
"check:peer-deps": "tsx ts/scripts/check-peer-deps.ts",
"check:provider-compatibility": "tsx ts/scripts/check-provider-compatibility.ts",
"update:peer-deps": "tsx ts/scripts/update-peer-deps.ts",
"validate:agent-skills": "node ts/scripts/validate-agent-skills.mjs",
"validate:changesets": "node ts/scripts/validate-changesets.mjs",
"validate:skill-routing": "node ts/scripts/test-skill-routing.mjs",
"prepublish": "pnpm run build:packages",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:release": "bash ts/scripts/changeset-release.sh",
"changeset:pre-enter": "changeset pre enter",
"changeset:pre-exit": "changeset pre exit",
"clean": "git clean -xdf .turbo node_modules ts/packages/**/.turbo ts/packages/**/node_modules ts/packages/**/dist",
"clean:workspace": "pnpm turbo clean"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.17.0 <25",
"onFail": "warn"
}
},
"devDependencies": {
"@arethetypeswrong/cli": "catalog:",
"@changesets/cli": "^3.0.1",
"@changesets/read": "^1.0.0",
"@composio/anthropic": "workspace:*",
"@composio/cli-local-tools": "workspace:*",
"@composio/core": "workspace:*",
"@composio/openai": "workspace:*",
"@types/bun": "catalog:",
"@types/node": "^26.3.0",
"@types/semver": "^7.8.0",
"@vitest/ui": "catalog:",
"husky": "^9.1.7",
"lint-staged": "^17.3.0",
"oxlint": "1.80.0",
"oxlint-plugin-eslint": "1.80.0",
"prettier": "^3.9.6",
"publint": "catalog:",
"semver": "^7.8.5",
"tsdown": "catalog:",
"tsx": "catalog:",
"turbo": "^2.10.11",
"typescript": "catalog:",
"typescript6": "catalog:ts6",
"vitest": "catalog:",
"zod": "catalog:"
},
"lint-staged": {
"{test,ts}/**/*.{ts,tsx,mts,cts}": [
"oxlint --fix"
],
"tsdown.config.base.ts": [
"oxlint --fix"
],
"ts/packages/**/*.{ts,tsx,js,jsx,json,md}": [
"prettier --write"
],
"python/**/*.py": [
"ruff check --fix --config python/config/ruff.toml",
"ruff format --config python/config/ruff.toml"
]
}
}