orcheo-canvas 0.2.2 → 0.2.5

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/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 0.2.2
2
+ current_version = 0.2.5
3
3
  commit = true
4
4
  tag = true
5
5
  tag_name = canvas-v{new_version}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "orcheo-canvas",
3
3
  "private": false,
4
- "version": "0.2.2",
4
+ "version": "0.2.5",
5
5
  "type": "module",
6
6
  "description": "Canvas UI for Orcheo workflow orchestration platform",
7
7
  "keywords": [
package/vite.config.ts CHANGED
@@ -17,6 +17,20 @@ export default defineConfig({
17
17
  '@features': path.resolve(__dirname, './src/features'),
18
18
  }
19
19
  },
20
+ // Fix for CJS/ESM compatibility issues with React 19
21
+ optimizeDeps: {
22
+ include: [
23
+ 'use-sync-external-store/shim',
24
+ 'use-sync-external-store/shim/with-selector',
25
+ 'prop-types',
26
+ 'react-split',
27
+ ]
28
+ },
29
+ build: {
30
+ commonjsOptions: {
31
+ include: [/use-sync-external-store/, /node_modules/]
32
+ }
33
+ },
20
34
  server: {
21
35
  allowedHosts: [
22
36
  'orcheo-canvas.ai-colleagues.com'