mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
chore: changeset, dependency bumps, lockfile
This commit is contained in:
committed by
Jordan Ritter
parent
a5c1137465
commit
434ccd8691
@@ -0,0 +1,9 @@
|
||||
---
|
||||
"@copilotkit/a2ui-renderer": minor
|
||||
"@copilotkit/react-core": minor
|
||||
"@copilotkit/runtime": minor
|
||||
"@copilotkit/shared": patch
|
||||
"@copilotkit/cli": patch
|
||||
---
|
||||
|
||||
A2UI v0.9 + Open Generative UI: BYOC catalogs, dark mode, sandboxed UI generation
|
||||
@@ -0,0 +1,39 @@
|
||||
const path = require("path");
|
||||
const fs = require("fs");
|
||||
|
||||
/**
|
||||
* When A2UI_LOCAL=1, rewrites @a2ui/* dependencies to link against
|
||||
* locally-built packages from the sibling A2UI repo.
|
||||
*
|
||||
* Usage:
|
||||
* A2UI_LOCAL=1 pnpm install # link to local A2UI packages
|
||||
* pnpm install # install from npm (default)
|
||||
*
|
||||
* Expects:
|
||||
* /some/path/CopilotKit/ (this repo)
|
||||
* /some/path/A2UI/ (sibling A2UI repo)
|
||||
*/
|
||||
|
||||
const A2UI_ROOT = path.resolve(__dirname, "..", "A2UI");
|
||||
|
||||
const A2UI_PACKAGES = {
|
||||
"@a2ui/web_core": "renderers/web_core",
|
||||
"@a2ui/react": "renderers/react",
|
||||
};
|
||||
|
||||
function readPackage(pkg) {
|
||||
if (!process.env.A2UI_LOCAL) return pkg;
|
||||
|
||||
for (const [dep, relPath] of Object.entries(A2UI_PACKAGES)) {
|
||||
if (pkg.dependencies && pkg.dependencies[dep]) {
|
||||
const localPath = path.join(A2UI_ROOT, relPath);
|
||||
if (fs.existsSync(localPath)) {
|
||||
pkg.dependencies[dep] = `link:${localPath}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return pkg;
|
||||
}
|
||||
|
||||
module.exports = { hooks: { readPackage } };
|
||||
+2
-2
@@ -73,8 +73,8 @@
|
||||
"streamdown>react": "^19.0.0",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-dom": "^19.0.2",
|
||||
"react": "19.1.0",
|
||||
"react-dom": "19.1.0",
|
||||
"react": "19.2.3",
|
||||
"react-dom": "19.2.3",
|
||||
"next@<=15.4.10": "15.4.10",
|
||||
"send@<=0.19.0": "0.19.0",
|
||||
"path-to-regexp@<=0.1.12": "0.1.12",
|
||||
|
||||
Generated
+2063
-1485
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@ packages:
|
||||
- "examples/v2/react/*"
|
||||
- "examples/v2/angular/*"
|
||||
- "examples/v2/runtime/*"
|
||||
- "examples/showcases/generative-ui-playground"
|
||||
- "!examples/v1/_legacy"
|
||||
onlyBuiltDependencies:
|
||||
- better-sqlite3
|
||||
|
||||
Reference in New Issue
Block a user