@agentiffai/design 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -21,6 +21,20 @@ A comprehensive design system for CopilotKit components built with React, TypeSc
|
|
|
21
21
|
npm install @agentiffai/design
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
### ⚠️ IMPORTANT: Vite Configuration Required
|
|
25
|
+
|
|
26
|
+
**If using Vite**, you MUST add this to your `vite.config.ts` to prevent build errors:
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
export default defineConfig({
|
|
30
|
+
optimizeDeps: {
|
|
31
|
+
exclude: ['@agentiffai/design'],
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Without this configuration, you may encounter `Maximum call stack size exceeded` errors during build. See [VITE_CONFIG.md](./VITE_CONFIG.md) for details.
|
|
37
|
+
|
|
24
38
|
### Peer Dependencies
|
|
25
39
|
|
|
26
40
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentiffai/design",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A comprehensive design system for CopilotKit components built with React, TypeScript, and styled-components",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -66,7 +66,12 @@
|
|
|
66
66
|
"LICENSE",
|
|
67
67
|
"CHANGELOG.md"
|
|
68
68
|
],
|
|
69
|
-
"sideEffects":
|
|
69
|
+
"sideEffects": [
|
|
70
|
+
"*.css",
|
|
71
|
+
"*/GlobalStyle.*",
|
|
72
|
+
"*/CopilotSidebarIntegration.*",
|
|
73
|
+
"*/CustomCopilotSidebar/*"
|
|
74
|
+
],
|
|
70
75
|
"scripts": {
|
|
71
76
|
"dev": "storybook dev -p 6006",
|
|
72
77
|
"build": "npm run build:lib && npm run build:storybook",
|