Files
copilotkit__copilotkit/examples/v2/angular/demo/package.json
Murat Sari bb80fff40a fix(angular): align demo and Storybook versions
The Angular demo and Storybook use Angular 22.1, while @copilotkit/angular is developed against Angular 22.0. Both consumers map @copilotkit/angular directly to its source files.

That causes TypeScript to load Angular types from two dependency contexts. Angular signal types contain unique-symbol brands, so signals originating from Angular 22.0 are incompatible with otherwise equivalent signals from Angular 22.1.

Pin the demo and Storybook to Angular 22.0 so the source-linked library and its consumers share the same Angular type identity. Update pnpm-lock.yaml to keep frozen installs reproducible.

The existing unit workflow intentionally selects only packages/**, while the packed-package test does not exercise these source-linked monorepo consumers.
2026-08-29 11:45:32 +02:00

62 lines
1.7 KiB
JSON

{
"name": "@copilotkit/angular-demo",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"start": "ng serve",
"build": "ng build",
"dev": "pnpm -s run serve:clean",
"serve:clean": "rimraf .angular || true && ng serve",
"clean": "rimraf dist .angular"
},
"dependencies": {
"@ag-ui/client": "0.0.57",
"@ag-ui/core": "0.0.57",
"@ag-ui/encoder": "0.0.57",
"@ag-ui/proto": "0.0.57",
"@a2ui/web_core": "0.10.4",
"@angular/animations": "22.0.0",
"@angular/cdk": "22.0.0",
"@angular/common": "22.0.0",
"@angular/compiler": "22.0.0",
"@angular/core": "22.0.0",
"@angular/forms": "22.0.0",
"@angular/platform-browser": "22.0.0",
"@angular/platform-browser-dynamic": "22.0.0",
"@angular/router": "22.0.0",
"@copilotkit/a2ui-renderer": "workspace:*",
"@copilotkit/core": "workspace:*",
"@copilotkit/shared": "workspace:*",
"@copilotkit/angular": "workspace:*",
"@jetbrains/websandbox": "^1.1.3",
"@lucide/angular": "^1.31.0",
"@tanstack/pacer": "^0.20.1",
"clsx": "^2.1.1",
"compare-versions": "^6.1.1",
"fast-json-patch": "^3.1.1",
"highlight.js": "^11.11.1",
"katex": "^0.16.22",
"lit": "^3.3.1",
"lucide": "^0.525.0",
"marked": "^12.0.2",
"partial-json": "^0.1.7",
"phoenix": "^1.8.4",
"rxjs": "^7.8.1",
"tailwind-merge": "^2.6.0",
"tslib": "^2.8.1",
"untruncate-json": "^0.0.1",
"uuid": "^11.1.0",
"zod": "^3.25.75",
"zod-to-json-schema": "^3.24.6"
},
"devDependencies": {
"@angular/build": "22.0.0",
"@angular/cli": "22.0.0",
"@angular/compiler-cli": "22.0.0",
"nodemon": "^3.1.7",
"rimraf": "^6.0.1",
"typescript": "6.0.3"
}
}