@feedlog-ai/react 0.0.32 → 0.0.33

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -132,7 +132,15 @@ export default defineConfig({
132
132
  });
133
133
  ```
134
134
 
135
- **Note:** The SSR plugin requires `@stencil/ssr`. With Vite 7, install it using `npm install @stencil/ssr --legacy-peer-deps` (Stencil SSR currently declares `vite@^6.x` as a peer dependency).
135
+ **Note:** The SSR plugin requires `@stencil/ssr`, which declares `vite@^6.x` as a peer dependency. For Vite 7 projects, add this override to your `package.json` to avoid peer dependency conflicts:
136
+
137
+ ```json
138
+ "overrides": {
139
+ "@stencil/ssr": {
140
+ "vite": "$vite"
141
+ }
142
+ }
143
+ ```
136
144
 
137
145
  **Troubleshooting:** If you see `Expected ">" but found "{"` during the SSR build, the Stencil transform may be failing on complex TypeScript generics in files that import from `@feedlog-ai/react`. Refactor inline generics to type aliases, e.g.:
138
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedlog-ai/react",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "React bindings for Feedlog Toolkit Web Components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "react-dom": ">=17.0.0"
44
44
  },
45
45
  "dependencies": {
46
- "@feedlog-ai/webcomponents": "^0.0.32"
46
+ "@feedlog-ai/webcomponents": "^0.0.33"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@jest/test-sequencer": "^29.7.0",