Files
Benjamin Taylor 8ebdd33998 fix(packages): raise the published Node engines floor to 20
Seven published packages declared `engines.node: ">=18"`, but CI has never
run Node 18 and Node 18 reached end of life on 2025-04-30. The claim
pointed at a runtime nothing tests and that receives no security patches.

Raise those seven to `">=20"`, the lowest version the unit matrix
(20.x, 22.x, 24.x) actually proves, and raise the root manifest to match.

Also give `@copilotkit/runtime` its first `engines` field. It declared
none, while #7089 moved it to pino 10, which drops Node 18. Pino ships no
`engines` of its own, so a consumer on Node 18 installed cleanly and
failed later, at runtime.

Closes #7107

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-12 14:25:05 -05:00

86 lines
2.2 KiB
JSON

{
"name": "@copilotkit/web-components",
"version": "1.71.1",
"private": false,
"description": "Framework-agnostic shadow-DOM web components for CopilotKit - includes the <copilotkit-threads-drawer> threads drawer element",
"keywords": [
"ai",
"copilotkit",
"custom-elements",
"drawer",
"lit",
"shadow-dom",
"threads",
"web-components"
],
"homepage": "https://github.com/CopilotKit/CopilotKit",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/CopilotKit/CopilotKit.git",
"directory": "packages/web-components"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"unpkg": "./dist/index.umd.js",
"jsdelivr": "./dist/index.umd.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./threads-drawer": {
"import": {
"types": "./dist/threads-drawer/index.d.mts",
"default": "./dist/threads-drawer/index.mjs"
},
"require": {
"types": "./dist/threads-drawer/index.d.cts",
"default": "./dist/threads-drawer/index.cjs"
}
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "pnpm run gen:tokens && tsdown",
"gen:tokens": "tsx scripts/generate-tokens.ts",
"compat-check": "es-check es2022 --module 'dist/**/!(*.umd).{mjs,cjs,js}' && es-check es2018 'dist/**/*.umd.js'",
"check-types": "tsc --noEmit -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"publint": "publint .",
"attw": "attw --pack . --profile node16"
},
"peerDependencies": {
"lit": "^3.3.2"
},
"devDependencies": {
"@copilotkit/typescript-config": "workspace:*",
"@types/node": "^22.15.3",
"jsdom": "^26.1.0",
"lit": "^3.3.2",
"tsdown": "^0.20.3",
"tsx": "^4.19.2",
"typescript": "5.9.2",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=20"
}
}