@wandelbots/wandelbots-js-react-components 2.0.1 → 2.0.2-pr.bugfix-dependencies-vite.202.d93ceae

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.0.1",
3
+ "version": "2.0.2-pr.bugfix-dependencies-vite.202.d93ceae",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -48,29 +48,29 @@
48
48
  "devDependencies": {
49
49
  "@emotion/react": "^11.13.3",
50
50
  "@emotion/styled": "^11.13.0",
51
- "@mui/icons-material": "^6.4.0",
51
+ "@mui/icons-material": "^6.4.1",
52
52
  "@mui/material": "^6.4.0",
53
53
  "@rollup/plugin-commonjs": "^28.0.1",
54
54
  "@rollup/plugin-json": "^6.1.0",
55
55
  "@rollup/plugin-node-resolve": "^15.3.0",
56
56
  "@rollup/plugin-terser": "^0.4.4",
57
- "@rollup/plugin-typescript": "^12.1.1",
57
+ "@rollup/plugin-typescript": "^12.1.2",
58
58
  "@storybook/addon-docs": "^8.4.2",
59
59
  "@storybook/addon-essentials": "^8.4.2",
60
60
  "@storybook/addon-interactions": "^8.4.2",
61
61
  "@storybook/blocks": "^8.4.2",
62
- "@storybook/react": "^8.4.2",
62
+ "@storybook/react": "^8.5.1",
63
63
  "@storybook/react-vite": "^8.4.2",
64
- "@storybook/test": "^8.4.2",
65
- "@storybook/test-runner": "^0.19.1",
64
+ "@storybook/test": "^8.5.1",
65
+ "@storybook/test-runner": "^0.21.0",
66
66
  "@storybook/types": "^8.4.2",
67
67
  "@svgr/rollup": "^8.1.0",
68
68
  "@types/lodash-es": "^4.17.12",
69
69
  "@types/react": "^18.3.12",
70
- "@types/three": "^0.169.0",
70
+ "@types/three": "^0.172.0",
71
71
  "@vitejs/plugin-react": "^4.3.3",
72
72
  "add": "^2.0.6",
73
- "glob": "^11.0.0",
73
+ "glob": "^11.0.1",
74
74
  "http-server": "^14.1.1",
75
75
  "husky": "^9.1.7",
76
76
  "jest-simple-dot-reporter": "^1.0.5",
@@ -95,9 +95,9 @@
95
95
  "ts-dedent": "^2.2.0",
96
96
  "typescript": "^5.7.3",
97
97
  "unplugin": "^1.15.0",
98
- "vite": "^5.4.10",
98
+ "vite": "^5.0.0",
99
99
  "vite-plugin-svgr": "^4.3.0",
100
- "vitest": "^2.1.4",
100
+ "vitest": "^3.0.4",
101
101
  "wait-on": "^8.0.1"
102
102
  },
103
103
  "peerDependencies": {
@@ -120,14 +120,14 @@
120
120
  },
121
121
  "dependencies": {
122
122
  "@monaco-editor/react": "^4.6.0",
123
- "@shikijs/monaco": "^1.22.2",
123
+ "@shikijs/monaco": "^2.1.0",
124
124
  "@wandelbots/wandelbots-js": "^1.12.0",
125
125
  "i18next-browser-languagedetector": "^8.0.0",
126
126
  "lodash-es": "^4.17.21",
127
127
  "mobx": "^6.13.5",
128
128
  "mobx-react-lite": "^4.0.7",
129
- "react-error-boundary": "^4.1.2",
129
+ "react-error-boundary": "^5.0.0",
130
130
  "react-i18next": "^15.1.0",
131
- "shiki": "^1.22.2"
131
+ "shiki": "^2.1.0"
132
132
  }
133
133
  }
@@ -1,6 +1,11 @@
1
1
  import type { Monaco } from "@monaco-editor/react"
2
2
  import { lazy, Suspense, useState } from "react"
3
- import type { BundledLanguage, BundledTheme, HighlighterGeneric } from "shiki"
3
+ import type {
4
+ BundledLanguage,
5
+ BundledTheme,
6
+ HighlighterGeneric,
7
+ ShikiInternal,
8
+ } from "shiki"
4
9
 
5
10
  import { useTheme } from "@mui/material"
6
11
  import type { editor } from "monaco-editor"
@@ -48,7 +53,10 @@ async function getShiki() {
48
53
 
49
54
  preparedShiki = {
50
55
  shiki,
51
- shikiToMonaco,
56
+ shikiToMonaco: shikiToMonaco as unknown as (
57
+ shiki: ShikiInternal<any, any>,
58
+ monaco: typeof import("monaco-editor"),
59
+ ) => void,
52
60
  }
53
61
  }
54
62