orcheo-canvas 0.2.4 → 0.2.6

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.4
2
+ current_version = 0.2.6
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.4",
4
+ "version": "0.2.6",
5
5
  "type": "module",
6
6
  "description": "Canvas UI for Orcheo workflow orchestration platform",
7
7
  "keywords": [
package/vite.config.ts CHANGED
@@ -17,9 +17,50 @@ export default defineConfig({
17
17
  '@features': path.resolve(__dirname, './src/features'),
18
18
  }
19
19
  },
20
- // Fix for use-sync-external-store CJS/ESM compatibility with React 19
20
+ // Fix for CJS/ESM compatibility issues with React 19
21
+ // These packages are CommonJS but imported by ESM modules, causing issues in dev server
21
22
  optimizeDeps: {
22
- include: ['use-sync-external-store/shim', 'use-sync-external-store/shim/with-selector']
23
+ include: [
24
+ // Used by zustand, swr, @radix-ui
25
+ 'use-sync-external-store/shim',
26
+ 'use-sync-external-store/shim/with-selector',
27
+ // Used by react-split, react-big-calendar, etc.
28
+ 'prop-types',
29
+ 'react-split',
30
+ // Used by @rjsf/utils
31
+ 'jsonpointer',
32
+ 'json-schema-merge-allof',
33
+ 'react-is',
34
+ // Lodash submodules used by @rjsf
35
+ 'lodash/get',
36
+ 'lodash/set',
37
+ 'lodash/has',
38
+ 'lodash/omit',
39
+ 'lodash/pick',
40
+ 'lodash/merge',
41
+ 'lodash/cloneDeep',
42
+ 'lodash/isEmpty',
43
+ 'lodash/isObject',
44
+ 'lodash/isString',
45
+ 'lodash/isNumber',
46
+ 'lodash/isNil',
47
+ 'lodash/isPlainObject',
48
+ 'lodash/forEach',
49
+ 'lodash/toPath',
50
+ 'lodash/uniqueId',
51
+ 'lodash/keys',
52
+ 'lodash/union',
53
+ 'lodash/uniq',
54
+ 'lodash/times',
55
+ 'lodash/reduce',
56
+ 'lodash/transform',
57
+ 'lodash/difference',
58
+ 'lodash/flattenDeep',
59
+ 'lodash/isEqualWith',
60
+ 'lodash/setWith',
61
+ 'lodash/pickBy',
62
+ 'lodash/unset',
63
+ ]
23
64
  },
24
65
  build: {
25
66
  commonjsOptions: {