mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
8ebdd33998
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>
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "@copilotkit/core",
|
|
"version": "1.71.1",
|
|
"description": "Core web utilities for CopilotKit2",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/CopilotKit/CopilotKit.git"
|
|
},
|
|
"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": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsdown",
|
|
"size": "size-limit",
|
|
"compat-check": "es-check es2022 --module 'dist/**/!(*.umd).{mjs,cjs,js}' && es-check es2018 'dist/**/*.umd.js'",
|
|
"dev": "tsdown --watch",
|
|
"check-types": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"publint": "publint .",
|
|
"attw": "attw --pack . --profile node16"
|
|
},
|
|
"dependencies": {
|
|
"@ag-ui/client": "0.0.59",
|
|
"@copilotkit/shared": "workspace:*",
|
|
"@tanstack/pacer": "^0.20.1",
|
|
"phoenix": "^1.8.4",
|
|
"rxjs": "7.8.1",
|
|
"zod-to-json-schema": "^3.24.6"
|
|
},
|
|
"devDependencies": {
|
|
"@copilotkit/typescript-config": "workspace:*",
|
|
"@types/node": "^22.15.3",
|
|
"@types/phoenix": "^1.6.6",
|
|
"@valibot/to-json-schema": "^1.5.0",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"arktype": "^2.1.29",
|
|
"cross-env": "^10.1.0",
|
|
"tsdown": "^0.20.3",
|
|
"typescript": "5.8.2",
|
|
"valibot": "^1.2.0",
|
|
"vitest": "^3.2.4",
|
|
"zod": "^3.25.75"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|