@iobroker/adapter-react-v5 5.0.6 → 5.0.8

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 CHANGED
@@ -695,7 +695,7 @@ class JsonComponent extends ConfigGeneric {
695
695
  -->
696
696
 
697
697
  ## Changelog
698
- ### 5.0.6 (2024-06-15)
698
+ ### 5.0.8 (2024-06-15)
699
699
  * (bluefox) Added `modulefederation.admin.config.js` for module federation
700
700
 
701
701
  ### 5.0.5 (2024-06-10)
@@ -0,0 +1,34 @@
1
+ function makeShared(pkgs) {
2
+ const result = {};
3
+ pkgs.forEach(packageName => {
4
+ result[packageName] = {
5
+ requiredVersion: '*',
6
+ singleton: true,
7
+ };
8
+ });
9
+ return result;
10
+ }
11
+
12
+ // Admin shares these modules for all components
13
+ module.exports = {
14
+ shared: makeShared([
15
+ '@iobroker/adapter-react-v5',
16
+ '@iobroker/json-config',
17
+ '@iobroker/dm-gui-components',
18
+ '@mui/icons-material',
19
+ '@mui/material',
20
+ '@mui/material/styles',
21
+ '@mui/styles',
22
+ '@mui/styles/withStyles',
23
+ '@mui/x-date-pickers/AdapterDateFns',
24
+ 'date-fns/locale',
25
+ 'leaflet',
26
+ 'leaflet-geosearch',
27
+ 'prop-types',
28
+ 'react',
29
+ 'react-ace',
30
+ 'react-dom',
31
+ 'react-dropzone',
32
+ 'semver'
33
+ ]),
34
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iobroker/adapter-react-v5",
3
- "version": "5.0.6",
3
+ "version": "5.0.8",
4
4
  "description": "React classes to develop admin interfaces for ioBroker with react.",
5
5
  "author": {
6
6
  "name": "Denis Haev (bluefox)",